/* Story page */
.story-page { padding-top: 18px; }
.story-head { max-width: calc(100% - 360px); padding-bottom: 18px; }
@media (max-width: 1024px) { .story-head { max-width: none; } }
.story-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.015em; margin: 10px 0 12px; }
.standfirst { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.5; color: var(--slate-dark); }
.muted { color: var(--slate); }

.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-text { flex: 1; min-width: 200px; }
.byline-name { font-size: 0.92rem; }
.author-avatar { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.85rem; }
.author-avatar.lg { width: 56px; height: 56px; font-size: 1.05rem; background: var(--red); }
.share-row { display: flex; gap: 8px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; transition: transform .15s, filter .15s; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.share-btn svg { width: 18px; height: 18px; }
.share-btn.wa { background: #25D366; }
.share-btn.x { background: #111; }
.share-btn.fb { background: #1877F2; }
.share-btn.more { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }

/* Fact-check strip under the byline */
.fact-strip { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid; }
.fact-strip.ok { background: #EEF8F3; border-color: #BFE3D1; color: var(--ok); }
.fact-strip.warn { background: #FEF6EA; border-color: #F4D4A6; color: var(--warn); }
.fact-strip.bad { background: #FDEEEE; border-color: #F3C0C0; color: var(--bad); }
.fact-strip.info { background: #EDF6FC; border-color: #BFDDF1; color: var(--info); }
.fact-strip-icon svg { width: 26px; height: 26px; display: block; }
.fact-strip-text { flex: 1; font-size: 0.92rem; }
.fact-strip-text strong { text-transform: uppercase; letter-spacing: 0.04em; }
.fact-strip-text small { display: block; color: var(--slate-dark); font-size: 0.82rem; margin-top: 2px; }
.fact-strip-go { font-weight: 700; font-size: 0.84rem; white-space: nowrap; }
@media (max-width: 560px) { .fact-strip-go { display: none; } }

.story-layout { margin-top: 8px; }
.story-figure { margin: 0 0 22px; }
.story-figure img { width: 100%; border-radius: var(--radius-sm); }
.story-figure figcaption { font-size: 0.82rem; color: var(--slate); padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Body typography: serif for long reading, like a printed page */
.article-body { font-family: var(--serif); font-size: 1.16rem; line-height: 1.75; color: #1D1D1D; }
.article-body > * + * { margin-top: 1.1em; }
.article-body > p:first-child::first-letter { float: left; font-size: 3.6em; line-height: 0.85; font-weight: 800; color: var(--red); padding: 6px 8px 0 0; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; line-height: 1.25; margin-top: 1.6em; }
.article-body h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.4em; }
.article-body a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { text-decoration-thickness: 2px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: 0.4em; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-size: 1.25rem; font-style: italic; color: var(--ink); }
.article-body blockquote p + p { margin-top: 0.5em; }
.article-body img { border-radius: var(--radius-sm); }
.article-body figure { margin: 1.6em 0; }
.article-body figcaption { font-family: var(--body); font-size: 0.82rem; color: var(--slate); margin-top: 6px; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--body); font-size: 0.92rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--panel); font-weight: 700; }
.article-body code { font-family: var(--mono); font-size: 0.85em; background: var(--panel); padding: 2px 5px; border-radius: 3px; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.article-body .heading-anchor { opacity: 0; margin-left: 6px; color: var(--slate-light); text-decoration: none; }
.article-body h2:hover .heading-anchor, .article-body h3:hover .heading-anchor { opacity: 1; }
@media (max-width: 640px) { .article-body { font-size: 1.07rem; } }

/* Claim-by-claim review */
.fact-review { margin: 36px 0 8px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius-md); padding: 20px 22px; }
.fact-review-head { display: flex; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fact-review-head h2 { font-family: var(--serif); font-size: 1.4rem; }
.fact-review-head .muted { font-size: 0.84rem; }
.fact-review-score { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; border: 5px solid currentColor; }
.fact-review-score.ok { color: var(--ok); } .fact-review-score.warn { color: var(--warn); }
.fact-review-score.bad { color: var(--bad); } .fact-review-score.info { color: var(--info); }
.claim-list { list-style: none; margin: 0; padding: 0; }
.claim-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.claim-list li:last-child { border-bottom: 0; }
.claim-text { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; margin-top: 8px; }
.claim-note { font-size: 0.92rem; color: var(--slate-dark); margin-top: 4px; }
.claim-correction { font-size: 0.9rem; margin-top: 8px; padding: 8px 12px; background: #FEF6EA; border-left: 3px solid var(--warn); }
.claim-sources { font-size: 0.82rem; color: var(--slate); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.claim-sources a { color: var(--info); text-decoration: underline; }
.fact-review-foot { font-size: 0.82rem; color: var(--slate); margin-top: 12px; }
.fact-review-foot a { color: var(--red-ink); text-decoration: underline; }

.article-tags { margin: 28px 0 8px; }

.author-box { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 18px 20px; background: var(--panel); border-radius: var(--radius-md); }
.author-name { font-weight: 800; font-size: 1.02rem; }
.author-bio { color: var(--slate-dark); font-size: 0.92rem; margin-top: 4px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 12px; }
.post-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.post-nav-link span { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red-ink); }
.post-nav-link strong { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.post-nav-link:hover { border-color: var(--red); }
.post-nav-link.next { text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { text-align: left; } }

.toc-widget ol { margin: 6px 0 0; padding-left: 18px; font-size: 0.9rem; display: grid; gap: 6px; }
.toc-widget a:hover, .toc-widget a.active { color: var(--red-ink); }
.toc-widget a.active { font-weight: 700; }

.related { margin-top: 40px; padding-top: 8px; }

/* Toast from share.js / article.js */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 0.88rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reading progress, under the sticky section bar */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.read-progress.below-bar { top: var(--header-h); }

/* Text size control (A− / A+) */
.article-body { font-size: calc(1.16rem * var(--story-scale, 1)); }
@media (max-width: 640px) { .article-body { font-size: calc(1.07rem * var(--story-scale, 1)); } }
.text-size { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.text-size button { height: 36px; padding: 0 11px; font-family: var(--serif); font-weight: 800; font-size: 0.95rem; color: var(--ink); }
.text-size button + button { border-left: 1px solid var(--line); font-size: 1.1rem; }
.text-size button small { font-family: var(--body); font-size: 0.7em; margin-left: 1px; }
.text-size button:hover { background: var(--panel); color: var(--red); }

/* Inline "Also read" */
.article-body .also-read { font-family: var(--body); margin: 1.4em 0; padding: 12px 16px; border-left: 4px solid var(--red); background: var(--panel); display: flex; flex-direction: column; gap: 3px; }
.article-body .also-read span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-ink); }
.article-body .also-read a { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.article-body .also-read a:hover { color: var(--red-ink); text-decoration: underline; }

/* Follow on Google News */
.gnews-cta { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 0.92rem; }
.gnews-cta:hover { border-color: #4285F4; }
.gnews-g { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff;
  background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0); }
.gnews-cta strong { color: #1A73E8; }
