/**
 * Current Affairs Engine — front-end styles.
 * Self-contained. No external dependencies.
 */

@font-face {
	font-family: "Cae Editorial";
	src: url("../fonts/cae-editorial-bold.ttf") format("truetype");
	font-style: normal;
	font-weight: 700 800;
	font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
	color-scheme: light dark;
	--cae-accent: #163B5C;
	--cae-accent-strong: #0b2943;
	--cae-gold: #c79a32;
	--cae-gold-strong: #755511;
	--cae-accent-soft: #edf3f7;
	--cae-gold-soft: #f7efd9;
	--cae-bg: #f4f6f8;
	--cae-surface: #ffffff;
	--cae-text: #132338;
	--cae-muted: #5c6876;
	--cae-border: #d8e0e7;
	--cae-radius: 14px;
	--cae-shadow: 0 10px 28px rgba(12, 42, 67, 0.08);
	--cae-shadow-hover: 0 16px 36px rgba(12, 42, 67, 0.12);
	--cae-focus: #2563eb;
	--cae-font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	--cae-font-display: "Cae Editorial", Georgia, serif;
	/* Subject colors */
	--cae-subject-polity: #6d28d9;
	--cae-subject-polity-soft: color-mix(in srgb, #6d28d9 12%, transparent);
	--cae-subject-economy: #047857;
	--cae-subject-economy-soft: color-mix(in srgb, #047857 12%, transparent);
	--cae-subject-ir: #b45309;
	--cae-subject-ir-soft: color-mix(in srgb, #b45309 12%, transparent);
	--cae-subject-scitech: #0e7490;
	--cae-subject-scitech-soft: color-mix(in srgb, #0e7490 12%, transparent);
	--cae-subject-environment: #15803d;
	--cae-subject-environment-soft: color-mix(in srgb, #15803d 12%, transparent);
	--cae-subject-national: #be185d;
	--cae-subject-national-soft: color-mix(in srgb, #be185d 12%, transparent);
	--cae-subject-sports: #dc2626;
	--cae-subject-sports-soft: color-mix(in srgb, #dc2626 12%, transparent);
}

/* ---------- Dark mode ---------- */
[data-theme="dark"] {
	--cae-accent: #5b9bd5;
	--cae-accent-strong: #1e3a5f;
	--cae-gold: #e8c068;
	--cae-gold-strong: #c79a32;
	--cae-accent-soft: #1e2a3a;
	--cae-gold-soft: #2a2418;
	--cae-bg: #0f1419;
	--cae-surface: #1a1f2e;
	--cae-text: #e8eaed;
	--cae-muted: #9aa0a6;
	--cae-border: #2d3748;
	--cae-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
	--cae-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.4);
	--cae-focus: #60a5fa;
	color-scheme: dark;
}

/* The Light Desk Rule keeps first paint on the light study surface, so there is
   deliberately no prefers-color-scheme: dark block here. Dark applies only through
   the explicit [data-theme="dark"] attribute the reader sets and remembers. */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--cae-accent) var(--cae-bg); }
html, body { background: var(--cae-bg); color: var(--cae-text); max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--cae-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
a { color: var(--cae-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, select:focus-visible, [role="button"]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--cae-focus) 75%, white);
	outline-offset: 3px;
}
::selection { background: var(--cae-gold-soft); color: var(--cae-text); }
h1, h2, h3 { font-family: var(--cae-font-display); line-height: 1.18; margin: 0 0 0.5em; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
img { max-width: 100%; height: auto; }

.cae-container { width: min(100%, 1240px); margin: 0 auto; padding: 0 28px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.cae-skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	width: auto; height: auto; padding: 10px 14px; margin: 0;
	overflow: visible; clip: auto; white-space: normal;
	background: var(--cae-surface); color: var(--cae-accent);
	border-radius: 8px; box-shadow: var(--cae-shadow);
}

/* ---------- Top bar ---------- */
.cae-topbar {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--cae-border);
	backdrop-filter: saturate(150%) blur(10px);
}
.cae-topbar-inner { display: flex; align-items: center; gap: 34px; min-height: 78px; }
.cae-brand {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--cae-text); font-weight: 700;
	min-width: 0;
}
.cae-brand:hover { text-decoration: none; }
.cae-brand-mark {
	width: 36px; height: 36px; border-radius: 10px;
	background: var(--cae-accent); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 16px; font-weight: 700;
	flex: 0 0 auto;
}
.cae-brand-logo {
	height: 48px; width: auto; max-width: 280px;
	object-fit: contain; border-radius: 0;
	flex: 0 1 auto;
}
.cae-brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.cae-brand-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42vw; }
.cae-brand-tagline { font-size: 11px; color: var(--cae-muted); font-weight: 400; }

.cae-nav { display: flex; gap: 26px; margin-left: auto; align-items: stretch; }
.cae-nav a {
	position: relative; display: inline-flex; align-items: center;
	padding: 26px 0 24px; border-radius: 0;
	font-size: 14px; color: var(--cae-text); font-weight: 650;
}
.cae-nav a::after {
	content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px;
	background: var(--cae-gold); transform: scaleX(0); transform-origin: right;
	transition: transform 180ms ease-out;
}
.cae-nav a:hover, .cae-nav a.is-current { color: var(--cae-accent); text-decoration: none; }
.cae-nav a:hover::after, .cae-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.cae-topbar-actions { display: flex; gap: 8px; align-items: center; }
.cae-lang-select select {
	appearance: none;
	padding: 6px 26px 6px 10px;
	border: 1px solid var(--cae-border);
	border-radius: 8px;
	background: var(--cae-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%235a6370' d='M2 4l4 4 4-4'/></svg>") no-repeat right 8px center;
	background-size: 10px;
	font-size: 13px; color: var(--cae-text); cursor: pointer; min-height: 40px;
}

.cae-nav-burger { display: none; }

.cae-nav-mobile {
	display: none; flex-direction: column;
	padding: 8px 20px 16px; border-top: 1px solid var(--cae-border);
}
.cae-nav-mobile[hidden] { display: none; }
.cae-nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--cae-border); font-weight: 600; color: var(--cae-text); }
.cae-nav-mobile a.is-current { color: var(--cae-accent); }

@media (max-width: 820px) {
	.cae-nav { display: none; }
	.cae-topbar-actions { margin-left: auto; }
	.cae-nav-burger { display: inline-flex; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--cae-border); background: var(--cae-surface); cursor: pointer; flex-direction: column; gap: 3px; align-items: center; justify-content: center; padding: 11px; }
	.cae-nav-burger span { display: block; width: 16px; height: 2px; background: var(--cae-text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
	.cae-nav-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
	.cae-nav-burger.is-open span:nth-child(2) { opacity: 0; }
	.cae-nav-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
	.cae-nav-mobile.is-open { display: flex; }
}

/* ---------- Hero (front page) ---------- */
.cae-hero {
	width: 100vw; margin-left: calc(50% - 50vw);
	background: var(--cae-accent-strong); color: #fff;
	padding: 56px 0 58px; position: relative; overflow: hidden;
	border-bottom: 5px solid var(--cae-gold);
}
.cae-hero::before {
	content: ""; position: absolute; inset: 0 0 0 auto; width: 42%;
	background: linear-gradient(135deg, rgba(255,255,255,0.025), rgba(199,154,50,0.11));
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}
.cae-hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr); gap: clamp(44px, 8vw, 112px); align-items: center; }
.cae-hero-copy { max-width: 760px; }
.cae-hero-title { font-size: clamp(2.7rem, 4.4vw, 4.25rem); margin-bottom: 16px; font-weight: 700; letter-spacing: -0.025em; max-width: 20ch; }
.cae-hero-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.78); max-width: 610px; margin: 0 0 32px; line-height: 1.65; }
.cae-hero-empty { opacity: 0.8; }
.cae-hero-proof { display: grid; align-self: stretch; align-content: center; border-left: 1px solid rgba(255,255,255,0.22); padding-left: clamp(26px, 4vw, 48px); }
.cae-hero-proof p { position: relative; margin: 0; padding: 15px 0 15px 28px; color: rgba(255,255,255,0.83); font-size: 0.93rem; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,0.13); }
.cae-hero-proof p:last-child { border-bottom: 0; }
.cae-hero-proof p::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border: 2px solid var(--cae-gold); border-radius: 50%; }

