/*
 * Voice News main stylesheet.
 * Layout: system sans for navigation and metadata, Source Serif 4 for headlines and reading.
 */

@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--vn-mast: #0b1f3a;
	--vn-accent: #c8102e;
	--ink: #141414;
	--ink-2: #333;
	--muted: #5d6570;
	--rule: #dedcd6;
	--rule-strong: #141414;
	--paper: #f6f4ef;
	--white: #fff;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--gap: 32px;
	--radius: 4px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vn-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--vn-accent); outline-offset: 2px; }
.icon { fill: currentColor; flex: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 700;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.site-main { min-height: 50vh; outline: 0; padding-bottom: 56px; }

/* ---------- Header ---------- */
.topbar { background: var(--vn-mast); color: rgba(255,255,255,.78); font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 34px; }
.dateline { font-weight: 600; letter-spacing: .02em; }
.top-menu { display: flex; gap: 16px; list-style: none; }
.top-menu a:hover { color: var(--white); }
.social { display: flex; align-items: center; gap: 4px; }
.social a { display: inline-flex; padding: 6px; border-radius: 50%; }
.social--top { margin-left: auto; }
.social--top a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.masthead { background: var(--vn-mast); color: var(--white); }
.masthead-inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand { text-align: center; }
.site-title { margin: 0; font-size: 1rem; line-height: 1; }
.site-title .custom-logo-link { display: inline-block; }
.site-title .custom-logo { max-height: 64px; width: auto; margin: 0 auto; }
.wordmark { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.01em; color: var(--white); line-height: 1; }
.wordmark:hover { color: var(--white); opacity: .9; }
.site-tagline { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.icon-btn { background: none; border: 0; color: var(--white); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn .icon { width: 22px; height: 22px; }
.nav-toggle { visibility: hidden; }
.header-search { background: var(--vn-mast); padding: 0 0 18px; }
.header-search .search-form { max-width: 640px; margin: 0 auto; }

.site-nav { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--rule); }
.admin-bar .site-nav { top: 32px; }
.site-nav .menu { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 14px 14px 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
	border-bottom: 3px solid transparent;
}
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current-post-ancestor > a,
.site-nav .menu > li > a:hover { border-bottom-color: var(--vn-accent); color: var(--ink); }
.site-nav .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; background: var(--white);
	border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 60;
}
.site-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; padding: 10px 14px; border: 0; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }

.ticker { border-bottom: 1px solid var(--rule); background: var(--white); font-size: 14px; }
.ticker-inner { display: flex; align-items: center; gap: 14px; overflow: hidden; min-height: 40px; }
.ticker-label {
	flex: none; background: var(--vn-accent); color: var(--white); font-size: 11px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .1em; padding: 4px 8px; border-radius: 2px;
}
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker-list { display: flex; gap: 36px; list-style: none; white-space: nowrap; width: max-content; animation: vn-ticker 60s linear infinite; }
.ticker-list li { position: relative; }
.ticker-list li + li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 5px; height: 5px; background: var(--rule); border-radius: 50%; transform: translateY(-50%); }
.ticker-list a { font-weight: 600; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
@keyframes vn-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.header-ad { margin-top: 20px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--vn-accent); }
.admin-bar .progress { top: 32px; }

