/* ============================================================
   reading.css — typography & reading-comfort overrides
   ============================================================
   Loads AFTER tailwind.css, so its rules win.

   Theme target: NeurologyLive-style medical publication.
     - Dark navy header + footer
     - Clean white body
     - Gold accent (Subscribe CTAs, key highlights)
     - Red accent (category tags, emergency)
     - High-contrast near-black body text
   ============================================================ */


/* ============================================================
   CUSTOM PALETTE — define brand colors as new utility classes
   so the templates can use them (bg-brand, text-accent-gold, etc.)
   ============================================================ */
:root {
  --brand-navy: #1a2738;          /* dark navy — header/footer */
  --brand-navy-deep: #0f1925;     /* deeper navy for gradients */
  --accent-gold: #f5b800;         /* publication gold — subscribe CTAs */
  --accent-gold-hover: #e0a800;
  --accent-red: #dc2626;          /* category tags + emergency */
  --accent-red-deep: #b91c1c;
  --link-blue: #1d4ed8;           /* inline body links */
  --text-dark: #0f172a;           /* body text */
  --text-near-black: #0a0a0a;     /* headlines */
}

.bg-brand {
  background-color: var(--brand-navy);
  background-image: linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
}
.text-brand { color: var(--brand-navy); }
.border-brand { border-color: var(--brand-navy); }

.bg-accent-gold { background-color: var(--accent-gold); }
.text-accent-gold { color: var(--accent-gold); }
.border-accent-gold { border-color: var(--accent-gold); }
.hover\:bg-accent-gold:hover { background-color: var(--accent-gold); }

.text-accent-red { color: var(--accent-red); }
.bg-accent-red { background-color: var(--accent-red); }
.border-accent-red { border-color: var(--accent-red); }

/* The gold "Subscribe" button style */
.cta-gold {
  background-color: var(--accent-gold);
  color: var(--brand-navy);
  border: 1px solid var(--accent-gold);
  font-weight: 800;
  transition: all 0.2s ease;
  letter-spacing: 0.18em;
}
.cta-gold:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 4px 14px -4px rgba(245, 184, 0, 0.45);
}


/* ============================================================
   BRAND COLOR SWAP — remap "arterial" to navy (publication brand)
   ============================================================ */
/* Templates everywhere still use .bg-arterial / .text-arterial / etc.
   These classes get re-painted to the navy brand color so the whole
   site picks up the new theme without rewriting every template. */

