/* ============================================================
   GLOBAL CRISIS WATCH — DESIGN SYSTEM
   Version 1.0 | March 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@400;600&family=Inter:wght@400;500;600&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  --bg:             #ffffff;
  --surface:        #f8f9fb;
  --text:           #1a1a2e;
  --heading:        #0f172a;
  --accent:         #1e40af;
  --accent-hover:   #1d3799;
  --accent-bg:      #eff6ff;
  --accent-border:  #bfdbfe;
  --alert:          #b91c1c;
  --alert-bg:       #fef2f2;
  --alert-border:   #fecaca;
  --positive:       #047857;
  --positive-bg:    #f0fdf4;
  --positive-border:#a7f3d0;
  --muted:          #64748b;
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-ui:    'Inter', system-ui, sans-serif;

  --body-max:    720px;
  --wide-max:    1200px;
  --sidebar-w:   260px;
  --gap:         2rem;
  --nav-h:       64px;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 4px 8px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.09), 0 4px 8px rgba(0,0,0,0.06);

  --ease: 200ms ease;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ---- SKIP NAV ---- */
.skip-nav {
  position: absolute;
  top: -999px;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-nav:focus { top: 0; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo span {
  color: var(--accent);
}
.nav-logo:hover { color: var(--heading); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-bg);
}

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--heading);
  border-radius: var(--radius);
}
.nav-menu-btn:hover { background: var(--surface); }
.nav-menu-btn svg { display: block; }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* ---- HERO — HOMEPAGE ---- */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}

.hero-inner {
  max-width: var(--body-max);
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-border);
}
.btn-outline:hover {
  background: var(--accent-bg);
  color: var(--accent);
}

/* ---- QUICK FACTS STRIP ---- */
.quick-facts {
  background: var(--heading);
  color: #fff;
  padding: 1.5rem;
}

.quick-facts-inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.quick-stat {
  background: var(--heading);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.quick-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.quick-stat-value.alert { color: #fca5a5; }
.quick-stat-value.positive { color: #6ee7b7; }

.quick-stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---- TOPIC CARDS GRID (Homepage) ---- */
.topic-grid {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.topic-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  box-shadow: var(--shadow-sm);
}

.topic-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}

.topic-card.featured {
  grid-column: span 2;
  background: var(--accent-bg);
  border-color: var(--accent-border);
}

.topic-card-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.topic-card.featured .topic-card-icon {
  background: rgba(30,64,175,0.1);
}

.topic-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.topic-card.featured h3 { font-size: 1.25rem; }

.topic-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.topic-card-link {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.topic-card-link:hover { color: var(--accent-hover); }
.topic-card-link::after { content: '→'; }

/* ---- SITUATION SUMMARY (Homepage) ---- */
.situation-summary {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.situation-inner {
  max-width: var(--body-max);
  margin: 0 auto;
}

.situation-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.last-updated::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
}

/* ---- ARTICLE PAGE LAYOUT ---- */
.article-page {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 4rem;
  align-items: start;
}

.article-content {
  min-width: 0;
  max-width: var(--body-max);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb li {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--border-dark);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--text); }

/* ---- ARTICLE TYPOGRAPHY ---- */
.article-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 1rem;
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--border);
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  margin: 1.75rem 0 0.5rem;
}

.article-content h4 {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1.5rem 0 0.5rem;
}

.article-content strong { font-weight: 600; color: var(--heading); }
.article-content em { font-style: italic; }

.article-content blockquote {
  border-left: 4px solid var(--accent-border);
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  background: var(--accent-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--heading);
  margin: 0;
}

/* ---- AI SUMMARY BLOCK ---- */
.ai-summary {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 2rem;
}

.ai-summary-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-summary p {
  font-size: 0.97rem;
  color: var(--heading);
  line-height: 1.65;
  margin: 0;
}

/* ---- CALLOUT BOXES ---- */
.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.75rem 0;
  border-left: 4px solid;
}

.callout-info {
  background: var(--accent-bg);
  border-color: var(--accent);
}

.callout-warning {
  background: #fffbeb;
  border-color: #d97706;
}

.callout-alert {
  background: var(--alert-bg);
  border-color: var(--alert);
}

.callout-positive {
  background: var(--positive-bg);
  border-color: var(--positive);
}

.callout-title {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.callout-info .callout-title { color: var(--accent); }
.callout-warning .callout-title { color: #92400e; }
.callout-alert .callout-title { color: var(--alert); }
.callout-positive .callout-title { color: var(--positive); }

.callout p { margin-bottom: 0; font-size: 0.94rem; }

/* ---- STAT CALLOUTS ---- */
.stat-callout {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-desc {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---- TABLES ---- */
.table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  white-space: nowrap;
}

thead {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}

th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--heading);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  white-space: normal;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface); }

