/*
  Blog Single (Arts Matter) — page-specific styles (sub-session D).
  Enqueued by functions.php on is_singular("post"). Append-only; do not put
  these rules in root style.css. Site-wide/shared rules stay in root.
*/
/* ---- arts-matter-single-header ---- */
/* Variant B modernized single-post header. The blog-single _source is the legacy
   artsorange.org render (orange-on-white); we preserve the orange brand color +
   content and modernize layout/type to the homepage system. */
.ao-arts-matter-single-header {
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	margin-block-start: 0;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
}
/* First content section sits right under the site header (sticky, in flow). */
.wp-site-blocks > .ao-arts-matter-single-header:first-of-type {
	margin-top: 0;
}
.wp-site-blocks > .ao-arts-matter-single-header {
	margin-block-start: 0;
}

.ao-arts-matter-single-header__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.ao-arts-matter-single-header__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--mudstone-sans);
	font-weight: 900;
	font-size: clamp(0.875rem, 1.1vw, 1.0625rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}

.ao-arts-matter-single-header__headline {
	margin: 0 0 1.1rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(2rem, 4.1vw, 3.125rem);
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--orange);
}

.ao-arts-matter-single-header__meta {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
	color: var(--wp--preset--color--black);
}

.ao-arts-matter-single-header__sep {
	margin: 0 0.5rem;
	color: var(--wp--preset--color--orange);
}

.ao-arts-matter-single-header__byline-link {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 150ms ease, border-color 150ms ease;
}
.ao-arts-matter-single-header__byline-link:hover,
.ao-arts-matter-single-header__byline-link:focus-visible {
	color: var(--wp--preset--color--orange);
	border-bottom-color: var(--wp--preset--color--orange);
}

.ao-arts-matter-single-header__lead {
	margin: 0 auto;
	max-width: 42rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.55;
	color: var(--wp--preset--color--black);
}

.ao-arts-matter-single-header__media {
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	max-width: 980px;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: clamp(12px, 2vw, 24px);
	background: var(--wp--preset--color--cream);
}

.ao-arts-matter-single-header__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 768px) {
	.ao-arts-matter-single-header__media {
		aspect-ratio: 3 / 2;
	}
	.ao-arts-matter-single-header__headline {
		line-height: 1.02;
	}
}

/* ---- arts-matter-single-body ---- */
/* Prose typography for the single-post article body (wp:post-content @720px).
   Brand system: Work Sans body, Work Sans 700 subheads (Mudstone is uppercase
   display-only), orange links → blue + underline on hover (OPEN-QUESTION #7 default). */
.ao-arts-matter-single-body {
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	margin-block-start: 0;
	padding: clamp(0.5rem, 2vw, 1.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}

.ao-arts-matter-single-body p,
.ao-arts-matter-single-body li {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); /* ~17-19px reading size */
	line-height: 1.7;
	color: var(--wp--preset--color--text);
}

.ao-arts-matter-single-body p {
	margin: 0 0 1.35em;
}

.ao-arts-matter-single-body > .entry-content > *:last-child,
.ao-arts-matter-single-body p:last-child {
	margin-bottom: 0;
}

/* Subheads — Work Sans 700, mixed case (respect author casing; override any
   global uppercase heading transform). h2 orange, h3/h4 near-black. */
.ao-arts-matter-single-body h2,
.ao-arts-matter-single-body h3,
.ao-arts-matter-single-body h4 {
	text-transform: none;
}
.ao-arts-matter-single-body h2 {
	margin: 2.2rem 0 0.85rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.2;
	color: var(--wp--preset--color--orange);
}

.ao-arts-matter-single-body h3 {
	margin: 1.8rem 0 0.6rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.25;
	color: var(--wp--preset--color--black);
}

.ao-arts-matter-single-body h4 {
	margin: 1.5rem 0 0.5rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	color: var(--wp--preset--color--black);
}

/* Inline links — orange → blue + underline on hover */
.ao-arts-matter-single-body a {
	color: var(--wp--preset--color--orange);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	transition: color 150ms ease, border-color 150ms ease;
}
.ao-arts-matter-single-body a:hover,
.ao-arts-matter-single-body a:focus-visible {
	color: var(--wp--preset--color--blue);
	border-bottom-width: 2px;
}

