/* ==========================================================================
   CV Magazine theme — main stylesheet
   Editorial system: serif headlines, sans labels, warm paper, thin rules.
   ========================================================================== */

:root {
	--brand: #d71920;
	--brand-dark: #a81319;
	--brand-soft: #fdeded;
	--ink: #15171a;
	--ink-2: #3c4148;
	--muted: #6e7278;
	--line: #e5e1d9;
	--rule: #15171a;
	--bg: #fdfcfa;
	--bg-soft: #f5f2ec;
	--surface: #ffffff;
	--dark: #121316;
	--dark-2: #1e2025;
	--radius: 3px;
	--gutter: clamp(16px, 3vw, 56px);
	--wrap-max: none;
	--side: 340px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--shadow: 0 1px 2px rgba(20, 18, 14, .06), 0 10px 30px rgba(20, 18, 14, .08);
	--bar-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.site { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
.site > * { min-width: 0; }
.site-main { flex: 1 0 auto; }

img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--serif); line-height: 1.18; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 9999;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow);
}

.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	min-height: 44px; padding: 10px 22px; border-radius: var(--radius); border: 1px solid transparent;
	background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
	transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); color: var(--ink); }
.block-tabs .btn-ghost { margin-top: 22px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
	border: 0; background: transparent; color: inherit;
}
.icon-btn:hover { background: var(--bg-soft); }

/* Reading progress ------------------------------------------------------- */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1000; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--brand); }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--dark); color: #c8c9cc; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.today { color: #fff; font-weight: 500; }
.top-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.top-nav a:hover, .topbar a:hover { color: #fff; }
.social { display: flex; gap: 4px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s, color .2s; }
.social .icon { width: 16px; height: 16px; }
.topbar-ad, .topbar-cta { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; font-weight: 600; }
.topbar-ad { color: #fff; border-inline: 1px solid rgba(255, 255, 255, .16); }
.topbar-ad .icon, .topbar-cta .icon { width: 15px; height: 15px; }
.topbar-cta { background: var(--brand); color: #fff; margin-left: -20px; }
.topbar-cta:hover { background: var(--brand-dark); }

/* Masthead ----------------------------------------------------------------- */
.masthead { background: var(--surface); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; flex: none; }
.brand .custom-logo { height: 84px; width: auto; }
.tagline {
	margin: 0; max-width: 190px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.35; color: var(--ink-2);
	border-left: 1px solid var(--line); padding-left: 18px;
}
.header-banner { flex: 0 1 970px; display: flex; justify-content: flex-end; min-width: 0; }
.header-banner img { width: 100%; max-width: 970px; height: auto; max-height: 110px; object-fit: contain; object-position: right center; }
.header-banner a { display: block; width: 100%; }
.header-banner-widget { width: 100%; text-align: right; }
.header-banner:empty { display: none; }

/* Navbar: the single header on phones, the section bar on desktop --------- */
.navbar {
	position: sticky; top: 0; z-index: 60; background: var(--surface); color: var(--ink);
	border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line);
}
.navbar.is-stuck { box-shadow: 0 6px 20px rgba(20, 18, 14, .08); }
.admin-bar .navbar { top: 32px; }
.navbar-inner { display: flex; align-items: center; gap: 6px; min-height: 52px; }
.nav-toggle { margin-left: -10px; }
.nav-logo { display: none; flex: none; }
.nav-logo .custom-logo { height: 42px; width: auto; }
.navbar.is-stuck .nav-logo { display: block; margin-right: 8px; }
.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
	position: relative; display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 clamp(8px, .8vw, 15px);
	font-size: clamp(12.5px, .86vw, 14px); font-weight: 600; color: var(--ink); white-space: nowrap;
}
.main-nav > ul > li > a::before {
	content: ""; position: absolute; left: clamp(8px, .8vw, 15px); right: clamp(8px, .8vw, 15px); bottom: -1px; height: 3px;
	background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.main-nav > ul > li:hover > a::before,
.main-nav > ul > li:focus-within > a::before,
.main-nav > ul > li.current-menu-item > a::before,
.main-nav > ul > li.current-menu-ancestor > a::before,
.main-nav > ul > li.current-category-ancestor > a::before { transform: scaleX(1); }
.main-nav > ul > li.is-advertise > a { color: var(--brand); font-weight: 700; }
.main-nav .menu-item-has-children > a::after, .main-nav .has-mega > a::after {
	content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border-top: 2px solid var(--brand);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 10;
}
.main-nav .sub-menu .sub-menu { top: -10px; left: 100%; }
.main-nav .menu-more > .sub-menu { left: auto; right: 0; }
.main-nav .menu-more .sub-menu .sub-menu { left: auto; right: 100%; }
.main-nav .sub-menu .menu-item-has-children > a { display: flex; align-items: center; gap: 8px; }
.main-nav .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: auto; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--bg-soft); color: var(--brand); }