/* ---------- Shared pieces ---------- */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.kicker-cat { color: var(--vn-accent); }
.kicker-label { background: var(--ink); color: var(--white); padding: 2px 6px; border-radius: 2px; font-size: 10.5px; }
.kicker-label--opinion { background: #6b3fa0; }
.kicker-label--sponsored { background: #8a6d00; }
.kicker-label--contributed { background: #2f6b4f; }
.kicker-label--analysis, .kicker-label--explainer { background: var(--vn-mast); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.card-author { font-weight: 600; color: var(--ink-2); }

.section-heading {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	border-top: 3px solid var(--rule-strong); padding-top: 10px; margin: 0 0 20px;
}
.section-heading a:hover { color: var(--vn-accent); }
.section-more { font-size: 12px; letter-spacing: .06em; color: var(--muted); }

.btn {
	display: inline-flex; align-items: center; gap: 8px; background: var(--vn-accent); color: var(--white); border: 2px solid var(--vn-accent);
	padding: 11px 20px; font-weight: 700; font-size: 14px; border-radius: var(--radius); letter-spacing: .02em;
}
.btn:hover { color: var(--white); filter: brightness(.92); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); filter: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0; }
.chips li { background: var(--paper); border: 1px solid var(--rule); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.chips--small li { font-size: 12px; padding: 2px 10px; }
.chips--links a { display: block; }
.chips--links li { padding: 0; }
.chips--links li a { padding: 6px 14px; }
.chips--links li:hover { border-color: var(--vn-accent); }

.thumb-fallback {
	display: flex; align-items: flex-end; aspect-ratio: 16 / 9; width: 100%; padding: 12px 14px;
	background: linear-gradient(135deg, var(--vn-mast), color-mix(in srgb, var(--vn-mast) 70%, var(--vn-accent)));
	color: rgba(255,255,255,.85); font-family: var(--serif); font-style: italic; font-size: 15px;
}

.notice { padding: 14px 18px; border-radius: var(--radius); margin: 0 0 20px; border-left: 4px solid; background: var(--paper); }
.notice-success { border-color: #1f7a4d; }
.notice-error { border-color: var(--vn-accent); }
.notice-info { border-color: var(--vn-mast); }

/* ---------- Story cards ---------- */
.story-media { display: block; overflow: hidden; background: var(--paper); border-radius: 2px; }
.story-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.story:hover .story-media img { transform: scale(1.03); }
.story-title { font-size: 1.2rem; margin: 0 0 8px; }
.story-title a:hover { color: var(--vn-accent); }
.story-dek { color: var(--ink-2); font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; }
.story--card .story-media { margin-bottom: 12px; }
.story--lead .story-media { margin-bottom: 16px; }
.story--lead .story-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; }
.story--lead .story-dek { font-size: 1.18rem; }
.story--row { display: grid; grid-template-columns: 1fr 240px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.story--row .story-media { order: 2; }
.story--row .story-title { font-size: 1.35rem; }
.story--row:first-child { padding-top: 0; }
.story--compact { padding: 14px 0; border-top: 1px solid var(--rule); }
.story--compact .story-title { font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Front page ---------- */
.lead-package {
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap);
	padding: 28px 0 32px; margin-bottom: 36px; border-bottom: 1px solid var(--rule-strong);
}
.lead-main { padding-right: var(--gap); border-right: 1px solid var(--rule); }
.lead-side { display: flex; flex-direction: column; }
.lead-side .story--card { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.lead-side .story--card .story-title { font-size: 1.12rem; }
.lead-side .story--card:nth-child(2) { margin-bottom: 0; border-bottom: 0; }
.lead-side .story--compact:first-of-type { margin-top: 0; }
.more-link { margin-top: 24px; }
.home-section { padding: 40px 0 8px; }
.home-section--alt { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); margin: 36px 0; padding-bottom: 36px; }
.section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.section-grid .story:first-child { grid-column: span 2; grid-row: span 2; }
.section-grid .story:first-child .story-title { font-size: 1.6rem; }

/* ---------- Layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.layout--article { grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; }
.sidebar-inner > * + * { margin-top: 36px; }
.layout--article .sidebar-inner { position: sticky; top: 76px; }
.widget-title { font-family: var(--sans); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-top: 3px solid var(--rule-strong); padding-top: 10px; margin-bottom: 16px; }
.widget ul:not(.headline-list):not(.section-list):not(.trust-links) { list-style: none; }
.widget ul:not(.headline-list) li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.widget-trust { background: var(--paper); padding: 0 18px 18px; border-top: 3px solid var(--rule-strong); }
.widget-trust .widget-title { border: 0; }
.widget-trust p { font-size: 14px; color: var(--ink-2); }
.trust-links { list-style: none; font-weight: 700; font-size: 14px; }
.trust-links a { color: var(--vn-accent); }

.headline-list { list-style: none; }
.headline-list li + li { border-top: 1px solid var(--rule); }
.hl { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; }
.headline-list li:first-child .hl { padding-top: 0; }
.hl-thumb img, .hl-thumb .thumb-fallback { width: 92px; aspect-ratio: 3 / 2; object-fit: cover; font-size: 0; padding: 0; }
.hl .kicker { margin-bottom: 3px; font-size: 10.5px; }
.hl-title { font-size: 1rem; line-height: 1.25; margin: 0 0 4px; }
.headline-list--numbered { counter-reset: hl; }
.headline-list--numbered .hl { grid-template-columns: 34px 1fr; }
.headline-list--numbered li { counter-increment: hl; }
.headline-list--numbered .hl::before { content: counter(hl); font-family: var(--serif); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--vn-accent); }

.section-list { list-style: none; }
.section-list a { display: flex; justify-content: space-between; font-weight: 600; }
.section-list .count { color: var(--muted); font-weight: 400; font-size: 13px; }

.ad { text-align: center; }
.ad-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.ad-body { display: flex; justify-content: center; }
.entry-content .ad { margin: 2em 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- Search form ---------- */
.search-form { display: flex; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.search-field { flex: 1; border: 0; padding: 11px 14px; font: inherit; font-size: 15px; min-width: 0; background: transparent; color: var(--ink); }
.search-field:focus { outline: none; }
.search-form:focus-within { outline: 3px solid color-mix(in srgb, var(--vn-accent) 40%, transparent); }
.search-submit { border: 0; background: var(--ink); color: var(--white); padding: 0 16px; display: inline-flex; align-items: center; }
.header-search .search-form { border-color: var(--white); }

/* ---------- Breadcrumbs, archive headers ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--ink-2); font-weight: 600; }
.breadcrumbs a:hover { color: var(--vn-accent); }
.breadcrumbs .sep, .breadcrumbs .breadcrumb_last { color: var(--muted); }
.breadcrumbs .sep { margin: 0 4px; }

.archive-header { padding: 18px 0 26px; margin-bottom: 30px; border-bottom: 1px solid var(--rule-strong); }
.archive-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--vn-accent); margin-bottom: 6px; }
.archive-title { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 8px; line-height: 1.05; }
.archive-desc { max-width: 720px; font-family: var(--serif); font-size: 1.12rem; color: var(--ink-2); }
.archive-desc p:last-child { margin: 0; }
.archive-page { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin-top: 12px; font-weight: 700; font-size: 14px; }
.subnav a { color: var(--vn-accent); }
.search-big { max-width: 640px; margin-top: 18px; }
.river .story--lead { padding-bottom: 26px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); }
.empty-state { padding: 30px 0; }

.pagination { margin-top: 36px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.pagination a, .pagination span {
	display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 14px;
	border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 700; font-size: 14px;
}
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Article ---------- */
.article-header { padding: 14px 0 0; }
.article-title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin: 4px 0 14px; }
.disclosure { font-size: 14px; background: var(--paper); border-left: 4px solid var(--muted); padding: 10px 14px; margin: 0 0 16px; }
.disclosure a { text-decoration: underline; }
.disclosure--sponsored { border-color: #8a6d00; }
.disclosure--opinion { border-color: #6b3fa0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.byline .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline-name { font-weight: 700; }
.byline-name a { color: var(--vn-accent); }
.byline-title { font-weight: 400; color: var(--muted); }
.byline-dates { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 0 6px; }

.share { display: flex; align-items: center; gap: 6px; }
.share-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid var(--rule); background: var(--white); color: var(--ink);
}
.share-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.share-copy.is-copied { background: #1f7a4d; color: var(--white); border-color: #1f7a4d; }

.article-figure { margin: 0 0 26px; }
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption, .entry-content figcaption, .wp-caption-text {
	font-size: 13px; color: var(--muted); padding-top: 8px; line-height: 1.45; text-align: left;
}

.key-points { background: var(--paper); border-left: 4px solid var(--vn-accent); padding: 18px 22px; margin: 0 0 26px; }
.key-points-title { font-family: var(--sans); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; color: var(--vn-accent); }
.key-points ul { padding-left: 1.1em; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; }
.key-points li + li { margin-top: 6px; }
.key-points li::marker { color: var(--vn-accent); }
.key-points p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; margin: 0; }

.toc { border: 1px solid var(--rule); border-radius: var(--radius); margin: 0 0 30px; font-size: 15px; }
.toc summary { cursor: pointer; padding: 12px 18px; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 18px; line-height: 1; }
.toc[open] summary::after { content: "\2212"; }
.toc > ol { padding: 0 18px 16px 38px; }
.toc ol ol { padding-left: 18px; margin-top: 4px; list-style: lower-alpha; }
.toc li { padding: 3px 0; }
.toc a { color: var(--ink-2); font-weight: 600; }
.toc a:hover { color: var(--vn-accent); }

.entry-content { font-family: var(--serif); font-size: 1.19rem; line-height: 1.72; color: #1b1b1b; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { font-size: 1.65rem; margin-top: 1.9em; margin-bottom: .55em; padding-top: .2em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; margin-bottom: .45em; }
.entry-content h4 { font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.5em; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--vn-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--vn-accent); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--vn-accent); }
.entry-content strong { font-weight: 700; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--vn-accent); font-style: italic; color: var(--ink-2); }
.entry-content blockquote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content .wp-block-pullquote { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 1.2em 0; text-align: center; }
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.5rem; line-height: 1.35; font-weight: 600; color: var(--ink); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { height: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); margin: 2.2em auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.entry-content thead th { border-bottom: 2px solid var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.entry-content tbody tr:nth-child(even) { background: #faf9f6; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-image figcaption { text-align: left; }
.entry-content code { font-size: .88em; background: var(--paper); padding: 2px 5px; border-radius: 3px; }
.entry-content > p:first-child::first-letter { }

/* Yoast FAQ and How-to blocks */
.schema-faq { border-top: 3px solid var(--rule-strong); padding-top: 6px; }
.schema-faq-section { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.schema-faq-question { display: block; font-family: var(--serif); font-size: 1.22rem; font-weight: 700; margin-bottom: 6px; }
.schema-faq-answer { margin: 0; }
.schema-how-to-steps { padding-left: 1.3em; }
.schema-how-to-step-name { display: block; font-weight: 700; }
.schema-how-to-total-time { font-family: var(--sans); font-size: 14px; color: var(--muted); }

.article-footer { margin-top: 36px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.article-tags .label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list a { display: block; border: 1px solid var(--rule); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.tag-list a:hover { border-color: var(--vn-accent); }
.share-bottom { padding: 16px 0; border-top: 1px solid var(--rule); }

.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 24px; background: var(--paper); margin: 8px 0 20px; }
.author-box .avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author-box-eyebrow { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 2px; }
.author-box-name { font-size: 1.35rem; margin: 0 0 2px; }
.author-box-title { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.author-box-bio { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; margin-bottom: 10px; }
.author-box-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.author-box-links > a:first-child { color: var(--vn-accent); }
.author-social { display: inline-flex; color: var(--muted); }
.standards-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.standards-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--vn-accent); }

.related { margin-top: 56px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.comments-wrap { max-width: 720px; margin-top: 48px; }
.comment-list { list-style: none; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }

/* ---------- Pages ---------- */
.page-header { padding: 14px 0 6px; }
.page-header--wide { padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--rule-strong); }
.page-title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 10px; }
.page-dek { font-family: var(--serif); font-size: 1.22rem; color: var(--ink-2); max-width: 760px; }
.page-updated { font-size: 14px; color: var(--muted); }
.page-article .page-header { margin-bottom: 22px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
.entry-content--intro { max-width: 760px; margin-bottom: 30px; }
.page-article--full .entry-content { max-width: 820px; }
.callout { background: var(--vn-mast); color: var(--white); padding: 30px; margin-top: 46px; border-radius: var(--radius); }
.callout h2 { font-size: 1.6rem; }
.callout p { color: rgba(255,255,255,.85); max-width: 640px; }
.callout .btn--ghost { color: var(--white); border-color: var(--white); }
.callout .btn--ghost:hover { background: var(--white); color: var(--vn-mast); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.contact-main .entry-content { font-size: 1.1rem; }
.form-heading { font-size: 1.5rem; margin-top: 10px; }
.vn-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.vn-form input[type="text"], .vn-form input[type="email"], .vn-form input[type="url"], .vn-form select, .vn-form textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid #b9b6ae; border-radius: var(--radius); font: inherit; font-size: 16px; background: var(--white); color: var(--ink);
}
.vn-form input:focus, .vn-form select:focus, .vn-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vn-accent) 25%, transparent); }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { text-decoration: underline; }
.vn-form .btn { border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { border-top: 1px solid var(--rule); padding: 16px 0; }
.contact-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.contact-card a { color: var(--vn-accent); font-weight: 700; font-size: 14px; word-break: break-all; }
.contact-card--note { background: var(--paper); padding: 16px; border: 0; margin-top: 8px; }

/* Staff */
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.staff-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--rule); border-top: 3px solid var(--rule-strong); }
.staff-photo .avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.staff-name { font-size: 1.45rem; margin-bottom: 2px; }
.staff-title { font-weight: 700; color: var(--vn-accent); font-size: 14px; margin-bottom: 8px; }
.staff-beat { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.staff-bio { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; }
.staff-link { font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--vn-accent); text-underline-offset: 3px; }

/* Author profile */
.profile { display: grid; grid-template-columns: 160px 1fr; gap: 36px; padding: 26px 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--rule-strong); }
.profile-photo .avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.profile-name { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 4px; }
.profile-title { font-weight: 700; color: var(--vn-accent); margin-bottom: 14px; }
.profile-bio { font-family: var(--serif); font-size: 1.15rem; line-height: 1.62; max-width: 760px; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 18px 0 4px; }
.profile-facts dt { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.profile-facts dd { margin: 2px 0 0; font-weight: 600; }
.profile-social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-weight: 700; font-size: 14px; }
.profile-social a { display: inline-flex; align-items: center; gap: 6px; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-bottom: 40px; }
.sitemap-list { list-style: none; }
.sitemap-list li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.sitemap-list .children { list-style: none; padding-left: 16px; }
.sitemap-list a { font-weight: 600; }
.sitemap-month { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 24px 0 6px; }
.sitemap-list--stories { columns: 2; column-gap: 36px; }
.sitemap-list--stories li { break-inside: avoid; }

/* 404 */
.error-404 { text-align: center; padding: 50px 0 20px; max-width: 720px; margin: 0 auto; }
.error-code { font-family: var(--serif); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--vn-accent); margin: 0; letter-spacing: -.04em; }
.error-404 .archive-desc { margin: 0 auto; }
.error-404 .search-big { margin: 24px auto; }
.error-404 .chips { justify-content: center; }
.error-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vn-mast); color: rgba(255,255,255,.82); font-size: 14.5px; padding: 52px 0 26px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 56px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-logo { margin-bottom: 14px; }
.footer-logo .custom-logo { max-height: 48px; width: auto; }
.footer-logo .wordmark { font-size: 2rem; }
.footer-about { line-height: 1.6; max-width: 420px; }
.social--footer a { background: rgba(255,255,255,.08); }
.social--footer a:hover { background: rgba(255,255,255,.18); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-title { font-family: var(--sans); color: var(--white); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.layout, .layout--article { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.layout--article .sidebar-inner { position: static; }
	.layout--article .article { max-width: 720px; }
	.sidebar { border-top: 3px solid var(--rule-strong); padding-top: 4px; }
	.sidebar-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.sidebar-inner > * + * { margin-top: 0; }
	.section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.nav-toggle { visibility: visible; }
	.site-nav { position: static; box-shadow: none; }
	.site-nav .menu { display: none; flex-direction: column; padding: 6px 0 12px; }
	.site-nav.is-open .menu { display: flex; }
	.site-nav .menu a { padding: 12px 4px; border-bottom: 1px solid var(--rule); }
	.site-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding-left: 14px; }
	.lead-package { grid-template-columns: 1fr; }
	.lead-main { padding-right: 0; border-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
	.related-grid { grid-template-columns: 1fr 1fr; }
	.footer-top { grid-template-columns: 1fr; gap: 36px; }
	.staff-grid { grid-template-columns: 1fr; }
	.sitemap-grid { grid-template-columns: 1fr; }
	.topbar .top-menu { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.wrap { padding: 0 16px; }
	.masthead-inner { padding-top: 12px; padding-bottom: 12px; }
	.site-title .custom-logo { max-height: 44px; }
	.site-tagline { display: none; }
	.story--row { grid-template-columns: 1fr 112px; gap: 14px; padding: 16px 0; }
	.story--row .story-title { font-size: 1.08rem; }
	.story--row .story-dek { display: none; }
	.story--row .story-media img, .story--row .thumb-fallback { aspect-ratio: 1 / 1; }
	.section-grid, .related-grid { grid-template-columns: 1fr; }
	.section-grid .story:first-child { grid-column: auto; grid-row: auto; }
	.sidebar-inner { grid-template-columns: 1fr; }
	.entry-content { font-size: 1.1rem; line-height: 1.68; }
	.entry-content h2 { font-size: 1.42rem; }
	.article-meta { flex-direction: column; align-items: flex-start; }
	.form-row--2 { grid-template-columns: 1fr; gap: 0; }
	.profile { grid-template-columns: 1fr; gap: 16px; text-align: left; }
	.profile-photo .avatar { width: 112px; height: 112px; }
	.staff-card { grid-template-columns: 1fr; padding: 20px; }
	.staff-photo .avatar { width: 96px; height: 96px; }
	.author-box { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.sitemap-list--stories { columns: 1; }
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1em; }
	.social--top { display: none; }
	.topbar-inner { justify-content: center; }
}
@media (max-width: 782px) {
	.admin-bar .progress { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	.ticker-list { animation: none; }
	.ticker-track { overflow-x: auto; }
	.story-media img { transition: none; }
	html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

@media print {
	.topbar, .site-nav, .ticker, .sidebar, .share, .share-bottom, .related, .comments-wrap, .site-footer, .ad, .progress, .icon-btn, .toc { display: none !important; }
	.masthead { background: none; color: #000; }
	.wordmark { color: #000; }
	.layout, .layout--article { display: block; }
	.entry-content { font-size: 12pt; }
	.entry-content a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* Core block widgets in sidebars */
.story--row .story-media { align-self: start; }
.wp-block-search__label, .widget .wp-block-heading { font-family: var(--sans); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-top: 3px solid var(--rule-strong); padding-top: 10px; margin: 0 0 16px; display: block; }
.wp-block-search__inside-wrapper { display: flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.wp-block-search__input { flex: 1; border: 0; padding: 11px 14px; font: inherit; min-width: 0; }
.wp-block-search__button { border: 0; background: var(--ink); color: var(--white); padding: 0 16px; margin: 0; font-weight: 700; }
.widget .wp-block-latest-posts { list-style: none; padding: 0; }
.widget .wp-block-latest-posts li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.widget .wp-block-latest-posts a { font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.comment-form .submit { background: var(--vn-accent); color: var(--white); border: 0; padding: 12px 22px; font-weight: 700; border-radius: var(--radius); }

.avatar-initials { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vn-mast); color: var(--white); font-family: var(--serif); font-weight: 700; letter-spacing: .02em; flex: none; }
