/*
 * DirectReason Editorial — newsroom refresh.
 * Loaded after the legacy editorial sheet so this file is the single visual
 * layer for every public template except single posts. It deliberately uses
 * the Customizer palette and typography variables rather than fixed colors.
 */

body:not(.single-post) {
	--surface: var(--bg);
	--surface-raised: color-mix(in srgb, var(--bg) 97%, var(--ink));
	--surface-muted: color-mix(in srgb, var(--bg) 93%, var(--ink));
	--rule: var(--line);
	--editorial-shadow: 0 12px 32px rgba(15, 17, 21, .07);
}

body:not(.single-post) ::selection { background: color-mix(in srgb, var(--acc) 24%, transparent); color: var(--ink); }
body:not(.single-post) main { min-width: 0; }
body:not(.single-post) .w { width: min(100%, var(--site-width, 1240px)); }

/* Calm, publication-style masthead. Existing menu, switcher and controls stay intact. */
body:not(.single-post) .mast {
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
body:not(.single-post) .mast .w { min-height: 72px; height: 72px; gap: clamp(18px, 2.4vw, 34px); }
body:not(.single-post) .mast .logo { gap: 10px; padding-right: clamp(16px, 2vw, 28px); border-right-color: var(--line); }
body:not(.single-post) .mast .brand-emblem { width: 33px; height: 30px; flex-basis: 33px; }
body:not(.single-post) .mast .logo-name { font-size: clamp(18px, 1.55vw, 22px); letter-spacing: -.055em; }
body:not(.single-post) .mast nav { align-self: stretch; align-items: center; }
body:not(.single-post) .mast nav ul { gap: clamp(15px, 1.8vw, 27px); }
body:not(.single-post) .mast nav a { padding: 8px 0; color: var(--txt); font: 600 13px/1.2 var(--head); transition: color .18s ease; }
body:not(.single-post) .mast nav a:hover,
body:not(.single-post) .mast nav .current-menu-item > a,
body:not(.single-post) .mast nav .current_page_item > a { color: var(--ink); }
body:not(.single-post) .mast nav a::after { bottom: 1px; height: 2px; }
body:not(.single-post) .mast-tools { gap: 7px; }
body:not(.single-post) .clock-widget { padding-right: 12px; }
body:not(.single-post) .ib,
body:not(.single-post) #theme { width: 36px; height: 36px; border-color: var(--line); background: var(--bg); transition: background .18s, border-color .18s, transform .18s; }
body:not(.single-post) .ib:hover,
body:not(.single-post) #theme:hover { border-color: var(--ink); background: var(--surface-muted); transform: translateY(-1px); }
body:not(.single-post) .language-menu { border-color: var(--line); border-radius: 8px; box-shadow: var(--editorial-shadow); }
body:not(.single-post) .language-option { border-radius: 5px; }

/* Homepage lead: one clear visual lead and a compact, aligned Top Stories rail. */
body:not(.single-post).home .lede {
	grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
	align-items: stretch;
	gap: clamp(22px, 2.3vw, 34px);
	padding: 30px 0 12px;
}
body:not(.single-post).home .stage { min-width: 0; }
body:not(.single-post).home .hero {
	border: 1px solid color-mix(in srgb, #fff 14%, transparent);
	border-radius: 6px;
	box-shadow: 0 16px 42px rgba(15, 17, 21, .13);
}
body:not(.single-post).home .slides { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
body:not(.single-post).home .slide .ph { inset: 0; transform: none; }
body:not(.single-post).home .slide img { filter: none !important; }
body:not(.single-post).home .slide::after { background: linear-gradient(90deg, rgba(8, 10, 14, .72), rgba(8, 10, 14, .26) 62%, rgba(8, 10, 14, .08)), linear-gradient(0deg, rgba(8, 10, 14, .76), transparent 64%); }
body:not(.single-post).home .slide .txt { width: 100%; max-width: 860px; padding: 34px clamp(24px, 3.2vw, 46px); }
body:not(.single-post).home .slide .k { color: var(--hl-highlight, var(--acc)); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
body:not(.single-post).home .slide h1,
body:not(.single-post).home .slide h2 { max-width: 22ch; max-height: 3.3em; margin: 9px 0 10px; font-size: clamp(25px, 2.65vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
body:not(.single-post).home .slide p { max-width: 56ch; margin-bottom: 9px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
body:not(.single-post).home .slide .meta,
body:not(.single-post).home .slide .meta b { color: rgba(255,255,255,.78); font-size: 11px; }
body:not(.single-post).home .arrows { right: 14px; gap: 7px; }
body:not(.single-post).home .arrows button { width: 36px; height: 36px; border-color: rgba(255,255,255,.48); background: rgba(12,14,18,.34); }
body:not(.single-post).home .tabs { margin-top: 13px; }
body:not(.single-post).home .tabs .in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
body:not(.single-post).home .tab { min-width: 0; padding-top: 9px; border-top-width: 2px; }
body:not(.single-post).home .tab i { top: -2px; height: 2px; }
body:not(.single-post).home .tab span { overflow: hidden; color: var(--homepage-category-color, var(--acc)); font-size: 10px; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
body:not(.single-post).home .tab b { display: -webkit-box; overflow: hidden; margin-top: 4px; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }

body:not(.single-post).home .lede > aside.hl {
	align-self: stretch;
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
}
body:not(.single-post).home .lede > aside.hl > h2 {
	margin: 0 0 3px;
	padding: 10px 0 11px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.025em;
}
body:not(.single-post).home .lede > aside.hl > a.hl-story {
	display: grid !important;
	flex: 1 1 0;
	grid-template-columns: minmax(0, 1fr) 96px !important;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-width: 0;
	min-height: 70px;
	max-width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	box-sizing: border-box;
}
body:not(.single-post).home .lede > aside.hl > a.hl-story:last-child { border-bottom: 0; }
body:not(.single-post).home .hl-story__copy { min-width: 0; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; }
body:not(.single-post).home .hl-story__copy > .k { display: inline-block; max-width: 100%; margin-bottom: 3px; color: var(--homepage-category-color, var(--acc)); font-size: 10px; letter-spacing: .045em; text-transform: uppercase; }
body:not(.single-post).home .lede > aside.hl > a.hl-story h3 {
	display: -webkit-box;
	max-width: 100%;
	max-height: calc(2.6em + 5px);
	overflow: hidden;
	margin: 0 0 4px;
	padding-bottom: 5px;
	font: 700 14px/1.28 var(--head);
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
body:not(.single-post).home .hl-story .meta { display: block; overflow: hidden; font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body:not(.single-post).home .lede > aside.hl > a.hl-story > .hl-story__thumb {
	display: block;
	width: 96px !important;
	min-width: 96px !important;
	max-width: 96px !important;
	height: 54px !important;
	min-height: 54px !important;
	max-height: 54px !important;
	aspect-ratio: 16 / 9 !important;
	border-radius: 3px;
	overflow: hidden;
}
body:not(.single-post).home .hl-story__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Latest News is a real, distinct newsroom section with six balanced 16:9 stories. */
body:not(.single-post).home .homepage-content { padding-top: 30px; padding-bottom: 28px; }
body:not(.single-post).home .homepage-latest { margin: 0 0 26px; }
body:not(.single-post).home .homepage-section-heading {
	align-items: center;
	margin: 0 0 15px;
	padding: 10px 0 11px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
body:not(.single-post).home .homepage-section-heading h2 { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
body:not(.single-post).home .homepage-section-heading .fl { display: flex; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 5px; overflow: visible; }
body:not(.single-post).home .homepage-section-heading .fl button {
	padding: 5px 9px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--mute);
	font: 600 11px/1.2 var(--head);
	transition: color .18s, border-color .18s, background .18s;
}
body:not(.single-post).home .homepage-section-heading .fl button:hover { color: var(--ink); }
body:not(.single-post).home .homepage-section-heading .fl button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); background: color-mix(in srgb, var(--acc) 8%, var(--bg)); color: var(--ink); }
body:not(.single-post).home #news.homepage-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 22px 18px;
}
body:not(.single-post).home #news.homepage-card-grid > .latest-story {
	min-width: 0;
	max-width: 100%;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--bg);
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body:not(.single-post).home #news.homepage-card-grid > .latest-story:hover { border-color: color-mix(in srgb, var(--acc) 55%, var(--line)); box-shadow: 0 8px 22px rgba(15,17,21,.07); transform: translateY(-2px); }
body:not(.single-post).home .latest-story-link { display: flex; min-width: 0; height: 100%; flex-direction: column; gap: 0; padding: 0; }
body:not(.single-post).home .latest-story-image { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: 4px 4px 0 0; }
body:not(.single-post).home .latest-story-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body:not(.single-post).home .latest-story-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 13px 14px 12px; }
body:not(.single-post).home .latest-story-copy > .k { display: block; margin: 0 0 5px; color: var(--homepage-category-color, var(--acc)); font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
body:not(.single-post).home .latest-story-copy h3 {
	display: -webkit-box;
	max-width: 100%;
	max-height: calc(3.75em + 5px);
	overflow: hidden;
	margin: 0 0 8px;
	padding-bottom: 5px;
	color: var(--ink);
	font: 700 clamp(16px, 1.25vw, 19px)/1.25 var(--head);
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
body:not(.single-post).home .latest-story-copy .meta { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.35; }

/* Selected homepage topic feeds: compact, consistent cards with clear grouping. */
body:not(.single-post).home .homepage-category-feed { max-width: 100%; }
body:not(.single-post).home .category-section { padding: 27px 0 0; }
body:not(.single-post).home .category-section + .category-section { margin-top: 25px; border-top: 1px solid var(--line); }
body:not(.single-post).home .category-section .sh {
	align-items: center;
	margin: 0 0 14px;
	padding: 11px 0 10px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
body:not(.single-post).home .category-section .sh h2 { color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
body:not(.single-post).home .category-section .sh > a { display: inline-flex; align-items: center; gap: 7px; color: var(--mute); font: 600 12px/1.2 var(--head); transition: color .18s, gap .18s; }
body:not(.single-post).home .category-section .sh > a:hover { gap: 11px; color: var(--acc); }
body:not(.single-post).home .category-home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
body:not(.single-post).home .category-home-grid > .category-home-card {
	min-width: 0;
	max-width: 100%;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--bg);
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body:not(.single-post).home .category-home-grid > .category-home-card:hover { border-color: color-mix(in srgb, var(--acc) 48%, var(--line)); box-shadow: 0 7px 20px rgba(15,17,21,.06); transform: translateY(-2px); }
body:not(.single-post).home .category-home-card .editorial-card-image { width: 100%; aspect-ratio: 16 / 9; border-radius: 3px 3px 0 0; }
body:not(.single-post).home .category-home-card .editorial-card-copy { min-width: 0; padding: 11px 12px 10px; }
body:not(.single-post).home .category-home-card .editorial-card-copy > .k { display: block; margin: 0 0 5px; color: var(--homepage-category-color, var(--acc)); font-size: 9px; letter-spacing: .055em; text-transform: uppercase; }
body:not(.single-post).home .category-home-card .editorial-card-copy h3 { display: -webkit-box; max-width: 100%; max-height: 2.6em; overflow: hidden; margin: 0 0 6px; font-size: 15px; line-height: 1.28; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body:not(.single-post).home .category-home-card .editorial-card-copy p { display: -webkit-box; max-width: 100%; overflow: hidden; margin: 0 0 8px; color: var(--txt); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body:not(.single-post).home .category-home-card .editorial-card-copy .meta { margin-top: auto; padding-top: 7px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.3; }

/* Report uses a soft version of the active surface in both color modes. */
body:not(.single-post) .band { isolation: isolate; margin-top: 46px; background: color-mix(in srgb, var(--bg) 92%, var(--ink)); color: var(--ink); }
body:not(.single-post) .band .bg { z-index: 0; opacity: .07 !important; }
body:not(.single-post) .band .w { z-index: 1; max-width: var(--site-width, 1240px); padding-top: 66px; padding-bottom: 66px; }
body:not(.single-post) .band h2 { max-width: 17ch; color: var(--ink); font-size: clamp(31px, 3.8vw, 48px); line-height: 1.06; }
body:not(.single-post) .band p { max-width: 54ch; color: var(--mute); font-size: 15px; }
body:not(.single-post) .band .btn { border-radius: 3px; background: var(--ink); color: var(--bg); }
body:not(.single-post) .band .btn:hover { background: var(--acc); color: var(--hl-ink, #fff); }
body:not(.single-post) .band ul,
body:not(.single-post) .band li { border-color: var(--line); }
body:not(.single-post) .band li { color: var(--ink); }
body:not(.single-post) .band li small { color: var(--mute); }

/* Archives, category pages and search results share one clean story-card system. */
body:not(.single-post) .listing,
body:not(.single-post) .archive-listing { padding-top: 46px; padding-bottom: clamp(54px, 7vw, 88px); }
body:not(.single-post) .listing .page-heading,
body:not(.single-post) .archive-listing .page-heading { margin: 0 0 25px; padding: 14px 0 18px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
body:not(.single-post) .archive-listing .page-heading h1,
body:not(.single-post) .listing .page-heading h1 { max-width: 20ch; margin: 5px 0 0; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
body:not(.single-post) .archive-eyebrow { display: inline-block; color: var(--acc); font: 700 10px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
body:not(.single-post) .archive-description { max-width: 70ch; margin-top: 10px; color: var(--txt); font-size: 14px; line-height: 1.65; }
body:not(.single-post) .archive-description > *:last-child { margin-bottom: 0; }
body:not(.single-post) .archive-listing .grid,
body:not(.single-post) .listing .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px 18px; }
body:not(.single-post) .archive-listing .grid > .c,
body:not(.single-post) .listing .grid > .c { display: flex; min-width: 0; max-width: 100%; flex-direction: column; overflow: hidden; padding: 0 0 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
body:not(.single-post) .archive-listing .grid > .c:hover,
body:not(.single-post) .listing .grid > .c:hover { border-color: color-mix(in srgb, var(--acc) 48%, var(--line)); box-shadow: 0 8px 22px rgba(15,17,21,.06); transform: translateY(-2px); }
body:not(.single-post) .archive-listing .grid > .c > .ph,
body:not(.single-post) .listing .grid > .c > .ph { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 12px; border-radius: 4px 4px 0 0; }
body:not(.single-post) .archive-listing .grid > .c > .k,
body:not(.single-post) .listing .grid > .c > .k,
body:not(.single-post) .archive-listing .grid > .c > .tag,
body:not(.single-post) .listing .grid > .c > .tag { display: inline-block; align-self: flex-start; max-width: calc(100% - 28px); margin: 0 14px 5px; color: var(--homepage-category-color, var(--acc)); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
body:not(.single-post) .archive-listing .grid > .c > h2,
body:not(.single-post) .archive-listing .grid > .c > h3,
body:not(.single-post) .listing .grid > .c > h2,
body:not(.single-post) .listing .grid > .c > h3 { margin: 0 14px 7px; font-size: 18px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
body:not(.single-post) .archive-listing .grid > .c > p,
body:not(.single-post) .listing .grid > .c > p { display: -webkit-box; overflow: hidden; margin: 0 14px 10px; color: var(--txt); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
body:not(.single-post) .archive-listing .grid > .c > .meta,
body:not(.single-post) .listing .grid > .c > .meta { margin: auto 14px 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.4; }
body:not(.single-post) .archive-listing .grid > .c:first-child,
body:not(.single-post) .listing .grid > .c:first-child { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto auto auto 1fr auto; align-items: start; column-gap: clamp(22px, 3vw, 40px); padding: 0; }
body:not(.single-post) .archive-listing .grid > .c:first-child > .ph,
body:not(.single-post) .listing .grid > .c:first-child > .ph { grid-column: 1; grid-row: 1 / 6; width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; margin: 0; border-radius: 4px 0 0 4px; }
body:not(.single-post) .archive-listing .grid > .c:first-child > .k,
body:not(.single-post) .listing .grid > .c:first-child > .k { grid-column: 2; margin: 23px 24px 6px 0; }
body:not(.single-post) .archive-listing .grid > .c:first-child > h2,
body:not(.single-post) .archive-listing .grid > .c:first-child > h3,
body:not(.single-post) .listing .grid > .c:first-child > h2,
body:not(.single-post) .listing .grid > .c:first-child > h3 { grid-column: 2; margin: 0 24px 10px 0; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.12; }
body:not(.single-post) .archive-listing .grid > .c:first-child > p,
body:not(.single-post) .listing .grid > .c:first-child > p { grid-column: 2; margin: 0 24px 14px 0; font-size: 14px; }
body:not(.single-post) .archive-listing .grid > .c:first-child > .meta,
body:not(.single-post) .listing .grid > .c:first-child > .meta { grid-column: 2; margin: auto 24px 20px 0; }
body:not(.single-post) .listing .search-form { max-width: 620px; margin: 20px 0 0; }
body:not(.single-post) .listing .search-field { min-height: 44px; padding: 10px 13px; border-color: var(--line); border-radius: 4px; background: var(--surface-raised); }
body:not(.single-post) .listing .search-submit,
body:not(.single-post) .not-found .button-link { min-height: 44px; padding: 0 18px; border-radius: 4px; background: var(--ink); color: var(--bg); }
body:not(.single-post) .listing .search-submit:hover,
body:not(.single-post) .not-found .button-link:hover { background: var(--acc); color: var(--hl-ink, #fff); }
body:not(.single-post) .navigation.pagination { display: flex; justify-content: center; gap: 6px; margin: 34px 0 0; }
body:not(.single-post) .navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
body:not(.single-post) .page-numbers { min-width: 38px; padding: 8px 11px; border-color: var(--line); border-radius: 3px; background: var(--bg); color: var(--txt); text-align: center; }
body:not(.single-post) .page-numbers:hover,
body:not(.single-post) .page-numbers.current { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* Standard pages use their existing title/content width controls and gain polished block rhythm. */
body:not(.single-post).page .article-wrap { padding-top: 38px; padding-bottom: 80px; }
body:not(.single-post).page .article-header {
	width: min(100%, var(--page-title-width, 900px));
	max-width: var(--page-title-width, 900px);
	margin: 0 auto 26px;
	padding: 16px 0 20px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
body:not(.single-post).page .article-header h1 { max-width: 19ch; font-size: clamp(32px, 5vw, var(--page-title-size, 54px)); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
body:not(.single-post).page .article-content { width: min(100%, var(--page-content-width, 780px)); max-width: var(--page-content-width, 780px); margin: 0 auto; padding: 0; color: var(--txt); font-size: var(--page-text-size, 18px); line-height: 1.78; overflow-wrap: anywhere; }
body:not(.single-post).page .article-content > * { max-width: 100%; }
body:not(.single-post).page .article-content h2,
body:not(.single-post).page .article-content h3,
body:not(.single-post).page .article-content h4 { margin: 1.7em 0 .55em; color: var(--ink); line-height: 1.15; }
body:not(.single-post).page .article-content h2 { font-size: clamp(25px, 3vw, 34px); }
body:not(.single-post).page .article-content h3 { font-size: clamp(20px, 2.3vw, 27px); }
body:not(.single-post).page .article-content a { color: var(--acc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body:not(.single-post).page .article-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--acc); color: var(--ink); font-size: 1.08em; }
body:not(.single-post).page .article-content img { width: auto; max-width: 100%; height: auto; }
body:not(.single-post).page .article-content figure { max-width: 100%; margin: 1.7em 0; }
body:not(.single-post).page .article-content figcaption { margin-top: 7px; color: var(--mute); font-size: .78em; }
body:not(.single-post).page .article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body:not(.single-post).page .article-content th,
body:not(.single-post).page .article-content td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; }
body:not(.single-post).page .article-content pre { max-width: 100%; overflow: auto; padding: 16px; background: var(--surface-muted); color: var(--ink); }

/* Error state and empty results keep the same restrained editorial language. */
body:not(.single-post) .not-found { display: flex; min-height: 58vh; flex-direction: column; justify-content: center; padding-top: 70px; padding-bottom: 80px; }
body:not(.single-post) .not-found .eyebrow { color: var(--acc); font-size: 11px; letter-spacing: .14em; }
body:not(.single-post) .not-found h1 { max-width: 13ch; margin-bottom: 12px; font-size: clamp(44px, 8vw, 82px); letter-spacing: -.055em; line-height: .98; }
body:not(.single-post) .not-found > p { max-width: 52ch; margin-bottom: 13px; color: var(--txt); font-size: 16px; }
body:not(.single-post) .not-found .search-form { width: min(100%, 600px); margin: 16px 0 12px; }

/* Footer follows its assigned menus and retains social, consent and logo controls. */
body:not(.single-post) footer {
	position: relative;
	margin-top: auto;
	padding: 52px 0 18px;
	border-top: 1px solid var(--line);
	background: color-mix(in srgb, var(--bg) 94%, var(--ink) 6%);
	color: var(--txt);
}
body:not(.single-post) footer::before { display: none; }
body:not(.single-post) footer.footer-glass { background: color-mix(in srgb, var(--bg) 83%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
body:not(.single-post) footer .footer-top { align-items: start; gap: clamp(22px, 3vw, 44px); padding-bottom: 30px; border-bottom-color: var(--line); }
body:not(.single-post) footer .footer-brand .logo { margin-bottom: 12px; }
body:not(.single-post) footer .logo-name { color: var(--footer-logo-color, var(--ink)); }
body:not(.single-post) footer .brand-mark-d { fill: var(--footer-logo-color, var(--ink)); }
body:not(.single-post) footer .brand-mark-r { fill: var(--footer-logo-accent-color, var(--logo-accent-color, var(--acc))); }
body:not(.single-post) footer .footer-brand p { max-width: 36ch; color: var(--mute); font-size: 13px; line-height: 1.65; }
body:not(.single-post) footer .footer-categories-title,
body:not(.single-post) footer .footer-pages-title,
body:not(.single-post) footer .footer-support-title { min-height: 0; margin: 2px 0 12px; color: var(--ink); font-size: 11px; letter-spacing: .08em; }
body:not(.single-post) footer .footer-menu { gap: 8px; }
body:not(.single-post) footer .footer-menu a { color: var(--txt); font-size: 12px; transition: color .18s, transform .18s; }
body:not(.single-post) footer .footer-menu a:hover { color: var(--acc); transform: translateX(2px); }
body:not(.single-post) footer .footer-bottom { min-height: 52px; gap: 12px; padding-top: 15px; }
body:not(.single-post) footer .cp { min-height: 30px; color: var(--mute); font-size: 11px; }
body:not(.single-post) footer .social-links { min-height: 32px; gap: 7px; }
body:not(.single-post) footer .social-links a { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--txt); transition: border-color .18s, color .18s, background .18s, transform .18s; }
body:not(.single-post) footer .social-links a:hover { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 8%, var(--bg)); color: var(--acc); transform: translateY(-2px); }
body:not(.single-post) footer .social-links svg { width: 15px; height: 15px; }
body:not(.single-post) footer .social-links a[aria-label="YouTube"] svg .icon-fill { fill: var(--bg); }
body:not(.single-post) footer .footer-cookie-settings { margin-left: auto; }

@media (max-width: 1100px) {
	body:not(.single-post) .mast .w { gap: 16px; }
	body:not(.single-post) .mast .logo { padding-right: 16px; }
	body:not(.single-post) .mast nav ul { gap: 14px; }
	body:not(.single-post) .mast nav a { font-size: 12px; }
}
@media (max-width: 980px) {
	body:not(.single-post).home .lede { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	body:not(.single-post).home .lede > aside.hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	body:not(.single-post).home .lede > aside.hl > h2 { grid-column: 1 / -1; }
	body:not(.single-post).home .lede > aside.hl > a.hl-story { min-height: 74px; }
	body:not(.single-post).home #news.homepage-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
	body:not(.single-post).home .category-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body:not(.single-post) .archive-listing .grid,
	body:not(.single-post) .listing .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body:not(.single-post) footer .footer-top { gap: 24px 20px; }
}
@media (max-width: 760px) {
	body:not(.single-post) .mast .w { min-height: 62px; height: auto; gap: 9px 14px; padding-top: 8px; padding-bottom: 8px; }
	body:not(.single-post) .mast nav { flex-basis: 100%; order: 3; width: 100%; }
	body:not(.single-post) .mast nav ul { gap: 18px; }
	body:not(.single-post) .mast nav a { padding: 7px 0; font-size: 12px; }
	body:not(.single-post) .mast .logo { padding-right: 12px; }
	body:not(.single-post) .mast .logo-name { font-size: 18px; }
	body:not(.single-post) .mast .brand-emblem { width: 29px; height: 27px; flex-basis: 29px; }
	body:not(.single-post).home .slide .txt { padding: 23px 54px 23px 23px; }
	body:not(.single-post).home .slide h1,
	body:not(.single-post).home .slide h2 { max-width: 19ch; font-size: clamp(24px, 4.6vw, 34px); }
	body:not(.single-post).home .slide p { display: none; }
	body:not(.single-post).home .arrows { display: none; }
	body:not(.single-post).home .tabs .in { grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 5px; }
	body:not(.single-post).home .category-home-grid { gap: 14px; }
	body:not(.single-post) .archive-listing .grid > .c:first-child,
	body:not(.single-post) .listing .grid > .c:first-child { column-gap: 20px; }
	body:not(.single-post) footer .footer-top { gap: 22px 16px; }
}
@media (max-width: 640px) {
	body:not(.single-post) .w { padding-right: 18px; padding-left: 18px; }
	body:not(.single-post).home .lede { padding-top: 18px; gap: 20px; }
	body:not(.single-post).home .slides { aspect-ratio: 4 / 3 !important; }
	body:not(.single-post).home .slide .txt { padding: 20px 18px; }
	body:not(.single-post).home .slide h1,
	body:not(.single-post).home .slide h2 { max-width: 18ch; margin: 7px 0; font-size: clamp(22px, 7vw, 30px); }
	body:not(.single-post).home .slide .meta { font-size: 10px; }
	body:not(.single-post).home .tabs .in { grid-template-columns: repeat(4, minmax(110px, 1fr)); }
	body:not(.single-post).home .tab b { display: -webkit-box; font-size: 11px; -webkit-line-clamp: 2; line-clamp: 2; }
	body:not(.single-post).home .lede > aside.hl { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
	body:not(.single-post).home .lede > aside.hl > h2 { grid-column: 1; }
	body:not(.single-post).home .lede > aside.hl > a.hl-story { min-height: 75px; }
	body:not(.single-post).home .homepage-content { padding-top: 23px; }
	body:not(.single-post).home .homepage-section-heading { align-items: flex-start; gap: 10px; }
	body:not(.single-post).home .homepage-section-heading h2 { font-size: 22px; }
	body:not(.single-post).home .homepage-section-heading .fl { justify-content: flex-start; gap: 3px; }
	body:not(.single-post).home .homepage-section-heading .fl button { padding: 5px 7px; font-size: 10px; }
	body:not(.single-post).home #news.homepage-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body:not(.single-post).home .latest-story-copy { padding: 10px; }
	body:not(.single-post).home .latest-story-copy h3 { font-size: 15px; line-height: 1.22; }
	body:not(.single-post).home .latest-story-copy .meta { font-size: 9px; }
	body:not(.single-post).home .category-section { padding-top: 22px; }
	body:not(.single-post).home .category-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body:not(.single-post).home .category-home-card .editorial-card-copy { padding: 9px 10px; }
	body:not(.single-post).home .category-home-card .editorial-card-copy h3 { font-size: 14px; }
	body:not(.single-post).home .category-home-card .editorial-card-copy p { display: none; }
	body:not(.single-post) .listing,
	body:not(.single-post) .archive-listing { padding-top: 30px; }
	body:not(.single-post) .archive-listing .grid,
	body:not(.single-post) .listing .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
	body:not(.single-post) .archive-listing .grid > .c:first-child,
	body:not(.single-post) .listing .grid > .c:first-child { display: flex; grid-column: 1 / -1; flex-direction: column; }
	body:not(.single-post) .archive-listing .grid > .c:first-child > .ph,
	body:not(.single-post) .listing .grid > .c:first-child > .ph { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px 4px 0 0; }
	body:not(.single-post) .archive-listing .grid > .c:first-child > .k,
	body:not(.single-post) .listing .grid > .c:first-child > .k { margin: 11px 12px 4px; }
	body:not(.single-post) .archive-listing .grid > .c:first-child > h2,
	body:not(.single-post) .archive-listing .grid > .c:first-child > h3,
	body:not(.single-post) .listing .grid > .c:first-child > h2,
	body:not(.single-post) .listing .grid > .c:first-child > h3 { margin: 0 12px 6px; font-size: 18px; }
	body:not(.single-post) .archive-listing .grid > .c:first-child > p,
	body:not(.single-post) .listing .grid > .c:first-child > p { margin: 0 12px 9px; font-size: 11px; }
	body:not(.single-post) .archive-listing .grid > .c:first-child > .meta,
	body:not(.single-post) .listing .grid > .c:first-child > .meta { margin: auto 12px 12px; }
	body:not(.single-post) .archive-listing .grid > .c > h2,
	body:not(.single-post) .archive-listing .grid > .c > h3,
	body:not(.single-post) .listing .grid > .c > h2,
	body:not(.single-post) .listing .grid > .c > h3 { margin-right: 10px; margin-left: 10px; font-size: 14px; }
	body:not(.single-post) .archive-listing .grid > .c > p,
	body:not(.single-post) .listing .grid > .c > p { margin-right: 10px; margin-left: 10px; font-size: 10px; }
	body:not(.single-post) .archive-listing .grid > .c > .k,
	body:not(.single-post) .listing .grid > .c > .k,
	body:not(.single-post) .archive-listing .grid > .c > .tag,
	body:not(.single-post) .listing .grid > .c > .tag { margin-right: 10px; margin-left: 10px; }
	body:not(.single-post) .archive-listing .grid > .c > .meta,
	body:not(.single-post) .listing .grid > .c > .meta { margin-right: 10px; margin-left: 10px; font-size: 9px; }
	body:not(.single-post).page .article-wrap { padding-top: 26px; padding-bottom: 55px; }
	body:not(.single-post).page .article-header { margin-bottom: 19px; padding-top: 12px; }
	body:not(.single-post).page .article-content { font-size: min(var(--page-text-size, 18px), 17px); line-height: 1.72; }
	body:not(.single-post) footer { padding: 38px 0 16px; }
	body:not(.single-post) footer .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 15px; padding-bottom: 23px; }
	body:not(.single-post) footer .footer-brand { grid-column: 1 / -1; }
	body:not(.single-post) footer .footer-support { grid-column: 1 / -1; }
	body:not(.single-post) footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; }
	body:not(.single-post) footer .cp { width: auto; }
	body:not(.single-post) footer .social-links { margin-left: auto; }
}
@media (max-width: 420px) {
	body:not(.single-post) .mast .clock-widget { display: none; }
	body:not(.single-post).home #news.homepage-card-grid { grid-template-columns: minmax(0, 1fr); }
	body:not(.single-post).home .latest-story-link { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px; }
	body:not(.single-post).home .latest-story-image { width: 112px; border-radius: 3px; }
	body:not(.single-post).home .latest-story-copy { padding: 0; }
	body:not(.single-post).home .latest-story-copy h3 { font-size: 15px; }
	body:not(.single-post).home .latest-story-copy .meta { margin-top: 0; padding-top: 0; border: 0; }
	body:not(.single-post).home .category-home-grid { grid-template-columns: minmax(0, 1fr); }
	body:not(.single-post).home .category-home-card .editorial-card-copy p { display: -webkit-box; }
	body:not(.single-post) .archive-listing .grid,
	body:not(.single-post) .listing .grid { grid-template-columns: minmax(0, 1fr); }
	body:not(.single-post) .archive-listing .grid > .c:first-child,
	body:not(.single-post) .listing .grid > .c:first-child { grid-column: 1; }
	body:not(.single-post) footer .footer-top { grid-template-columns: minmax(0, 1fr); }
	body:not(.single-post) footer .footer-brand,
	body:not(.single-post) footer .footer-support { grid-column: 1; }
	body:not(.single-post) footer .footer-bottom { justify-content: center; text-align: center; }
	body:not(.single-post) footer .cp { width: 100%; justify-content: center; }
	body:not(.single-post) footer .footer-cookie-settings { margin: 0; }
	body:not(.single-post) footer .social-links { justify-content: center; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
	body:not(.single-post) *, body:not(.single-post) *::before, body:not(.single-post) *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Put Latest in the left newsroom rail, beside the lead and Top Stories. */
body:not(.single-post).home .lede {
	grid-template-columns: minmax(250px, .82fr) minmax(0, 1.9fr) minmax(290px, .95fr);
	align-items: stretch;
	gap: clamp(18px, 2vw, 30px);
}
body:not(.single-post).home .homepage-latest.latest-rail {
	display: block;
	grid-column: 1;
	grid-row: 1;
	align-self: stretch;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}
body:not(.single-post).home .homepage-section-heading {
	display: block;
	margin: 0 0 3px;
	padding: 10px 0 9px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
body:not(.single-post).home .homepage-section-heading h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
body:not(.single-post).home .homepage-section-heading .fl {
	max-width: 100%;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 4px 10px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
}
body:not(.single-post).home .homepage-section-heading .fl::-webkit-scrollbar { display: none; }
body:not(.single-post).home .homepage-section-heading .fl button {
	flex: 0 0 auto;
	padding: 3px 0;
	border: 0;
	border-radius: 0;
	font-family: var(--head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}
body:not(.single-post).home .homepage-section-heading .fl button[aria-pressed="true"] { background: transparent; color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body:not(.single-post).home .homepage-latest.latest-rail #news.latest-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-content: start;
	gap: 0 !important;
}
body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story {
	min-width: 0;
	max-width: 100%;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
	transition: border-color .18s ease;
}
body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:last-child { border-bottom: 0; }
body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:hover { border-color: transparent; border-bottom-color: var(--line); box-shadow: none; transform: none; }
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	grid-template-rows: auto;
	align-items: center;
	gap: 0 10px;
	min-width: 0;
	min-height: 70px;
	padding: 9px 0;
}
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-copy { grid-column: 1; grid-row: 1; min-width: 0; padding: 0; }
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-copy > .k {
	display: block;
	max-width: 100%;
	margin: 0 0 3px;
	color: var(--homepage-category-color, var(--acc));
	font-size: 9px;
	letter-spacing: .045em;
	line-height: 1.25;
	text-transform: uppercase;
}
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-copy h3 {
	display: -webkit-box;
	max-width: 100%;
	max-height: calc(2.56em + 5px);
	overflow: hidden;
	margin: 0 0 3px;
	padding-bottom: 5px;
	color: var(--ink);
	font: 700 14px/1.28 var(--head);
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-copy .meta {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: var(--mute);
	font-family: var(--head);
	font-size: 13px;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-image {
	grid-column: 2;
	grid-row: 1;
	width: 96px;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0;
	border-radius: 3px;
}
body:not(.single-post).home .homepage-latest.latest-rail .latest-story-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body:not(.single-post).home .stage { grid-column: 2; grid-row: 1; }
body:not(.single-post).home .lede > aside.hl { grid-column: 3; grid-row: 1; }
body:not(.single-post).home .homepage-content { display: block; padding-top: 20px; }

/* A restrained follow-up story fills the space beneath the lead carousel. */
body:not(.single-post).home .secondary-lead-story {
	min-width: 0;
	margin-top: 15px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: color-mix(in srgb, var(--bg) 97%, var(--ink));
	transition: border-color .2s ease, background .2s ease;
}
body:not(.single-post).home .secondary-lead-story:hover { border-color: color-mix(in srgb, var(--acc) 48%, var(--line)); }
body:not(.single-post).home .secondary-lead-link {
	display: grid;
	grid-template-columns: 172px minmax(0, 1fr);
	align-items: center;
	gap: 15px;
	min-width: 0;
	min-height: 124px;
	padding: 12px;
	color: inherit;
}
body:not(.single-post).home .secondary-lead-thumb { width: 172px; aspect-ratio: 16 / 9; margin: 0; border-radius: 3px; }
body:not(.single-post).home .secondary-lead-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body:not(.single-post).home .secondary-lead-copy { min-width: 0; }
body:not(.single-post).home .secondary-lead-label { display: block; margin: 0 0 4px; color: var(--homepage-category-color, var(--acc)); font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
body:not(.single-post).home .secondary-lead-copy h2 { display: -webkit-box; max-width: 100%; overflow: hidden; margin: 0 0 4px; font: 700 16px/1.2 var(--head); overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body:not(.single-post).home .secondary-lead-copy p { display: -webkit-box; max-width: 100%; overflow: hidden; margin: 0 0 5px; color: var(--mute); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body:not(.single-post).home .secondary-lead-copy .meta { display: block; overflow: hidden; color: var(--mute); font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body:not(.single-post).home .secondary-lead-link:hover .story-title-text,
body:not(.single-post).home .secondary-lead-link:focus-visible .story-title-text { text-decoration-color: var(--acc) !important; }
@media (max-width: 520px) {
	body:not(.single-post).home .secondary-lead-link { grid-template-columns: 112px minmax(0, 1fr); min-height: 96px; gap: 11px; padding: 9px; }
	body:not(.single-post).home .secondary-lead-thumb { width: 112px; }
	body:not(.single-post).home .secondary-lead-copy h2 { font-size: 14px; }
	body:not(.single-post).home .secondary-lead-copy p { display: none; }
}

/* Keep the category navigation at its original, more legible size. */
body:not(.single-post) .mast nav a { font-size: 15px; }
@media (max-width: 1100px) { body:not(.single-post) .mast nav a { font-size: 14px; } }
@media (max-width: 760px) { body:not(.single-post) .mast nav a { font-size: 13px; } }
@media (max-width: 640px) { body:not(.single-post) .mast nav a { font-size: 12px; } }

/* Tablet and phone: preserve the compact list and keep categories full-width below it. */
@media (max-width: 1120px) {
	body:not(.single-post).home .lede { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .95fr); }
	body:not(.single-post).home .stage { grid-column: 1; grid-row: 1; }
	body:not(.single-post).home .lede > aside.hl { grid-column: 2; grid-row: 1; }
	body:not(.single-post).home .homepage-latest.latest-rail { grid-column: 1 / -1; grid-row: 2; }
	body:not(.single-post).home .homepage-latest.latest-rail #news.latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 16px; }
	body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:nth-last-child(-n+3) { border-bottom: 0; }
	body:not(.single-post).home .homepage-latest.latest-rail .latest-story-link { min-height: 66px; }
}
@media (max-width: 760px) {
body:not(.single-post).home .lede { grid-template-columns: minmax(0, 1fr); }
	body:not(.single-post).home .stage { grid-column: 1; grid-row: 1; }
	body:not(.single-post).home .lede > aside.hl { grid-column: 1; grid-row: 2; }
	body:not(.single-post).home .homepage-latest.latest-rail { grid-column: 1; grid-row: 3; }
	body:not(.single-post).home .homepage-latest.latest-rail #news.latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px; }
	body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
	body:not(.single-post).home .homepage-latest.latest-rail #news.latest-grid { grid-template-columns: minmax(0, 1fr) !important; }
	body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:last-child { border-bottom: 0; }
}

/* Keep homepage post metadata and reading time clear and typographically consistent. */
body:not(.single-post).home .lede .meta,
body:not(.single-post).home .category-home-card .editorial-card-copy .meta {
	font-family: var(--head);
	font-size: 13px;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
}
body:not(.single-post).home .lede .meta .reading-time-suffix,
body:not(.single-post).home .category-home-card .editorial-card-copy .meta .reading-time-suffix {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

/* Keep the lead image visible: anchor the story copy low and cap its text block. */
body:not(.single-post).home .slide { align-items: flex-end !important; }
body:not(.single-post).home .slide .txt {
	align-self: flex-end;
	padding: 22px clamp(24px, 3.2vw, 46px) 16px !important;
}
body:not(.single-post).home .slide h1,
body:not(.single-post).home .slide h2 {
	max-width: 24ch;
	max-height: 2.2em;
	margin: 5px 0 7px;
	font-size: clamp(22px, 1.9vw, 29px) !important;
	line-height: 1.08;
}
body:not(.single-post).home .slide h1 a,
body:not(.single-post).home .slide h2 a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
body:not(.single-post).home .slide p {
	display: -webkit-box;
	max-width: 56ch;
	max-height: 2.8em;
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
body:not(.single-post).home .slide .meta,
body:not(.single-post).home .slide .meta b {
	font-family: var(--head);
	font-size: 12px !important;
	line-height: 1.3;
}
@media (max-width: 760px) {
	body:not(.single-post).home .slide .txt { padding: 17px 54px 13px 23px !important; }
	body:not(.single-post).home .slide h1,
	body:not(.single-post).home .slide h2 { max-width: 21ch; font-size: clamp(22px, 3.1vw, 27px) !important; }
}
@media (max-width: 640px) {
	body:not(.single-post).home .slide .txt { padding: 14px 18px 11px !important; }
	body:not(.single-post).home .slide h1,
	body:not(.single-post).home .slide h2 { font-size: clamp(21px, 5.6vw, 24px) !important; }
}

/* Keep the footer copyright phrase inline and on the same typographic baseline. */
footer .cp { display: block; }
footer .copyright-label { font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: nowrap; }
@media (max-width: 420px) { footer .cp { text-align: center; } }

/* Reset old heading-level hover rules. Their underline was clipped by the
   line-clamped h3 blocks; apply it to the inline title span instead. */
body:not(.single-post).home .hl-story h3,
body:not(.single-post).home .latest-story-link h3,
body:not(.single-post).home .category-home-card h3,
body:not(.single-post).home .stage .slide h1 a,
body:not(.single-post).home .stage .slide h2 a {
	text-decoration: none !important;
}
body:not(.single-post).home .story-title-text {
	text-decoration-line: underline !important;
	text-decoration-color: transparent !important;
	text-decoration-thickness: 3px !important;
	text-underline-offset: 2px !important;
	text-decoration-skip-ink: none;
	transition: text-decoration-color .18s ease;
}
body:not(.single-post).home .hl-story:hover .story-title-text,
body:not(.single-post).home .hl-story:focus-visible .story-title-text,
body:not(.single-post).home .latest-story-link:hover .story-title-text,
body:not(.single-post).home .latest-story-link:focus-visible .story-title-text {
	text-decoration-color: var(--acc) !important;
}
body:not(.single-post).home .category-home-card .editorial-card-link:hover .story-title-text,
body:not(.single-post).home .category-home-card .editorial-card-link:focus-visible .story-title-text {
	text-decoration-color: var(--homepage-category-color, var(--acc)) !important;
}
body:not(.single-post).home .stage .slide:hover .story-title-text,
body:not(.single-post).home .stage .slide:focus-within .story-title-text {
	text-decoration-color: var(--hl-highlight, var(--acc)) !important;
}
/* The old accent border was appearing at the bottom of each Latest row. */
body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story:hover {
	border-bottom-color: var(--line) !important;
}
@media (prefers-reduced-motion: reduce) {
	body:not(.single-post).home .story-title-text { transition: none; }
}

/* Explore and homepage category feeds share the same framed section and card rhythm. */
body:not(.single-post).home .explore-section,
body:not(.single-post).home .homepage-category-feed > .category-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 26px;
	padding: 20px 20px 22px;
	border: 1px solid var(--line);
	background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 96%, var(--ink)), var(--bg) 58%);
}
body:not(.single-post).home .homepage-category-feed > .category-section + .category-section { margin-top: 0; }
body:not(.single-post).home .explore-section::before,
body:not(.single-post).home .homepage-category-feed > .category-section::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 18%, transparent) 1px, transparent 1.5px), linear-gradient(120deg, transparent 43%, color-mix(in srgb, var(--ink) 8%, transparent) 43.2%, transparent 43.5%);
	background-position: 0 0, 0 0;
	background-size: 18px 18px, 100% 100%;
	content: "";
	opacity: .22;
	pointer-events: none;
}
body:not(.single-post).home .explore-section > .sh,
body:not(.single-post).home .explore-section > .explore-layout,
body:not(.single-post).home .homepage-category-feed > .category-section > .sh,
body:not(.single-post).home .homepage-category-feed > .category-section > .category-home-grid { position: relative; z-index: 1; }
body:not(.single-post).home .explore-section > .sh,
body:not(.single-post).home .homepage-category-feed > .category-section > .sh { margin-bottom: 15px; }
body:not(.single-post).home .homepage-category-feed > .category-section { background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 96%, var(--ink)), var(--bg) 58%); }
/* Explore prism: a neutral, touch-friendly story sculpture with 16:9 tiles. */
body:not(.single-post).home .explore-section {
	background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 98%, var(--ink)), var(--bg) 68%);
	border-color: color-mix(in srgb, var(--line) 82%, var(--bg));
}
body:not(.single-post).home .explore-section::before {
	background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
	background-position: center;
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 55%, #000 10%, transparent 74%);
	mask-image: radial-gradient(ellipse at 70% 55%, #000 10%, transparent 74%);
	opacity: .34;
}
body:not(.single-post).home .explore-section > .sh,
body:not(.single-post).home .explore-section > .explore-description,
body:not(.single-post).home .explore-section > .explore-layout,
body:not(.single-post).home .homepage-category-feed > .category-section > .sh,
body:not(.single-post).home .homepage-category-feed > .category-section > .category-home-grid { position: relative; z-index: 1; }
body:not(.single-post).home .explore-section > .sh { margin-bottom: 8px; }
body:not(.single-post).home .explore-section > .sh h2 { display: block; }
body:not(.single-post).home .explore-description { max-width: 66ch; margin: 0 0 20px; color: var(--mute); line-height: 1.6; }
body:not(.single-post).home .explore-layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(22px, 4vw, 54px); min-width: 0; }
body:not(.single-post).home .explore-selected { min-width: 0; padding: 6px 0; }
body:not(.single-post).home .explore-selected-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
body:not(.single-post).home .explore-selected-category { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--mute); font: 600 13px/1.4 var(--body); }
body:not(.single-post).home .explore-selected-category > span:first-child { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--explore-story-color, var(--mute)); }
body:not(.single-post).home .explore-sequence { flex: 0 0 auto; color: var(--mute); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
body:not(.single-post).home .explore-selected h3 { max-width: 18ch; margin: 10px 0 12px; color: var(--ink); font: 700 clamp(25px, 2.6vw, 34px)/1.12 var(--head); letter-spacing: -.035em; overflow-wrap: anywhere; }
body:not(.single-post).home .explore-selected-excerpt { display: -webkit-box; max-width: 42ch; margin: 0; overflow: hidden; overflow-wrap: anywhere; color: var(--mute); font-size: 15px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
body:not(.single-post).home .explore-open-story { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; margin-top: 20px; padding: 0 17px; border: 1px solid var(--line); border-radius: 2px; background: var(--ink); color: var(--bg); font: 700 13px/1 var(--head); text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
body:not(.single-post).home .explore-open-story span { color: var(--explore-story-color, currentColor); font-size: 17px; transition: transform .2s ease; }
body:not(.single-post).home .explore-open-story:hover { transform: translateY(-1px); }
body:not(.single-post).home .explore-open-story:hover span { transform: translateX(3px); }
body:not(.single-post).home .explore-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 17px; color: var(--mute); font-size: 11px; }
body:not(.single-post).home .explore-legend-title { width: 100%; color: var(--ink); font: 700 11px/1.2 var(--head); }
body:not(.single-post).home .explore-legend-item { display: inline-flex; align-items: center; gap: 6px; }
body:not(.single-post).home .explore-legend-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--explore-story-color); }
body:not(.single-post).home .explore-stage { position: relative; display: grid; width: 100%; min-width: 0; min-height: clamp(280px, 34vw, 450px); place-items: center; perspective: 950px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
body:not(.single-post).home .explore-stage:focus-visible { outline: 2px solid var(--line); outline-offset: 5px; }
body:not(.single-post).home .explore-stage.is-held { cursor: grabbing; }
body:not(.single-post).home .explore-stage::before { position: absolute; inset: 6%; background-image: linear-gradient(color-mix(in srgb, var(--line) 64%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 64%, transparent) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at center, #000 6%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 6%, transparent 72%); content: ""; opacity: .2; pointer-events: none; }
body:not(.single-post).home .explore-orientation {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	display: grid;
	width: 132px;
	gap: 5px;
	padding: 9px 11px 10px;
	border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
	border-radius: 4px;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	box-shadow: 0 5px 18px color-mix(in srgb, var(--ink) 8%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
body:not(.single-post).home .explore-orientation-title { padding-bottom: 5px; border-bottom: 1px solid var(--line); color: var(--mute); font: 700 8px/1.2 var(--head); letter-spacing: .12em; }
body:not(.single-post).home .explore-orientation-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--mute); font: 600 9px/1.2 var(--head); letter-spacing: .045em; }
body:not(.single-post).home .explore-orientation-row b { display: inline-block; min-width: 12px; color: var(--acc); font: 700 12px/1 var(--body); }
body:not(.single-post).home .explore-orientation-row output { color: var(--ink); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
body:not(.single-post).home .explore-orbit { position: absolute; left: 50%; bottom: 8%; width: min(100%, 560px); height: 32%; transform: translateX(-50%); border: 1px dashed color-mix(in srgb, var(--line) 82%, transparent); border-radius: 50%; pointer-events: none; }
body:not(.single-post).home .explore-shadow { position: absolute; left: 50%; bottom: 13%; width: min(78%, 430px); height: 32px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 19%, transparent), transparent); pointer-events: none; }
body:not(.single-post).home .explore-cube { --explore-cube-size: clamp(260px, 35vw, 440px); --explore-cube-half: clamp(130px, 17.5vw, 220px); --explore-cube-depth: clamp(73px, 9.84375vw, 123.75px); position: relative; width: min(100%, var(--explore-cube-size)); aspect-ratio: 16 / 9; margin-top: -2%; transform-style: preserve-3d; touch-action: none; }
body:not(.single-post).home .explore-cube-layer { position: absolute; inset: 0 0 auto; width: 100%; height: 50%; transform-style: preserve-3d; }
body:not(.single-post).home .explore-cube-layer:nth-of-type(2) { top: 50%; }
body:not(.single-post).home .explore-cube-face { position: absolute; inset: 0; display: flex; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
body:not(.single-post).home .explore-cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(var(--explore-cube-half)); }
body:not(.single-post).home .explore-cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(var(--explore-cube-half)); }
body:not(.single-post).home .explore-cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(var(--explore-cube-half)); }
body:not(.single-post).home .explore-cube-face:nth-child(4) { transform: rotateY(270deg) translateZ(var(--explore-cube-half)); }
body:not(.single-post).home .explore-tile { position: relative; display: block; width: 50%; height: 100%; min-width: 0; color: inherit; -webkit-user-drag: none; user-drag: none; }
body:not(.single-post).home .explore-tile:focus-visible { z-index: 2; outline: 2px solid var(--explore-story-color, var(--ink)); outline-offset: -4px; }
body:not(.single-post).home .explore-tile-media { position: absolute; top: 50%; right: 3px; left: 3px; display: block; overflow: hidden; aspect-ratio: 16 / 9; transform: translateY(-50%); background: color-mix(in srgb, var(--bg) 91%, var(--ink)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 86%, transparent); transition: box-shadow .2s ease, filter .2s ease; }
body:not(.single-post).home .explore-tile-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-drag: none; transition: transform .45s ease, filter .25s ease; }
body:not(.single-post).home .explore-tile-media.is-no-image { background-image: linear-gradient(135deg, transparent 49.6%, color-mix(in srgb, var(--ink) 9%, transparent) 50%, transparent 50.5%), linear-gradient(45deg, transparent 49.6%, color-mix(in srgb, var(--ink) 7%, transparent) 50%, transparent 50.5%); background-size: 46px 46px, 64px 64px; }
body:not(.single-post).home .explore-tile-empty .explore-tile-media { background-color: color-mix(in srgb, var(--bg) 92%, var(--ink)); }
body:not(.single-post).home .explore-tile:hover .explore-tile-media img,
body:not(.single-post).home .explore-tile:focus-visible .explore-tile-media img { transform: scale(1.035); }
body:not(.single-post).home .explore-tile.is-selected .explore-tile-media,
body:not(.single-post).home .explore-tile:hover .explore-tile-media { box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 2px var(--explore-story-color, var(--line)); }
body:not(.single-post).home .explore-cube-top { position: absolute; top: calc(50% - var(--explore-cube-half)); left: 0; width: min(100%, var(--explore-cube-size)); aspect-ratio: 1; transform: rotateX(90deg) translateZ(var(--explore-cube-depth)); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px, color-mix(in srgb, var(--bg) 96%, var(--ink)); box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
body:not(.single-post).home .explore-cube-bottom { position: absolute; top: calc(50% - var(--explore-cube-half)); left: 0; width: min(100%, var(--explore-cube-size)); aspect-ratio: 1; transform: rotateX(-90deg) translateZ(var(--explore-cube-depth)); background: linear-gradient(135deg, transparent 49.7%, color-mix(in srgb, var(--line) 75%, transparent) 50%, transparent 50.3%) 0 0 / 28px 28px, color-mix(in srgb, var(--bg) 96%, var(--ink)); box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
body:not(.single-post).home .explore-section a:focus-visible { outline-color: var(--explore-story-color, var(--ink)); }
body:not(.single-post).home .homepage-category-feed > .category-section { background: linear-gradient(135deg, color-mix(in srgb, var(--bg) 96%, var(--ink)), var(--bg) 58%); }
@media (max-width: 900px) {
	body:not(.single-post).home .explore-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body:not(.single-post).home .explore-stage { order: -1; min-height: min(78vw, 390px); }
	body:not(.single-post).home .explore-cube { --explore-cube-size: min(78vw, 380px); --explore-cube-half: min(39vw, 190px); --explore-cube-depth: min(21.9375vw, 106.875px); }
	body:not(.single-post).home .explore-selected h3 { max-width: 24ch; }
}
@media (max-width: 640px) {
	body:not(.single-post).home .explore-section,
	body:not(.single-post).home .homepage-category-feed > .category-section { margin: 0 0 22px; padding: 14px 12px 15px; }
	body:not(.single-post).home .explore-section > .sh { margin-bottom: 6px; }
	body:not(.single-post).home .explore-description { margin-bottom: 9px; font-size: 14px; }
	body:not(.single-post).home .explore-stage { min-height: min(80vw, 340px); }
	body:not(.single-post).home .explore-cube { --explore-cube-size: min(82vw, 330px); --explore-cube-half: min(41vw, 165px); --explore-cube-depth: min(23.0625vw, 92.8125px); }
	body:not(.single-post).home .explore-orbit { bottom: 5%; width: 92%; height: 28%; }
	body:not(.single-post).home .explore-shadow { bottom: 10%; }
	body:not(.single-post).home .explore-selected h3 { max-width: 22ch; font-size: clamp(24px, 7vw, 31px); }
}
@media (max-width: 380px) {
	body:not(.single-post).home .explore-cube { --explore-cube-size: min(84vw, 290px); --explore-cube-half: min(42vw, 145px); --explore-cube-depth: min(23.625vw, 81.5625px); }
	body:not(.single-post).home .explore-stage { min-height: min(84vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
	body:not(.single-post).home .explore-tile-media,
	body:not(.single-post).home .explore-tile-media img,
	body:not(.single-post).home .explore-open-story,
	body:not(.single-post).home .explore-open-story span { transition: none; }
}

/* On phones, let the page scroll normally outside the interactive prism and
   move the Latest and Top Stories rails below the main homepage sections. */
.mobile-home-rails[hidden],
.home-rail-placeholder[hidden] { display: none !important; }
@media (max-width: 760px) {
	body:not(.single-post) .mast nav a { display: inline-flex; min-height: 42px; align-items: center; }
	body:not(.single-post) .mast-tools .ib,
	body:not(.single-post) .mast-tools #theme { width: 40px; height: 40px; }
	body:not(.single-post) .language-option { min-height: 44px; }
	body:not(.single-post) .arrows button { width: 44px; height: 44px; }
	body:not(.single-post) .tabs .in > .tab { min-height: 44px; }
	body:not(.single-post) .homepage-section-heading .fl button { min-height: 40px; }
	body:not(.single-post) footer .social-links a { width: 40px; height: 40px; }
	body:not(.single-post).home .mobile-home-rails:not([hidden]) {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		padding-top: 12px;
		padding-bottom: 30px;
	}
	body:not(.single-post).home .mobile-home-rails > .homepage-latest.latest-rail {
		grid-column: auto;
		grid-row: auto;
		width: 100%;
		margin: 0;
	}
	body:not(.single-post).home .mobile-home-rails > aside.hl {
		display: flex;
		grid-column: auto;
		grid-row: auto;
		flex-direction: column;
		align-self: auto;
		width: 100%;
		max-width: none;
		margin: 0;
		overflow: visible;
	}
	body:not(.single-post).home .mobile-home-rails > aside.hl > .top-stories-heading {
		margin: 0 0 3px;
		padding: 10px 0 11px;
		border-top: 2px solid var(--ink);
		border-bottom: 1px solid var(--line);
		font-size: 18px;
		font-weight: 800;
		letter-spacing: -.025em;
	}
	body:not(.single-post).home .mobile-home-rails > aside.hl > a.hl-story {
		grid-template-columns: minmax(0, 1fr) 84px !important;
		flex: none;
		min-height: 68px;
		gap: 12px;
	}
	body:not(.single-post).home .mobile-home-rails > aside.hl > a.hl-story h3 {
		display: -webkit-box;
		max-height: calc(2.56em + 5px);
		overflow: hidden;
		margin: 0 0 3px;
		padding-bottom: 4px;
		font: 700 14px/1.28 var(--head);
		overflow-wrap: anywhere;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	body:not(.single-post).home .mobile-home-rails > aside.hl > a.hl-story > .hl-story__thumb {
		width: 84px !important;
		min-width: 84px !important;
		max-width: 84px !important;
		height: 47px !important;
		min-height: 47px !important;
		max-height: 47px !important;
	}
}
@media (max-width: 520px) {
	body:not(.single-post).home .mobile-home-rails:not([hidden]) { gap: 25px; }
	body:not(.single-post).home .mobile-home-rails > .homepage-latest.latest-rail #news.latest-grid { grid-template-columns: minmax(0, 1fr) !important; }
	body:not(.single-post).home .mobile-home-rails > .homepage-latest.latest-rail #news > .latest-story:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	body:not(.single-post).home .mobile-home-rails > .homepage-latest.latest-rail #news > .latest-story:last-child { border-bottom: 0; }
	body:not(.single-post).home .explore-orientation { top: 7px; right: 7px; width: 116px; padding: 7px 8px 8px; }
}

/* WordPress content blocks use the active theme palette and article rhythm. */
.single-main .art .wp-block-verse,
.single-main .art .wp-block-preformatted,
.single-main .art pre.wp-block-code {
	max-width: 100%;
	margin: 1.7em 0;
	padding: clamp(16px, 2.5vw, 24px);
	border: 1px solid var(--line);
	border-left: 3px solid var(--acc);
	border-radius: 9px;
	background: var(--soft);
	color: var(--ink);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 5%, transparent);
	font: 400 .82em/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.single-main .art .wp-block-verse { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--body); font-size: .95em; font-style: italic; }
.single-main .art .wp-block-preformatted,
.single-main .art pre.wp-block-code { overflow: auto; white-space: pre; tab-size: 4; }
.single-main .art pre.wp-block-code code,
.single-main .art .wp-block-preformatted code { padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; white-space: inherit; }
.single-main .art :not(pre) > code { padding: .14em .42em; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); color: var(--ink); font: .84em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

.single-main .art blockquote.wp-block-quote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--acc);
	border-radius: 0 10px 10px 0;
	background: var(--soft);
	color: var(--ink);
}
.single-main .art blockquote.wp-block-quote > p { margin: 0 0 10px; color: var(--ink); font: 650 clamp(19px, 2.2vw, 25px)/1.45 var(--head); letter-spacing: -.018em; }
.single-main .art blockquote.wp-block-quote > p:last-of-type { margin-bottom: 0; }
.single-main .art blockquote.wp-block-quote cite { display: block; margin-top: 12px; color: var(--mute); font: 500 13px/1.5 var(--body); }
.single-main .art .wp-block-pullquote { margin: 2em 0; padding: 22px 0; border: 0; border-top: 2px solid var(--acc); border-bottom: 1px solid var(--line); color: var(--ink); }
.single-main .art .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: transparent; }
.single-main .art .wp-block-pullquote blockquote > p { color: var(--ink); font: 750 clamp(23px, 3vw, 34px)/1.22 var(--head); letter-spacing: -.035em; }
.single-main .art .wp-block-pullquote cite { color: var(--mute); font: 500 13px/1.5 var(--body); }

.single-main .art details.wp-block-details {
	margin: 1.3em 0;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--soft);
	color: var(--txt);
}
.single-main .art details.wp-block-details > summary { padding: 15px 0; color: var(--ink); font: 700 16px/1.4 var(--head); cursor: pointer; }
.single-main .art details.wp-block-details > summary::marker { color: var(--acc); }
.single-main .art details.wp-block-details[open] > summary { border-bottom: 1px solid var(--line); }
.single-main .art details.wp-block-details > :not(summary) { margin-top: 14px; }
.single-main .art details.wp-block-details > :last-child { margin-bottom: 16px; }

.single-main .art ul.wp-block-categories,
.single-main .art ul.wp-block-categories-list,
.single-main .art ul.wp-block-page-list {
	margin: 1.5em 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}
.single-main .art ul.wp-block-categories li,
.single-main .art ul.wp-block-categories-list li,
.single-main .art ul.wp-block-page-list li { margin: 0; padding: 10px 2px; border-bottom: 1px solid var(--line); list-style: none; color: var(--mute); font-size: .86em; }
.single-main .art ul.wp-block-categories a,
.single-main .art ul.wp-block-categories-list a,
.single-main .art ul.wp-block-page-list a { display: inline-flex; align-items: baseline; gap: 7px; border: 0; color: var(--ink); font: 650 15px/1.4 var(--head); text-decoration: none; }
.single-main .art ul.wp-block-categories a::after,
.single-main .art ul.wp-block-categories-list a::after,
.single-main .art ul.wp-block-page-list > li > a::after { color: var(--acc); content: "↗"; font: 600 12px/1 var(--body); opacity: .8; transition: transform .18s ease; }
.single-main .art ul.wp-block-categories a:hover,
.single-main .art ul.wp-block-categories-list a:hover,
.single-main .art ul.wp-block-page-list a:hover { color: var(--acc); }
.single-main .art ul.wp-block-categories a:hover::after,
.single-main .art ul.wp-block-categories-list a:hover::after,
.single-main .art ul.wp-block-page-list a:hover::after { transform: translate(2px, -2px); }
.single-main .art ul.wp-block-categories .children,
.single-main .art ul.wp-block-categories-list .children,
.single-main .art ul.wp-block-page-list .children { margin: 8px 0 0 10px; padding: 0 0 0 14px; border-left: 2px solid color-mix(in srgb, var(--acc) 35%, var(--line)); }
.single-main .art ul.wp-block-categories .children li,
.single-main .art ul.wp-block-categories-list .children li,
.single-main .art ul.wp-block-page-list .children li { padding: 8px 0; border-bottom: 0; }

.single-main .art .wp-block-latest-posts__list { margin: 1.5em 0; padding: 0; list-style: none; }
.single-main .art .wp-block-latest-posts__list > li { min-width: 0; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); list-style: none; color: var(--mute); font-size: .82em; line-height: 1.55; }
.single-main .art .wp-block-latest-posts__list > li:first-child { border-top: 1px solid var(--line); }
.single-main .art .wp-block-latest-posts__post-title { display: inline; border: 0 !important; color: var(--ink) !important; font: 700 17px/1.3 var(--head); text-decoration: none; }
.single-main .art .wp-block-latest-posts__post-title:hover { color: var(--acc) !important; }
.single-main .art .wp-block-latest-posts__post-date,
.single-main .art .wp-block-latest-posts__post-author { display: block; margin-top: 5px; color: var(--mute); font: 500 12px/1.4 var(--body); }
.single-main .art .wp-block-latest-posts__post-excerpt { margin: 8px 0 0; color: var(--txt); font-size: .95em; line-height: 1.6; }
.single-main .art .wp-block-latest-posts__featured-image { display: block; max-width: 180px; margin: 0 0 9px; overflow: hidden; border-radius: 6px; }
.single-main .art .wp-block-latest-posts__featured-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.single-main .art .wp-block-latest-posts__featured-image:hover img { transform: scale(1.025); }
.single-main .art .wp-block-latest-posts__list.is-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.single-main .art .wp-block-latest-posts__list.is-grid > li { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.single-main .art .wp-block-latest-posts__list.is-grid .wp-block-latest-posts__featured-image { width: 100%; max-width: none; margin: 0 0 11px; }
.single-main .art .wp-block-latest-posts__list.is-grid .wp-block-latest-posts__post-excerpt { flex: 1; }
.single-main .art .wp-block-latest-posts__list:not(.is-grid) > li:has(> .wp-block-latest-posts__featured-image) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(84px, 112px); align-items: start; gap: 4px 14px; }
.single-main .art .wp-block-latest-posts__list:not(.is-grid) > li:has(> .wp-block-latest-posts__featured-image) > .wp-block-latest-posts__featured-image { grid-column: 2; grid-row: 1 / span 4; width: 100%; margin: 2px 0 0; }

.single-main .art .wp-block-file { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 1.6em 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--ink); font: 650 14px/1.45 var(--head); overflow-wrap: anywhere; }
.single-main .art .wp-block-file > a:not(.wp-block-file__button) { min-width: 0; border: 0; color: var(--ink); text-decoration: none; }
.single-main .art .wp-block-file > a:not(.wp-block-file__button):hover { color: var(--acc); }
.single-main .art .wp-block-file .wp-block-file__button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 38px; padding: 8px 15px; border: 1px solid var(--acc); border-radius: 5px; background: var(--ink); color: var(--bg) !important; font: 700 12px/1.2 var(--head); text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.single-main .art .wp-block-file .wp-block-file__button:hover { border-color: var(--acc); background: color-mix(in srgb, var(--ink) 84%, var(--acc)); transform: translateY(-1px); }
.single-main .art .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6em 0; }
.single-main .art .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 17px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--bg) !important; font: 700 13px/1.2 var(--head); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.single-main .art .wp-block-button__link:hover { border-color: var(--acc); transform: translateY(-1px); }
.single-main .art .is-style-outline .wp-block-button__link { border-color: var(--line); background: transparent; color: var(--ink) !important; }
.single-main .art .is-style-outline .wp-block-button__link:hover { border-color: var(--acc); color: var(--acc) !important; }

.single-main .art .wp-block-separator { margin: 2.2em 0; border: 0; border-top: 1px solid var(--line); opacity: 1; }
.single-main .art .wp-block-separator.is-style-wide { border-top-width: 2px; border-top-color: color-mix(in srgb, var(--acc) 45%, var(--line)); }
.single-main .art .wp-block-columns { gap: clamp(18px, 3vw, 34px); }
.single-main .art .wp-block-media-text { gap: clamp(18px, 3vw, 34px); }
.single-main .art .wp-block-media-text__content { padding: 0; }

/* The core Comments block is separate from the theme's standard comment area. */
.single-main .art .wp-block-comments { margin: 2.2em 0; padding: clamp(17px, 3vw, 28px); border: 1px solid var(--line); border-radius: 11px; background: var(--soft); color: var(--txt); }
.single-main .art .wp-block-comments-title { margin: 0 0 20px; padding-bottom: 13px; border-bottom: 2px solid var(--acc); color: var(--ink); font: 800 clamp(22px, 3vw, 30px)/1.2 var(--head); letter-spacing: -.03em; }
.single-main .art .wp-block-comment-template { margin: 0; padding: 0; list-style: none; }
.single-main .art .wp-block-comment-template > li { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); list-style: none; }
.single-main .art .wp-block-comment-template .children { margin: 14px 0 0 20px; padding-left: 16px; border-left: 2px solid color-mix(in srgb, var(--acc) 38%, var(--line)); list-style: none; }
.single-main .art .wp-block-comment-author-name { color: var(--ink); font: 700 14px/1.35 var(--head); }
.single-main .art .wp-block-comment-date,
.single-main .art .wp-block-comment-edit-link { color: var(--mute); font: 500 12px/1.4 var(--body); }
.single-main .art .wp-block-comment-content { margin-top: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--txt); font-size: 14px; line-height: 1.65; }
.single-main .art .wp-block-comment-content p:last-child { margin-bottom: 0; }
.single-main .art .wp-block-comment-reply-link a,
.single-main .art .wp-block-comment-edit-link a { border: 0; color: var(--acc); font: 650 12px/1.4 var(--head); text-decoration: none; }
.single-main .art .wp-block-post-comments-form { margin-top: 22px; padding: clamp(15px, 2.5vw, 22px); border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.single-main .art .wp-block-post-comments-form label { display: block; margin: 0 0 7px; color: var(--ink); font: 650 12px/1.4 var(--head); }
.single-main .art .wp-block-post-comments-form input:not([type="checkbox"]):not([type="submit"]),
.single-main .art .wp-block-post-comments-form textarea { display: block; width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--body); }
.single-main .art .wp-block-post-comments-form textarea { min-height: 130px; resize: vertical; }
.single-main .art .wp-block-post-comments-form input:focus,
.single-main .art .wp-block-post-comments-form textarea:focus { border-color: var(--acc); outline: 2px solid color-mix(in srgb, var(--acc) 20%, transparent); outline-offset: 1px; }
.single-main .art .wp-block-post-comments-form input[type="submit"] { min-height: 40px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--bg); font: 700 13px/1.2 var(--head); cursor: pointer; }
.single-main .art .wp-block-post-comments-form input[type="submit"]:hover { border-color: var(--acc); }

@media (max-width: 640px) {
	.single-main .art blockquote.wp-block-quote { padding: 16px 18px; }
	.single-main .art .wp-block-file { align-items: flex-start; flex-direction: column; }
	.single-main .art .wp-block-file .wp-block-file__button { align-self: flex-start; }
	.single-main .art .wp-block-comment-template .children { margin-left: 9px; padding-left: 10px; }
}

/* The Latest Comments block uses a semantic <footer> for its byline. Reset the
   site's global footer treatment here, then style each comment as an article card. */
.single-main .art ol.wp-block-latest-comments {
	margin: 1.7em 0;
	padding: 0;
	list-style: none;
}
.single-main .art ol.wp-block-latest-comments > li.wp-block-latest-comments__comment {
	min-width: 0;
	margin: 0 0 12px;
	padding: 15px 16px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--soft);
	color: var(--txt);
	list-style: none;
}
.single-main .art ol.wp-block-latest-comments.has-avatars > li.wp-block-latest-comments__comment {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: start;
	gap: 0 13px;
}
.single-main .art .wp-block-latest-comments__comment-avatar {
	display: block;
	grid-column: 1;
	grid-row: 1;
	float: none;
	width: 48px;
	height: 48px;
	margin: 0;
	border: 2px solid var(--bg);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--line);
}
.single-main .art .wp-block-latest-comments__comment > article { min-width: 0; grid-column: 2; grid-row: 1; }
.single-main .art .wp-block-latest-comments__comment-meta {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mute);
	font: 500 13px/1.5 var(--body);
}
.single-main .art .wp-block-latest-comments__comment-meta a { border: 0 !important; text-decoration: none; }
.single-main .art .wp-block-latest-comments__comment-author { color: var(--ink); font: 700 14px/1.4 var(--head); }
.single-main .art .wp-block-latest-comments__comment-link { color: var(--acc); font: 650 13px/1.4 var(--head); }
.single-main .art .wp-block-latest-comments__comment-meta a:hover { color: var(--acc) !important; text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 3px; }
.single-main .art .wp-block-latest-comments__comment-date { display: block; margin-top: 3px; color: var(--mute); font: 500 11px/1.4 var(--body); }
.single-main .art .wp-block-latest-comments__comment-excerpt {
	margin: 12px 0 0;
	padding-top: 11px;
	border-top: 1px solid var(--line);
	color: var(--txt);
	font: 400 14px/1.65 var(--body);
}
.single-main .art .wp-block-latest-comments__comment-excerpt p { margin: 0; color: inherit; font: inherit; }
.single-main .art ol.wp-block-latest-comments:not(.has-avatars) .wp-block-latest-comments__comment-excerpt { margin-top: 10px; }
@media (max-width: 640px) {
	.single-main .art ol.wp-block-latest-comments > li.wp-block-latest-comments__comment { padding: 13px; }
	.single-main .art ol.wp-block-latest-comments.has-avatars > li.wp-block-latest-comments__comment { grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; }
	.single-main .art .wp-block-latest-comments__comment-avatar { width: 40px; height: 40px; }
}

/* Rework the theme's classic single-post discussion area. */
html[data-theme] body.single-post .single-main .comments-area {
	width: min(100%, 960px);
	max-width: 960px;
	margin: clamp(46px, 6vw, 78px) auto 84px;
	padding: 0;
	border: 0;
	background: transparent;
}
html[data-theme] body.single-post .single-main .comments-compose {
	margin: 0;
	padding: clamp(20px, 3.2vw, 34px);
	border: 1px solid var(--line);
	border-top: 3px solid var(--acc);
	border-radius: 12px;
	background: var(--soft);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--ink) 6%, transparent);
}
html[data-theme] body.single-post .single-main #respond.comment-respond { max-width: 760px; margin: 0 auto; }
html[data-theme] body.single-post .single-main #respond .comment-reply-title {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 12px;
	color: var(--ink);
	font: 800 clamp(25px, 3.3vw, 36px)/1.08 var(--head);
	letter-spacing: -.035em;
}
html[data-theme] body.single-post .single-main #respond .comment-reply-title::before { width: 25px; height: 3px; flex: 0 0 25px; border-radius: 2px; background: var(--acc); content: ""; }
html[data-theme] body.single-post .single-main #respond #cancel-comment-reply-link { display: inline-flex; align-items: center; margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); font: 600 11px/1.2 var(--head); text-decoration: none; }
html[data-theme] body.single-post .single-main #respond #cancel-comment-reply-link:hover { border-color: var(--acc); color: var(--acc); }
html[data-theme] body.single-post .single-main .comment-notes,
html[data-theme] body.single-post .single-main .logged-in-as,
html[data-theme] body.single-post .single-main .must-log-in { margin: 0 0 21px; color: var(--mute); font: 400 13px/1.6 var(--body); }
html[data-theme] body.single-post .single-main .comment-notes { max-width: 62ch; }
html[data-theme] body.single-post .single-main .logged-in-as a,
html[data-theme] body.single-post .single-main .must-log-in a { border: 0; color: var(--acc); font-weight: 650; text-decoration: none; }
html[data-theme] body.single-post .single-main .logged-in-as a:hover,
html[data-theme] body.single-post .single-main .must-log-in a:hover { text-decoration: underline; text-underline-offset: 3px; }
html[data-theme] body.single-post .single-main .comment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
html[data-theme] body.single-post .single-main .comment-form > p { min-width: 0; margin: 0; }
html[data-theme] body.single-post .single-main .comment-form label { display: block; margin: 0 0 7px; color: var(--ink); font: 700 12px/1.4 var(--head); }
html[data-theme] body.single-post .single-main .comment-form .required { color: var(--acc); }
html[data-theme] body.single-post .single-main .comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
html[data-theme] body.single-post .single-main .comment-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: var(--bg);
	color: var(--ink);
	font: 400 14px/1.5 var(--body);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
html[data-theme] body.single-post .single-main .comment-form input::placeholder,
html[data-theme] body.single-post .single-main .comment-form textarea::placeholder { color: var(--mute); opacity: .86; }
html[data-theme] body.single-post .single-main .comment-form textarea { min-height: 168px; resize: vertical; }
html[data-theme] body.single-post .single-main .comment-form input:focus,
html[data-theme] body.single-post .single-main .comment-form textarea:focus { border-color: var(--acc); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
html[data-theme] body.single-post .single-main .comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--mute); font: 400 12px/1.55 var(--body); }
html[data-theme] body.single-post .single-main .comment-form .comment-form-cookies-consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; accent-color: var(--acc); }
html[data-theme] body.single-post .single-main .comment-field-error { display: block; margin: 7px 0 0; color: var(--acc); font: 600 12px/1.45 var(--body); }
html[data-theme] body.single-post .single-main .comment-form .has-field-error input,
html[data-theme] body.single-post .single-main .comment-form .has-field-error textarea { border-color: var(--acc); }
html[data-theme] body.single-post .single-main .comment-form .form-submit { display: flex; align-items: center; justify-content: flex-start; padding-top: 2px; }
html[data-theme] body.single-post .single-main .comment-submit {
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--ink);
	border-radius: 6px;
	background: var(--ink);
	color: var(--bg);
	font: 700 13px/1 var(--head);
	letter-spacing: .01em;
	box-shadow: 0 5px 14px color-mix(in srgb, var(--ink) 12%, transparent);
	transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
html[data-theme] body.single-post .single-main .comment-submit:hover { border-color: var(--acc); background: color-mix(in srgb, var(--ink) 88%, var(--acc)); color: var(--bg); transform: translateY(-1px); box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 17%, transparent); }
html[data-theme] body.single-post .single-main .comments-list-section { margin-top: clamp(30px, 4vw, 46px); padding: 0; }
html[data-theme] body.single-post .single-main .comments-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 17px; padding: 0 0 13px; border-bottom: 1px solid var(--line); }
html[data-theme] body.single-post .single-main .comments-heading .eyebrow { display: block; color: var(--acc); font: 700 10px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
html[data-theme] body.single-post .single-main .comments-heading h2 { margin: 5px 0 0; color: var(--ink); font: 800 clamp(24px, 3vw, 32px)/1.1 var(--head); letter-spacing: -.03em; }
html[data-theme] body.single-post .single-main .comment-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
html[data-theme] body.single-post .single-main .comment-list > li { min-width: 0; margin: 0; list-style: none; }
html[data-theme] body.single-post .single-main .comment-list .children { display: grid; gap: 11px; margin: 13px 0 0 24px; padding: 0 0 0 15px; border-left: 2px solid color-mix(in srgb, var(--acc) 38%, var(--line)); list-style: none; }
html[data-theme] body.single-post .single-main .comment-body {
	min-width: 0;
	padding: 0;
	border: 1px solid var(--line) !important;
	border-radius: 10px;
	background: var(--soft) !important;
	color: var(--ink) !important;
	box-shadow: 0 7px 24px color-mix(in srgb, var(--ink) 5%, transparent);
	overflow: hidden;
}
html[data-theme] body.single-post .single-main .comment-body > .comment-meta {
	display: block;
	margin: 0 !important;
	padding: 16px 19px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--line) !important;
	border-radius: 0;
	background: var(--bg) !important;
	color: var(--mute) !important;
	font-size: 13px;
}
html[data-theme] body.single-post .single-main .comment-author { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; background: transparent !important; color: var(--ink) !important; font: 700 14px/1.35 var(--head); }
html[data-theme] body.single-post .single-main .comment-author .fn,
html[data-theme] body.single-post .single-main .comment-author .fn a { border: 0; color: var(--ink) !important; font: 700 14px/1.35 var(--head); text-decoration: none; }
html[data-theme] body.single-post .single-main .comment-author .fn a:hover { color: var(--acc) !important; }
html[data-theme] body.single-post .single-main .comment-author .avatar { width: 42px; height: 42px; margin: 0; border: 2px solid var(--bg); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
html[data-theme] body.single-post .single-main .comment-author .says { color: var(--mute); font: 500 12px/1.4 var(--body); }
html[data-theme] body.single-post .single-main .comment-meta .comment-metadata { margin: 5px 0 0 53px !important; color: var(--mute) !important; font: 500 11px/1.4 var(--body); }
html[data-theme] body.single-post .single-main .comment-meta .comment-metadata a { border: 0; color: var(--mute) !important; text-decoration: none; }
html[data-theme] body.single-post .single-main .comment-meta .comment-metadata a:hover { color: var(--acc) !important; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme] body.single-post .single-main .comment-awaiting-moderation {
	display: block;
	margin: 13px 0 0 53px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--acc);
	border-radius: 6px;
	background: var(--soft) !important;
	color: var(--txt) !important;
	font: 500 12px/1.55 var(--body);
	font-style: normal;
}
html[data-theme] body.single-post .single-main .comment-content { padding: 18px 20px 5px; overflow-wrap: anywhere; background: transparent; color: var(--txt) !important; font: 400 14px/1.7 var(--body); }
html[data-theme] body.single-post .single-main .comment-content p { margin: 0 0 10px; color: inherit; }
html[data-theme] body.single-post .single-main .reply { margin: 0; padding: 0 20px 17px; }
html[data-theme] body.single-post .single-main .comment-reply-link { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--mute); font: 650 11px/1.2 var(--head); text-decoration: none; transition: color .18s ease, border-color .18s ease, background .18s ease; }
html[data-theme] body.single-post .single-main .comment-reply-link:hover { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 8%, var(--bg)); color: var(--acc); }
html[data-theme] body.single-post .single-main .comment-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
html[data-theme] body.single-post .single-main .comment-navigation a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--mute); font: 600 12px/1.2 var(--head); text-decoration: none; }
html[data-theme] body.single-post .single-main .comment-navigation a:hover { border-color: var(--acc); color: var(--acc); }
@media (max-width: 640px) {
	html[data-theme] body.single-post .single-main .comments-area { width: 100%; margin: 40px auto 54px; }
	html[data-theme] body.single-post .single-main .comments-compose { padding: 19px 15px; border-radius: 9px; }
	html[data-theme] body.single-post .single-main .comment-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	html[data-theme] body.single-post .single-main .comment-form-comment,
	html[data-theme] body.single-post .single-main .comment-form-cookies-consent,
	html[data-theme] body.single-post .single-main .form-submit { grid-column: 1; }
	html[data-theme] body.single-post .single-main .comment-body > .comment-meta { padding: 13px !important; }
	html[data-theme] body.single-post .single-main .comment-content { padding: 15px 14px 4px; }
	html[data-theme] body.single-post .single-main .reply { padding: 0 14px 14px; }
	html[data-theme] body.single-post .single-main .comment-list .children { margin-left: 9px; padding-left: 9px; }
	html[data-theme] body.single-post .single-main .comment-awaiting-moderation { margin-left: 0; }
}