.ao-arts-matter-single-body strong { font-weight: 700; }
.ao-arts-matter-single-body em { font-style: italic; }

/* Lists */
.ao-arts-matter-single-body ul,
.ao-arts-matter-single-body ol {
	margin: 0 0 1.35em;
	padding-left: 1.4em;
}
.ao-arts-matter-single-body li {
	margin-bottom: 0.5em;
}
.ao-arts-matter-single-body ul li::marker { color: var(--wp--preset--color--orange); }

/* Blockquote — orange left rule, larger, slightly muted */
.ao-arts-matter-single-body blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 4px solid var(--wp--preset--color--orange);
}
.ao-arts-matter-single-body blockquote p {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	line-height: 1.45;
	color: var(--wp--preset--color--black);
}

/* Inline images / figures inside the body */
.ao-arts-matter-single-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
.ao-arts-matter-single-body figure {
	margin: 2rem 0;
}
.ao-arts-matter-single-body figcaption {
	margin-top: 0.6rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-size: 0.875rem;
	color: var(--wp--preset--color--text);
	text-align: center;
}

/* ---- yellow-callout ---- */
/* Conditional brand-yellow callout card on single posts (Variant B modernization
   of the legacy yellow-circle + "recent report" link). Renders only when the
   yellow_callout post-meta is set (handled in PHP). */
.ao-yellow-callout {
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	margin-block-start: 0;
	padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
}

.ao-yellow-callout__card {
	box-sizing: border-box;
	max-width: 820px;
	margin: 0 auto;
	background: var(--wp--preset--color--yellow);
	border-radius: clamp(16px, 2.4vw, 28px);
	padding: clamp(1.5rem, 4vw, 2.75rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1rem, 2vw, 1.5rem);
}

.ao-yellow-callout__text {
	margin: 0;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.55;
	color: var(--wp--preset--color--black);
}

.ao-yellow-callout__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.75em 1.5em;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
	line-height: 1;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid var(--wp--preset--color--orange);
	transition: background-color 150ms ease, color 150ms ease;
}
.ao-yellow-callout__cta:hover,
.ao-yellow-callout__cta:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--orange);
}
.ao-yellow-callout__cta span { font-size: 1.15em; line-height: 0; }

/* ---- author-bio-strip ---- */
/* Dynamic author panel — cream band, blue-ring portrait (reuses class-feature
   ring discipline), Mudstone-orange name, Work Sans title + bio. */
