/* -- Article body wrapper -- */
:root {
  --blue: #1a4a6b;
  --orange: #e8734a;
  --green: #2d6a4f;
  --red-warn: #8b2e2e;
  --red-em: #c0392b;
  --bg: #faf9f7;
  --border: #e0ddd8;
}
.post-article-body { font-family: 'Source Serif 4', Georgia, serif; background: #faf9f7; color: #1c1c1c; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 2rem 1.25rem 4rem; }
.post { max-width: 1180px; margin: 0 auto; }

/* -- Nav -- */
.post-eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.num { background: var(--blue); color: #fff; border-radius: 4px; padding: 0.1rem 0.4rem; font-size: 0.7rem; }

/* -- Typography -- */
.post-article-body h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 700; line-height: 1.18; color: #1c1c1c; margin-bottom: 0.6rem; }
.post-article-body h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 700; color: var(--blue); margin: 2.25rem 0 0.65rem; }
.post-article-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.08rem; font-weight: 700; color: #333; margin: 1.6rem 0 0.4rem; }
.subtitle { font-size: 1.05rem; color: #666; font-style: italic; line-height: 1.55; margin-bottom: 0.75rem; }
.post-meta { font-size: 0.78rem; color: #aaa; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.lede { font-size: 1.08rem; line-height: 1.78; color: #444; font-style: italic; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e8e5e0; }
.post-article-body p { font-size: 1rem; line-height: 1.8; color: #2a2a2a; margin-bottom: 1rem; }
.med-term { color: #555; font-style: italic; }
.post-article-body ul, .post-article-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.post-article-body li { margin-bottom: 0.5rem; line-height: 1.7; font-size: 1rem; color: #2a2a2a; }
.post-article-body a { color: var(--blue); text-decoration-style: dotted; }
.post-article-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* -- Callouts -- */
.evidence { background: #f0f6fb; border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 0.75rem 0; font-size: 0.92rem; line-height: 1.72; color: #333; }
.evidence .ev-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 0.5rem; }
.evidence .stat { font-weight: 700; color: var(--blue); }
.evidence p { font-size: 0.92rem; margin-bottom: 0.6rem; color: #333; }
.evidence p:last-child { margin-bottom: 0; }

.opinion { background: #f7f5f2; border-left: 4px solid #aaa; border-radius: 0 8px 8px 0; padding: 0.85rem 1.25rem; margin: 0.75rem 0; font-size: 0.92rem; line-height: 1.72; color: #555; font-style: italic; }
.opinion .ev-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #888; margin-bottom: 0.35rem; font-style: normal; }

.warning { background: #fdf3f0; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 0.75rem 0; font-size: 0.92rem; line-height: 1.72; color: #333; }
.warning .ev-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 0.35rem; }
.warning p { font-size: 0.92rem; margin-bottom: 0.5rem; color: #333; }
.warning p:last-child { margin-bottom: 0; }

/* -- Badges -- */
.badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; padding: 0.1rem 0.4rem; margin-left: 0.4rem; vertical-align: middle; }
.badge-good { background: #e6f4ec; color: #1a7a3c; }
.badge-skip { background: #fee; color: #a00; }
.badge-mixed { background: #fef9e6; color: #7a5a00; }
.badge-limited { background: #f0f0f0; color: #555; }

/* -- Stat cards -- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0.75rem 0; }
@media (max-width: 500px) { .stat-row { grid-template-columns: 1fr; } }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem; text-align: center; }
.stat-card .snum { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 0.25rem; }
.stat-card .slabel { font-size: 0.75rem; color: #888; line-height: 1.4; }

/* -- Timeline -- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 0.75rem 0; }
@media (max-width: 500px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 0.75rem; text-align: center; }
.tl-day { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: 0.2rem; }
.tl-desc { font-size: 0.75rem; color: #888; line-height: 1.4; }

/* -- Spread grid -- */
.spread-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.75rem 0; }
@media (max-width: 520px) { .spread-grid { grid-template-columns: 1fr; } }
.spread-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem 0.85rem; }
.spread-icon { font-size: 1.4rem; margin-bottom: 0.35rem; }
.spread-title { font-weight: 700; font-size: 0.88rem; color: var(--blue); margin-bottom: 0.25rem; font-family: 'Playfair Display', serif; }
.spread-body { font-size: 0.82rem; color: #666; line-height: 1.5; }

/* -- Series links -- */
.series-links { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.series-link { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--blue); display: flex; justify-content: space-between; align-items: center; text-decoration: none; }
.series-link:hover { background: #f0f6fb; }
.series-link .sl-num { font-size: 0.7rem; background: #f0f6fb; border-radius: 4px; padding: 0.1rem 0.4rem; color: #888; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* -- Comparison grid -- */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0.75rem 0; }
@media (max-width: 500px) { .comparison { grid-template-columns: 1fr; } }
.comp-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 1rem; }
.comp-card.preferred { border-color: var(--blue); background: #f0f6fb; }
.comp-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 0.2rem; }
.comp-conc { font-size: 0.85rem; font-weight: 600; color: #333; margin-bottom: 0.15rem; }
.comp-recipe { font-size: 0.78rem; color: #888; font-style: italic; margin-bottom: 0.5rem; }
.comp-desc { font-size: 0.83rem; color: #555; line-height: 1.55; }

/* -- Recipe boxes -- */
.recipe-box { background: #f7f5f2; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; margin: 0.75rem 0; }
.recipe-box.highlighted { background: #f0f6fb; border-color: var(--blue); }
.recipe-title { font-weight: 700; font-size: 0.88rem; color: var(--blue); margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.recipe-box ul { padding-left: 1.2rem; margin-bottom: 0; }
.recipe-box li { font-size: 0.92rem; margin-bottom: 0.3rem; color: #444; }

/* -- Steps -- */
.steps ol { counter-reset: step-counter; list-style: none; padding-left: 0; }
.steps ol li { counter-increment: step-counter; display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.95rem; line-height: 1.65; color: #333; }
.steps ol li::before { content: counter(step-counter); background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }

/* -- Warning signs -- */
.warning-signs { margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ws-item { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--red-warn); border-radius: 0 8px 8px 0; padding: 0.85rem 1rem; }
.ws-item.urgent { border-left-color: var(--red-em); background: #fdf5f5; }
.ws-dot { background: var(--red-warn); color: #fff; font-weight: 700; font-size: 0.68rem; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.15rem; }
.ws-item.urgent .ws-dot { background: var(--red-em); }
.ws-title { font-weight: 700; font-size: 0.95rem; color: #1c1c1c; margin-bottom: 0.2rem; font-family: 'Playfair Display', serif; }
.ws-desc { font-size: 0.85rem; color: #666; line-height: 1.55; }

/* -- Emergency box -- */
.emergency-box { background: #fdf5f5; border: 2px solid var(--red-em); border-radius: 10px; padding: 1.25rem 1.4rem; margin: 0.75rem 0; }
.emergency-box .em-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--red-em); margin-bottom: 0.5rem; }
.emergency-box p { font-size: 0.92rem; color: #333; line-height: 1.7; margin-bottom: 0.5rem; }
.emergency-box ul { padding-left: 1.2rem; margin-bottom: 0; }
.emergency-box li { font-size: 0.9rem; color: #444; margin-bottom: 0.35rem; line-height: 1.6; }

/* -- Video -- */
.video-wrap { margin: 0.75rem 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #000; position: relative; padding-bottom: 56.25%; height: 0; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-caption { font-size: 0.8rem; color: #999; font-style: italic; text-align: center; margin-top: 0.5rem; margin-bottom: 1.25rem; line-height: 1.5; }

/* -- Risk group cards -- */
.risk-group { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.4rem; margin: 1rem 0; }
.rg-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.rg-icon { font-size: 1.5rem; flex-shrink: 0; }
.rg-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.rg-body p { font-size: 0.94rem; line-height: 1.75; color: #333; margin-bottom: 0.65rem; }
.rg-watch { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-warn); margin-top: 0.75rem; margin-bottom: 0.35rem; }
.rg-body ul { padding-left: 1.2rem; margin-bottom: 0; }
.rg-body li { font-size: 0.88rem; color: #555; margin-bottom: 0.3rem; line-height: 1.55; }

/* -- Rec table -- */
.rec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.rec-table th { background: var(--blue); color: #fff; padding: 0.5rem 0.75rem; text-align: left; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; }
.rec-table td { padding: 0.55rem 0.75rem; border-bottom: 1px solid #e8e5e0; vertical-align: top; line-height: 1.55; color: #333; }
.rec-table tr:last-child td { border-bottom: none; }
.rec-table tr:nth-child(even) td { background: #f7f9fc; }
.rec-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; border-radius: 4px; padding: 0.1rem 0.35rem; vertical-align: middle; }
.badge-strong { background: #e6f4ec; color: #1a7a3c; }
.badge-moderate { background: #fef9e6; color: #7a5a00; }

/* -- Vax cards -- */
.vax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin: 0.75rem 0; }
@media (max-width: 520px) { .vax-grid { grid-template-columns: 1fr; } }
.vax-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem; text-align: center; }
.vax-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 0.2rem; }
.vax-label { font-size: 0.75rem; color: #888; line-height: 1.4; }

/* -- BV comparison -- */
.bv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0.75rem 0; }
@media (max-width: 500px) { .bv-grid { grid-template-columns: 1fr; } }
.bv-card { border-radius: 8px; padding: 1rem; }
.bv-card.viral { background: #f0f6fb; border: 1px solid #c5d9ec; }
.bv-card.bacterial { background: #fdf3f0; border: 1px solid #f0c4b4; }
.bv-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.bv-card.viral .bv-title { color: var(--blue); }
.bv-card.bacterial .bv-title { color: var(--red-warn); }
.bv-card ul { padding-left: 1.1rem; margin-bottom: 0; }
.bv-card li { font-size: 0.83rem; color: #555; margin-bottom: 0.3rem; line-height: 1.5; }

/* -- Footer -- */
.citation { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: #999; line-height: 1.7; }
.citation strong { color: #777; }
.citation ol { padding-left: 1.2rem; }
.citation li { font-size: 0.76rem; margin-bottom: 0.3rem; }
.series-nav-box { background: #f0f6fb; border-radius: 8px; padding: 1rem 1.25rem; margin-top: 2rem; font-size: 0.82rem; color: #555; line-height: 1.6; }
.series-nav-box strong { color: var(--blue); display: block; margin-bottom: 0.4rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.series-complete { text-align: center; padding: 1.5rem; background: var(--blue); border-radius: 10px; margin-top: 2rem; color: #fff; }
.series-complete .sc-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.series-complete .sc-sub { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
  /* ── Top series nav ──────────────────────────────────── */
.series-nav { background: white; border-bottom: 1px solid var(--border); padding: 0; overflow-x: auto; }
.series-nav ul { list-style: none; display: flex; min-width: max-content; padding: 0 2rem; margin: 0; }
.series-nav li a { display: block; padding: 0.85rem 1.1rem; font-size: 0.8rem; color: #4a4a46; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.series-nav li a:hover { color: var(--blue); }
.series-nav li.active a { color: var(--blue); border-bottom-color: var(--orange); font-weight: 600; }

/* Bottom card nav */
.series-links { margin-top: 56px; border-top: 2px solid var(--border-light); padding-top: 28px; }
.series-links h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.series-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.series-link-card { background: #fff; border: 1px solid var(--border-light); border-left: 3px solid var(--blue-primary); border-radius: 4px; padding: 14px 16px; text-decoration: none; color: inherit; font-size: 0.85rem; transition: box-shadow 0.15s; display: block; }
.series-link-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.series-link-card .link-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 4px; }
.series-link-card .link-title { color: var(--blue-primary); font-weight: 600; line-height: 1.3; }
.series-link-card.current-post { background: #eef4f9; border-left-color: var(--accent-orange); cursor: default; }
.series-link-card.current-post .link-label { color: var(--accent-orange); }
.badge-alt { background: #f0f6fb; color: #1a4a6b; }
.badge-night { background: #ede8f5; color: #4a2d7a; }
.badge-kids { background: #fef3e6; color: #8a4a00; }
.mech-chain { display: flex; align-items: center; gap: 0; margin: 0.75rem 0; flex-wrap: wrap; }
.mech-step { background: #f0f6fb; border: 1px solid #c5d9ec; border-radius: 8px; padding: 0.6rem 0.85rem; font-size: 0.82rem; color: #1a4a6b; font-weight: 600; text-align: center; flex: 1; min-width: 100px; }
.mech-arrow { font-size: 1.1rem; color: #aaa; padding: 0 0.35rem; flex-shrink: 0; }
@media (max-width: 480px) { .mech-chain { flex-direction: column; align-items: stretch; }
.ev-quality { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; padding: 0.15rem 0.5rem; margin-left: 0.5rem; vertical-align: middle; }
.eq-weak { background: #fef9e6; color: #7a5a00; border: 1px solid #e8d88a; }
.eq-moderate { background: #f0f6fb; color: #1a4a6b; border: 1px solid #c5d9ec; }