@media (max-width: 640px) {
	.cae-hero { padding: 34px 0 36px; }
	.cae-hero-layout { grid-template-columns: 1fr; gap: 22px; }
	.cae-hero-title { font-size: clamp(2.25rem, 11vw, 3.1rem); margin-bottom: 12px; }
	.cae-hero-sub { margin-bottom: 22px; line-height: 1.5; }
	.cae-hero-proof { border-left: 0; border-top: 1px solid rgba(255,255,255,0.22); padding: 4px 0 0; grid-template-columns: 1fr; }
	.cae-hero-proof p { padding: 10px 0 10px 24px; font-size: 0.84rem; }
	.cae-hero-proof p::before { top: 16px; width: 7px; height: 7px; }
	.cae-hero-sub { font-size: 0.95rem; }
	.cae-section { padding: 36px 0; }
}

/* ---------- Buttons ---------- */
.cae-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 20px; border-radius: 10px;
	font-weight: 700; font-size: 14px;
	border: 1px solid transparent; cursor: pointer;
	text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}
.cae-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cae-btn-primary {
	background: var(--cae-gold); color: #10243a;
	box-shadow: 0 8px 20px rgba(6, 27, 44, 0.2);
}
.cae-btn-primary:hover { background: #e2c36f; box-shadow: 0 12px 26px rgba(6, 27, 44, 0.24); }
.cae-btn-ghost {
	background: transparent; color: var(--cae-accent); border-color: var(--cae-accent);
}
.cae-btn-ghost:hover { background: var(--cae-accent-soft); }

/* ---------- Sections ---------- */
.cae-section { padding: 68px 0 20px; }
.cae-section-head {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-bottom: 24px; gap: 16px;
}
.cae-section-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.cae-section-more { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 0.24em; text-decoration-color: var(--cae-gold); }

/* ---------- Story cards ---------- */
.cae-story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 20px;
}
.cae-story-card {
	background: var(--cae-surface);
	border: 0;
	border-radius: var(--cae-radius);
	padding: 24px;
	display: flex; flex-direction: column; gap: 14px;
	box-shadow: var(--cae-shadow);
	transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.cae-story-card:hover {
	transform: translateY(-3px); box-shadow: var(--cae-shadow-hover);
}
.cae-story-grid--featured { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cae-story-grid--featured .cae-story-card--lead { grid-column: span 7; grid-row: span 2; padding: clamp(28px, 4vw, 44px); background: var(--cae-accent); color: #fff; }
.cae-story-grid--featured .cae-story-card--lead .cae-story-title { font-size: clamp(1.65rem, 3vw, 2.55rem); max-width: 20ch; }
.cae-story-grid--featured .cae-story-card--lead .cae-story-title a { color: #fff; }
.cae-story-grid--featured .cae-story-card--lead .cae-story-title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cae-gold); }
.cae-story-grid--featured .cae-story-card--lead .cae-story-meta { color: rgba(255,255,255,0.7); }
.cae-story-grid--featured .cae-story-card--lead .cae-subject { background: rgba(255,255,255,0.12); color: #f5d98e; }
.cae-story-grid--featured .cae-story-card--lead .cae-facts { font-size: 1rem; color: rgba(255,255,255,0.86); gap: 9px; max-width: 62ch; }
.cae-story-grid--featured .cae-story-card--lead .cae-facts li::marker { color: var(--cae-gold); }
.cae-story-grid--featured .cae-story-card--brief { grid-column: span 5; min-height: 0; }
.cae-story-grid--featured .cae-story-card--brief:nth-child(n+4) { grid-column: span 4; }
.cae-story-grid--featured .cae-story-card--brief .cae-facts li:nth-child(n+3) { display: none; }
.cae-story-grid--featured .cae-story-card--brief:nth-child(n+4) .cae-facts li:nth-child(n+2) { display: none; }
/* Share buttons (single story / digest pages) */
.cae-share {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin-top: 24px; padding-top: 18px;
	border-top: 1px solid var(--cae-border);
}
.cae-share-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 16px; border-radius: 999px;
	font-size: 13px; font-weight: 600; text-decoration: none;
	transition: transform 0.12s ease, opacity 0.12s ease;
}
.cae-share-btn:hover { transform: translateY(-1px); opacity: 0.92; text-decoration: none; }
.cae-share-wa { background: #25d366; color: #fff; }
.cae-share-tg { background: #229ed9; color: #fff; }

.cae-story-head { display: flex; flex-direction: column; gap: 6px; }
.cae-subject {
	display: inline-block; width: fit-content;
	padding: 0 0 5px; border-radius: 0;
	background: transparent; color: var(--cae-accent);
	font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
	border-bottom: 2px solid currentColor;
}
/* Color-coded subject badges */
.cae-subject--polity { color: var(--cae-subject-polity); }
.cae-subject--economy { color: var(--cae-subject-economy); }
.cae-subject--international-relations { color: var(--cae-subject-ir); }
.cae-subject--science-tech { color: var(--cae-subject-scitech); }
.cae-subject--environment { color: var(--cae-subject-environment); }
.cae-subject--national { color: var(--cae-subject-national); }
.cae-subject--sports { color: var(--cae-subject-sports); }
.cae-story-title { font-size: 1.18rem; margin: 0; font-weight: 730; }
.cae-single .cae-story-title { font-size: clamp(1.45rem, 3vw, 2rem); }
.cae-story-title a { color: var(--cae-text); }
.cae-story-title a:hover { color: var(--cae-accent); text-decoration: none; }
.cae-story-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--cae-muted); }
.cae-reading-time { display: inline-flex; align-items: center; gap: 4px; }
.cae-reading-time::before { content: "\2022"; }

.cae-facts {
	margin: 0; padding-left: 18px;
	display: flex; flex-direction: column; gap: 7px;
	font-size: 14px; line-height: 1.55; color: var(--cae-text);
}
.cae-facts li::marker { color: var(--cae-accent); }

.cae-why {
	background: var(--cae-accent-soft); color: var(--cae-text);
	border-radius: 8px; padding: 10px 14px; font-size: 14px;
}
.cae-why strong { color: var(--cae-accent); margin-right: 6px; }

.cae-sources {
	font-size: 12px; color: var(--cae-muted);
	padding-top: 4px; border-top: 1px dashed var(--cae-border);
}
.cae-sources strong { color: var(--cae-text); margin-right: 4px; }

/* ---------- MCQ quiz ---------- */
.cae-mcqs {
	margin-top: 6px; padding-top: 12px;
	border-top: 1px solid var(--cae-border);
	display: flex; flex-direction: column; gap: 14px;
}
.cae-mcq {
	background: var(--cae-bg); border: 1px solid var(--cae-border);
	border-radius: 8px; padding: 14px;
}
.cae-mcq-numbered { display: flex; gap: 10px; }
.cae-mcq-num {
	flex: 0 0 auto; font-weight: 700; color: var(--cae-accent);
	font-size: 1.1rem; line-height: 1.4;
}
.cae-mcq-numbered > .cae-mcq { flex: 1; }
.cae-mcq-q { margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.cae-mcq-opts {
	margin: 0 0 10px; padding-left: 22px;
	display: flex; flex-direction: column; gap: 4px;
	font-size: 14px;
}
.cae-mcq-opts li { padding: 4px 0; }
.cae-mcq-opts li[data-correct="1"] { color: var(--cae-muted); }
.cae-mcq.is-revealed .cae-mcq-opts li[data-correct="1"] {
	color: var(--cae-accent); font-weight: 600;
}
.cae-mcq.is-revealed .cae-mcq-opts li[data-correct="1"]::marker { color: var(--cae-accent); }

.cae-mcq-reveal {
	background: transparent; border: 1px solid var(--cae-border);
	padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
	color: var(--cae-text); cursor: pointer;
}
.cae-mcq-reveal:hover { border-color: var(--cae-accent); color: var(--cae-accent); }

.cae-mcq-answer {
	margin-top: 10px; padding: 10px 12px;
	background: var(--cae-accent-soft); border-radius: 8px; font-size: 14px;
}
.cae-mcq-answer strong { color: var(--cae-accent); }
.cae-mcq-explain { margin: 8px 0 0; color: var(--cae-muted); font-size: 13px; }

/* ---------- Single story / digest column ---------- */
/* Cards carry a headline and three short facts. At the full 1240px grid width
   they strand most of the panel empty, so the reading surfaces get one column. */
.cae-single { width: min(100%, 880px); margin-inline: auto; }

/* ---------- Digest page ---------- */
.cae-digest-cover {
	background: linear-gradient(135deg, var(--cae-accent), color-mix(in srgb, var(--cae-accent) 70%, #000));
	color: #fff; border-radius: var(--cae-radius);
	padding: 40px 32px; margin-bottom: 32px;
}
@media (max-width: 640px) {
	.cae-digest-cover { padding: 26px 18px; margin-bottom: 22px; }
}
.cae-digest-eyebrow {
	display: inline-block; padding: 4px 10px; border-radius: 999px;
	background: rgba(255,255,255,0.15); font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.cae-digest-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 8px; }
.cae-digest-date { font-size: 15px; opacity: 0.9; margin: 0 0 16px; }
.cae-digest-cover .cae-btn-primary { margin-top: 8px; }

.cae-lang-badge {
	display: inline-block; padding: 2px 8px; border-radius: 6px;
	background: rgba(255,255,255,0.2); font-size: 11px; font-weight: 700;
	letter-spacing: 0.05em; margin-left: 6px;
}

.cae-digest-body .cae-story-card { margin-bottom: 24px; }

/* ---------- Digest list ---------- */
.cae-digest-list {
	list-style: none; margin: 0; padding: 0;
}
.cae-digest-row {
	display: flex; align-items: center; gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--cae-border);
	transition: background 0.15s ease;
}
.cae-digest-row:hover {
	background: var(--cae-accent-soft);
}
.cae-digest-row-date {
	flex: 0 0 130px; font-size: 13px; color: var(--cae-muted); font-weight: 600;
	display: flex; flex-direction: column; gap: 2px;
}
.cae-digest-row-day { font-size: 22px; font-weight: 700; color: var(--cae-text); line-height: 1; }
.cae-digest-row-title { flex: 1; font-weight: 600; color: var(--cae-text); font-size: 15px; }
.cae-digest-row-title:hover { color: var(--cae-accent); text-decoration: none; }

/* ---------- Archive head ---------- */
.cae-archive-head { padding: 64px 0 28px; max-width: 760px; border-bottom: 1px solid var(--cae-border); margin-bottom: 4px; }
.cae-archive-head h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); margin-bottom: 10px; font-weight: 780; }
.cae-archive-head p { margin: 0; color: var(--cae-muted); font-size: 15px; }

.cae-story-index { display: block; }
.cae-story-index .cae-story-card {
	display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
	gap: clamp(28px, 6vw, 84px); padding: 30px 0;
	border-radius: 0; border-bottom: 1px solid var(--cae-border);
	background: transparent; box-shadow: none;
}
.cae-story-index .cae-story-card:hover { transform: none; box-shadow: none; }
.cae-story-index .cae-story-card:hover .cae-story-title a { color: var(--cae-accent); text-decoration: underline; text-decoration-color: var(--cae-gold); }
.cae-story-index .cae-story-title { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.cae-story-index .cae-facts { display: grid; align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; padding-left: 20px; }
.cae-story-index .cae-facts li:nth-child(n+3) { display: none; }

/* ---------- Page ---------- */
.cae-page { padding: 40px 0; }
.cae-page-head h1 { margin-bottom: 16px; }
.cae-page-body { max-width: 72ch; }
.cae-page-body h2 { color: var(--cae-accent-strong); margin-top: 1.8em; }
.cae-page-body h3 { color: var(--cae-accent); margin-top: 1.45em; }

/* ---------- Empty / pagination ---------- */
.cae-empty { color: var(--cae-muted); padding: 40px 0; text-align: center; }
.cae-pagination { display: flex; justify-content: center; padding: 48px 0 8px; }
.cae-pagination ul.page-numbers {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 8px; padding: 0; list-style: none; margin: 0;
}
.cae-pagination ul.page-numbers > li { margin: 0; }
.cae-pagination a.page-numbers,
.cae-pagination span.page-numbers {
	display: inline-flex; min-width: 42px; min-height: 42px; padding: 8px 13px;
	align-items: center; justify-content: center; border: 1px solid var(--cae-border);
	border-radius: 10px; background: var(--cae-surface); color: var(--cae-accent);
	font-size: 14px; font-weight: 700; line-height: 1; box-shadow: none;
}
.cae-pagination a.page-numbers:hover { color: #fff; background: var(--cae-accent); border-color: var(--cae-accent); text-decoration: none; }
.cae-pagination span.page-numbers.current { background: var(--cae-accent); color: #fff; border-color: var(--cae-accent); }
.cae-pagination .prev.page-numbers,
.cae-pagination .next.page-numbers { min-width: auto; padding-inline: 17px; }

/* ---------- Post nav ---------- */
.nav-links { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--cae-border); margin-top: 24px; }
.nav-links a { font-weight: 600; }

/* ---------- Digest body cards (from Publisher::render_card_html) ---------- */
.cae-digest-body .cae-card {
	background: var(--cae-surface);
	border: 1px solid var(--cae-border);
	border-radius: var(--cae-radius);
	padding: 24px;
	margin-bottom: 24px;
}
.cae-digest-body .cae-card h2 {
	font-size: 1.25rem;
	color: var(--cae-text);
	margin: 0 0 12px;
}
.cae-digest-body .cae-card ul {
	margin: 0 0 14px; padding-left: 20px;
}
.cae-digest-body .cae-card ul li {
	margin-bottom: 4px; font-size: 15px;
}
.cae-digest-body .cae-card ul li::marker { color: var(--cae-accent); }
.cae-digest-body .cae-card p.cae-why {
	background: var(--cae-accent-soft);
	padding: 10px 14px; border-radius: 8px;
	font-size: 14px; margin: 12px 0;
}
.cae-digest-body .cae-card p.cae-why strong { color: var(--cae-accent); }
.cae-digest-body .cae-card p.cae-sources {
	font-size: 12px; color: var(--cae-muted);
	padding-top: 10px; border-top: 1px dashed var(--cae-border);
}
.cae-digest-body .cae-card .cae-mcq { margin-top: 14px; }

/* ---------- Test your GS page (shortcode output) ---------- */
.cae-question-bank { max-width: 800px; }
.cae-question-bank h2 { margin-bottom: 16px; }
.cae-qb-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--cae-border); }
.cae-qb-filters a {
	padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500;
	color: var(--cae-text); border: 1px solid var(--cae-border);
}
.cae-qb-filters a:hover { background: var(--cae-accent-soft); color: var(--cae-accent); text-decoration: none; border-color: var(--cae-accent); }
.cae-qb-export { margin-left: auto; background: var(--cae-accent-soft); border-color: var(--cae-accent); color: var(--cae-accent); font-weight: 600; }
/* Only the first export pushes itself to the right edge; the rest sit beside it. */
.cae-qb-export + .cae-qb-export { margin-left: 0; }
.cae-qb-item { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--cae-border); }
.cae-qb-item > p > strong { font-size: 15px; }

/* ---------- Corrections table ---------- */
.cae-corrections { max-width: 960px; }
.cae-corrections-table { width: 100%; border-collapse: collapse; margin-top: 16px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cae-corrections-table th, .cae-corrections-table td { padding: 10px 12px; border-bottom: 1px solid var(--cae-border); text-align: left; font-size: 14px; white-space: nowrap; }
.cae-corrections-table td:nth-child(2) { white-space: normal; min-width: 200px; }
.cae-corrections-table th { font-weight: 600; color: var(--cae-muted); text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; }

/* ---------- PDF Library ---------- */
.cae-pdf-archive h2 { margin-top: 32px; }
.cae-pdf-archive ul { list-style: none; padding: 0; }
.cae-pdf-archive li { padding: 10px 0; border-bottom: 1px solid var(--cae-border); }
.cae-pdf-archive li a { font-weight: 500; }

/* ---------- Practice CA ---------- */
.cae-practice { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.cae-practice-hero {
	background: linear-gradient(135deg, var(--cae-accent), color-mix(in srgb, var(--cae-accent) 70%, #000));
	color: #fff; border-radius: var(--cae-radius);
	padding: 32px; margin: 32px 0 24px;
}
.cae-practice-hero h1 { margin: 0 0 8px; font-size: 2rem; }
.cae-practice-hero p { margin: 0 0 16px; opacity: 0.9; }
.cae-practice-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cae-practice-meta strong { display: block; font-size: 1.5rem; line-height: 1; }
@media (max-width: 640px) {
	.cae-practice-hero { padding: 22px 18px; margin: 22px 0 18px; }
	.cae-practice-hero h1 { font-size: 1.5rem; }
}
.cae-practice-subject-tag {
	background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 600;
}

.cae-practice-filters {
	display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
	margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--cae-border);
}
.cae-practice-filters-label { font-size: 13px; color: var(--cae-muted); margin-right: 4px; }
.cae-practice-filters a {
	padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500;
	color: var(--cae-text); border: 1px solid var(--cae-border); text-decoration: none;
}
.cae-practice-filters a:hover { background: var(--cae-accent-soft); color: var(--cae-accent); border-color: var(--cae-accent); }
.cae-practice-filters a.is-active { background: var(--cae-accent); color: #fff; border-color: var(--cae-accent); }
.cae-practice-reshuffle { margin-left: auto; }

.cae-practice-questions { display: flex; flex-direction: column; gap: 16px; }
.cae-practice-questions .cae-mcq-numbered {
	background: var(--cae-surface); border: 1px solid var(--cae-border);
	border-radius: var(--cae-radius); padding: 20px;
	box-shadow: var(--cae-shadow);
}

.cae-practice-footer {
	display: flex; gap: 12px; flex-wrap: wrap;
	margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--cae-border);
}

/* ---------- Responsive nav label (Current Affairs / CA) ---------- */
.cae-label-short { display: none; }
@media (max-width: 960px) {
	.cae-label-full { display: none; }
	.cae-label-short { display: inline; }
}

/* ---------- Interactive MCQ test mode ---------- */
/* Neutralize the pre-reveal hint so the correct option isn't given away. */
.cae-mcq:not(.is-answered) .cae-mcq-opts li[data-correct="1"] { color: inherit; }

.cae-mcq-opts li { cursor: pointer; border-radius: 6px; padding: 4px 8px; transition: background .15s ease; }
.cae-mcq:not(.is-answered) .cae-mcq-opts li:hover { background: var(--cae-accent-soft); }
.cae-mcq.is-answered .cae-mcq-opts li { cursor: default; }

.cae-mcq-opts li.is-correct {
	background: #e7f7ee; color: #12855f; font-weight: 600;
	box-shadow: inset 0 0 0 1px #12b76a;
}
.cae-mcq-opts li.is-wrong {
	background: #fdecea; color: #b42318; font-weight: 600;
	box-shadow: inset 0 0 0 1px #f04438;
}

/* ---------- Static questions ---------- */
/* The generator writes these into published story cards and the monthly mock.
   They carry the classes above but the pieces below had no rule at all, so they
   rendered as bare browser markup in the middle of a finished page. */
.cae-mcq-question { margin: 0 0 8px; font-weight: 600; font-size: 15px; color: var(--cae-text); }
.cae-mcq-body { flex: 1; min-width: 0; }
.cae-mcq > ol[type="A"] {
	margin: 0 0 10px; padding-left: 22px;
	display: flex; flex-direction: column; gap: 4px; font-size: 14px;
}
.cae-mcq > details > summary { cursor: pointer; font-weight: 600; color: var(--cae-accent); }
.cae-required { color: var(--cae-gold-strong); }
.cae-mock-question { padding: 18px 0; border-bottom: 1px solid var(--cae-border); }
/* h2 covers a mock built before the heading level was corrected; the next
   monthly build rewrites its content as h3. */
.cae-mock-question > h2, .cae-mock-question > h3 {
	width: 34px; height: 34px; margin: 0 0 10px; display: grid; place-items: center;
	border-radius: 50%; background: var(--cae-accent-soft); color: var(--cae-accent);
	font-size: 14px; font-weight: 800;
}
/* ---------- Merged Archive page ---------- */
.cae-archive-page { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.cae-archive-page h2 { margin: 28px 0 12px; font-size: 1.2rem; }
.cae-archive-search {
	margin: 24px 0; padding: 20px;
	background: var(--cae-surface); border: 1px solid var(--cae-border);
	border-radius: var(--cae-radius);
}
.cae-archive-search-fields {
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.cae-archive-search-fields input[type="search"] {
	flex: 1 1 200px; min-width: 0;
	padding: 10px 14px; border: 1px solid var(--cae-border); border-radius: 8px;
	font-size: 14px; background: var(--cae-bg); color: var(--cae-text);
}
.cae-archive-search-fields input[type="date"] {
	flex: 0 1 140px;
	padding: 10px 12px; border: 1px solid var(--cae-border); border-radius: 8px;
	font-size: 14px; background: var(--cae-bg); color: var(--cae-text);
}
.cae-archive-search-fields button {
	flex: 0 0 auto;
}
.cae-archive-clear {
	font-size: 13px; color: var(--cae-muted); text-decoration: underline;
}
.cae-archive-clear:hover { color: var(--cae-accent); }
@media (max-width: 640px) {
	.cae-archive-search-fields { flex-direction: column; align-items: stretch; }
	.cae-archive-search-fields input[type="search"],
	.cae-archive-search-fields input[type="date"] { flex: 1 1 auto; width: 100%; }
}
.cae-archive-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cae-border); }
.cae-archive-list li {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 4px; border-bottom: 1px solid var(--cae-border);
}
.cae-archive-date { flex: 0 0 92px; font-size: 13px; color: var(--cae-muted); font-weight: 600; }
.cae-archive-title { flex: 1; font-weight: 600; color: var(--cae-text); }
.cae-archive-title:hover { color: var(--cae-accent); text-decoration: none; }
.cae-archive-actions { display: inline-flex; gap: 8px; }
.cae-archive-read, .cae-archive-pdf {
	padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
	text-decoration: none; border: 1px solid var(--cae-border); color: var(--cae-text);
}
.cae-archive-read:hover { border-color: var(--cae-accent); color: var(--cae-accent); }
.cae-archive-pdf { background: var(--cae-accent); border-color: var(--cae-accent); color: #fff; }
.cae-archive-pdf:hover { background: color-mix(in srgb, var(--cae-accent) 85%, #000); }
@media (max-width: 640px) {
	.cae-archive-list li { flex-wrap: wrap; }
	.cae-archive-title { flex-basis: 100%; order: -1; }
}

/* ---------- Contact page ---------- */
.cae-contact { max-width: 820px; }
.cae-contact-intro { font-size: 17px; color: var(--cae-muted); margin-bottom: 28px; line-height: 1.6; }
.cae-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-bottom: 32px; }
.cae-contact-block {
	background: var(--cae-surface); border: 1px solid var(--cae-border);
	border-radius: var(--cae-radius);
	padding: 28px 24px;
	transition: background 0.18s ease, border-color 0.18s ease;
	position: relative; overflow: hidden;
}
.cae-contact-block:hover {
	background: color-mix(in srgb, var(--cae-gold) 3%, white);
	border-color: var(--cae-gold);
}
.cae-contact-block-icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--cae-gold-soft); color: var(--cae-gold);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 20px; margin-bottom: 14px;
}
.cae-contact-block h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cae-accent); font-weight: 700; }
.cae-contact-block p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--cae-text); }
.cae-contact-phones { margin: 0; padding-left: 0; list-style: none; }
.cae-contact-phones li { font-size: 16px; font-weight: 500; padding: 3px 0; }
.cae-contact-phones a { color: var(--cae-accent); font-weight: 600; }
.cae-contact-phones a:hover { color: var(--cae-gold); }
.cae-contact-map {
	margin-top: 12px; border-radius: 8px; overflow: hidden; border: 1px solid var(--cae-border);
}
.cae-contact-map iframe { width: 100%; height: 220px; border: 0; display: block; }
.cae-contact-hours { margin-top: 24px; padding: 20px 24px; background: var(--cae-accent-soft); border-radius: var(--cae-radius); }
.cae-contact-hours h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cae-accent); font-weight: 700; }
.cae-contact-hours p { margin: 0; font-size: 15px; line-height: 1.7; }

