/* ════════════════════════════════════════════════════════════
   Library of History — Global Stylesheet
   ════════════════════════════════════════════════════════════ */

/* ── RESET ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button { font:inherit; border:none; background:none; cursor:pointer; }

/* ── VARIABLES ── */
:root {
  /* typography */
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  /* colors */
  --bg:             #FFFFFF;
  --surface:        #F8F9FA;
  --surface-hover:  #F0F2F5;
  --text:           #1A1A2E;
  --text-secondary: #6B7280;
  --text-muted:     #9CA3AF;
  --accent:         #1E3A5F;
  --accent-hover:   #2C5282;
  --gold:           #B8860B;
  --border:         #E5E7EB;
  --divider:        #F3F4F6;

  /* layout */
  --max-hub:     1200px;
  --max-article: 800px;
}

/* ── BASE TYPOGRAPHY ── */
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text); }
h1 { font-weight:700; }
h2,h3 { font-weight:600; }

/* ── UTILITY ── */
.container     { max-width:var(--max-hub); margin:0 auto; padding:0 24px; }
.container-sm  { max-width:var(--max-article); margin:0 auto; padding:0 24px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-hub);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--accent); background: var(--surface); }
.nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ── Eras dropdown ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--accent); background: var(--surface); }
.nav-dropdown-toggle.active { color: var(--accent); }
.dropdown-arrow {
  border: solid var(--text-muted);
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 2.5px;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform .2s;
}
.nav-dropdown.open .dropdown-arrow { transform: rotate(-135deg); margin-top: 2px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  min-width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 200;
  padding: 8px 0;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.dropdown-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
}
.dropdown-item:hover { background: var(--surface); }
.dropdown-era-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 20px;
}
.dropdown-era-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.dropdown-era-dates {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  z-index: 99;
  flex-direction: column;
  padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
  transition: color .2s, background .2s;
}
.mobile-nav a:hover { color: var(--accent); background: var(--surface); }
.mobile-nav a.active { color: var(--accent); font-weight: 600; }
.mobile-era-group-label {
  padding: 12px 24px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-rule {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  border: none;
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ════════════════════════════════════════════════════════════ */
.page-header {
  padding: 56px 24px 40px;
  text-align: center;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.page-header-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════ */
.section {
  padding: 48px 0;
}
.section + .section {
  border-top: 1px solid var(--divider);
}
.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

/* ════════════════════════════════════════════════════════════
   CARD GRID
   ════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Era Card ── */
.era-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.era-card:hover {
  background: var(--surface-hover);
  border-color: #D1D5DB;
}
.era-card-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.era-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.era-card-dates {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}
.era-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.era-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  transition: color .2s;
}
.era-card:hover .era-card-link { color: var(--accent-hover); }

/* ── Article Card ── */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.article-card:hover {
  background: var(--surface-hover);
  border-color: #D1D5DB;
}
.article-card-img {
  width: 100%;
  height: 180px;
  background: var(--surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
}
.article-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.article-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.article-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.article-card-read {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color .2s;
}
.article-card:hover .article-card-read { color: var(--accent-hover); }

/* ── Tag ── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(30,58,95,.08);
  color: var(--accent);
  white-space: nowrap;
}
.tag-gold {
  background: rgba(184,134,11,.1);
  color: var(--gold);
}

/* ── Reading time ── */
.reading-time {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ════════════════════════════════════════════════════════════
   ERA HEADER (for era hub pages)
   ════════════════════════════════════════════════════════════ */
.era-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.era-header-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.era-header-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
}
.era-header-dates {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.era-header-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   ARTICLE BODY (reading typography)
   ════════════════════════════════════════════════════════════ */
.article-body {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.article-body h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.article-body h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 16px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
  line-height: 1.3;
}
.article-body p {
  margin-bottom: 24px;
  line-height: 1.8;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(30,58,95,.3);
  text-underline-offset: 2px;
  transition: text-decoration-color .2s;
}
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body figure {
  margin: 36px 0;
}
.article-body figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════
   FILTER BAR
   ════════════════════════════════════════════════════════════ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.filter-select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.filter-select:focus { border-color: var(--accent); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  grid-column: 1 / -1;
}
.empty-state-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.empty-state-sub {
  font-size: 15px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 56px 24px;
  border-top: 1px solid var(--divider);
}
.cta-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  padding: 14px 36px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.cta-link:hover {
  background: var(--accent);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-content {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 16px;
}
.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text);
}
.about-content ul {
  margin: 0 0 24px 24px;
  list-style: disc;
}
.about-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.about-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(30,58,95,.3);
  text-underline-offset: 2px;
}
.about-content a:hover { text-decoration-color: var(--accent); }
.about-byline {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.era-list {
  margin: 0 0 24px;
  list-style: none;
}
.era-list li {
  margin-bottom: 6px;
  list-style: none;
}
.era-list-num {
  display: inline-block;
  min-width: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.era-list-dates {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-left: 6px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-inner {
  max-width: var(--max-hub);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-about-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer-bottom {
  max-width: var(--max-hub);
  margin: 40px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-attribution {
  font-size: 13px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════
   ERA HUB — Prev/Next Nav
   ════════════════════════════════════════════════════════════ */
.era-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.era-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.era-nav-link:hover { color: var(--accent); }
.era-nav-link-muted { color: var(--text-muted); }

/* ── Era Overview Prose ── */
.era-overview {
  max-width: var(--max-article);
  padding: 48px 0;
}
.era-overview p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 17px;
}

/* ════════════════════════════════════════════════════════════
   ERA HUB — Vertical Timeline
   ════════════════════════════════════════════════════════════ */
.era-timeline {
  position: relative;
  padding: 8px 0 8px 40px;
}
.era-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding: 0 0 32px 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   ERA HUB — Key Figures
   ════════════════════════════════════════════════════════════ */
.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.figure-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.figure-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.figure-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.figure-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   ERA HUB — Articles Placeholder + Bottom Nav
   ════════════════════════════════════════════════════════════ */
.era-articles-placeholder {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.era-articles-placeholder p {
  font-size: 15px;
  color: var(--text-muted);
}
.era-bottom-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.era-bottom-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 32px 24px;
  text-decoration: none;
  transition: background .2s;
}
.era-bottom-nav-link:hover { background: var(--surface); }
.era-bottom-nav-link--next { text-align: right; align-items: flex-end; border-left: 1px solid var(--border); }
.era-bottom-nav-dir {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.era-bottom-nav-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.25;
}

/* ════════════════════════════════════════════════════════════
   ARTICLE TEMPLATE — Hero Image
   ════════════════════════════════════════════════════════════ */
.article-hero-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.article-sources {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 24px 48px;
}
.article-sources h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}
.article-sources ol {
  list-style: decimal;
  margin-left: 24px;
}
.article-sources li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.related-articles {
  max-width: var(--max-hub);
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.related-articles h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 56px 24px 48px; }
  .hero-title { font-size: 38px; }
  .hero-tagline { font-size: 17px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }

  .section-heading { font-size: 26px; }
  .page-header-title { font-size: 32px; }

  .era-header-title { font-size: 36px; }

  .article-body h1 { font-size: 30px; }
  .article-body h2 { font-size: 24px; }

  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .era-bottom-nav-name { font-size: 17px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-inner > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 40px 16px 36px; }
  .hero-title { font-size: 30px; }
  .hero-tagline { font-size: 16px; }

  .card-grid { grid-template-columns: 1fr; }

  .container, .container-sm { padding: 0 16px; }
  .section { padding: 36px 0; }
  .section-heading { font-size: 24px; }
  .page-header { padding: 40px 16px 32px; }
  .page-header-title { font-size: 28px; }

  .era-header { padding: 40px 0 28px; }
  .era-header-title { font-size: 28px; }

  .filter-bar { flex-direction: column; align-items: stretch; }

  .figures-grid { grid-template-columns: 1fr; }
  .era-bottom-nav { grid-template-columns: 1fr; }
  .era-bottom-nav-link--next { text-align: left; align-items: flex-start; border-left: none; border-top: 1px solid var(--border); }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner > :last-child { grid-column: auto; }
}
