/* Video Hub — theme (colors are overridden live from the dashboard) */
:root{
	--bg: #0b0d12;
	--bg-soft: #10131b;
	--surface: #151a26;
	--surface-2: #1b2233;
	--border: #242d42;
	--text: #e7eaf2;
	--muted: #8b93a7;
	--accent: #7c5cff;
	--accent-2: #22d3ee;
	--glow: rgba(124, 92, 255, .28);
	--radius: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
	margin: 0;
	background:
		radial-gradient(1100px 500px at 85% -10%, rgba(124,92,255,.12), transparent 60%),
		radial-gradient(900px 420px at 0% -10%, rgba(34,211,238,.08), transparent 55%),
		var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
::selection{ background: var(--accent); color: #fff; }

:focus-visible{
	outline: 2px solid var(--accent-2);
	outline-offset: 2px;
	border-radius: 6px;
}

/* visually hidden but read by screen readers (live announcements) */
.sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* keyboard users: hidden until focused, then a clear jump-to-content button */
.skip-link{
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 200;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 0 0 10px 10px;
	transition: top .15s ease;
}
.skip-link:focus{
	top: 0;
}

/* ---------- header ---------- */
/* solid background so the bar renders EXACTLY the color chosen in the
   dashboard — no page-background bleed-through */
.site-header{
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg, #0b0d12);
	border-bottom: 1px solid var(--border);
}
.header-inner{
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.brand{
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.brand-bolt{ margin-right: 2px; }
.brand-logo{ height: 36px; width: auto; display: block; }
.brand-accent{
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* top menu — links managed from the admin dashboard (Menu & Footer section) */
.top-menu{
	display: flex;
	gap: 4px;
	align-items: center;
}
.top-menu a{
	color: var(--menu-text, var(--muted));
	font-size: 14px;
	font-weight: 600;
	padding: 7px 13px;
	border-radius: 9px;
	transition: color .15s ease, background .15s ease;
}
.top-menu a:hover{
	color: var(--menu-hover, var(--text));
	background: var(--menu-hover-bg, rgba(255, 255, 255, .07));
}
.menu-toggle{
	display: none;
	background: transparent;
	border: 1px solid var(--menu-text, var(--border));
	color: var(--menu-text, var(--text));
	border-radius: 9px;
	padding: 6px 13px;
	font-size: 18px;
	cursor: pointer;
}
/* dropdown submenus (dashboard: "- Label | URL" lines under a menu item) */
.menu-item{ position: relative; }
.menu-item > a .caret{ font-size: 10px; opacity: .7; }
.submenu{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--header-bg, var(--surface));
	border: 1px solid var(--border);
	border-radius: 11px;
	padding: 6px;
	min-width: 190px;
	z-index: 60;
	box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .7);
}
.menu-item:hover .submenu,
.menu-item:focus-within .submenu{ display: block; }
.submenu a{ display: block; }

.search{
	flex: 1;
	display: flex;
	min-width: 240px;
	max-width: 560px;
	margin-left: auto;
}
.search input{
	flex: 1;
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-right: none;
	border-radius: 999px 0 0 999px;
	color: var(--text);
	font-size: 15px;
	padding: 10px 18px;
}
.search input::placeholder{ color: var(--muted); }
.search input:focus{ outline: none; border-color: var(--accent); }
.search button{
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	border: none;
	border-radius: 0 999px 999px 0;
	font-size: 15px;
	font-weight: 600;
	padding: 10px 22px;
	cursor: pointer;
	transition: filter .15s ease;
}
.search button:hover{ filter: brightness(1.15); }

/* ---------- layout ---------- */
.page{
	flex: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px 20px 48px;
}

.hero{
	text-align: center;
	padding: 40px 26px 30px;
	margin: 12px 0 26px;
	background: var(--surface);
	background: color-mix(in srgb, var(--accent) 6%, var(--surface));
	border: 1px solid var(--border);
	border-radius: 20px;
}
.hero-eyebrow{
	display: inline-block; margin-bottom: 14px;
	font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
	color: var(--accent-2);
	border: 1px solid var(--border); border-radius: 999px; padding: 4px 13px;
}
.hero h1{
	margin: 0 0 10px;
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
}
.hero p{
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}
.hero .hero-sub{ margin: 0 auto; max-width: 600px; font-size: 19px; font-weight: 500; color: var(--text); line-height: 1.45; }
.hero-divider{ width: 44px; height: 2px; background: var(--border); border: 0; border-radius: 2px; margin: 14px auto 12px; }
.hero-search{ display: flex; gap: 8px; max-width: 520px; margin: 22px auto 0; }
.hero-search input{ flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 13px 16px; font-size: 15px; color: var(--text); }
.hero-search button{ background: var(--accent); color: #fff; border: none; border-radius: 11px; padding: 0 22px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hero-search button:hover{ filter: brightness(1.08); }
.hero-cta{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.hero-btn{ display: inline-flex; align-items: center; gap: 6px; border-radius: 11px; padding: 11px 18px; font-size: 14.5px; font-weight: 700; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.hero-btn.primary{ background: var(--accent); color: #fff; border-color: transparent; }
.hero-btn:hover{ filter: brightness(1.06); }

.section-title{
	font-size: 18px;
	font-weight: 700;
	margin: 30px 0 16px;
	color: var(--text);
}

.notice{
	background: rgba(239, 68, 68, .12);
	border: 1px solid rgba(239, 68, 68, .35);
	color: #fca5a5;
	border-radius: var(--radius);
	padding: 12px 18px;
	margin-bottom: 20px;
}

.empty{
	text-align: center;
	color: var(--muted);
	padding: 60px 0;
}

/* ---------- chips ---------- */
.chips{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 18px 0 8px;
}
.chip{
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 13.5px;
	transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.chip:hover{
	color: var(--text);
	border-color: var(--accent);
	transform: translateY(-1px);
}
.watch-chips{
	justify-content: flex-start;
	margin: 20px 0 0;
}

/* ---------- video grid ---------- */
.grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 22px;
	margin-top: 24px;
}
.card{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover{
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: 0 12px 32px -12px var(--glow);
}
.thumb{
	aspect-ratio: 16 / 9;
	background: var(--surface-2);
	overflow: hidden;
	position: relative;
}
.card-badge{
	position: absolute; top: 8px; left: 8px; z-index: 2;
	font-size: 11px; font-weight: 700; letter-spacing: .2px;
	padding: 3px 8px; border-radius: 7px; line-height: 1.3;
}
.card-badge.hot{ background: rgba(0,0,0,.72); color: #fff; }
.card-badge.new{ background: var(--accent); color: #fff; }
.listen-bar{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.listen-btn{ display: inline-flex; align-items: center; gap: 7px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s ease; }
.listen-btn:hover{ border-color: var(--accent-2); }
.listen-note{ color: var(--muted); font-size: 12.5px; }
.gear-jump{ display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 8px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .15s ease; }
.gear-jump:hover{ border-color: var(--accent-2); }
#gear{ scroll-margin-top: 80px; }
.thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.card:hover .thumb img{ transform: scale(1.05); }
.card-body{ padding: 12px 14px 14px; }
.card-body h3{
	margin: 0 0 6px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.card .meta{
	margin: 0;
	color: var(--muted);
	font-size: 12.5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- watch page ---------- */
.watch{
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
	gap: 28px;
	align-items: start;
}
.player{
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
}
.player iframe{
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
/* lightweight video facade (loads the real iframe only on click) */
.player-facade{
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	display: block;
}
.player-facade img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.player-facade .play-btn{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: #e11d2a; /* red play button (YouTube-style) by default */
	transition: background .15s ease, transform .15s ease;
}
.player-facade .play-btn::before{
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #fff;
}
.player-facade:hover .play-btn{ background: #f61b2c; transform: translate(-50%, -50%) scale(1.06); }
.player-facade:focus-visible{ outline: 3px solid var(--accent-2); outline-offset: -3px; }
.watch-title{
	margin: 18px 0 6px;
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 700;
	line-height: 1.3;
}
.watch-meta{
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 16px;
}
.watch-meta strong{ color: var(--text); font-weight: 600; }

.desc{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 4px 18px;
	font-size: 14px;
}
.desc summary{
	cursor: pointer;
	font-weight: 600;
	padding: 12px 0;
	color: var(--muted);
	list-style: none;
}
.desc summary::before{ content: "▸ "; color: var(--accent); }
.desc[open] summary::before{ content: "▾ "; }
.desc summary:hover{ color: var(--text); }
.desc p{
	margin: 0 0 16px;
	color: var(--text);
	white-space: normal;
	overflow-wrap: anywhere;
}

.related h2{
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 14px;
}
.related-list{
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.related-item{
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .15s ease, transform .15s ease;
}
.related-item:hover{
	border-color: var(--accent);
	transform: translateX(3px);
}
.related-item .thumb{ aspect-ratio: 16 / 9; }
.related-item .r-body{ padding: 8px 10px 8px 0; min-width: 0; }
.related-item h3{
	margin: 0 0 4px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.related-item .meta{
	margin: 0;
	font-size: 12px;
	color: var(--muted);
}

/* ---------- share bar + translate ---------- */
.share-bar{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 14px 0 2px;
}
.share-label{
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	margin-right: 2px;
}
.share-btn{
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}
.share-btn:hover{ color: var(--text); border-color: var(--accent); }
.translate-select{
	margin-left: auto;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 13px;
	cursor: pointer;
}
.translate-select:focus{ outline: none; border-color: var(--accent); }

/* ---------- ad slots ---------- */
.ad-slot{ margin: 16px auto; text-align: center; }
.ad-placeholder{
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--border);
	border-radius: 12px;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
	background: rgba(255, 255, 255, .02);
}
.ad-home_top, .ad-footer, .ad-video_top, .ad-video_below_title, .ad-video_mid{
	min-height: 100px;
	max-width: 728px;
	width: 100%;
}
.ad-video_sidebar_top, .ad-video_sidebar_bottom, .ad-video_sidebar_end{
	min-height: 250px;
	width: 300px;
	max-width: 100%;
	margin: 0 auto 16px;
}
.ad-video_sidebar_bottom, .ad-video_sidebar_end{ margin-top: 16px; }
.ad-card{
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: start;   /* don't stretch the ad card to the row's tallest card */
	overflow: hidden;
}
.ad-card .ad-slot{
	margin: 0;
	border: none;
	width: 100%;
}
/* keep ad creatives inside the box so they can't distort or overflow the cell */
.ad-card .ad-slot ins,
.ad-card .ad-slot iframe,
.ad-card .ad-slot img{
	max-width: 100%;
}
.ad-card .ad-placeholder{ border: 2px dashed var(--border); border-radius: var(--radius); min-height: 230px; }

/* ---------- AI companion guide ---------- */
.article{
	margin-top: 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 8px 26px 22px;
	font-size: 15px;
	line-height: 1.65;
}
.article h2{
	font-size: 19px;
	font-weight: 700;
	margin: 24px 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}
.article h2::before{
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.article h3{
	font-size: 15.5px;
	font-weight: 650;
	margin: 18px 0 4px;
	color: var(--accent-2);
}
.article p{ margin: 8px 0; color: var(--text); }
.article a{ color: var(--accent-2); border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.article a:hover{ border-bottom-color: var(--accent-2); }
.article a.gloss-link{ border-bottom: 1px dotted var(--accent-2); }
.article a.gloss-link:hover{ border-bottom-style: solid; }
.article ul, .article ol{ margin: 8px 0 8px 4px; padding-left: 22px; }
.article li{ margin: 6px 0; }
.article li::marker{ color: var(--accent); font-weight: 700; }
.article-pending{ padding: 18px 26px; }
.article-loading{
	color: var(--muted);
	margin: 0;
	animation: ai-pulse 1.6s ease-in-out infinite;
}
@keyframes ai-pulse{
	0%, 100%{ opacity: .45; }
	50%{ opacity: 1; }
}

/* ---------- prose (privacy etc.) ---------- */
.prose{
	max-width: 760px;
	margin: 0 auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 32px;
}
.prose h1{ margin-top: 0; font-size: 26px; }
.prose p{ color: var(--muted); }
.prose a{ color: var(--accent-2); }
/* legal page: readable multi-section layout */
.legal h2{ font-size: 17px; margin: 1.6em 0 .5em; color: var(--text); }
.legal ul{ color: var(--muted); padding-left: 20px; }
.legal li{ margin: 4px 0; }
.legal .legal-dates{ font-size: 13px; color: var(--muted); margin-top: -4px; }

/* ---------- homepage modules (V5) ---------- */
.hero .hero-intro{ max-width: 540px; margin: 0 auto; color: var(--muted); font-size: 14.5px; }
.hero .topic-note{ max-width: 620px; margin: 10px auto 0; color: var(--muted); font-size: 13px; opacity: .85; }
.hero-features{
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	text-align: left;
}
.hero-features li{ display: flex; align-items: flex-start; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 14px 15px; }
.hero-features .hf-ic{ flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: var(--bg); }
.hero-features .hf-t{ font-size: 13px; line-height: 1.45; color: var(--text); }
@media(max-width: 820px){ .hero-features{ grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px){ .hero-features{ grid-template-columns: 1fr; } .hero-search{ flex-direction: column; } .hero-search button{ padding: 12px; } }
#latest{ scroll-margin-top: 80px; }
.home-module{ margin-top: 36px; }
.section-title .see-all{
	float: right;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-2);
}
.section-title .see-all:hover{ text-decoration: underline; }
.topic-grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.topic-tile{
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .15s ease, transform .15s ease;
}
.topic-tile:hover{ border-color: var(--accent); transform: translateY(-2px); }
.topic-tile .thumb img{ width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; opacity: .9; }
.topic-tile-body{ padding: 12px 14px; }
.topic-tile-body h3{ margin: 0; font-size: 15px; }
.topic-tile-body span{ font-size: 12px; color: var(--accent-2); font-weight: 700; }
.explainer-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.explainer-chip{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	transition: color .15s ease, border-color .15s ease;
}
.explainer-chip:hover{ color: var(--accent-2); border-color: var(--accent); }

/* Editor's Picks: 2 cards + an explanatory text panel beside them */
.picks-row{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	align-items: stretch;
}
.picks-card{ display: flex; }
.picks-card .card{ display: block; width: 100%; }
.picks-panel{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
}
.picks-panel h3{ margin: 0 0 10px; font-size: 18px; }
.picks-panel p{ margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.picks-more{ margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--accent-2); }
.picks-more:hover{ text-decoration: underline; }
@media (max-width: 760px){
	.picks-row{ grid-template-columns: 1fr 1fr; }
	.picks-panel{ grid-column: 1 / -1; }
}
@media (max-width: 480px){
	.picks-row{ grid-template-columns: 1fr; }
}

/* homepage FAQ accordion */
.home-faq .faq-item{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 2px 18px;
	margin-bottom: 10px;
}
.home-faq summary{
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	padding: 14px 0;
	list-style: none;
}
.home-faq summary::-webkit-details-marker{ display: none; }
.home-faq summary::after{ content: "+"; float: right; color: var(--muted); font-weight: 400; }
.home-faq details[open] summary::after{ content: "\2013"; }
.home-faq .faq-item p{ margin: 0 0 14px; color: var(--muted); line-height: 1.6; }

/* about page */
/* About & Contact pages (V6): stat tiles, trust/reason cards, accessibility band */
.about-page .about-lead, .contact-page .contact-lead{ font-size: 17px; color: var(--text); }
.about-stats{ display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; margin: 26px 0; }
.about-stat{ background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; text-align: center; }
.about-stat .n{ font-size: 26px; font-weight: 800; color: var(--accent-2); line-height: 1; }
.about-stat .l{ font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.about-cards, .contact-cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-cards .ac, .contact-cards .cc{ background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.about-cards .ic, .contact-cards .ic{ width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 10px; }
.about-cards h3, .contact-cards h3{ font-size: 15px; margin: 0 0 5px; }
.about-cards p, .contact-cards p{ font-size: 13.5px; color: var(--muted); margin: 0; }
.about-a11y{ margin: 14px 0; background: var(--surface); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.about-a11y h2{ margin: 0 0 6px; }
.about-a11y > p{ margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.about-a11y ul{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.about-a11y li{ display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.about-a11y li .i{ flex: none; font-size: 18px; }
.about-a11y li b{ display: block; }
.about-a11y li > div span{ color: var(--muted); font-size: 13px; }
.about-author{ display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-top: 6px; }
.about-author img{ width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.about-author .nm{ font-weight: 700; }
.about-author .bio{ font-size: 14px; color: var(--muted); margin-top: 3px; }
.about-links, .contact-links{ margin-top: 26px; font-size: 14px; color: var(--muted); }
.contact-email-card{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--surface); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin: 24px 0; }
.contact-email-card .ic{ flex: none; width: 52px; height: 52px; border-radius: 13px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.contact-email-card .info{ flex: 1; min-width: 200px; }
.contact-email-card .info .t{ font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; color: var(--muted); }
.contact-email-card .info .addr{ font-size: 20px; font-weight: 700; }
.contact-email-card .info .addr a{ color: var(--text); }
.contact-email-card .info .note{ font-size: 13px; color: var(--muted); margin-top: 2px; }
.contact-email-btn{ background: var(--accent); color: #fff; border-radius: 11px; padding: 12px 22px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.contact-email-btn:hover{ filter: brightness(1.08); }
.contact-social{ display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social a{ display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 15px; color: var(--text); font-weight: 600; font-size: 14px; }
.contact-social a:hover{ border-color: var(--accent-2); }
.contact-social a svg{ width: 16px; height: 16px; fill: currentColor; }
@media(max-width: 640px){ .about-cards, .contact-cards{ grid-template-columns: 1fr; } .about-a11y ul{ grid-template-columns: 1fr; } }
.shop-disclosure{ margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer{
	border-top: 1px solid var(--border);
	background: var(--bg-soft);
	margin-top: 40px;
}
.footer-inner{
	max-width: 1280px;
	margin: 0 auto;
	padding: 26px 20px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}
.footer-inner nav{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	justify-content: center;
	margin-bottom: 12px;
}
.footer-inner nav a{
	color: var(--text);
	font-weight: 600;
	font-size: 13.5px;
}
.footer-inner nav a:hover{ color: var(--accent-2); }
.footer-inner p{ margin: 4px 0; overflow-wrap: break-word; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
	.watch{ grid-template-columns: 1fr; }
}
/* collapse the top menu into a hamburger on smaller screens */
@media (max-width: 900px){
	.menu-toggle{ display: block; order: 2; margin-left: auto; }
	.brand{ order: 1; }
	.top-menu{
		display: none;
		order: 3;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 4px 0 8px;
		border-top: 1px solid var(--border);
	}
	.top-menu.open{ display: flex; }
	.top-menu a{ padding: 11px 12px; }
	.search{ order: 4; margin-left: 0; }
	/* on mobile, submenus render expanded and indented under their parent */
	.menu-item{ position: static; }
	.submenu{
		display: block;
		position: static;
		border: none;
		background: transparent;
		box-shadow: none;
		padding: 0 0 0 18px;
		min-width: 0;
	}
}

@media (max-width: 560px){
	.header-inner{ gap: 12px; }
	.brand{ font-size: 19px; }
	.search{ order: 4; max-width: none; flex-basis: 100%; }
	/* dense flow backfills the cell left empty before a full-width ad, so there's
	   no gap when the ad follows an odd number of videos */
	.grid{ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; grid-auto-flow: dense; }
	/* in-grid ads span the full row on mobile so the creative has room and
	   isn't squished into one narrow cell */
	.ad-card{ grid-column: 1 / -1; }
	.related-item{ grid-template-columns: 130px 1fr; }
	.page{ padding: 20px 14px 36px; }
}

/* ---------- call-to-action button under the article (dashboard-controlled) ---------- */
.article-cta{
	margin: 18px 0 4px;
	text-align: center;
}
.article-cta a{
	display: inline-block;
	background: var(--cta-bg, var(--accent));
	color: var(--cta-text, #ffffff);
	font-weight: 700;
	font-size: 15px;
	padding: 12px 34px;
	border-radius: 999px;
	transition: filter .15s ease, transform .15s ease;
}
.article-cta a:hover{
	filter: brightness(1.12);
	transform: translateY(-1px);
}

/* ---------- WordPress news cards on video pages (same style as home grid) ---------- */
.news-feed{ margin-top: 26px; }
.news-feed h2{
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 14px;
}
.news-feed h2::before{
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.news-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
@media (max-width: 640px){
	.news-grid{ grid-template-columns: 1fr; }
}

/* ---------- live-side search notes + pagination ---------- */
.title-note{ color: var(--muted); font-weight: 500; font-size: 15px; }
.fill-note{
	color: var(--muted);
	font-size: 14px;
	margin: -6px 0 18px;
}
.page-nav{
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin: 34px 0 6px;
	font-size: 14.5px;
}
.page-nav a{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 9px;
	padding: 7px 15px;
	color: var(--muted);
	transition: color .15s ease, border-color .15s ease;
}
.page-nav a:hover{ color: var(--text); border-color: var(--accent); }
.page-nav strong{
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	border-radius: 9px;
	padding: 7px 15px;
}
.page-nav .gap{ color: var(--muted); }

/* ---------- stacked sidebar buttons under related videos (dashboard-set) ---------- */
/* topic-hubs widget in the video-page sidebar */
.side-topics{ margin-top: 24px; }
.side-topics h2{
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
}
.side-topics ul{ list-style: none; margin: 0; padding: 0; }
.side-topics li{ margin: 0; }
.side-topics li a{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 9px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.side-topics li a:hover{
	background: var(--surface);
	color: var(--text);
	border-color: var(--border);
}
.side-topics .st-label{ flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-topics .st-count{
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 1px 9px;
}

.side-author-link{
	display: block;
	margin-top: 22px;
	padding: 11px 14px;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 600;
	transition: color .15s ease, border-color .15s ease;
}
.side-author-link:hover{ color: var(--accent-2); border-color: var(--accent); }

.side-btns{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}
.side-btns a{
	display: block;
	width: 100%;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 600;
	transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.side-btns a:hover{
	color: var(--text);
	border-color: var(--accent);
	transform: translateY(-1px);
}

/* ---- author layer (byline, mid-article tip, take, author card) ---- */
.byline{
	margin: 18px 0 -6px;
	font-size: 14px;
	color: var(--muted);
}
.byline a{ color: var(--accent); font-weight: 600; }
.byline a:hover{ text-decoration: underline; }
.byline strong{ color: var(--text); }

.author-tip{
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 22px 0;
}
.author-tip img{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.author-tip .tip-label{
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 4px;
}
.author-tip p{ margin: 0; color: var(--text); }

/* "one of the author's favorite parts" — tip-style box under the TOC */
.fav-part{
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent-2);
	border-radius: 12px;
	padding: 14px 16px;
	margin-top: 16px;
}
.fav-part img{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.fav-part .tip-label{
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent-2);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 4px;
}
.fav-part p{ margin: 0 0 8px; color: var(--text); }
.fav-jump{
	width: auto;
	display: inline-block;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}
.fav-jump:hover{ color: var(--accent-2); border-color: var(--accent-2); background: var(--bg); }

/* ---- at-a-glance card, table of contents, key moments (V4.3) ---- */
.glance-box{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 18px;
	margin-top: 16px;
}
.glance-box .glance-title{
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--muted);
}
.glance-box dl{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 0;
}
.glance-box dl > div{ min-width: 90px; }
.glance-box dl > div.glance-wide{ flex-basis: 100%; }
.glance-box dt{
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--muted);
	margin: 0 0 2px;
}
.glance-box dd{
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.toc{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 13px;
}
.toc .toc-label{ color: var(--muted); font-weight: 600; }
.toc a{
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 4px 12px;
	transition: color .15s ease, border-color .15s ease;
}
.toc a:hover{ color: var(--text); border-color: var(--accent); }

.key-moments{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	margin: 22px 0;
}
.key-moments h2{
	margin: 0 0 10px !important;
	font-size: 17px !important;
}
.key-moments ul{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.key-moments li{ margin: 0 !important; padding: 0 !important; }
.km-jump{
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	color: var(--text);
	font: inherit;
	font-size: 14px;
	padding: 6px 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.km-jump:hover{ background: var(--bg); color: var(--accent); }

/* ---- breadcrumbs, topic hubs, tag pages, related reading (V5) ---- */
.crumbs{
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.crumbs a{ color: var(--muted); }
.crumbs a:hover{ color: var(--accent-2); }
.crumbs .sep{ opacity: .5; }

.topic-strip{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
}
.topic-strip-label{ color: var(--muted); font-weight: 600; font-size: 13px; }

.topic-list{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.topic-card{
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px 20px;
	transition: border-color .15s ease, transform .15s ease;
}
.topic-card:hover{ border-color: var(--accent); transform: translateY(-2px); }
.topic-card h2{ margin: 0 0 6px; font-size: 18px; }
.topic-card p{ margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.topic-card .topic-count{ font-size: 12px; color: var(--accent-2); font-weight: 700; }

.more-topics{ margin-top: 34px; }

.related-reading{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	margin-top: 22px;
}
.related-reading h2{ margin: 0 0 10px !important; font-size: 17px !important; }
.related-reading ul{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.related-reading li{ margin: 0; padding: 0; }
.related-reading a{
	color: var(--accent-2);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}
.related-reading a:hover{ text-decoration: underline; }

.amazon-products{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px 20px;
	margin-top: 22px;
}
.amazon-products h2{ margin: 0 0 10px !important; font-size: 17px !important; }
.amazon-products ul{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.amazon-products li{ margin: 0; padding: 0; }
.amazon-products li a{
	display: inline-block;
	color: var(--text);
	font-weight: 600;
	font-size: 14px;
	border: 1px solid var(--border);
	border-radius: 9px;
	padding: 8px 14px;
	transition: border-color .15s ease, color .15s ease;
}
.amazon-products li a::before{ content: "\1F6D2  "; }
.amazon-products li a:hover{ border-color: var(--accent); color: var(--accent-2); }
.affiliate-disclosure{
	margin: 12px 0 0 !important;
	font-size: 12px;
	color: var(--muted);
	font-style: italic;
}

.article-image{
	margin: 22px 0;
}
.article-image img{
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid var(--border);
	display: block;
}
.article-image figcaption{
	margin-top: 7px;
	font-size: 12.5px;
	color: var(--muted);
	text-align: right;
}
.article-image figcaption a{ color: var(--muted); text-decoration: underline; }
.article-image figcaption a:hover{ color: var(--text); }

/* auto featured images from in-video frames (V5) — shown at their native
   480x360 so they stay sharp (no upscaling), centered in the content column */
.featimg{ margin: 22px auto; max-width: 480px; }
.featimg-frame{
	position: relative;
	border-radius: 14px;
	overflow: hidden; /* clips any overlay text that would run past the image */
	border: 1px solid var(--border);
}
.featimg img{
	width: 100%;
	aspect-ratio: 16 / 9; /* crops YouTube's black letterbox bars; fills edge-to-edge */
	object-fit: cover;
	display: block;
}
.featimg-plain img{
	border-radius: 14px;
	border: 1px solid var(--border);
}
.featimg figcaption{
	margin-top: 7px;
	font-size: 12.5px;
	color: var(--muted);
	text-align: right;
}
.featimg figcaption a{ color: var(--muted); text-decoration: underline; }
.featimg figcaption a:hover{ color: var(--text); }

.key-terms{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px 20px;
	margin-top: 22px;
	scroll-margin-top: 80px;
}
.key-terms h2{
	margin: 0 0 12px !important;
	font-size: 18px !important;
}
.key-terms dl{ margin: 0; }
.key-terms dl > div{
	padding: 9px 0;
	border-top: 1px solid var(--border);
}
.key-terms dl > div:first-child{ border-top: none; padding-top: 0; }
.key-terms dt{
	font-weight: 700;
	color: var(--text);
	font-size: 14.5px;
	margin-bottom: 2px;
}
.key-terms dd{
	margin: 0;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.55;
}
.term-sources{
	margin: 14px 0 0 !important;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 12.5px;
	color: var(--muted);
	line-height: 1.7;
}
.term-sources a{ color: var(--accent-2); text-decoration: none; }
.term-sources a:hover{ text-decoration: underline; }
.term-source-note{ color: var(--muted); }
.key-terms dt a{ color: var(--accent-2); }
.key-terms dt a:hover{ text-decoration: underline; }
.term-deeper{
	margin: 12px 0 0 !important;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--muted);
	line-height: 1.7;
}
.term-deeper a{ color: var(--accent-2); font-weight: 600; }
.term-deeper a:hover{ text-decoration: underline; }

.author-take{
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px 20px;
	margin-top: 22px;
}
.author-take h2{
	margin: 0 0 10px;
	font-size: 20px;
}
.author-take p{ color: var(--text); margin: 0 0 10px; }
.take-rating{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0 !important;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}
.take-rating .thumbs span{ font-size: 24px; margin-right: 4px; }
.take-rating .rating-label{
	font-size: 14px;
	font-weight: 700;
	color: var(--accent);
}

.author-card{
	display: flex;
	gap: 14px;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 18px;
	margin-top: 18px;
}
.author-card img{
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.author-card-body strong{ font-size: 15px; color: var(--text); }
.author-card-body strong a{ color: var(--accent); }
.author-card-body strong a:hover{ text-decoration: underline; }
.author-card-body p{
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.5;
}
.author-links{
	display: flex;
	gap: 10px;
	margin-top: 8px;
	flex-wrap: wrap;
}
.author-links a{
	display: inline-block;
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 13px;
	font-weight: 600;
	transition: color .15s ease, border-color .15s ease;
}
.author-links a:hover{ color: var(--text); border-color: var(--accent); }

.citation{
	margin-top: 16px;
	padding: 12px 16px;
	border: 1px dashed var(--border);
	border-radius: 12px;
}
.citation p{
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
}
.citation a{ color: var(--accent); font-weight: 600; }
.citation a:hover{ text-decoration: underline; }

.trust-box{
	margin-top: 26px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
}
.trust-box h2{
	margin: 0 0 8px;
	font-size: 16px;
}
.trust-box p{
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.65;
}
.trust-box p strong{ color: var(--text); }
.trust-contact{ margin-top: 10px !important; }
.trust-contact a{
	display: inline-block;
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--muted);
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	transition: color .15s ease, border-color .15s ease;
}
.trust-contact a:hover{ color: var(--text); border-color: var(--accent); }

.author-page-photo{
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 6px;
}
.author-archive{ margin-top: 40px; }
.author-hero{ display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--surface); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin: 8px 0 22px; }
.author-hero-photo{ width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-hero-body{ flex: 1; min-width: 220px; }
.author-hero-body h1{ margin: 0 0 4px; font-size: 28px; }
.author-hero-meta{ margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }
.author-hero-bio{ margin: 0 0 12px; color: var(--text); }
.author-hero-links{ display: flex; gap: 8px; flex-wrap: wrap; }
.author-hero-links a{ display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.author-hero-links a:hover{ border-color: var(--accent-2); }
.author-areas h2, .author-standards h2{ font-size: 20px; margin: 28px 0 12px; }
.author-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.author-chips a{ display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.author-chips a:hover{ border-color: var(--accent-2); }
.author-chips a span{ color: var(--muted); font-weight: 500; font-size: 12px; }
.author-standards ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.author-standards li{ background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--muted); }
.author-standards li b{ display: block; margin-bottom: 2px; color: var(--text); }

/* "Best of" round-up listicle (best.php) + the topic-page link to it */
.best-link{ margin: 12px 0 0; }
/* Best-of hub tiles — visually distinct from plain topic tiles */
.best-tile{ border-color: color-mix(in srgb, var(--accent-2) 40%, var(--border)); }
.best-ribbon{ position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .3px; padding: 3px 9px; border-radius: 7px; }
.best-tile .topic-tile-body{ display: flex; flex-direction: column; }
.best-tile .best-meta{ color: var(--muted); font-size: 12.5px; }
.best-tile .best-cta{ margin-top: 8px; color: var(--accent-2); font-weight: 700; font-size: 13px; }
.best-link a{ color: var(--accent-2); font-weight: 600; }
.best-link a:hover{ text-decoration: underline; }
.pop-section{ margin: 30px 0; }
.pop-section > h2{ margin: 0 0 14px; font-size: 20px; }
.vs-link{ margin-top: 10px; font-size: 14px; }
.vs-mark{ color: var(--muted); font-weight: 600; font-size: .8em; padding: 0 4px; }
.vs-cols{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 24px 0; }
.vs-col{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.vs-col > h2{ margin: 0 0 4px; font-size: 19px; }
.vs-col-meta{ margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.vs-list{ list-style: none; padding: 0; margin: 0; }
.vs-item{ display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--border); }
.vs-item:first-child{ border-top: 0; }
.vs-thumb img{ width: 96px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.vs-item-body a{ font-weight: 600; line-height: 1.35; display: block; }
.vs-item-meta{ color: var(--muted); font-size: 12px; }
.vs-faq{ margin: 28px 0; }
.vs-faq h2{ font-size: 18px; margin: 18px 0 6px; }
.vs-faq p{ margin: 0; color: var(--text); }
@media (max-width: 640px){ .vs-cols{ grid-template-columns: 1fr; } }
.roundup{ list-style: none; counter-reset: none; padding: 0; margin: 24px 0; }
.roundup-item{
	display: grid; grid-template-columns: 44px 220px 1fr; gap: 16px; align-items: start;
	padding: 16px 0; border-top: 1px solid var(--border);
}
.roundup-item:first-child{ border-top: 0; }
.roundup-rank{
	font-size: 26px; font-weight: 800; line-height: 1;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	text-align: center; padding-top: 4px;
}
.roundup-thumb{ display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.roundup-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.roundup-body h2{ margin: 0 0 4px; font-size: 18px; }
.roundup-body h2 a{ color: var(--text); }
.roundup-body h2 a:hover{ color: var(--accent); }
.roundup-meta{ margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.roundup-blurb{ margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.roundup-link{ color: var(--accent); font-weight: 600; font-size: 14px; }
.roundup-link:hover{ text-decoration: underline; }
@media (max-width: 620px){
	.roundup-item{ grid-template-columns: 34px 1fr; }
	.roundup-thumb{ grid-column: 1 / -1; max-width: 340px; }
}

/* Automatic series navigation (previous/next within a topic) */
.series-nav{ margin: 24px 0; }
.series-head{ color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.series-head a{ color: var(--accent-2); font-weight: 600; }
.series-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.series-item{
	display: flex; flex-direction: column; gap: 3px;
	padding: 12px 14px;
	background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
	min-height: 1px;
}
a.series-item:hover{ border-color: var(--accent); }
.series-item.next{ text-align: right; }
.series-item.disabled{ background: none; border: 0; }
.series-dir{ font-size: 12.5px; color: var(--accent); font-weight: 600; }
.series-t{
	color: var(--text); font-weight: 600; font-size: 14.5px; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 520px){ .series-row{ grid-template-columns: 1fr; } .series-item.next{ text-align: left; } }

/* A–Z glossary index (explainer.php) */
.az-nav{ display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 26px; }
.az-nav a, .az-nav span{
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 34px; height: 34px; padding: 0 7px;
	border: 1px solid var(--border); border-radius: 8px;
	font-weight: 600; font-size: 14px;
}
.az-nav a{ color: var(--accent); }
.az-nav a:hover{ background: var(--surface); border-color: var(--accent); }
.az-nav span{ color: var(--muted); opacity: .4; }
.az-group{ margin: 0 0 26px; scroll-margin-top: 90px; }
.az-group h2{
	margin: 0 0 10px; font-size: 20px; color: var(--accent-2);
	border-bottom: 1px solid var(--border); padding-bottom: 6px;
}
.az-list{
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 20px;
}
.az-list li{ margin: 0; }
.az-list a{ color: var(--text); display: block; padding: 5px 0; }
.az-list a:hover{ color: var(--accent); }

/* "What this video answers" — question summary above the article */
.answers-box{
	margin: 26px 0 22px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.answers-box h2{ margin: 0 0 10px; font-size: 17px; }
.answers-box ul{ margin: 0; padding-left: 20px; }
.answers-box li{ margin: 0 0 6px; color: var(--text); line-height: 1.5; }

/* "Quick answer" — the main question + a concise answer, high on the page, so
   AI assistants and featured snippets can lift it. */
.quick-answer{
	margin: 18px 0 22px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
}
.quick-answer .qa-q{ margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.quick-answer .qa-a{ margin: 0; color: var(--text); line-height: 1.6; font-size: 16px; }

/* Optional per-video promo / CTA box (above Key Terms) */
.promo-box{
	margin: 22px 0;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent-2);
	border-radius: 10px;
}
.promo-box p{ margin: 0; line-height: 1.6; }
.promo-box a{ color: var(--accent); font-weight: 600; }
.promo-box a:hover{ text-decoration: underline; }

/* On-page video transcript (collapsible, clickable timestamps) */
.transcript{
	margin: 22px 0;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.transcript > summary{ cursor: pointer; font-weight: 600; font-size: 16px; }
.transcript[open] > summary{ margin-bottom: 4px; }
.ts-badge{
	display: inline-block; margin-left: 8px; vertical-align: middle;
	font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
	color: var(--accent-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 7px;
}
.ts-intro{ margin: 2px 0 4px; color: var(--muted); font-size: 13px; }
.transcript-body{
	max-height: 460px;
	overflow-y: auto;
	margin-top: 12px;
	padding: 0 10px 0 0;
}
.ts-line{ margin: 0 0 13px; line-height: 1.65; font-size: 14.5px; color: var(--text); }
.ts-jump{
	background: none;
	border: 0;
	color: var(--accent-2);
	font-weight: 600;
	cursor: pointer;
	padding: 0 6px 0 0;
	font-variant-numeric: tabular-nums;
}
.ts-jump:hover{ text-decoration: underline; }

/* Footer social icons */
.social-links{ display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 4px 0 14px; }
.social-links a{ color: var(--muted); display: inline-flex; transition: color .15s, transform .15s; }
.social-links a:hover{ color: var(--accent); transform: translateY(-2px); }
.social-links svg{ width: 20px; height: 20px; fill: currentColor; display: block; }

/* Topic-cluster link: long-tail internal link back to the article's topic hub */
.topic-cluster{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 4px;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: 10px;
	font-size: 15px;
}
.topic-cluster-ico{ font-size: 16px; opacity: .8; }
.topic-cluster a{ color: var(--accent); font-weight: 600; }
.topic-cluster a:hover{ text-decoration: underline; }

/* Newsletter / email capture band (shown above the footer) */
.newsletter{
	margin: 40px 0 0;
	padding: 34px 20px;
	background:
		radial-gradient(700px 300px at 50% -40%, var(--glow), transparent 60%),
		var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	text-align: center;
}
.newsletter-inner{ max-width: 620px; margin: 0 auto; }
.newsletter h2{
	margin: 0 0 8px;
	font-size: clamp(20px, 3vw, 26px);
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.newsletter p{ margin: 0 0 18px; color: var(--muted); }
.newsletter-form{
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto;
}
.newsletter-form input[type="email"]{
	flex: 1;
	min-width: 0;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px 14px;
	color: var(--text);
	font-size: 15px;
}
.newsletter-form input[type="email"]::placeholder{ color: var(--muted); }
.newsletter-form input[type="email"]:focus{ outline: none; border-color: var(--accent); }
.newsletter-form button{
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.newsletter-form button:hover{ filter: brightness(1.08); }
.newsletter-consent{ margin: 12px 0 0 !important; font-size: 12.5px; }
.newsletter-done{
	margin: 0 !important;
	color: var(--text) !important;
	font-size: 17px;
	font-weight: 600;
}
/* honeypot: hidden from people, tempting to bots */
.nl-hp{
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
@media(max-width: 520px){
	.newsletter-form{ flex-direction: column; }
}

/* ============================================================
   EDITORIAL REFINEMENTS (test copy) — Playfair masthead look
   ============================================================ */
:root{ --ui:-apple-system,'Segoe UI',Roboto,Helvetica,sans-serif; }
/* Hero: flat magazine masthead, no tinted band */
.hero{ background:transparent!important; border:0; border-radius:0; border-bottom:1px solid var(--border); padding:44px 10px 34px; margin:6px 0 36px; }
.hero-eyebrow{ background:transparent; border:0; padding:0; color:var(--accent); margin-bottom:16px; }
.hero h1{ font-size:clamp(38px,6vw,62px); letter-spacing:-.5px; line-height:1.06; margin-bottom:16px; }
.hero .hero-sub{ font-size:19px; color:var(--muted); font-weight:400; }
.hero-divider{ display:none; }
.hero .hero-intro{ margin:8px auto 0; }
.hero-search{ margin:24px auto 0; }
.hero-search input{ border-radius:2px; }
.hero-search button{ border-radius:2px; }
.hero-btn{ border-radius:2px; }
.hero-features{ margin-top:32px; border-top:1px solid var(--border); padding-top:22px; }
.hero-features li{ background:transparent; border:0; border-radius:0; padding:0; align-items:flex-start; }
.hero-features .hf-ic{ background:transparent; width:auto; height:auto; font-size:19px; margin:0; }
/* Section headers: small-caps sans label + strong rule */
.section-title{ font-family:var(--ui); font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--muted); border-bottom:2px solid var(--text); padding-bottom:9px; }
.section-title .see-all{ font-family:var(--ui); letter-spacing:.2px; text-transform:none; font-weight:600; }
/* Cards: flat editorial, serif titles (Playfair) */
.card{ background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
.card:hover{ box-shadow:none!important; transform:none!important; }
.card .thumb{ border-radius:3px; }
.card .card-body{ padding:13px 0 0; }
.card h3{ font-size:20px; line-height:1.28; font-weight:700; }
.card .meta{ font-family:var(--ui); font-size:13px; }
/* Topic tiles: flat editorial */
.topic-tile{ background:transparent; border:0; }
.topic-tile .thumb{ border-radius:3px; }
.topic-tile-body{ padding:12px 0 0; }
.topic-tile-body h3{ font-size:19px; }
/* Video page: refined masthead title + reading measure */
.watch-title{ font-size:clamp(30px,4vw,42px); letter-spacing:-.3px; line-height:1.15; }
.article{ font-size:18px; }
.article p{ line-height:1.7; }
.quick-answer{ background:transparent; border:0; border-left:3px solid var(--accent); border-radius:0; padding-left:22px; }
.quick-answer .qa-q{ font-size:24px; }
/* Header: thin editorial rule */
.site-header{ border-bottom:1px solid var(--border); }

/* ===== Editorial featured-story hero + compact header (test copy) ===== */
/* Header: compact editorial search instead of the big pill */
.site-header .search{ flex:0 0 auto; min-width:0; max-width:230px; margin-left:auto; }
.site-header .search input{ border:1px solid var(--border); border-right:none; border-radius:2px 0 0 2px; font-family:var(--ui); font-size:14px; padding:8px 12px; }
.site-header .search button{ background:transparent; color:var(--muted); border:1px solid var(--border); border-left:none; border-radius:0 2px 2px 0; font-family:var(--ui); font-weight:600; font-size:14px; padding:8px 13px; }
.site-header .search button:hover{ color:var(--accent); filter:none; }
.top-menu a{ border-radius:0; font-family:var(--ui); }
.top-menu a:hover{ background:transparent; color:var(--accent); }
.brand{ font-family:var(--ui); }

/* Featured-story hero (two column, magazine) */
.hero-editorial{ display:grid; grid-template-columns:1.4fr 1fr; gap:40px; align-items:center; padding:46px 0 34px; margin:4px 0 8px; border-bottom:1px solid var(--border); }
.hero-kicker{ display:block; font-family:var(--ui); font-weight:700; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--accent); margin-bottom:15px; }
.hero-feat-title{ font-size:clamp(30px,4.4vw,48px); line-height:1.13; letter-spacing:-.5px; margin:0 0 16px; }
.hero-feat-title a{ color:var(--text); text-decoration:none; }
.hero-feat-title a:hover{ color:var(--accent); }
.hero-feat-sub{ color:var(--muted); font-size:18px; line-height:1.6; max-width:540px; margin:0 0 22px; }
.hero-feat-btn{ display:inline-block; font-family:var(--ui); font-weight:600; font-size:14px; background:var(--accent); color:#fff; padding:12px 22px; border-radius:2px; text-decoration:none; }
.hero-feat-btn:hover{ filter:brightness(1.08); }
.hero-feat-search{ display:flex; gap:0; margin-top:26px; max-width:420px; }
.hero-feat-search input{ flex:1; min-width:0; font-family:var(--ui); font-size:15px; border:1px solid var(--border); border-right:none; border-radius:2px 0 0 2px; padding:11px 14px; background:var(--surface); color:var(--text); }
.hero-feat-search input:focus{ outline:none; border-color:var(--accent); }
.hero-feat-search button{ font-family:var(--ui); font-weight:600; font-size:14px; border:1px solid var(--text); background:var(--text); color:var(--bg); border-radius:0 2px 2px 0; padding:11px 18px; cursor:pointer; }
.hero-feat-search button:hover{ filter:brightness(1.2); }
.hero-feat-media{ position:relative; display:block; aspect-ratio:16/9; border-radius:3px; overflow:hidden; background:var(--border); }
.hero-feat-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-feat-play{ position:absolute; inset:0; margin:auto; width:62px; height:62px; border-radius:50%; background:rgba(255,255,255,.94); display:grid; place-items:center; box-shadow:0 6px 22px rgba(0,0,0,.28); }
.hero-feat-play:after{ content:""; border-left:19px solid var(--accent); border-top:12px solid transparent; border-bottom:12px solid transparent; margin-left:5px; }
.hero-feat-media:hover .hero-feat-play{ transform:scale(1.06); }
@media(max-width:760px){
  .hero-editorial{ grid-template-columns:1fr; gap:20px; padding:26px 0 24px; }
  .hero-feat-media{ order:-1; }
  .site-header .search{ order:4; flex-basis:100%; max-width:none; margin-left:0; }
}

/* ===== Editorial pass — magazine measure + tags (test copy) ===== */
/* Narrower editorial column (was 1280) */
.header-inner{ max-width:1120px; }
.page{ max-width:1120px; }
.site-footer .footer-inner{ max-width:1120px; }
/* Card tags: squared white/accent labels like a magazine category kicker */
.card-badge, .card-badge.hot, .card-badge.new{
  top:10px; left:10px;
  background:rgba(255,255,255,.95); color:var(--accent);
  border:1px solid rgba(0,0,0,.06); border-radius:2px;
  font-family:var(--ui); font-weight:700; font-size:10.5px; letter-spacing:1px; text-transform:uppercase;
  padding:4px 8px; box-shadow:0 1px 3px rgba(0,0,0,.14);
}
/* Byline / meta stay sans against the serif reading body (editorial contrast) */
.watch-byline, .video-byline, .byline, .meta, .card .meta{ font-family:var(--ui); }
/* Roomier rhythm between homepage sections */
.home-module{ margin-top:46px; }
.section-title{ margin-bottom:22px; }
/* Serif reading body: comfortable article measure */
.article{ max-width:720px; }
.quick-answer{ max-width:720px; }

/* Footer is UI chrome — match the header/nav sans, not the serif reading body */
.site-footer{ font-family:var(--ui); }

/* ============================================================
   Mosaic hero + cinematic featured banner (test copy)
   ============================================================ */
.hero-mosaic{ display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; padding:44px 0 40px; margin-bottom:6px; border-bottom:1px solid var(--border); }
.hero-mosaic .eyebrow{ display:block; font-family:var(--ui); font-weight:700; font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.hm-text h1{ font-size:clamp(32px,4.4vw,50px); line-height:1.08; letter-spacing:-1px; margin:0 0 16px; }
.hm-text p{ font-size:18px; color:var(--muted); max-width:460px; margin:0 0 22px; }
.hm-search{ display:flex; max-width:440px; margin:0 0 16px; }
.hm-search input{ flex:1; min-width:0; font-family:var(--ui); font-size:15px; border:1px solid var(--border); border-right:none; border-radius:2px 0 0 2px; padding:11px 14px; background:var(--surface); color:var(--text); }
.hm-search input:focus{ outline:none; border-color:var(--accent); }
.hm-search button{ font-family:var(--ui); font-weight:600; font-size:14px; border:0; background:var(--accent); color:#fff; border-radius:0 2px 2px 0; padding:11px 20px; cursor:pointer; }
.hm-search button:hover{ filter:brightness(1.08); }
.hm-cta{ display:flex; gap:14px; align-items:center; }
.hm-link{ font-family:var(--ui); font-weight:600; font-size:14px; color:var(--text); text-decoration:none; }
.hm-link:hover{ color:var(--accent); }
.hm-grid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:86px; gap:10px; }
.hm-t{ position:relative; display:block; border-radius:4px; overflow:hidden; background:var(--border); }
.hm-t img{ width:100%; height:100%; object-fit:cover; display:block; }
.hm-t.big{ grid-column:span 2; grid-row:span 2; }
.hm-t.more{ display:grid; place-items:center; background:var(--accent); color:#fff; font-family:var(--ui); font-weight:700; font-size:15px; line-height:1.25; text-align:center; text-decoration:none; }
.hm-t.more:hover{ filter:brightness(1.08); }

/* Cinematic featured banner */
.feat-cinematic{ position:relative; min-height:410px; display:flex; align-items:flex-end; overflow:hidden; border-radius:5px; margin:10px 0 6px; background:#0d2a22; }
.fc-bg{ position:absolute; inset:0; }
.fc-bg img{ width:100%; height:100%; object-fit:cover; display:block; opacity:.55; }
.feat-cinematic:before{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(9,26,21,.95) 0%, rgba(9,26,21,.66) 45%, rgba(9,26,21,.12) 100%); }
.fc-in{ position:relative; padding:44px; width:100%; }
.fc-in .eyebrow{ display:block; font-family:var(--ui); font-weight:700; font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:#7fd3bd; margin-bottom:14px; }
.fc-in h1{ margin:0 0 12px; max-width:660px; font-size:clamp(30px,4.4vw,50px); line-height:1.08; letter-spacing:-1px; }
.fc-in h1 a{ color:#fff; text-decoration:none; }
.fc-in h1 a:hover{ opacity:.9; }
.fc-meta{ display:flex; gap:14px; flex-wrap:wrap; font-family:var(--ui); font-weight:600; font-size:14px; color:#a9c4ba; margin-bottom:22px; }
.hero-feat-btn.light{ background:#fff; color:var(--accent); }
.hero-feat-btn.light:hover{ filter:brightness(.97); }
.fc-play{ position:absolute; top:40px; right:40px; width:66px; height:66px; border-radius:50%; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.4); backdrop-filter:blur(3px); display:grid; place-items:center; }
.fc-play:after{ content:""; border-left:19px solid #fff; border-top:12px solid transparent; border-bottom:12px solid transparent; margin-left:5px; }
.fc-play:hover{ background:rgba(255,255,255,.26); }
@media(max-width:760px){
  .hero-mosaic{ grid-template-columns:1fr; gap:26px; }
  .hm-grid{ order:-1; }
  .feat-cinematic{ min-height:320px; }
  .fc-in{ padding:26px; }
  .fc-play{ top:22px; right:22px; width:54px; height:54px; }
}

/* Blog-style explainer preview cards (homepage Knowledge Base) */
.explainer-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.explainer-card{ display:flex; flex-direction:column; text-decoration:none; color:inherit; background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:22px 22px 20px; transition:border-color .15s ease, transform .15s ease; }
.explainer-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.ec-kicker{ font-family:var(--ui); font-weight:700; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); }
.explainer-card h3{ font-size:21px; line-height:1.22; letter-spacing:-.3px; margin:9px 0 10px; }
.explainer-card p{ color:var(--muted); font-size:15.5px; line-height:1.6; margin:0 0 16px; }
.ec-more{ margin-top:auto; font-family:var(--ui); font-weight:600; font-size:14px; color:var(--accent); }
@media(max-width:820px){ .explainer-cards{ grid-template-columns:1fr; } }

/* ============================================================
   Option B header — masthead row + full-width nav bar (test)
   ============================================================ */
.site-header{ position:sticky; top:0; z-index:50; background:var(--header-bg,#fff); border-bottom:1px solid var(--border); }
/* --- masthead row: brand + search --- */
.masthead{ border-bottom:1px solid var(--border); }
.masthead-inner{ max-width:1120px; margin:0 auto; padding:14px 24px; display:flex; align-items:center; gap:20px; }
.masthead-inner .brand{ font-size:22px; font-weight:800; letter-spacing:-.02em; white-space:nowrap; display:inline-flex; align-items:center; }
.masthead-inner .search{ flex:0 0 auto; display:flex; margin-left:auto; min-width:0; max-width:270px; }
.masthead-inner .search input{ flex:1; min-width:0; background:var(--surface); border:1px solid var(--border); border-right:none; border-radius:2px 0 0 2px; color:var(--text); font-family:var(--ui); font-size:14px; padding:9px 13px; }
.masthead-inner .search input::placeholder{ color:var(--muted); }
.masthead-inner .search input:focus{ outline:none; border-color:var(--accent); }
.masthead-inner .search button{ background:var(--accent); color:#fff; border:0; border-radius:0 2px 2px 0; font-family:var(--ui); font-weight:600; font-size:14px; padding:9px 17px; cursor:pointer; transition:filter .15s ease; }
.masthead-inner .search button:hover{ filter:brightness(1.08); }
/* --- nav bar row --- */
.nav-bar{ display:block; }
.nav-bar-inner{ max-width:1120px; margin:0 auto; padding:0 24px; display:flex; gap:4px; justify-content:center; align-items:center; flex-wrap:wrap; }
.nav-bar-inner > a,
.nav-bar-inner .menu-item > a{ font-family:var(--ui); color:var(--menu-text,var(--text)); font-weight:600; font-size:14px; text-decoration:none; padding:13px 15px; display:inline-block; border-radius:0; transition:color .15s ease; }
.nav-bar-inner > a:hover,
.nav-bar-inner .menu-item > a:hover{ color:var(--accent); background:transparent; }
.nav-bar .menu-item{ position:relative; }
.nav-bar .submenu a{ color:var(--menu-text,var(--text)); font-weight:600; font-size:14px; padding:8px 10px; }
.nav-bar .submenu a:hover{ color:var(--accent); }
/* hamburger hidden on desktop */
.menu-toggle{ display:none; background:transparent; border:1px solid var(--border); color:var(--text); border-radius:3px; padding:6px 12px; font-size:18px; cursor:pointer; }

/* --- mobile (<=900px) --- */
@media(max-width:900px){
  .masthead-inner{ flex-wrap:wrap; padding:12px 16px; gap:12px; }
  .masthead-inner .brand{ order:1; font-size:19px; }
  .menu-toggle{ display:block; order:2; margin-left:auto; }
  .masthead-inner .search{ order:3; flex-basis:100%; max-width:none; margin-left:0; }
  .nav-bar{ display:none; }
  .nav-bar.open{ display:block; }
  .nav-bar-inner{ flex-direction:column; align-items:stretch; padding:4px 16px 10px; }
  .nav-bar-inner > a,
  .nav-bar-inner .menu-item > a{ padding:12px 4px; border-bottom:1px solid var(--border); }
  .nav-bar .menu-item{ position:static; }
  .nav-bar .submenu{ position:static; display:block; border:0; background:transparent; box-shadow:none; padding:0 0 6px 16px; min-width:0; }
}

/* ============================================================
   Homepage professional sections (test copy)
   ============================================================ */
/* popular searches under the hero search */
.hm-popular{ font-family:var(--ui); font-size:13.5px; color:var(--muted); margin:14px 0 2px; }
.hm-popular a{ color:var(--text); font-weight:600; text-decoration:none; border-bottom:1px solid var(--border); margin-left:6px; }
.hm-popular a:hover{ color:var(--accent); border-color:var(--accent); }

/* stats / trust bar */
.stats-bar{ display:flex; flex-wrap:wrap; justify-content:center; background:var(--bg-soft,#f1efe8); border:1px solid var(--border); border-radius:6px; padding:22px 10px; margin:18px 0 4px; }
.stats-bar .stat{ text-align:center; padding:4px 36px; border-left:1px solid var(--border); }
.stats-bar .stat:first-child{ border-left:0; }
.stats-bar .stat b{ display:block; font-family:var(--ui); font-size:30px; font-weight:800; letter-spacing:-1px; color:var(--accent); line-height:1.15; }
.stats-bar .stat span{ font-family:var(--ui); font-size:12px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); }

/* note from the editor */
.editor-note{ display:flex; gap:26px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:28px 30px; }
.en-photo{ width:88px; height:88px; border-radius:50%; flex:none; overflow:hidden; background:linear-gradient(135deg,#2b4b45,var(--accent)); display:grid; place-items:center; color:#fff; font-family:var(--ui); font-size:30px; font-weight:800; }
.en-photo img{ width:100%; height:100%; object-fit:cover; }
.editor-note .eyebrow{ display:block; font-family:var(--ui); font-weight:700; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.en-body h3{ font-size:23px; letter-spacing:-.3px; margin:0 0 8px; }
.en-body p{ font-size:16.5px; line-height:1.6; color:var(--muted); margin:0 0 8px; max-width:660px; }
.en-sig{ font-family:var(--ui); font-weight:700; font-size:14px; }
.en-sig a{ color:var(--accent); text-decoration:none; font-weight:600; margin-left:8px; }

/* featured creators strip */
.creators-strip{ text-align:center; }
.cs-lead{ font-family:var(--ui); font-weight:600; color:var(--muted); font-size:14px; margin-bottom:18px; }
.cs-row{ display:flex; gap:14px 30px; justify-content:center; flex-wrap:wrap; align-items:center; }
.creators-strip .creator{ display:inline-flex; gap:9px; align-items:center; font-family:var(--ui); font-weight:700; font-size:15px; color:var(--text); }
.creators-strip .av{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:12px; font-weight:800; flex:none; }

/* newsletter band (deep green) — also styles the footer newsletter on inner pages */
.newsletter{ background:#123a30; border-radius:8px; padding:44px 24px; text-align:center; margin:46px 0; }
.newsletter-inner{ max-width:600px; margin:0 auto; }
.newsletter h2{ color:#fff; font-family:var(--ui); font-size:clamp(24px,3vw,32px); letter-spacing:-.5px; margin-bottom:10px; }
.newsletter-inner > p{ color:#cfe7df; font-size:17px; margin:0 auto 20px; max-width:520px; }
.newsletter-form{ display:flex; max-width:470px; margin:0 auto; }
.newsletter-form input[type=email]{ flex:1; min-width:0; border:0; border-radius:3px 0 0 3px; padding:14px 16px; font-size:15px; font-family:var(--ui); }
.newsletter-form input[type=email]:focus{ outline:2px solid #7fd3bd; }
.newsletter-form button{ border:0; border-radius:0 3px 3px 0; background:#fff; color:#123a30; font-family:var(--ui); font-weight:700; font-size:15px; padding:0 26px; cursor:pointer; }
.newsletter-form button:hover{ filter:brightness(.96); }
.newsletter-consent, .newsletter-done{ color:#8fb3a8; font-size:12.5px; margin-top:12px; }
.newsletter-done{ color:#cfe7df; font-size:16px; }
.nl-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media(max-width:640px){
  .editor-note{ flex-direction:column; text-align:center; }
  .en-body p{ max-width:none; }
  .stats-bar .stat{ padding:8px 20px; }
  .newsletter-form{ flex-direction:column; gap:10px; }
  .newsletter-form input[type=email]{ border-radius:3px; }
  .newsletter-form button{ border-radius:3px; padding:12px; }
}

/* "In this video:" original-title line under the SEO question headline */
.watch-original{ font-family:var(--ui); font-size:14px; color:var(--muted); margin:-2px 0 10px; }

/* WordPress posts on the homepage — blog-style cards with a thumbnail */
.blog-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card{ display:flex; flex-direction:column; text-decoration:none; color:inherit; background:var(--surface); border:1px solid var(--border); border-radius:6px; overflow:hidden; transition:border-color .15s ease, transform .15s ease; }
.blog-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.bc-thumb{ aspect-ratio:16/9; background:var(--border); overflow:hidden; }
.bc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.bc-body{ padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.blog-card .ec-kicker{ font-family:var(--ui); font-weight:700; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); }
.blog-card h3{ font-size:19px; line-height:1.25; letter-spacing:-.2px; margin:8px 0 9px; }
.blog-card p{ color:var(--muted); font-size:15px; line-height:1.55; margin:0 0 14px; }
.blog-card .ec-more{ margin-top:auto; font-family:var(--ui); font-weight:600; font-size:14px; color:var(--accent); }
@media(max-width:820px){ .blog-cards{ grid-template-columns:1fr; } }