/* ---------- Forms ---------- */
/* CAE_Reader and CAE_Notifier generate this markup, so the theme owns every
   pixel of it: an unstyled form reads as a broken page to a visitor. */
.cae-contact-form-wrap { margin-top: 32px; }
.cae-contact-form { display: grid; gap: 16px; margin-top: 10px; }
.cae-contact-field { margin: 0; display: grid; gap: 6px; }
.cae-contact-field label { font-size: 13px; font-weight: 700; color: var(--cae-text); }
.cae-contact-field input, .cae-contact-field textarea {
	width: 100%; font: inherit; color: var(--cae-text); background: var(--cae-surface);
	border: 1px solid var(--cae-border); border-radius: 8px; padding: 11px 14px;
}
.cae-contact-field textarea { min-height: 150px; line-height: 1.6; resize: vertical; }
.cae-contact-field input:focus, .cae-contact-field textarea:focus { border-color: var(--cae-focus); }
.cae-contact-field-submit { display: block; }
.cae-contact-form-note { margin: 14px 0 0; font-size: 13px; color: var(--cae-muted); }
/* The reply to a submission. It is announced to screen readers as a status, so
   it must also read as one: a field of its own, not loose grey text. */
.cae-contact-notice {
	margin: 0 0 20px; padding: 14px 18px; border-radius: var(--cae-radius);
	background: var(--cae-accent-soft); color: var(--cae-text);
	font-weight: 600; border-left: 4px solid var(--cae-accent);
}
.cae-subscribe-form, .cae-unsubscribe-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.cae-subscribe-form input[type="email"], .cae-unsubscribe-form input[type="email"] {
	flex: 1 1 260px; font: inherit; color: var(--cae-text); background: var(--cae-surface);
	border: 1px solid var(--cae-border); border-radius: 8px; padding: 12px 14px;
}
.cae-subscribe-form input[type="email"]:focus, .cae-unsubscribe-form input[type="email"]:focus { border-color: var(--cae-focus); }
.cae-subscribed, .cae-subscribe-pending, .cae-unsubscribed {
	padding: 14px 18px; border-radius: var(--cae-radius);
	background: var(--cae-gold-soft); color: var(--cae-gold-strong); font-weight: 600;
}