/* Keep embedded Latest Comments bylines clear of the global site-footer rule.
   WordPress uses <footer> for the comment metadata, so also remove the footer
   accent stripe pseudo-element from that semantic footer. */
html[data-theme] body.single-post .single-main .art footer.wp-block-latest-comments__comment-meta,
html[data-theme] body.single-post .single-main .art .wp-block-latest-comments__comment-meta {
	position: static !important;
	isolation: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-top: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}
html[data-theme] body.single-post .single-main .art footer.wp-block-latest-comments__comment-meta::before,
html[data-theme] body.single-post .single-main .art .wp-block-latest-comments__comment-meta::before,
html[data-theme] body.single-post .single-main .art footer.wp-block-latest-comments__comment-meta::after,
html[data-theme] body.single-post .single-main .art .wp-block-latest-comments__comment-meta::after {
	display: none !important;
	content: none !important;
}

/* A restrained editorial treatment for the classic discussion area: fine rules,
   quiet surfaces, and no decorative accent bars, floating shadows, or pill UI. */
html[data-theme] body.single-post .single-main .comments-compose {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--line);
	border-top: 1px solid var(--line);
	border-radius: 5px;
	background: var(--soft);
	box-shadow: none;
}
html[data-theme] body.single-post .single-main #respond .comment-reply-title {
	gap: 0;
	margin-bottom: 10px;
	font-size: clamp(22px, 2.7vw, 29px);
	letter-spacing: -.025em;
}
html[data-theme] body.single-post .single-main #respond .comment-reply-title::before { display: none; content: none; }
html[data-theme] body.single-post .single-main #respond #cancel-comment-reply-link {
	padding: 3px 0;
	border: 0;
	border-radius: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
}
html[data-theme] body.single-post .single-main .comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
html[data-theme] body.single-post .single-main .comment-form textarea {
	border-radius: 4px;
	transition: border-color .16s ease;
}
html[data-theme] body.single-post .single-main .comment-form input:focus,
html[data-theme] body.single-post .single-main .comment-form textarea:focus {
	border-color: var(--acc);
	outline: 1px solid var(--acc);
	outline-offset: 0;
	box-shadow: none;
}
html[data-theme] body.single-post .single-main .comment-submit {
	min-height: 42px;
	padding: 0 18px;
	border-radius: 3px;
	box-shadow: none;
	transition: background-color .16s ease, border-color .16s ease;
}
html[data-theme] body.single-post .single-main .comment-submit:hover {
	border-color: var(--ink);
	background: color-mix(in srgb, var(--ink) 90%, var(--acc));
	transform: none;
	box-shadow: none;
}
html[data-theme] body.single-post .single-main .comment-list { gap: 0; }
html[data-theme] body.single-post .single-main .comment-list .children {
	gap: 0;
	margin-left: 20px;
	padding-left: 16px;
	border-left: 1px solid var(--line);
}
html[data-theme] body.single-post .single-main .comment-body {
	padding: 0;
	border: 0 !important;
	border-bottom: 1px solid var(--line) !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
}
html[data-theme] body.single-post .single-main .comment-body > .comment-meta {
	padding: 14px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--line) !important;
	background: transparent !important;
}
html[data-theme] body.single-post .single-main .comment-author .avatar {
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	box-shadow: none;
}
html[data-theme] body.single-post .single-main .comment-meta .comment-metadata { margin-left: 47px !important; }
html[data-theme] body.single-post .single-main .comment-awaiting-moderation {
	margin-top: 11px;
	padding: 9px 11px;
	border: 1px solid var(--line);
	border-left: 1px solid var(--line);
	border-radius: 3px;
	background: var(--soft) !important;
}
html[data-theme] body.single-post .single-main .comment-content { padding: 14px 0 5px; }
html[data-theme] body.single-post .single-main .reply { padding: 0 0 15px; }
html[data-theme] body.single-post .single-main .comment-reply-link {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--mute);
	text-decoration: none;
}
html[data-theme] body.single-post .single-main .comment-reply-link:hover {
	border: 0;
	background: transparent;
	color: var(--acc);
	text-decoration: underline;
	text-underline-offset: 2px;
}
html[data-theme] body.single-post .single-main .comment-navigation a { border-radius: 3px; }
@media (max-width: 640px) {
	html[data-theme] body.single-post .single-main .comments-compose { padding: 18px 15px; border-radius: 4px; }
	html[data-theme] body.single-post .single-main .comment-body > .comment-meta { padding: 12px 0 !important; }
	html[data-theme] body.single-post .single-main .comment-content { padding: 13px 0 4px; }
	html[data-theme] body.single-post .single-main .reply { padding: 0 0 13px; }
}

/* Keep long Latest rail headlines to exactly two complete lines. Clamp the
   title span itself so nested hover-decoration styling cannot leak a clipped
   fragment into the metadata row. */
html body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story .latest-story-copy h3 {
	display: block;
	max-height: none;
	overflow: visible;
	margin: 0 0 3px;
	padding: 0;
}
html body:not(.single-post).home .homepage-latest.latest-rail #news > .latest-story .latest-story-copy h3 .story-title-text {
	display: -webkit-box;
	max-width: 100%;
	max-height: 2.56em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow-wrap: anywhere;
}
