
:root {
  --navy: #0d1b2a;
  --navy-2: #142436;
  --navy-3: #1d3050;
  --gold: #ffd700;
  --gold-soft: #f0c419;
  --blood: #cc4400;
  --ink: #e8eef7;
  --ink-soft: #b6c2d4;
  --rule: rgba(255, 215, 0, 0.18);
  --shadow: 0 18px 48px rgba(0,0,0,0.45);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { background: var(--navy); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: 2.2em 0 0.6em; }
h3 { font-size: 1.05rem; margin: 0 0 0.3em; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header { border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; gap: 6px; align-items: baseline; font-family: var(--serif); font-weight: 900; letter-spacing: 0.04em; font-size: 1.1rem; }
.brand-mark { color: #fff; }
.brand-mark.gold { color: var(--gold); }
.site-nav { display: flex; gap: 18px; }
.site-nav a { font-weight: 500; color: var(--ink-soft); }
.site-nav a:hover { color: var(--gold); }

/* HERO + ARTICLE */
.article, .index { max-width: 1180px; margin: 0 auto; padding: 36px 24px 80px; display: grid; gap: 56px; }
.article { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } }
.hero { padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; margin: 0 0 12px; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 18px; margin: 1em 0 1.4em; }
.player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); margin-top: 12px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-link { margin: 18px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 18px; background: var(--gold); color: var(--navy) !important; font-weight: 700; border-radius: 4px; letter-spacing: 0.04em; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--gold) !important; border: 1px solid var(--gold); }
.btn.ghost:hover { background: rgba(255,215,0,0.12); }

/* PROSE */
.prose { max-width: 720px; }
.prose p { font-size: 1.06rem; line-height: 1.78; color: var(--ink); margin-bottom: 1.2em; }
.prose p::first-letter { /* nothing fancy */ }
.prose p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 4em; line-height: 0.9; padding: 0.08em 0.12em 0 0; color: var(--gold); font-weight: 900;
}

/* CHAPTERS + SOURCES */
.chapters, .sources { background: var(--navy-2); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 26px; margin: 32px 0; max-width: 720px; }
.chapters h2, .sources h2 { margin-top: 0; font-size: 1.1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--sans); font-weight: 700; }
.chapters ol, .sources ol { padding-left: 18px; margin: 0; }
.chapters li, .sources li { margin-bottom: 8px; }
.chapters .t { color: var(--gold); font-variant-numeric: tabular-nums; margin-right: 8px; }

/* SHORTS RAIL */
.shorts-rail h2 { margin-bottom: 0.6em; }
.rail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rail li a { display: block; background: var(--navy-2); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; color: var(--ink); transition: transform 0.12s ease, border-color 0.12s ease; }
.rail li a:hover { transform: translateY(-2px); border-color: var(--gold); }
.rail img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
.rail h3 { padding: 10px 12px 0; font-size: 0.94rem; }
.rail .dur { display: block; padding: 4px 12px 12px; font-size: 0.78rem; color: var(--ink-soft); }

/* RELATED (sidebar) */
.related { position: sticky; top: 84px; align-self: start; }
.related h2 { margin-top: 0; font-size: 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--sans); font-weight: 700; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.related li a { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.related img { width: 120px; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.related h3 { font-size: 0.9rem; line-height: 1.3; }
.related .dur { font-size: 0.78rem; color: var(--ink-soft); }
.related .cta-block { margin-top: 18px; }
@media (max-width: 900px) { .related { position: static; } }

/* INDEX */
.index { grid-template-columns: 1fr; gap: 36px; }
.index-hero { border-bottom: none; padding-bottom: 8px; }
.index-hero .lede { max-width: 720px; font-size: 1.12rem; color: var(--ink-soft); }
.latest h2, .topic-section h2 { border-top: 1px solid var(--rule); padding-top: 26px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card a { display: block; background: var(--navy-2); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; color: var(--ink); transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease; }
.card a:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
.card-body { padding: 14px 16px 18px; }
.card-body .tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card-body h3 { font-size: 1.05rem; margin: 6px 0; font-family: var(--serif); }
.card-body .dur { font-size: 0.82rem; color: var(--ink-soft); }
.cta-final { text-align: center; padding: 60px 24px; background: linear-gradient(180deg, var(--navy-3), var(--navy)); border-radius: 12px; border: 1px solid var(--rule); margin-top: 28px; }
.cta-final h2 { margin: 0 0 0.4em; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--rule); padding: 36px 0 56px; background: var(--navy-2); margin-top: 60px; }
.site-footer p { color: var(--ink-soft); margin-bottom: 0.6em; }
.site-footer .small { font-size: 0.84rem; color: rgba(182,194,212,0.6); }
/* BG_SEO_UPGRADE_CSS */
/* Related collapses card grid */
.related-grid { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.related-grid h2 { font-size: 1.15rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--sans); font-weight: 700; margin: 0 0 18px; }
.related-card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-link { display: block; background: var(--navy-2); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; color: var(--ink); transition: transform 0.14s ease, border-color 0.14s ease; }
.related-link:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.related-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
.related-link-body { padding: 12px 14px 16px; }
.related-link-tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.related-link-body h3 { font-size: 0.98rem; line-height: 1.3; margin: 6px 0 0; font-family: var(--serif); color: #fff; }

/* Pillar topic cards on index */
.pillar-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pillar-card a { display: block; padding: 22px 24px 26px; background: linear-gradient(180deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease; height: 100%; }
.pillar-card a:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.pillar-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pillar-card h3 { font-family: var(--serif); font-size: 1.4rem; margin: 8px 0 10px; color: #fff; }
.pillar-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* Pillar page body */
.pillar-prose { max-width: 820px; }
.pillar-prose p { font-size: 1.06rem; line-height: 1.78; }

/* FAQ visible block (pillar pages) */
.faq-block { max-width: 820px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid var(--rule); }
.faq-block h2 { font-family: var(--serif); margin: 0 0 24px; color: #fff; }
.faq-item { background: var(--navy-2); border: 1px solid var(--rule); border-radius: 8px; padding: 18px 22px; margin-bottom: 16px; }
.faq-item h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); margin: 0 0 10px; }
.faq-item p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; line-height: 1.7; }