/* ---------- Ad slots ---------- */
/* The unit itself is sized by AdSense; the theme only keeps it off the content. */
.cae-ad-slot { margin: 24px 0; min-height: 1px; }
.cae-ad-slot:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.cae-footer {
	margin-top: 80px; padding: 58px 0 28px;
	background: #eaf0f4; color: var(--cae-text);
	border-top: 5px solid var(--cae-accent);
}
.cae-footer a { color: var(--cae-accent); }
.cae-footer a:hover { color: var(--cae-gold-strong); }
.cae-footer-inner {
	display: grid; gap: 64px;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
	align-items: start;
}
.cae-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cae-footer-brand-link { display: inline-flex; border-radius: 8px; }
.cae-footer-brand-logo { display: block; width: min(270px, 100%); height: auto; object-fit: contain; filter: none; }
.cae-footer-tagline { max-width: 58ch; margin: 0; font-size: 14px; color: var(--cae-muted); line-height: 1.7; }
.cae-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 36px; }
.cae-footer-nav-group h4 { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cae-gold-strong); font-weight: 800; }
.cae-footer-links { display: flex; flex-direction: column; gap: 9px; }
/* No colour here: the footer link inherits the theme accent, which is the
   value that keeps working when the footer surface flips to dark. */
.cae-footer-links a { width: fit-content; font-size: 14px; transition: color 0.15s ease; }
.cae-footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--cae-border); color: var(--cae-muted); }
.cae-footer-meta small { font-size: 12px; }