.ao-author-bio-strip {
	box-sizing: border-box;
	background: var(--wp--preset--color--cream);
	margin-block-start: 0;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.ao-author-bio-strip__inner {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Portrait: blue ring frame (94% inset photo + ring PNG overlay) */
.ao-author-bio-strip__portrait {
	position: relative;
	margin: 0;
	flex: 0 0 auto;
	width: clamp(120px, 16vw, 160px);
	aspect-ratio: 1000 / 1038;
}
.ao-author-bio-strip__portrait img {
	position: absolute;
	top: 3%;
	left: 3%;
	width: 94%;
	height: 94%;
	object-fit: cover;
	border-radius: 50%;
	clip-path: circle(50%);
	z-index: 1;
}
.ao-author-bio-strip__portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("assets/img/dome-ring-blue.png") center / contain no-repeat;
	pointer-events: none;
	z-index: 2;
}

.ao-author-bio-strip__body { flex: 1 1 auto; }

.ao-author-bio-strip__eyebrow {
	margin: 0 0 0.4rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(0.75rem, 0.95vw, 0.875rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}

.ao-author-bio-strip__name {
	margin: 0 0 0.25rem;
	font-family: var(--wp--preset--font-family--mudstone-sans);
	font-weight: 900;
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}
.ao-author-bio-strip__name a {
	color: inherit;
	text-decoration: none;
	transition: color 150ms ease;
}
.ao-author-bio-strip__name a:hover,
.ao-author-bio-strip__name a:focus-visible {
	color: var(--wp--preset--color--blue);
}

.ao-author-bio-strip__title {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
	color: var(--wp--preset--color--black);
}

.ao-author-bio-strip__text {
	margin: 0;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	line-height: 1.6;
	color: var(--wp--preset--color--text);
}

@media (max-width: 900px) {
	.ao-author-bio-strip__inner {
		flex-direction: column;
		text-align: center;
		gap: clamp(1.25rem, 4vw, 1.75rem);
	}
}

/* ---- share-row ---- */
.ao-share-row {
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	margin-block-start: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
.ao-share-row__label {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(0.8125rem, 1vw, 0.9375rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}
.ao-share-row__list {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ao-share-row__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
	background: transparent;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.ao-share-row__btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.ao-share-row__btn:hover,
.ao-share-row__btn:focus-visible {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
}
@media (max-width: 600px) {
	.ao-share-row__btn { width: 38px; height: 38px; }
	.ao-share-row__btn svg { width: 16px; height: 16px; }
}

/* ---- related-posts ---- */
.ao-related-posts {
	box-sizing: border-box;
	background: var(--wp--preset--color--cream);
	margin-block-start: 0;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}
.ao-related-posts__inner {
	max-width: 1080px;
	margin: 0 auto;
}
.ao-related-posts__heading {
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	font-family: var(--wp--preset--font-family--mudstone-sans);
	font-weight: 900;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}
.ao-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.ao-related-posts__card {
	display: flex;
	flex-direction: column;
}
.ao-related-posts__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: clamp(10px, 1.5vw, 16px);
	background: var(--wp--preset--color--peach);
	margin-bottom: 0.9rem;
}
.ao-related-posts__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ao-related-posts__photo--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--wp--preset--color--peach);
}
.ao-related-posts__chip {
	align-self: flex-start;
	margin: 0 0 0.5rem;
	padding: 0.2em 0.7em;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--orange);
	border-radius: 999px;
}
.ao-related-posts__title {
	margin: 0 0 0.4rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.25;
}
.ao-related-posts__title a {
	color: var(--wp--preset--color--orange);
	text-decoration: none;
	transition: color 150ms ease;
}
.ao-related-posts__title a:hover,
.ao-related-posts__title a:focus-visible {
	color: var(--wp--preset--color--blue);
}
.ao-related-posts__date {
	margin: 0;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--wp--preset--color--text);
}
@media (max-width: 900px) {
	.ao-related-posts__grid { grid-template-columns: 1fr; gap: clamp(1.75rem, 5vw, 2.25rem); }
}

/* ---- tag-chip-cluster ---- */
/* Self-contained chip styling. NOTE: pairs with Sub-session C's planned shared
   `.ao-chip` utility — flagged to principal to consolidate later. */