.bg-arterial {
  background-color: var(--brand-navy);
  background-image: linear-gradient(135deg, var(--brand-navy) 0%, #2c3e50 100%);
}
.text-arterial {
  color: var(--brand-navy);
}
.border-arterial {
  border-color: var(--brand-navy);
}
.hover\:bg-arterial-deep:hover {
  background-color: var(--brand-navy-deep);
}
.hover\:border-arterial:hover { border-color: var(--brand-navy); }
.hover\:text-arterial:hover { color: var(--brand-navy); }
.focus\:border-arterial:focus,
.group:hover .group-hover\:border-arterial { border-color: var(--brand-navy); }
.group:hover .group-hover\:text-arterial { color: var(--brand-navy); }
.marker\:text-arterial ::marker,
.marker\:text-arterial::marker { color: var(--brand-navy); }

/* The "§ 01" little eyebrow numerals and section accents — gold pops more */
.text-\[10px\].uppercase.tracking-\[0\.25em\] .text-arterial,
.text-\[10px\].uppercase.tracking-\[0\.22em\] .text-arterial {
  color: var(--accent-red);
}

/* Category eyebrows ("FOR CLINICIANS", "EMERGENCY", etc.) — red like NL tags */
.text-\[10px\].uppercase.tracking-\[0\.22em\].text-arterial.font-bold,
.text-\[10px\].uppercase.tracking-\[0\.25em\].text-arterial.font-bold,
span.text-arterial.font-bold {
  color: var(--accent-red);
}


/* ============================================================
   EMERGENCY OVERRIDE — preserve red gradient on safety banners
   ============================================================ */
section.bg-arterial {
  background-color: var(--accent-red-deep);
  background-image: linear-gradient(135deg, #991b1b 0%, var(--accent-red) 100%);
}
section.bg-arterial .text-amber-200 {
  color: #fde68a;
}


/* ============================================================
   0. Global typographic base
   ============================================================ */
html {
  font-feature-settings: "ss01", "cv11";
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* ============================================================
   1. Clean white background
   ============================================================ */
body.bg-white {
  background-color: #ffffff;
}

/* Sticky header background slot — we now use the dark .bg-brand inside,
   so the outer .bg-white\/90 just needs to be transparent. */
header.sticky.bg-white\/90 {
  background-color: transparent;
  border-bottom: none;
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header.sticky {
  background-color: transparent !important;
}

/* Section soft backgrounds — light cool gray (NL style) */
.bg-slate-50\/50 { background-color: #f5f7fa; }
.bg-slate-50 { background-color: #f5f7fa; }


/* ============================================================
   2. Article body — large, dark, breathable
   ============================================================ */
.article-body {
  font-size: 1.21875rem;
  line-height: 1.78;
  color: var(--text-dark);
  font-weight: 400;
}

@media (min-width: 768px) {
  .article-body {
    font-size: 1.25rem;
    line-height: 1.8;
  }
}

.article-body p { margin-bottom: 1.45em; color: var(--text-dark); }
.article-body h2 {
  color: var(--text-near-black);
  font-weight: 500;
  margin-top: 2.75rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.018em;
}
.article-body h3 {
  color: var(--text-near-black);
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.article-body h2 em,
.article-body h3 em { color: var(--text-near-black); }
.article-body strong { color: var(--text-near-black); font-weight: 600; }
.article-body em { color: var(--text-near-black); }

.article-body > p:first-of-type:first-letter {
  font-size: 4.2em;
  line-height: 0.88;
  color: var(--brand-navy);
}


/* ============================================================
   3. Article section rhythm + accent line
   ============================================================ */
main article > section { padding-top: 1.5rem; padding-bottom: 1.5rem; }

@media (min-width: 768px) {
  main article > section { padding-top: 2.25rem; padding-bottom: 2rem; }
}

main article > section:first-child { padding-top: 2.5rem; padding-bottom: 1rem; }

#readingProgress { background-color: rgba(15, 23, 42, 0.05); }
#readingProgressBar {
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--accent-gold) 100%);
}


/* ============================================================
   4. Callout boxes
   ============================================================ */
.bg-slate-50.border-l-2.border-slate-900 {
  background-color: #eef2f7;
  border-left-color: var(--brand-navy);
}

.border-slate-200 { border-color: #e1e7ef; }
.border-slate-100 { border-color: #eff2f7; }


/* ============================================================
   5. Cards — depth, gold-tinted hover
   ============================================================ */
section .bg-white.border.border-slate-200,
section .bg-white.border.p-8,
section .bg-white.border {
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

section a.bg-white.border:hover,
section a.group.block.bg-white:hover,
section .group.block.border:hover {
  box-shadow: 0 14px 32px -10px rgba(26, 39, 56, 0.22),
              0 4px 10px -4px rgba(26, 39, 56, 0.10);
  border-color: var(--brand-navy) !important;
}

a.reveal.group.grid:hover { background-color: #f5f7fa !important; }


/* ============================================================
   6. References & FAQ
   ============================================================ */
.references li { font-size: 1.0375rem; line-height: 1.72; color: var(--text-dark); }
.references em { color: var(--text-near-black); }
.references a { color: var(--link-blue); }
.references li:before { color: var(--brand-navy) !important; }

.faq summary {
  font-size: 1.22rem;
  color: var(--text-near-black);
  font-weight: 500;
}
.faq summary:after { color: var(--brand-navy) !important; }
.faq details p { font-size: 1.075rem; line-height: 1.72; color: var(--text-dark); }
.faq details { border-top-color: #e1e7ef !important; }
.faq details:last-of-type { border-bottom-color: #e1e7ef !important; }


/* ============================================================
   7. Pull-quotes
   ============================================================ */
.article-body blockquote {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text-near-black);
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

@media (min-width: 768px) {
  .article-body blockquote { font-size: 1.55rem; padding-left: 2rem; }
}


/* ============================================================
   8. Inline links inside articles — clean blue, NL style
   ============================================================ */
.article-body a {
  color: var(--link-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #93c5fd;
  transition: text-decoration-color 0.18s ease, background-color 0.18s ease;
}
.article-body a:hover {
  background-color: #eff6ff;
  text-decoration-color: var(--link-blue);
}
.article-body sup.cite a { text-decoration: none; background: none; }


/* ============================================================
   9. Muted-text upgrades
   ============================================================ */
.text-slate-500 { color: #334155; }
.text-slate-600 { color: #1e293b; }
.text-slate-700 { color: #0f172a; }
.text-slate-400 { color: #475569; }


/* ============================================================
   10. Headlines — confident, near-black
   ============================================================ */
h1.font-serif,
h2.font-serif {
  letter-spacing: -0.022em;
  color: var(--text-near-black);
}
h1.font-serif.text-slate-950,
h2.font-serif.text-slate-950,
h3.font-serif.text-slate-950,
h4.font-serif.text-slate-950 { color: var(--text-near-black); }

main p.font-serif.italic { color: #334155; }

/* The italic-color accent in the hero — was red, now navy */
h1 .italic.font-extralight.text-arterial,
h1 span.italic.font-extralight { color: var(--brand-navy); }


/* ============================================================
   11. Outline CTAs — turn navy on hover, not slate-900
   ============================================================ */
a.border.border-slate-900,
button.border.border-slate-900 {
  font-weight: 700;
  letter-spacing: 0.22em;
  transition: all 0.28s ease;
}

a.border.border-slate-900:hover,
.hover\:bg-slate-900:hover {
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px -6px rgba(26, 39, 56, 0.35);
}


/* ============================================================
   12. Newsletter dark block — match brand navy with gold accent
   ============================================================ */
.bg-slate-950 {
  background-color: var(--brand-navy-deep);
  background-image: linear-gradient(140deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
}
.bg-slate-950 .text-amber-200 { color: var(--accent-gold); }

/* The "Subscribe" button INSIDE the newsletter dark block — make it gold */
.bg-slate-950 button.bg-arterial {
  background-color: var(--accent-gold) !important;
  background-image: none !important;
  color: var(--brand-navy) !important;
  font-weight: 800;
}
.bg-slate-950 button.bg-arterial:hover {
  background-color: var(--accent-gold-hover) !important;
}


/* ============================================================
   13. Trial Library chips
   ============================================================ */
a.px-4.py-2.border.border-slate-300 {
  background: #ffffff;
  transition: all 0.2s ease;
}
a.px-4.py-2.border.border-slate-300:hover {
  background: #eef2f7;
  border-color: var(--brand-navy) !important;
  color: var(--brand-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(26, 39, 56, 0.18);
}


/* ============================================================
   14. Nav links inside dark header — white with gold underline
   ============================================================ */
header .bg-brand .nav-link {
  color: rgba(255, 255, 255, 0.82);
  padding-bottom: 0.35rem;
  transition: color 0.2s ease;
}
header .bg-brand .nav-link:hover { color: #ffffff; }
header .bg-brand .nav-link:after {
  background-color: var(--accent-gold) !important;
  height: 2px;
  bottom: -0.25rem;
}
header .bg-brand .nav-link.active {
  color: #ffffff;
}


/* ============================================================
   15. Hub / patient-guide topic cards — left navy accent
   ============================================================ */
section .border.border-slate-200.p-8.bg-white,
section .border.border-slate-200.p-10.bg-white,
section .border.border-slate-200.md\:p-10.bg-white {
  border-left: 3px solid #e1e7ef;
}
section .border.border-slate-200.p-8.bg-white:hover,
section .border.border-slate-200.p-10.bg-white:hover {
  border-left-color: var(--accent-gold);
}


/* ============================================================
   16. Hero stats divider
   ============================================================ */
.divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: #e1e7ef;
}


/* ============================================================
   17. Article meta line — make the byline pop NL-style
   ============================================================ */
article .border-t.border-b.border-slate-200 a {
  color: var(--link-blue);
  border-bottom-color: var(--link-blue);
}
article .border-t.border-b.border-slate-200 strong {
  color: var(--text-near-black);
}


/* ============================================================
   18. 2026 readability redesign
   ============================================================
   Theme target: a calm medical publication with less glare,
   tighter article measure, and clearer long-form hierarchy.
   ============================================================ */

:root {
  color-scheme: dark;

  --vb-bg-page: #070d17;
  --vb-bg-page-rgb: 7, 13, 23;
  --vb-bg-page-end: #0d1726;
  --vb-bg-surface: #101b2d;
  --vb-bg-surface-rgb: 16, 27, 45;
  --vb-bg-soft: #17243a;
  --vb-bg-soft-rgb: 23, 36, 58;
  --vb-text: #eef5ff;
  --vb-text-strong: #ffffff;
  --vb-muted: #d3deec;
  --vb-muted-2: #aebed1;
  --vb-border: rgba(232, 238, 247, 0.18);
  --vb-border-strong: rgba(232, 238, 247, 0.3);
  --vb-brand: #101b2d;
  --vb-brand-deep: #070d17;
  --vb-accent: #f7d06a;
  --vb-accent-soft: rgba(247, 208, 106, 0.14);
  --vb-gold: #f7d06a;
  --vb-link: #9cc9ff;
  --vb-link-soft: rgba(156, 201, 255, 0.16);
  --vb-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --vb-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.34);

  --font-reading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-patient: "Atkinson Hyperlegible", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Fraunces, "Source Serif 4", Georgia, serif;
}

:root.theme-light {
  color-scheme: light;

  --vb-bg-page: #f4f7fb;
  --vb-bg-page-rgb: 244, 247, 251;
  --vb-bg-page-end: #edf3f9;
  --vb-bg-surface: #fbfdff;
  --vb-bg-surface-rgb: 251, 253, 255;
  --vb-bg-soft: #e8eef7;
  --vb-bg-soft-rgb: 232, 238, 247;
  --vb-text: #0f172a;
  --vb-text-strong: #08111f;
  --vb-muted: #475569;
  --vb-muted-2: #64748b;
  --vb-border: rgba(15, 23, 42, 0.12);
  --vb-border-strong: rgba(15, 23, 42, 0.22);
  --vb-brand: #122033;
  --vb-brand-deep: #0b1524;
  --vb-accent: #c2410c;
  --vb-accent-soft: #fff1e8;
  --vb-gold: #f7d06a;
  --vb-link: #1d4ed8;
  --vb-link-soft: rgba(29, 78, 216, 0.12);
  --vb-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --vb-shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.06);
}

:root.theme-warm {
  color-scheme: light;

  --vb-bg-page: #f7f3ec;
  --vb-bg-page-rgb: 247, 243, 236;
  --vb-bg-page-end: #f0e9dd;
  --vb-bg-surface: #fffaf2;
  --vb-bg-surface-rgb: 255, 250, 242;
  --vb-bg-soft: #efe8dc;
  --vb-bg-soft-rgb: 239, 232, 220;
  --vb-text: #172033;
  --vb-text-strong: #0d1422;
  --vb-muted: #4b5563;
  --vb-brand: #1a2738;
  --vb-brand-deep: #0f1925;
  --vb-accent: #b42318;
  --vb-accent-soft: #fff0ec;
}

html {
  background: var(--vb-bg-page);
}

body,
body.bg-white,
.site-body {
  background:
    radial-gradient(circle at top left, rgba(156, 201, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--vb-bg-page) 0%, var(--vb-bg-page-end) 100%);
  color: var(--vb-text);
  font-family: var(--font-ui);
  font-weight: 400;
}

body.article-template {
  background:
    radial-gradient(circle at 50% 0, rgba(156, 201, 255, 0.1), transparent 34rem),
    linear-gradient(180deg, rgba(var(--vb-bg-surface-rgb), 0.82) 0, rgba(var(--vb-bg-page-rgb), 0.96) 22rem),
    var(--vb-bg-page);
  overflow-x: hidden;
}

::selection {
  background: rgba(247, 208, 106, 0.55);
  color: var(--vb-text-strong);
}

:focus-visible {
  outline: 3px solid var(--vb-gold);
  outline-offset: 3px;
}

/* Compatibility utilities for classes used by templates but absent from the
   precompiled Tailwind bundle. */
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-7 {
  gap: 1.75rem;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-arterial-deep {
  border-color: var(--vb-brand-deep);
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.text-\[9px\] {
  font-size: 9px;
}

@media (min-width: 768px) {
  .md\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .md\:grid-cols-\[auto_1fr\] {
    grid-template-columns: auto 1fr;
  }

  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }
}

.font-sans {
  font-family: var(--font-ui);
}

.article-body.font-serif,
.article-body p,
.article-body li,
.faq details p {
  font-family: var(--font-reading);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-title,
.faq summary,
.references h2 {
  font-family: var(--font-display);
}

h1.font-serif,
h2.font-serif,
h3.font-serif,
h4.font-serif,
h1.font-serif.text-slate-950,
h2.font-serif.text-slate-950,
h3.font-serif.text-slate-950,
h4.font-serif.text-slate-950 {
  color: var(--vb-text-strong) !important;
}

h1 .italic.font-extralight,
h1 .italic.font-extralight.text-arterial,
main p.font-serif.italic {
  color: var(--vb-muted) !important;
}

.bg-brand {
  background-color: var(--vb-brand);
  background-image: linear-gradient(180deg, var(--vb-brand) 0%, var(--vb-brand-deep) 100%);
}

.bg-arterial {
  background-color: var(--vb-brand);
  background-image: linear-gradient(135deg, var(--vb-brand) 0%, #29415b 100%);
}

.text-arterial,
.hover\:text-arterial:hover,
.group:hover .group-hover\:text-arterial {
  color: var(--vb-accent);
}

.border-arterial,
.hover\:border-arterial:hover,
.focus\:border-arterial:focus,
.group:hover .group-hover\:border-arterial {
  border-color: var(--vb-accent);
}

.marker\:text-arterial ::marker,
.marker\:text-arterial::marker {
  color: var(--vb-accent);
}

.text-accent-red,
.article-kicker,
span.text-arterial.font-bold,
.text-\[10px\].uppercase.tracking-\[0\.22em\].text-arterial.font-bold,
.text-\[10px\].uppercase.tracking-\[0\.25em\].text-arterial.font-bold {
  color: var(--vb-accent);
}

.bg-slate-50,
.bg-slate-50\/50 {
  background-color: rgba(var(--vb-bg-soft-rgb), 0.62);
}

.bg-white {
  background-color: var(--vb-bg-surface);
}

.border-slate-100,
.border-slate-200,
.border-slate-300 {
  border-color: var(--vb-border);
}

.text-slate-950,
.text-slate-900,
.text-slate-800,
.text-near-black {
  color: var(--vb-text-strong);
}

.text-slate-700 {
  color: var(--vb-text);
}

.text-slate-600,
.text-slate-500 {
  color: var(--vb-muted);
}

.text-slate-400 {
  color: var(--vb-muted-2);
}

header.sticky {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

header .hidden.lg\:block.bg-white {
  background: rgba(var(--vb-bg-surface-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#readingProgress {
  background-color: rgba(15, 23, 42, 0.08);
}

#readingProgressBar {
  background: linear-gradient(90deg, var(--vb-accent) 0%, var(--vb-gold) 100%);
}

.article-main {
  padding: 2rem 0 4rem;
}

.article-layout {
  max-width: 100%;
}

.article-masthead {
  padding-top: clamp(2.5rem, 6vw, 5rem) !important;
  padding-bottom: 1rem !important;
}

.article-shell {
  width: min(54rem, calc(100% - 2rem));
  max-width: min(54rem, calc(100% - 2rem)) !important;
  margin-left: auto;
  margin-right: auto;
  background: rgba(var(--vb-bg-surface-rgb), 0.94);
  border: 1px solid var(--vb-border);
  border-radius: 0.875rem;
  box-shadow: var(--vb-shadow-soft);
  min-width: 0;
}

.article-header-shell {
  padding: clamp(2rem, 4vw, 3.5rem) !important;
}

.article-content-shell {
  padding: clamp(1.25rem, 4vw, 3rem) !important;
}

.article-content-section {
  padding-top: 0.75rem !important;
}

.article-column {
  max-width: 72ch;
  margin: 0 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

main article .article-column::before {
  display: none;
}

.article-kicker {
  letter-spacing: 0.2em;
}

.article-title {
  max-width: 100%;
  color: var(--vb-text-strong) !important;
  font-size: clamp(2.35rem, 7vw, 4.65rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.article-meta {
  border-color: var(--vb-border) !important;
  color: var(--vb-muted);
  gap: 0.9rem 1.4rem;
  letter-spacing: 0.16em;
}

.article-meta a,
article .border-t.border-b.border-slate-200 a {
  color: var(--vb-link);
  border-bottom-color: rgba(29, 78, 216, 0.32);
}

.article-meta strong,
article .article-meta strong {
  color: var(--vb-text-strong) !important;
}

.article-meta a:hover {
  background: var(--vb-link-soft);
}

.article-body {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--vb-text);
  font-size: clamp(1.125rem, 1.1rem + 0.25vw, 1.25rem);
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

.article-body > p:first-of-type:first-letter {
  float: none;
  margin: 0;
  font: inherit;
  color: inherit;
}

.article-body p {
  margin: 0 0 1.35em;
  color: var(--vb-text);
}

.article-body p:first-of-type {
  font-size: 1.08em;
  line-height: 1.7;
  color: var(--vb-text-strong);
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--vb-text-strong);
  font-size: clamp(1.65rem, 1.3rem + 1.1vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.article-body h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--vb-text-strong);
  font-size: clamp(1.28rem, 1.05rem + 0.7vw, 1.55rem);
  line-height: 1.24;
  letter-spacing: 0 !important;
}

.article-body strong,
.article-body em {
  color: var(--vb-text-strong);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.6em 1.25rem;
  padding-left: 1.15rem;
}

.article-body li {
  padding-left: 0.2rem;
  margin-bottom: 0.55rem;
  color: var(--vb-text);
}

.article-body a,
.references a {
  color: var(--vb-link);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(29, 78, 216, 0.36);
  transition: background-color 0.18s ease, text-decoration-color 0.18s ease;
}

.article-body a:hover,
.references a:hover {
  background-color: var(--vb-link-soft);
  text-decoration-color: var(--vb-link);
}

.article-body sup.cite a {
  border-radius: 0.25rem;
  background: rgba(194, 65, 12, 0.08);
  color: var(--vb-accent);
  text-decoration: none;
}

.article-column > .bg-slate-50.border-l-4,
.article-body .bg-slate-50.border-l-2,
.article-body .border-l-2.border-slate-900 {
  background:
    linear-gradient(90deg, rgba(194, 65, 12, 0.08), transparent 55%),
    rgba(var(--vb-bg-soft-rgb), 0.72) !important;
  border-left-color: var(--vb-accent) !important;
  border-radius: 0.65rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.article-column > .bg-slate-50.border-l-4 {
  margin-bottom: clamp(2rem, 5vw, 3rem) !important;
  padding: clamp(1.35rem, 4vw, 2.4rem) !important;
}

.article-column > .bg-slate-50.border-l-4 h2 {
  color: var(--vb-text-strong) !important;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  line-height: 1.2;
}

.article-column > .bg-slate-50.border-l-4 li,
.article-body .bg-slate-50 li {
  font-family: var(--font-patient);
  font-size: 1rem;
  line-height: 1.65;
}

.article-body blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 4px solid var(--vb-accent);
  color: var(--vb-text-strong);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.48;
  font-style: italic;
  background: transparent;
}

.article-body figure {
  margin: 2.5rem 0;
}

.article-body img {
  border-radius: 0.65rem;
  box-shadow: var(--vb-shadow-soft);
}

.article-body figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--vb-muted);
}

.article-body pre {
  overflow-x: auto;
  padding: 1rem 1.15rem;
  background: #111827;
  color: #e5edf8;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.article-body code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: var(--font-ui);
  font-size: 0.96rem;
}

.article-body th,
.article-body td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--vb-border);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  color: var(--vb-text-strong);
  background: rgba(var(--vb-bg-soft-rgb), 0.72);
  font-weight: 700;
}

.faq,
.references {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.faq h2,
.references h2 {
  color: var(--vb-text-strong);
}

.faq details {
  border-top-color: var(--vb-border) !important;
  padding: 1.2rem 0;
}

.faq details:last-of-type {
  border-bottom-color: var(--vb-border) !important;
}

.faq summary {
  color: var(--vb-text-strong);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
}

.faq summary:after,
.references li:before {
  color: var(--vb-accent) !important;
}

.references li {
  color: var(--vb-muted);
  border-color: var(--vb-border);
}

.references em {
  color: var(--vb-text-strong);
}

section .bg-white.border.border-slate-200,
section .bg-white.border.p-8,
section .bg-white.border {
  background-color: rgba(var(--vb-bg-surface-rgb), 0.96);
  border-color: var(--vb-border);
  border-radius: 0.55rem;
  box-shadow: var(--vb-shadow-soft);
}

section a.bg-white.border:hover,
section a.group.block.bg-white:hover,
section .group.block.border:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  border-color: var(--vb-border-strong) !important;
}

a.reveal.group.grid:hover {
  background-color: rgba(var(--vb-bg-soft-rgb), 0.6) !important;
}

.bg-slate-950 {
  background-color: var(--vb-brand-deep);
  background-image: linear-gradient(140deg, var(--vb-brand-deep) 0%, var(--vb-brand) 100%);
}

.bg-slate-950 .text-amber-200,
.text-accent-gold,
.bg-slate-950 .text-accent-gold {
  color: var(--vb-gold);
}

.cta-gold,
.bg-slate-950 button.bg-arterial {
  background-color: var(--vb-gold) !important;
  background-image: none !important;
  color: var(--vb-brand-deep) !important;
  border-color: var(--vb-gold) !important;
}

.cta-gold:hover,
.bg-slate-950 button.bg-arterial:hover {
  background-color: #edc052 !important;
  border-color: #edc052 !important;
}

section.bg-arterial {
  background-color: #991b1b;
  background-image: linear-gradient(135deg, #991b1b 0%, #c2410c 100%);
}

@media (max-width: 767px) {
  .article-main {
    padding-top: 0;
  }

  .article-masthead {
    padding-top: 1.25rem !important;
  }

  .article-shell {
    width: 100%;
    max-width: 100% !important;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-header-shell,
  .article-content-shell {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .article-title {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1.08 !important;
    text-wrap: normal;
  }

  .article-meta {
    display: grid;
    gap: 0.75rem;
  }

  .article-body {
    font-size: 1.125rem;
    line-height: 1.72;
  }

  .article-body ul,
  .article-body ol {
    margin-left: 0.75rem;
    padding-left: 1rem;
  }

  .article-column > .bg-slate-50.border-l-4 {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
}

@media (min-width: 1180px) {
  .article-shell {
    max-width: 58rem !important;
  }

  .article-column,
  .article-body,
  .faq,
  .references {
    max-width: 70ch;
  }
}

:root.theme-dark {
  color-scheme: dark;

  --vb-bg-page: #0b111c;
  --vb-bg-page-rgb: 11, 17, 28;
  --vb-bg-surface: #101827;
  --vb-bg-surface-rgb: 16, 24, 39;
  --vb-bg-soft: #172033;
  --vb-bg-soft-rgb: 23, 32, 51;
  --vb-text: #dce7f3;
  --vb-text-strong: #f8fbff;
  --vb-muted: #b6c2d1;
  --vb-muted-2: #94a3b8;
  --vb-border: rgba(220, 231, 243, 0.14);
  --vb-border-strong: rgba(220, 231, 243, 0.24);
  --vb-brand: #122033;
  --vb-brand-deep: #070d17;
  --vb-accent: #f7d06a;
  --vb-accent-soft: rgba(247, 208, 106, 0.12);
  --vb-link: #93c5fd;
  --vb-link-soft: rgba(147, 197, 253, 0.14);
  --vb-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --vb-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.26);
}

:root.theme-dark body,
:root.theme-dark body.bg-white,
:root.theme-dark .site-body {
  background: var(--vb-bg-page);
}

:root.theme-dark .bg-white,
:root.theme-dark header .hidden.lg\:block.bg-white {
  background-color: var(--vb-bg-surface);
}

:root.theme-dark .text-arterial,
:root.theme-dark .hover\:text-arterial:hover,
:root.theme-dark .group:hover .group-hover\:text-arterial,
:root.theme-dark span.text-arterial.font-bold {
  color: var(--vb-accent);
}

:root.theme-dark .border-arterial,
:root.theme-dark .hover\:border-arterial:hover,
:root.theme-dark .focus\:border-arterial:focus,
:root.theme-dark .group:hover .group-hover\:border-arterial {
  border-color: var(--vb-accent);
}

:root.theme-dark .article-column > .bg-slate-50.border-l-4,
:root.theme-dark .article-body .bg-slate-50.border-l-2,
:root.theme-dark .article-body .border-l-2.border-slate-900 {
  background: rgba(var(--vb-bg-soft-rgb), 0.92) !important;
}

:root.theme-dark .article-body pre {
  background: #050816;
}