@media (max-width: 720px) {
	.cae-footer-inner { grid-template-columns: 1fr; }
	.cae-footer-nav { gap: 28px; }
	.cae-footer { margin-top: 56px; padding: 42px 0 22px; }
	.cae-footer-brand-logo { width: min(220px, 78vw); }
}

@media (max-width: 920px) {
	.cae-story-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cae-story-grid--featured .cae-story-card--lead { grid-column: 1 / -1; grid-row: auto; }
	.cae-story-grid--featured .cae-story-card--brief,
	.cae-story-grid--featured .cae-story-card--brief:nth-child(n+4) { grid-column: span 1; }
	.cae-story-index .cae-story-card { grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr); gap: 30px; }
	.cae-story-index .cae-facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.cae-container { padding-inline: 18px; }
	.cae-story-grid--featured { grid-template-columns: 1fr; }
	.cae-story-grid--featured .cae-story-card--lead,
	.cae-story-grid--featured .cae-story-card--brief,
	.cae-story-grid--featured .cae-story-card--brief:nth-child(n+4) { grid-column: 1; }
	.cae-story-index .cae-story-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
	.cae-story-index .cae-facts { grid-template-columns: 1fr; }
	.cae-pagination { padding-top: 36px; }
	.cae-pagination a.page-numbers,
	.cae-pagination span.page-numbers { min-width: 40px; min-height: 40px; padding: 7px 11px; }
}