.ao-tag-chip-cluster {
	box-sizing: border-box;
	background: var(--wp--preset--color--white);
	margin-block-start: 0;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
.ao-tag-chip-cluster__label {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: clamp(0.8125rem, 1vw, 0.9375rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}
.ao-tag-chip-cluster__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ao-tag-chip-cluster__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.4em 0.9em;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1;
	color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--orange);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.ao-tag-chip-cluster__chip:hover,
.ao-tag-chip-cluster__chip:focus-visible {
	background: var(--wp--preset--color--blue);
	border-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}
/* CSS-only "+N more" expander */
.ao-tag-chip-cluster__toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.ao-tag-chip-cluster__item--extra { display: none; }
.ao-tag-chip-cluster__toggle:checked ~ .ao-tag-chip-cluster__item--extra { display: inline-flex; }
.ao-tag-chip-cluster__more {
	display: inline-flex;
	align-items: center;
	padding: 0.4em 0.9em;
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--orange);
	border: 1px solid var(--wp--preset--color--orange);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 150ms ease;
}
.ao-tag-chip-cluster__more:hover { background: var(--wp--preset--color--blue); border-color: var(--wp--preset--color--blue); }
.ao-tag-chip-cluster__more-hide { display: none; }
.ao-tag-chip-cluster__toggle:checked ~ .ao-tag-chip-cluster__item--toggle .ao-tag-chip-cluster__more-show { display: none; }
.ao-tag-chip-cluster__toggle:checked ~ .ao-tag-chip-cluster__item--toggle .ao-tag-chip-cluster__more-hide { display: inline; }
.ao-tag-chip-cluster__toggle:focus-visible ~ .ao-tag-chip-cluster__item--toggle .ao-tag-chip-cluster__more {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

/* related card titles: respect post title casing (override global heading uppercase) */
.ao-related-posts__title,
.ao-related-posts__title a { text-transform: none; }

/* ---- top clearance fix (2026-06-03) ----
   The article header's outer element is <header>, same tag as the site header
   template part — so `:first-of-type` matched the SITE header, not this section,
   and the earlier margin-block-start:0 rule pinned it under the fixed header.
   Target the class directly. (10/20: the site header is sticky now — in the page
   flow at any height — so the per-width bumps that cleared it are gone.) */
.wp-site-blocks > .ao-arts-matter-single-header { margin-block-start: 0; }

/* ---- arts-matter-single-body: legacy media normalization (2026-06-03) ----
   Imported posts use classic WP alignment (alignleft/right/center) + <figure
   class="wp-caption" style="width:Npx"> that float images outside the 720px
   column and break text wrap. Force ALL media block, centered, in-column, no
   float, ignoring inline pixel widths. Keeps the article simple and readable. */
.ao-arts-matter-single-body .alignleft,
.ao-arts-matter-single-body .alignright,
.ao-arts-matter-single-body .aligncenter,
.ao-arts-matter-single-body .alignnone,
.ao-arts-matter-single-body figure.wp-caption,
.ao-arts-matter-single-body figure {
	float: none !important;
	width: auto !important;       /* override inline style="width:Npx" */
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
	display: block;
}
.ao-arts-matter-single-body img.alignleft,
.ao-arts-matter-single-body img.alignright,
.ao-arts-matter-single-body img.aligncenter,
.ao-arts-matter-single-body img.alignnone,
.ao-arts-matter-single-body figure img {
	display: block;
	float: none !important;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}
/* wp-caption text under the image */
.ao-arts-matter-single-body .wp-caption-text {
	margin-top: 0.6rem;
	text-align: center;
	font-family: var(--wp--preset--font-family--work-sans);
	font-size: 0.875rem;
	font-style: italic;
	color: var(--wp--preset--color--text);
}

/* ---- arts-matter-single-body: full-column media + spacing (2026-06-03) ----
   Make images, figures, captions AND embeds (YouTube iframe) fill the 720px
   reading column, with consistent vertical breathing room. Source files are
   ~1024px+ so filling 720 downscales (stays sharp). */
.ao-arts-matter-single-body img,
.ao-arts-matter-single-body figure,
.ao-arts-matter-single-body figure.wp-caption,
.ao-arts-matter-single-body iframe,
.ao-arts-matter-single-body .wp-block-embed,
.ao-arts-matter-single-body .wp-block-embed__wrapper {
	width: 100% !important;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.ao-arts-matter-single-body img {
	display: block;
	height: auto;
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}
.ao-arts-matter-single-body figure {
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}
.ao-arts-matter-single-body figure img {
	margin-top: 0;
	margin-bottom: 0;          /* caption hugs image; figure margin spaces the block */
}
.ao-arts-matter-single-body iframe {
	display: block;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 12px;
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}

/* ---- FIX: cap media at the TEXT COLUMN (720px), not full container ----
   alignleft/alignright images are excluded from WP's constrained-layout cap, so
   my earlier max-width:100% let them span the whole container (~page width).
   Force every media element to the 720px reading column. Authoritative (last + !important). */
.ao-arts-matter-single-body img,
.ao-arts-matter-single-body figure,
.ao-arts-matter-single-body figure.wp-caption,
.ao-arts-matter-single-body iframe,
.ao-arts-matter-single-body .wp-block-embed,
.ao-arts-matter-single-body .wp-block-embed__wrapper {
	max-width: 720px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---- FIX (2026-06-03): no upscaling of low-res images; cap at text column ----
   Many imported images are small (e.g. 300x300). Show every image at its NATURAL
   size, never upscaled, capped at the 720px reading column. Video fills the column. */

/* Header featured image: cap at content width (was 980), shrink to image, no 16:9
   crop/upscale for tiny thumbnails. */
.ao-arts-matter-single-header__media {
	max-width: 720px;
	width: fit-content;
	aspect-ratio: auto;
	overflow: visible;
	background: transparent;
}
.ao-arts-matter-single-header__photo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: clamp(12px, 2vw, 24px);
}

/* Body images/figures: natural width, capped at column, centered, no upscale. */
.ao-arts-matter-single-body img {
	width: auto !important;
	height: auto !important;
	max-width: min(720px, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.ao-arts-matter-single-body figure,
.ao-arts-matter-single-body figure.wp-caption {
	width: auto !important;
	max-width: min(720px, 100%) !important;
}
.ao-arts-matter-single-body figure img {
	max-width: 100% !important;
}
/* Video/embeds DO fill the column. */
.ao-arts-matter-single-body iframe,
.ao-arts-matter-single-body .wp-block-embed,
.ao-arts-matter-single-body .wp-block-embed__wrapper {
	width: 100% !important;
	max-width: 720px !important;
}

/* ---- tighten bottom-of-post (2026-06-03) ----
   Tags moved up with the article (out of the orphaned slot below Related).
   Related is now category-based + WHITE so the cream author panel stays a single
   accent (cream author → white related → cream footer reads cleanly). */
.ao-related-posts {
	background: var(--wp--preset--color--white);
}
.ao-tag-chip-cluster {
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* ---- article footer: tags (left) + share (right) on one row (2026-06-03) ----
   Combines tag-chip-cluster + share-row (wrapped in .ao-article-footer in
   single.html) into one tidy row with a top divider, replacing the airy stacked
   centered layout. */
.ao-article-footer {
	box-sizing: border-box;
	max-width: 720px;
	margin-block-start: 0;
	margin-inline: auto;
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.5rem);
	border-top: 1px solid rgba(34, 34, 34, 0.12);
	display: grid;
	grid-template-columns: 1fr auto; /* tags take the remaining space; share its own */
	align-items: start;              /* each keeps its own space; share stays top-right */
	column-gap: 2.5rem;
	row-gap: 1.25rem;
}
.wp-site-blocks > .ao-article-footer { margin-block-start: 0; }
/* Strip the inner sections' own band chrome so they sit inline in the row. */
.ao-article-footer .ao-tag-chip-cluster,
.ao-article-footer .ao-share-row {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	width: auto;
}
.ao-article-footer .ao-tag-chip-cluster {
	justify-content: flex-start; /* tags wrap to multiple lines within their column */
}
.ao-article-footer .ao-share-row {
	justify-content: flex-end;
}
@media (max-width: 560px) {
	.ao-article-footer {
		grid-template-columns: 1fr; /* stack: tags, then share */
	}
	.ao-article-footer .ao-share-row { justify-content: flex-start; }
}

/* ---- breadcrumb — mirrors the shared .ao-breadcrumb component (defined in
   style-blog-index.css). Duplicated here because that file isn't enqueued on
   single posts. FLAG to principal: promote .ao-breadcrumb to root style.css as a
   shared utility to remove the duplication. Centered to match the centered
   single-post header (the archive uses it left-aligned). ---- */
.ao-arts-matter-single-header .ao-archive__breadcrumb {
	margin: 0 0 1.1rem;
}
.ao-arts-matter-single-header .ao-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.2rem 0.5rem;
	font-family: var(--wp--preset--font-family--work-sans);
	font-size: clamp(0.8125rem, 1vw, 0.9375rem);
}
.ao-arts-matter-single-header .ao-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}
.ao-arts-matter-single-header .ao-breadcrumb__item:not(:last-child)::after {
	content: "\203A"; /* › */
	color: var(--wp--preset--color--orange);
	opacity: 0.6;
}
.ao-arts-matter-single-header .ao-breadcrumb__link {
	color: var(--wp--preset--color--orange);
	font-weight: 600;
	text-decoration: none;
}
.ao-arts-matter-single-header .ao-breadcrumb__link:hover,
.ao-arts-matter-single-header .ao-breadcrumb__link:focus-visible {
	color: var(--wp--preset--color--blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ao-arts-matter-single-header .ao-breadcrumb__current {
	color: var(--wp--preset--color--text);
	font-weight: 600;
}

/* ---- column author photo credit (2026-10-30) ----
   Active columns show their columnist in the author strip (inc/column-authors.php);
   the photo credit sits under the column's line. #5c5c5c on cream ≈ 5.9:1. */
.ao-author-bio-strip__credit {
	margin: 0.6rem 0 0;
	font-family: var(--wp--preset--font-family--work-sans);
	font-size: 0.8rem;
	color: #5c5c5c;
}