/* Mega menu */
.main-nav > ul > li.has-mega { position: static; }
.main-nav > ul > li.has-mega > .sub-menu { display: none; }
.main-nav .menu-more .mega { display: none; }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line);
	box-shadow: 0 24px 40px rgba(20, 18, 14, .14);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s .08s, transform .18s .08s, visibility 0s .26s; z-index: 20;
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 28px 32px; }
.mega-side { border-right: 1px solid var(--line); padding-right: 28px; }
.mega-side .eyebrow { color: var(--brand); }
.mega-title { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.15; margin: 6px 0 14px; }
.mega-side ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mega-side li a { display: block; padding: 5px 0; font-size: 14px; font-weight: 500; }
.mega-all { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.mega-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mega-card { display: block; }
.mega-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); margin-bottom: 10px; overflow: hidden; }
.mega-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-card strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-size: 16.5px; line-height: 1.28; font-weight: 600; }
.mega-card time { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.nav-subscribe {
	display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--radius);
	background: var(--brand); color: #fff; font-size: 13px; font-weight: 600;
}
.nav-subscribe:hover { background: var(--brand-dark); color: #fff; }

.search-panel { background: var(--bg-soft); padding-block: 14px; border-top: 1px solid var(--line); }
.search-form { display: flex; max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink); }
.search-field { flex: 1; min-width: 0; border: 0; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.search-field:focus { outline: none; }
.search-submit { border: 0; background: var(--ink); color: #fff; padding: 0 18px; display: grid; place-items: center; }
.search-submit:hover { background: var(--brand); }

/* Section chips (phones and tablets) */
.quick-nav { display: none; background: var(--surface); border-bottom: 1px solid var(--line); }
.quick-nav-track { display: flex; gap: 2px; overflow-x: auto; padding-inline: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick-nav-track::-webkit-scrollbar { display: none; }
.quick-nav a { position: relative; flex: none; display: flex; align-items: center; height: 42px; padding: 0 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.quick-nav a.is-current { color: var(--ink); }
.quick-nav a.is-current::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: var(--brand); }
.quick-nav a.is-ad { color: var(--brand); font-weight: 700; }

/* Drawer ------------------------------------------------------------------- */
.drawer {
	position: fixed; inset: 0 auto 0 0; width: min(420px, 100vw); background: var(--surface); z-index: 1001;
	overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	padding: 10px 20px calc(32px + env(safe-area-inset-bottom)); transform: translateX(-100%); transition: transform .28s ease;
	display: block;
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head .custom-logo { height: 46px; width: auto; }
.drawer-close { background: var(--bg-soft); }
.drawer .search-form { margin-bottom: 8px; max-width: none; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { position: relative; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: block; padding: 13px 52px 13px 0; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.drawer-nav .is-advertise > a { color: var(--brand); }
.drawer-nav .sub-menu { padding: 0 0 10px 14px; border-left: 2px solid var(--brand); margin-bottom: 10px; }
.drawer-nav .sub-menu[hidden] { display: none; }
.drawer-nav .sub-menu a { font-family: var(--font); padding-block: 8px; font-size: 15px; font-weight: 500; }
.sub-toggle { position: absolute; right: -8px; top: 4px; width: 46px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; }
.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translateY(-2px); }
.drawer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.drawer-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius); color: #fff; }
.drawer-card:hover { color: #fff; }
.drawer-card strong { font-family: var(--serif); font-size: 18px; }
.drawer-card span { font-size: 12.5px; line-height: 1.35; opacity: .86; }
.drawer-card.is-red { background: var(--brand); }
.drawer-card.is-dark { background: var(--ink); }
.drawer-label { font-family: var(--font); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 24px 0 6px; }
.drawer-pubs { list-style: none; margin: 0; padding: 0; }
.drawer-pubs a { display: block; padding: 9px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer .social { margin-top: 16px; }
.drawer .social a { background: var(--bg-soft); width: 40px; height: 40px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(14, 14, 16, .55); z-index: 1000; }
body.drawer-open { overflow: hidden; }

/* Ticker ------------------------------------------------------------------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--surface); }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.ticker-label { flex: none; color: var(--brand); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.ticker-track { position: relative; flex: 1; min-width: 0; height: 26px; overflow: hidden; }
.ticker-item {
	position: absolute; inset: 0; display: flex; align-items: center; gap: 12px;
	font-family: var(--serif); font-weight: 600; font-size: 15.5px;
	opacity: 0; transform: translateY(100%); transition: opacity .35s, transform .35s; visibility: hidden;
}
.ticker-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ticker-item time { flex: none; font-family: var(--font); font-weight: 400; font-size: 12px; color: var(--muted); }
.ticker-item.is-active { opacity: 1; transform: none; visibility: visible; }
.ticker-item.is-leaving { opacity: 0; transform: translateY(-100%); visibility: visible; }
.ticker-nav { display: flex; gap: 4px; }
.ticker-nav button { width: 28px; height: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; display: grid; place-items: center; color: var(--ink-2); }
.ticker-nav button:hover { border-color: var(--ink); color: var(--ink); }
.ticker-nav .icon { width: 15px; height: 15px; }

/* Shared post bits --------------------------------------------------------- */
.badge {
	display: inline-block; background: var(--brand); color: #fff !important; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .1em; padding: 4px 8px; line-height: 1.3;
}
.badge:hover { background: var(--brand-dark); }
.badge.kicker { background: none; padding: 0; color: var(--brand) !important; margin-bottom: 6px; }
.badge.kicker:hover { background: none; color: var(--brand-dark) !important; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.meta-author { color: var(--ink); font-weight: 600; }
.meta-author::before { content: "By "; color: var(--muted); font-weight: 400; }

.media { position: relative; }
.thumb { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
article:hover .thumb img { transform: scale(1.03); }
.thumb .ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--bg-soft); }
.thumb .ph img { width: 30%; height: auto; object-fit: contain; opacity: .4; transform: none !important; }

.title { font-weight: 700; }
.title a:hover { color: var(--brand); }

.post-card .body { padding-top: 12px; }
.post-card .title { font-size: 20px; margin-bottom: 8px; }
.post-card .excerpt { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-bottom: 10px; }

.post-list { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 13px; border-bottom: 1px solid var(--line); }
.post-list:last-child { border-bottom: 0; }
.post-list .thumb { aspect-ratio: 4 / 3; }
.post-list .kicker { display: none; }
.post-list .title { font-size: 16.5px; line-height: 1.26; margin-bottom: 6px; font-weight: 600; }
.post-list .meta { font-size: 12px; }

.post-overlay { position: relative; height: 100%; overflow: hidden; isolation: isolate; background: var(--dark); border-radius: var(--radius); }
.post-overlay .media, .post-overlay .thumb { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
.post-overlay .media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, .55) 64%, rgba(0, 0, 0, .9) 100%);
}
.hero-small .post-overlay .media::after, .hero-wide .post-overlay .media::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .68) 48%, rgba(0, 0, 0, .94) 100%);
}
.post-overlay .body { position: absolute; inset: auto 0 0 0; padding: clamp(16px, 2vw, 28px); color: #fff; z-index: 2; pointer-events: none; }
.post-overlay .body a { pointer-events: auto; }
.post-overlay .title { font-size: clamp(18px, 1.4vw, 23px); color: #fff; margin: 10px 0 8px; }
.post-overlay .title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-overlay .excerpt { color: rgba(255, 255, 255, .86); font-size: 15px; max-width: 70ch; }
.post-overlay .meta { color: rgba(255, 255, 255, .78); }
.post-overlay .meta-author { color: #fff; }
.post-overlay .meta-author::before { color: rgba(255, 255, 255, .75); }

/* Section heads ------------------------------------------------------------ */
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; border-top: 2px solid var(--rule); padding-top: 10px; margin-bottom: 22px; }
.section-title { margin: 0; font-size: clamp(22px, 1.9vw, 28px); }
.view-all { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.view-all:hover { color: var(--brand); }
.section-head-center { flex-direction: column; align-items: center; text-align: center; border: 0; padding: 0; gap: 0; }
.section-sub { color: var(--ink-2); margin: 8px 0 0; max-width: 60ch; }

/* Grids & layout ----------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.block { margin-block: clamp(32px, 4vw, 56px); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: clamp(28px, 3vw, 56px); align-items: start; padding-block: 8px clamp(32px, 4vw, 56px); }
.layout-main { min-width: 0; }
.layout-main > .block:first-child { margin-top: clamp(24px, 3vw, 40px); }
.layout-side { min-width: 0; padding-top: clamp(24px, 3vw, 40px); }

/* Hero --------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-block: 24px 8px; }
.hero-grid { display: grid; gap: 6px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(220px, 17vw, 330px)); }
.hero-main { grid-row: 1 / 3; }
.hero-wide { grid-column: 2 / 4; }
.hero-main .title { font-size: clamp(26px, 2.6vw, 44px); line-height: 1.1; }
.hero-wide .title { font-size: clamp(19px, 1.6vw, 26px); }
.hero-small .title { font-size: 17px; }
.hero-small .excerpt, .hero-small .meta-author { display: none; }

.hero-latest { border-top: 2px solid var(--rule); padding-top: 10px; display: flex; flex-direction: column; max-height: calc(2 * clamp(220px, 17vw, 330px) + 6px); overflow: hidden; }
.mini-head { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 1.6vw, 24px); margin-bottom: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .5); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-latest ol { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.hero-latest li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hero-latest li:last-child { border: 0; }
.hero-latest time { display: block; font-size: 12px; font-weight: 600; color: var(--brand); margin-bottom: 2px; }
.hero-latest a { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.home-ad { text-align: center; padding-block: 16px; }
.home-ad img { margin-inline: auto; }

/* Tabs */
.tab-list { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.tab-list button { border: 0; background: transparent; padding: 4px 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tab-panel { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.split-lead .title { font-size: clamp(23px, 2vw, 30px); }
.split-list .post-list:first-child { padding-top: 0; }

/* Spotlight */
.spotlight { background: var(--dark); color: #fff; padding-block: clamp(36px, 5vw, 72px); margin-top: 16px; }
.spotlight .section-head { border-color: rgba(255, 255, 255, .5); }
.spotlight .view-all { color: rgba(255, 255, 255, .78); }
.spotlight-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(18px, 2vw, 28px); }
.spot-main { grid-row: 1 / 3; min-height: 480px; }
.spot-main .title { font-size: clamp(24px, 2.2vw, 36px); }
.spotlight .post-card .title { font-size: 18px; }
.spotlight .badge.kicker { color: #ff8d90 !important; }
.spotlight .post-card .meta { color: rgba(255, 255, 255, .62); }
.spotlight .thumb { background: var(--dark-2); }
.explore .post-card .title { font-size: 18px; }

/* Current issue + advertise ------------------------------------------------ */
.promo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-block: clamp(32px, 4vw, 56px); }
.promo { display: flex; gap: clamp(20px, 2.4vw, 36px); align-items: center; padding: clamp(24px, 3vw, 44px); }
.promo-issue { background: var(--bg-soft); }
.promo-ad { background: var(--brand); color: #fff; }
.promo-cover { flex: none; }
.promo-cover img { width: clamp(120px, 12vw, 190px); box-shadow: var(--shadow); }
.promo .eyebrow { color: var(--brand); }
.promo-ad .eyebrow { color: #fff; opacity: .86; }
.promo h2 { font-size: clamp(24px, 2.2vw, 36px); line-height: 1.12; margin: 8px 0 10px; }
.promo p { margin: 0 0 18px; max-width: 46ch; font-size: 15.5px; }
.promo-ad p { opacity: .94; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Publications */
.pubs-band { background: var(--bg-soft); padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line); }
.pubs-band .section-head { margin-bottom: 28px; }
.pubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.pub { display: flex; flex-direction: column; background: var(--surface); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s; }
.pub:hover { border-color: var(--ink); color: inherit; }
.pub-img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.pub-img img { width: 100%; height: 100%; object-fit: contain; }
.pub-flagship .pub-img img { width: 55%; height: auto; }
.pub-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pub-text strong { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.pub-text em { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.4; }
.pub-cta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 13.5px; }
.pub-cta .icon { width: 15px; height: 15px; }

/* Widgets (incl. those carried over from the old theme) -------------------- */
.widget { margin-bottom: 30px; }
.widget:last-child { margin-bottom: 0; }
.widget-title { font-size: 20px; margin-bottom: 14px; border-top: 2px solid var(--rule); padding-top: 8px; }
.widget-title:empty, .widget-title span:empty { display: none; }
.widget img { margin-inline: auto; float: none !important; }
.widget p { margin: 0 0 10px; }
.widget p:last-child { margin: 0; }
.widget iframe { border: 0; }
.widget iframe[src*="youtube"], .widget iframe[src*="vimeo"] { width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget_search .search-form { max-width: none; }
.textwidget { text-align: center; }
.textwidget > *:first-child { margin-top: 0; }
.ad-card { background: var(--ink); color: #fff; padding: 22px; }
.ad-card .icon { color: #ff8d90; width: 26px; height: 26px; margin-bottom: 10px; }
.ad-card h3 { font-size: 23px; margin-bottom: 6px; }
.ad-card p { font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; opacity: .88; }

/* Archive ------------------------------------------------------------------ */
.archive-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(20px, 3vw, 44px); }
.archive-title { font-size: clamp(32px, 3.6vw, 56px); margin: 4px 0 8px; letter-spacing: -.02em; }
.archive-desc { color: var(--ink-2); max-width: 80ch; }
.archive-search { margin-top: 18px; }
.archive-search .search-form { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { padding: 6px 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; border-radius: var(--radius); }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.archive-lead { height: clamp(320px, 34vw, 520px); margin-block: clamp(24px, 3vw, 40px); }
.archive-lead .title { font-size: clamp(26px, 2.6vw, 42px); }
.layout-main > .archive-grid:first-child { margin-top: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); font-weight: 500; }
.crumbs a:hover { color: var(--brand); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .icon { width: 18px; height: 18px; }
.empty-state { text-align: center; padding: 60px 0; }

/* Article ------------------------------------------------------------------ */
.article-head { padding-block: clamp(18px, 3.5vw, 48px) clamp(16px, 2.5vw, 28px); }
.article-head-inner, .article-figure, .article-layout { max-width: calc(56px + 820px + 380px + 2 * 56px + 2 * var(--gutter)); }
.article-head-inner { padding-left: calc(var(--gutter) + 56px + 56px); }
.article-head .badge { background: none; padding: 0; color: var(--brand) !important; font-size: 12.5px; }
.article-title { font-size: clamp(30px, 3.9vw, 58px); line-height: 1.08; letter-spacing: -.022em; margin: 10px 0 14px; max-width: 24ch; }
.article-standfirst { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 60ch; margin-bottom: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.byline-avatar { border-radius: 50%; }
.byline-name { display: block; font-weight: 600; font-size: 15px; }
.byline-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13px; color: var(--muted); }
.byline-sub .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; display: inline; }
.dot { opacity: .6; }

.share { display: flex; gap: 6px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink-2); transition: .2s; }
.share .icon { width: 17px; height: 17px; }
.share a:hover, .share button:hover { color: #fff; border-color: transparent; background: var(--ink); }
.share-copy.is-copied { background: #15803d !important; color: #fff; border-color: transparent; }

.article-figure { margin: 0 auto; }
.article-figure img { width: 100%; max-height: 720px; object-fit: cover; }
.article-figure figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }

.article-layout { display: grid; grid-template-columns: 56px minmax(0, 820px) minmax(280px, 380px); gap: 56px; justify-content: space-between; padding-block: clamp(22px, 3vw, 44px) clamp(36px, 5vw, 72px); }
.share-rail { flex-direction: column; position: sticky; top: calc(var(--bar-h) + 20px); align-self: start; align-items: center; }
.share-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.article-main { min-width: 0; }
.article-layout .layout-side { padding-top: 0; }

.entry-content { font-family: var(--serif); font-size: clamp(18.5px, 1.2vw, 20.5px); line-height: 1.68; color: #22252a; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.25em; }
.article .entry-content > p:first-of-type::first-letter { float: left; font-weight: 700; font-size: 3.7em; line-height: .84; padding: .07em .1em 0 0; color: var(--brand); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.7em 0 .55em; }
.entry-content h2 { font-size: 1.5em; }
.entry-content h3 { font-size: 1.25em; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--brand-dark); }
.entry-content strong, .entry-content b { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--brand); }
.entry-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); font-size: 1.16em; line-height: 1.42; font-style: italic; color: var(--ink); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { height: auto; }
.entry-content figure, .entry-content .wp-caption { max-width: 100% !important; margin: 1.8em 0; }
.entry-content figcaption, .entry-content .wp-caption-text { font-family: var(--font); font-size: 13px; color: var(--muted); padding-top: 8px; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content iframe { width: 100%; border: 0; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font); font-size: 15px; display: block; overflow-x: auto; margin-bottom: 1.6em; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg-soft); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content div[style*="width"] { max-width: 100% !important; }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.article-tags span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 6px; }
.article-tags a { font-size: 13px; padding: 5px 10px; background: var(--bg-soft); font-weight: 500; border-radius: var(--radius); }
.article-tags a:hover { background: var(--ink); color: #fff; }
.article-after { margin: 28px 0; }

.article-cta { display: grid; grid-template-columns: 1fr minmax(280px, 1.1fr); gap: 24px; align-items: center; margin: 36px 0; padding: 28px; background: var(--bg-soft); border-top: 2px solid var(--brand); }
.article-cta .eyebrow { color: var(--brand); }
.article-cta h2 { font-size: 26px; margin: 4px 0 6px; }
.article-cta p { margin: 0; color: var(--ink-2); font-size: 15px; }

.author-box { display: flex; gap: 16px; align-items: flex-start; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.author-box img { border-radius: 50%; flex: none; }
.author-box .eyebrow { color: var(--muted); }
.author-name { font-size: 21px; margin: 2px 0 6px; }
.author-box p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--bg-soft); }
.post-nav a:hover { background: var(--brand-soft); color: var(--ink); }
.post-nav span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.post-nav strong { font-family: var(--serif); font-size: 17px; line-height: 1.26; font-weight: 600; }
.post-nav-next { text-align: right; grid-column: 2; }

.related { background: var(--bg-soft); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.related .post-card .title { font-size: 18px; }

.page-figure { margin: clamp(24px, 3vw, 40px) 0 28px; }
.page-figure img { width: 100%; }
.layout-main > .entry-content:first-child { margin-top: clamp(24px, 3vw, 40px); }

/* Comments */
.comments { margin-top: 40px; font-size: 15px; }
.comments-title { font-size: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 20px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 16px; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ink); outline: none; }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: var(--radius); min-height: 44px; padding: 10px 24px; font-weight: 600; }

/* 404 */
.error-404 { text-align: center; padding-block: 64px 24px; max-width: 720px; }
.big-404 { font-family: var(--serif); font-size: clamp(90px, 14vw, 180px); font-weight: 700; line-height: 1; color: var(--brand); margin: 0; }
.error-404 .search-form { margin: 24px auto; }

/* Footer ------------------------------------------------------------------- */
.newsletter-band { background: var(--brand); color: #fff; padding-block: clamp(36px, 5vw, 64px); }
.newsletter-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.nl-copy h2 { font-size: clamp(28px, 3vw, 46px); line-height: 1.08; color: #fff; margin: 10px 0 12px; max-width: 18ch; }
.nl-copy p { margin: 0; opacity: .93; max-width: 52ch; font-size: 16.5px; }
.nl-form { min-width: 0; }

.site-footer { background: var(--dark); color: #aaacb1; font-size: 14.5px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.4fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 5vw, 72px); }
.footer-logo img { width: 68px; height: 68px; background: #fff; padding: 6px; object-fit: contain; margin-bottom: 16px; }
.footer-about p { line-height: 1.65; max-width: 46ch; }
.social-footer { margin-top: 14px; }
.social-footer a { background: var(--dark-2); color: #fff; width: 40px; height: 40px; }
.social-footer a:hover { background: var(--brand); color: #fff; }
.footer-ad { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); max-width: 360px; color: #fff; }
.footer-ad:hover { border-color: #fff; color: #fff; }
.footer-ad .icon { color: #ff8d90; }
.footer-ad strong { display: block; font-family: var(--serif); font-size: 16px; }
.footer-ad em { font-style: normal; font-size: 12.5px; color: #c4c5c9; }
.footer-title { color: #fff; font-family: var(--font); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: block; padding-block: 6px; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-pub-list a { display: flex; gap: 12px; align-items: center; padding: 8px; background: var(--dark-2); }
.footer-pub-list a:hover { background: #2a2c32; color: inherit; }
.footer-pub-list img { width: 56px; height: 42px; object-fit: cover; flex: none; background: #fff; }
.footer-pub-list span { min-width: 0; }
.footer-pub-list strong { display: block; color: #fff; font-size: 14px; }
.footer-pub-list em { font-style: normal; font-size: 12.5px; line-height: 1.3; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 16px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

.to-top { position: fixed; right: 24px; bottom: 96px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.to-top[hidden] { display: none; }
.to-top .icon { transform: rotate(-90deg); }
.to-top:hover { background: var(--brand); }

/* Wide screens ------------------------------------------------------------- */
@media (min-width: 1700px) {
	:root { --side: 380px; }
	.grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hero { grid-template-columns: minmax(0, 1fr) 380px; }
}

/* Tablets and small laptops ------------------------------------------------ */
@media (max-width: 1279px) {
	.hero { grid-template-columns: 1fr; }
	.hero-latest { max-height: none; }
	.hero-latest ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.hero-latest li:nth-child(n+7) { display: none; }
	.hero-latest li:last-child { border-bottom: 1px solid var(--line); }
	.tagline { display: none; }
	.article-layout { grid-template-columns: 56px minmax(0, 1fr) 300px; gap: 36px; }
	.article-head-inner { padding-left: calc(var(--gutter) + 92px); }
	.spotlight-grid { grid-template-columns: 1.3fr 1fr; }
	.spot-item:nth-child(n+4) { display: none; }
	.mega-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mega-card:nth-child(n+4) { display: none; }
}
@media (max-width: 1180px) {
	.main-nav { display: none; }
	.topbar { display: none; }
	.navbar { order: -1; border-top: 0; }
	.navbar-inner { min-height: var(--bar-h); }
	.nav-logo, .navbar.is-stuck .nav-logo { display: block; margin: 0; }
	.brand { display: none; }
	.masthead-inner { padding-block: 8px; justify-content: center; }
	.header-banner { flex: 1 1 auto; justify-content: center; }
	.header-banner img { max-height: 90px; object-position: center; margin-inline: auto; }
	.header-banner-widget { text-align: center; }
	.quick-nav { display: block; }
}
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.layout-side { padding-top: 0; }
	.side-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; align-items: start; }
	.side-inner .widget { margin: 0; }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.share-rail { display: none; }
	.article-head-inner { padding-left: var(--gutter); }
	.article-layout > * { max-width: 820px; width: 100%; margin-inline: auto; }
	.article-layout .layout-side { max-width: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.promo-duo { grid-template-columns: 1fr; }
	.newsletter-inner { grid-template-columns: minmax(0, 1fr); }
	.split { grid-template-columns: minmax(0, 1fr); }
	.article-cta { grid-template-columns: minmax(0, 1fr); }
	.hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 230px 230px; }
	.hero-main, .hero-wide { grid-row: auto; grid-column: 1 / 3; }
	.hero-small:last-child { display: none; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spotlight-grid { grid-template-columns: 1fr 1fr; }
	.spot-main { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
}
@media (max-width: 782px) { .admin-bar .navbar { top: 46px; } }

/* Phones: one reading column, photo-led --------------------------------------- */
@media (max-width: 760px) {
	:root { --gutter: 16px; --bar-h: 56px; }
	.nav-logo .custom-logo { height: 38px; }
	.icon-btn { width: 42px; height: 42px; }
	.nav-subscribe { height: 34px; padding: 0 12px; }
	.search-panel { padding-block: 10px; }

	.ticker { display: none; }

	/* Story cards drop their overlay and stack cleanly */
	.hero { padding-block: 16px 0; gap: 20px; }
	.hero-grid { display: block; }
	.hero-grid .post-overlay,
	.archive-lead .post-overlay { background: none; height: auto; overflow: visible; }
	.hero-grid .post-overlay .media,
	.hero-grid .post-overlay .thumb,
	.archive-lead .post-overlay .media,
	.archive-lead .post-overlay .thumb { position: static; height: auto; }
	.hero-grid .post-overlay .thumb,
	.archive-lead .post-overlay .thumb { border-radius: var(--radius); aspect-ratio: 16 / 10; }
	.hero-grid .post-overlay .media::after,
	.archive-lead .post-overlay .media::after { display: none; }
	.hero-grid .post-overlay .body,
	.archive-lead .post-overlay .body { position: static; padding: 12px 0 0; color: var(--ink); }
	.hero-grid .post-overlay .title,
	.archive-lead .post-overlay .title { color: var(--ink); margin: 6px 0; }
	.hero-grid .post-overlay .title a:hover,
	.archive-lead .post-overlay .title a:hover { color: var(--brand); text-decoration: none; }
	.hero-grid .post-overlay .excerpt,
	.archive-lead .post-overlay .excerpt { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
	.hero-grid .post-overlay .meta,
	.archive-lead .post-overlay .meta { color: var(--muted); }
	.hero-grid .post-overlay .meta-author,
	.archive-lead .post-overlay .meta-author { color: var(--ink); }
	.hero-grid .post-overlay .meta-author::before,
	.archive-lead .post-overlay .meta-author::before { color: var(--muted); }
	.hero-grid .badge,
	.archive-lead .badge { background: none; padding: 0; color: var(--brand) !important; }
	.hero-main .title, .archive-lead .title { font-size: 28px; line-height: 1.12; }
	.archive-lead { height: auto; margin-block: 16px 8px; }

	.hero-wide, .hero-small { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
	.hero-small:last-child { display: block; }
	.hero-wide .post-overlay, .hero-small .post-overlay { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 14px; align-items: start; }
	.hero-wide .media, .hero-small .media { order: 2; }
	.hero-wide .post-overlay .thumb, .hero-small .post-overlay .thumb { aspect-ratio: 4 / 3; }
	.hero-wide .post-overlay .body, .hero-small .post-overlay .body { padding: 0; }
	.hero-wide .title, .hero-small .title { font-size: 18px; line-height: 1.22; margin: 3px 0 5px; font-weight: 600; }
	.hero-wide .excerpt, .hero-wide .meta-author { display: none; }

	.hero-latest ol { display: block; }
	.hero-latest li:nth-child(n+5) { display: none; }
	.hero-latest li:nth-child(4) { border-bottom: 0; }
	.hero-latest a { font-size: 17px; }

	/* Grids: first story leads, the rest are rows */
	.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.grid-3 > .post-card, .grid-4 > .post-card, .archive-grid > .post-card { padding-block: 14px; border-top: 1px solid var(--line); }
	.grid-3 > .post-card:first-child, .grid-4 > .post-card:first-child { padding-top: 0; border-top: 0; }
	.grid-3 > .post-card:not(:first-child), .grid-4 > .post-card:not(:first-child), .archive-grid > .post-card:not(:first-child) { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 14px; align-items: start; }
	.grid-3 > .post-card:not(:first-child) .media, .grid-4 > .post-card:not(:first-child) .media, .archive-grid > .post-card:not(:first-child) .media { order: 2; }
	.grid-3 > .post-card:not(:first-child) .thumb, .grid-4 > .post-card:not(:first-child) .thumb, .archive-grid > .post-card:not(:first-child) .thumb { aspect-ratio: 4 / 3; }
	.grid-3 > .post-card:not(:first-child) .body, .grid-4 > .post-card:not(:first-child) .body, .archive-grid > .post-card:not(:first-child) .body { padding: 0; }
	.grid-3 > .post-card:not(:first-child) .title, .grid-4 > .post-card:not(:first-child) .title, .archive-grid > .post-card:not(:first-child) .title { font-size: 18px; line-height: 1.22; font-weight: 600; margin-bottom: 5px; }
	.grid-3 > .post-card:not(:first-child) .excerpt, .grid-4 > .post-card:not(:first-child) .excerpt, .archive-grid > .post-card:not(:first-child) .excerpt { display: none; }
	.post-card .title { font-size: 23px; }
	.grid.block > section + section { margin-top: 32px; }
	.block { margin-block: 32px; }
	.layout { padding-block: 0 24px; gap: 8px; }
	.layout-main > .block:first-child { margin-top: 28px; }

	/* Explore: compact two-up */
	.explore .grid-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.explore .post-card .kicker, .explore .post-card .meta { display: none; }
	.explore .post-card .body { padding-top: 8px; }
	.explore .post-card .title { font-size: 16px; line-height: 1.24; font-weight: 600; margin: 0; }
	.explore .post-card:nth-child(n+7) { display: none; }

	/* Tabs slide sideways */
	.block-tabs .section-head { flex-flow: column nowrap; align-items: stretch; }
	.tab-list { width: calc(100% + 32px); margin: 0 -16px; padding-inline: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
	.tab-list::-webkit-scrollbar { display: none; }
	.tab-list button { min-height: 42px; flex: none; margin-bottom: -1px; }
	.block-tabs .btn-ghost { width: 100%; }

	/* Spotlight and sidebar become swipeable */
	.spotlight { margin-top: 0; }
	.spotlight-grid {
		position: relative; display: flex; gap: 12px; margin-inline: -16px; padding-inline: 16px; overflow-x: auto;
		scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none;
	}
	.spotlight-grid::-webkit-scrollbar { display: none; }
	.spot-main, .spot-item, .spot-item:nth-child(n+4) { display: block; flex: 0 0 78%; min-height: 0; scroll-snap-align: start; }
	.spot-main .post-overlay { background: none; height: auto; overflow: visible; }
	.spot-main .post-overlay .media, .spot-main .post-overlay .thumb { position: static; height: auto; }
	.spot-main .post-overlay .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius); }
	.spot-main .post-overlay .media::after { display: none; }
	.spot-main .post-overlay .body { position: static; padding: 12px 0 0; }
	.spot-main .badge { background: none; padding: 0; color: #ff8d90 !important; }
	.spot-main .title, .spotlight .post-card .title { font-size: 20px; line-height: 1.2; margin: 6px 0; }
	.spot-main .excerpt { display: none; }

	.layout-side, .article-layout .layout-side { padding-top: 16px; }
	.side-inner {
		position: relative; display: flex; gap: 12px; margin-inline: -16px; padding: 2px 16px 10px; overflow-x: auto;
		scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: thin; align-items: stretch;
	}
	.side-inner > .widget { flex: 0 0 min(300px, 82%); min-width: 0; max-width: min(300px, 82%); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
	.side-inner > .widget:not(.ad-card) { background: var(--bg-soft); padding: 10px; text-align: center; }
	.side-inner > .widget_search { display: none; }
	.side-inner iframe { max-width: 100%; }
	.side-inner .widget img { max-height: 320px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }

	/* Promos */
	.promo-duo { margin-block: 28px; margin-inline: 0; padding-inline: 0; gap: 0; }
	.promo { padding: 24px 16px; gap: 16px; align-items: flex-start; }
	.promo-cover img { width: 96px; }
	.promo h2 { font-size: 25px; }
	.promo p { font-size: 15.5px; }
	.promo-actions .btn { padding-inline: 16px; }

	.pubs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pub-text { padding: 10px 12px 12px; }
	.pub-text strong { font-size: 16px; }
	.pub-text em { font-size: 13px; }
	.pub-flagship { grid-column: 1 / -1; flex-direction: row; align-items: center; }
	.pub-flagship .pub-img { flex: 0 0 96px; border: 0; aspect-ratio: 1; }

	/* Article */
	.article-head { padding-block: 14px 12px; }
	.crumbs { display: none; }
	.article-title { font-size: 31px; line-height: 1.1; max-width: none; margin-top: 6px; }
	.article-standfirst { font-size: 19px; margin-bottom: 14px; }
	.article-meta { flex-direction: column; align-items: flex-start; }
	.article-figure { padding-inline: 0; }
	.article-figure img { max-height: 62vh; }
	.article-figure figcaption { padding-inline: 16px; }
	.entry-content { font-size: 18.5px; line-height: 1.64; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; max-width: 100%; }
	.article-cta { padding: 20px 16px; margin-inline: -16px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav-next { grid-column: auto; text-align: left; }
	.archive-title { font-size: 34px; }

	/* Footer */
	.nl-copy h2 { font-size: 30px; }
	.nl-copy p { font-size: 16px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 36px; }
	.footer-about, .footer-pubs { grid-column: 1 / -1; }
	.footer-bottom-inner { flex-direction: column; align-items: flex-start; }
	.to-top { display: none !important; }
}
@media (max-width: 600px) { .admin-bar .navbar { top: 0; } }
@media (max-width: 340px) { .nav-subscribe { display: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .masthead, .navbar, .quick-nav, .ticker, .share, .layout-side, .site-footer, .related, .article-cta, .to-top, .read-progress { display: none !important; }
}