/* ---------- Extra-small screens ---------- */
@media (max-width: 480px) {
	.cae-container { padding: 0 14px; }
	.cae-topbar-inner { gap: 10px; min-height: 56px; }
	.cae-brand { gap: 8px; }
	.cae-brand-logo { height: 32px; max-width: 130px; }
	.cae-brand-name { font-size: 13px; }
	.cae-topbar-actions { gap: 6px; }
	.cae-lang-select select { padding: 4px 22px 4px 8px; font-size: 12px; }
	.cae-story-grid { gap: 14px; }
	.cae-story-card { padding: 18px; }
	.cae-btn { padding: 10px 16px; font-size: 13px; }
	.cae-story-grid, .cae-section-head { margin: 0; }
	.cae-section-head { flex-wrap: wrap; }
	.cae-mcq-numbered { flex-direction: column; gap: 4px; }
	.cae-digest-row { flex-wrap: wrap; }
	.cae-archive-head h1 { font-size: 1.5rem; }
	.cae-footer-inner { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ---------- Dark mode overrides ---------- */
[data-theme="dark"] .cae-topbar,
:root:not([data-theme="light"]) .cae-topbar {
	background: rgba(26, 31, 46, 0.96);
}

[data-theme="dark"] .cae-footer,
:root:not([data-theme="light"]) .cae-footer {
	background: #141922;
}

[data-theme="dark"] .cae-mcq-opts li.is-correct,
:root:not([data-theme="light"]) .cae-mcq-opts li.is-correct {
	background: #0d2818; color: #4ade80;
	box-shadow: inset 0 0 0 1px #22c55e;
}

[data-theme="dark"] .cae-mcq-opts li.is-wrong,
:root:not([data-theme="light"]) .cae-mcq-opts li.is-wrong {
	background: #2d1215; color: #fca5a5;
	box-shadow: inset 0 0 0 1px #ef4444;
}

[data-theme="dark"] .cae-hero,
:root:not([data-theme="light"]) .cae-hero {
	background: var(--cae-accent-strong);
}

/* The cover keeps white copy, so it must stay on the deep navy in both modes. */
[data-theme="dark"] .cae-digest-cover {
	background: var(--cae-accent-strong);
}

[data-theme="dark"] .cae-story-card,
[data-theme="dark"] .cae-contact-block,
[data-theme="dark"] .cae-practice-questions .cae-mcq-numbered,
:root:not([data-theme="light"]) .cae-story-card,
:root:not([data-theme="light"]) .cae-contact-block,
:root:not([data-theme="light"]) .cae-practice-questions .cae-mcq-numbered {
	background: var(--cae-surface);
}

/* ---------- Dark mode toggle button ---------- */
.cae-theme-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 10px;
	border: 1px solid var(--cae-border); background: var(--cae-surface);
	cursor: pointer; color: var(--cae-text); font-size: 18px;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.cae-theme-toggle:hover {
	background: var(--cae-accent-soft); border-color: var(--cae-accent);
}
.cae-theme-toggle .cae-icon-sun { display: none; }
.cae-theme-toggle .cae-icon-moon { display: inline; }
[data-theme="dark"] .cae-theme-toggle .cae-icon-sun { display: inline; }
[data-theme="dark"] .cae-theme-toggle .cae-icon-moon { display: none; }

/* ---------- Verification badge ---------- */
.cae-badge {
	margin: 0 0 10px;
	font-family: var(--cae-font-body, inherit);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.cae-badge-cross {
	display: inline-flex; align-items: center; gap: 6px;
	/* Cards stack their head children in a column, which would stretch the pill. */
	width: fit-content;
	padding: 4px 10px; border-radius: 999px;
	color: var(--cae-gold-strong);
	background: var(--cae-gold-soft);
	border: 1px solid color-mix(in srgb, var(--cae-gold) 45%, transparent);
}
.cae-badge-cross::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--cae-gold);
}
[data-theme="dark"] .cae-badge-cross { color: var(--cae-gold); }
.cae-story-head .cae-badge { display: inline-flex; margin: 6px 0 0; }