.td-alert { color: var(--alert); font-weight: 600; }
.td-positive { color: var(--positive); font-weight: 600; }
.td-muted { color: var(--muted); }
.badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-red { background: var(--alert-bg); color: var(--alert); }
.badge-yellow { background: #fffbeb; color: #92400e; }
.badge-green { background: var(--positive-bg); color: var(--positive); }
.badge-blue { background: var(--accent-bg); color: var(--accent); }
.badge-gray { background: var(--surface); color: var(--muted); }

/* ---- FAQ SECTION ---- */
.faq-section {
  margin: 2.5rem 0;
}

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--ease);
  line-height: 1.45;
}

.faq-question:hover { background: var(--surface); }

.faq-question[aria-expanded="true"] {
  background: var(--accent-bg);
  color: var(--accent);
  border-bottom: 1px solid var(--accent-border);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--ease);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg);
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-answer.is-open { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- TOC SIDEBAR ---- */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  max-height: calc(100vh - var(--nav-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

.toc-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.toc-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li { margin-bottom: 0; }

.toc-list a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: all var(--ease);
  line-height: 1.4;
}

.toc-list a:hover { color: var(--accent); background: var(--bg); }
.toc-list a.is-active {
  color: var(--accent);
  background: var(--accent-bg);
  border-left-color: var(--accent);
  font-weight: 500;
}

.related-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.related-box .toc-title { margin-bottom: 0.75rem; }

.related-list {
  list-style: none;
  padding: 0;
}

.related-list li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.related-list li:last-child { border-bottom: none; }

.related-list a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0.25rem;
  line-height: 1.4;
  transition: color var(--ease);
}
.related-list a:hover { color: var(--accent); }
.related-list a::before {
  content: '→ ';
  color: var(--accent);
  font-weight: 600;
}

/* ---- FIGURES / IMAGES ---- */
figure {
  margin: 2rem 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

figcaption {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* Wide breakout (wider than text column) */
.wide-figure {
  margin: 2.5rem -2rem;
}

/* ---- COMPARISON TABLE ---- */
.scenario-table .badge { display: block; }

/* ---- CHECKLIST ---- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  font-size: 0.94rem;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-dark);
  border-radius: 4px;
  background: var(--bg);
}

.checklist-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.checklist-section h3 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* ---- ABOUT / TRUST BLOCK ---- */
.trust-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: var(--wide-max);
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media (min-width: 768px) {
  .trust-block { margin-left: auto; margin-right: auto; }
}

.trust-block h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.trust-block p {
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 680px;
}

.source-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.source-list li { margin: 0; }

.source-list a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  transition: all var(--ease);
}

.source-list a:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-bg);
}

/* ---- NEWSLETTER BLOCK ---- */
.newsletter {
  background: var(--accent);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: rgba(255,255,255,0.8);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--ease);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.7); }

.newsletter-form button {
  padding: 0.7rem 1.25rem;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease);
}
.newsletter-form button:hover { background: rgba(255,255,255,0.9); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--heading);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--wide-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo {
  color: #fff;
  font-size: 1.05rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.footer-brand .nav-logo span { color: #93c5fd; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.25rem 2rem;
  align-content: start;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  transition: color var(--ease);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ---- FADE-IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- ARTICLE HEADER META ---- */
.article-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- DATA HIGHLIGHT BOX ---- */
.data-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.data-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.data-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.data-item span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- ACTIONS LIST ---- */
.action-list {
  counter-reset: action-counter;
  list-style: none;
  padding: 0;
}

.action-list li {
  counter-increment: action-counter;
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.action-list li:last-child { border-bottom: none; }

.action-list li::before {
  content: counter(action-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 0.1rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card.featured { grid-column: span 1; }
  .article-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-sidebar {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .toc-box, .related-box { margin-bottom: 0; }
}

@media (max-width: 768px) {
  html { font-size: 17px; }

  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .quick-facts-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-facts-inner .quick-stat:nth-child(4),
  .quick-facts-inner .quick-stat:nth-child(5) {
    grid-column: span 1;
  }

  .topic-grid { grid-template-columns: 1fr; }
  .trust-block { padding: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .article-sidebar { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .stat-callout { flex-direction: column; }
  .wide-figure { margin: 1.5rem 0; }
  .data-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .quick-facts-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-facts-inner .quick-stat:last-child {
    grid-column: span 2;
  }
  .hero { padding: 2.5rem 1rem 2rem; }
  .topic-grid { padding: 0 1rem 2rem; }
}

/* ---- PRINT STYLES (preparedness page) ---- */
@media print {
  .site-nav, .article-sidebar, .newsletter, .site-footer,
  .skip-nav, .breadcrumb, .nav-menu-btn { display: none !important; }

  body { font-size: 12pt; color: #000; }

  .article-page {
    display: block;
    padding: 0;
    max-width: 100%;
  }

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

  h1, h2, h3 { page-break-after: avoid; color: #000; }

  .checklist li::before {
    border: 2px solid #666;
    background: none;
  }

  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }

  .callout, .ai-summary, .data-highlight {
    border: 1px solid #ccc;
    background: #f9f9f9 !important;
    page-break-inside: avoid;
  }

  .table-wrap { box-shadow: none; border: 1px solid #ccc; }

  .print-page-break { page-break-before: always; }
  .checklist-section { break-inside: avoid; }
}
