@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=Caveat:wght@600;700&display=swap');

:root {
  --brand: #0f766e;
  --brand-light: #14b8a6;
  --brand-dark: #0d5f58;
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-900: #134e4a;
  --accent: #111827;
  --accent-light: #1f2937;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --soft: #f0fdfa;
  --hand: #fff7cc;
  --red: #ef4444;
  --green: #22c55e;
  --yellow: #eab308;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-md: 0 10px 15px -3px rgba(15,23,42,.08), 0 4px 6px -4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,.1), 0 8px 10px -6px rgba(15,23,42,.06);
  --shadow-xl: 0 25px 50px -12px rgba(15,23,42,.18);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --nav-h: 56px;
  --max-w: 1280px;
  --transition: 150ms cubic-bezier(.4,0,.2,1);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ========================================
   RESET & BASE (shared by articles)
   ======================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

img, svg { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 { margin: 0; line-height: 1.15; font-weight: 800; }
p { margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========================================
   ARTICLE PAGE OVERRIDES
   Body styles for article pages only
   (homepage uses its own inline styles)
   ======================================== */

.article-page-body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.article-page-body a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}
.article-page-body a:hover { color: var(--brand-dark); }

/* ========================================
   SECTION LABELS & HELPERS (articles)
   ======================================== */

.section-label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--brand);
  border-radius: 2px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 4px 0 0;
  letter-spacing: -.02em;
}

.section-head { margin-bottom: 20px; }

.view-all {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.view-all::after { content: '→'; transition: transform var(--transition); }
.view-all:hover::after { transform: translateX(3px); }

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================
   TOP BAR (articles)
   ======================================== */

.top-bar {
  background: var(--accent);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { display: flex; gap: 16px; align-items: center; }
.top-bar-right { display: flex; gap: 12px; align-items: center; }
.top-bar a { color: rgba(255,255,255,.7); font-weight: 500; }
.top-bar a:hover { color: #fff; }
.network-badge {
  background: rgba(255,255,255,.08);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ========================================
   TICKER (articles)
   ======================================== */

.ticker {
  background: var(--brand);
  color: #fff;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  background: var(--brand-dark);
  padding: 10px 16px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  position: relative;
}
.ticker-wrap { display: flex; align-items: center; }
.ticker-track {
  display: flex;
  animation: tickerScroll 60s linear infinite;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  padding: 0 32px;
  font-size: .82rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.2);
}
.ticker-item a { color: #fff; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ========================================
   SITE HEADER (articles)
   ======================================== */

.site-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 50%, var(--brand) 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.05), transparent 40%);
}
.header-inner { position: relative; z-index: 1; padding: 28px 0 22px; }
.header-brand { display: flex; align-items: center; gap: 16px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.logo-text h1 a { color: #fff; }
.logo-text h1 a:hover { color: #fff; opacity: .9; }
.tagline {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-top: 6px;
  max-width: 600px;
  font-weight: 400;
}
.header-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

/* ========================================
   MAIN NAV (articles — sticky)
   ======================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-links { display: flex; gap: 2px; align-items: center; height: 100%; }
.nav-link {
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: var(--brand-50);
}
.nav-right { display: flex; gap: 8px; align-items: center; }
.nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,118,110,.3);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  transition: all .3s;
}

/* ========================================
   HERO (articles)
   ======================================== */

.hero { padding: 24px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  min-height: 420px;
}
.hero-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-xl);
}
.hero-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,.15), transparent 50%);
  pointer-events: none;
}
.hero-main > * { position: relative; z-index: 1; }
.hero-category {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-main h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.08;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.hero-main p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 680px;
}
.hero-main .hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 22px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
}
.hero-main .hero-link:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.hero-sidebar { display: flex; flex-direction: column; gap: 12px; }
.hero-side-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}
.hero-side-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
  transform: translateY(-2px);
}
.hero-side-card .smallcaps {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}
.hero-side-card h3 { font-size: 1.05rem; line-height: 1.2; margin: 6px 0; font-weight: 800; }
.hero-side-card h3 a { color: var(--text); }
.hero-side-card h3 a:hover { color: var(--brand); }
.hero-side-card .meta { font-size: .78rem; color: var(--muted); }

/* ========================================
   STATS BAR (articles)
   ======================================== */

.stats-bar { padding: 20px 0; margin-top: 20px; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.stat-number { font-size: 1.8rem; font-weight: 900; color: var(--brand); letter-spacing: -.02em; }
.stat-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}
.stat-sub { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ========================================
   CONTENT GRID (articles)
   ======================================== */

.content-area { padding: 32px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

/* ========================================
   ARTICLE CARDS (articles)
   ======================================== */

.article-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  opacity: 0;
  transition: opacity var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
  transform: translateY(-2px);
}
.article-card:hover::before { opacity: 1; }
.article-card .card-category {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}
.article-card h3 { font-size: 1.08rem; line-height: 1.22; margin: 6px 0 8px; font-weight: 800; }
.article-card h3 a { color: var(--text); transition: color var(--transition); }
.article-card h3 a:hover { color: var(--brand); }
.article-card .excerpt {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .card-meta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 500;
}
.article-card .card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ========================================
   BADGES
   ======================================== */

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--line-light);
}
.badge-brand {
  background: var(--brand-50);
  color: var(--brand);
  border-color: var(--brand-100);
}

/* ========================================
   FEATURED CARDS (articles)
   ======================================== */

.featured-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.featured-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--accent));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.1), transparent 50%);
  pointer-events: none;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.featured-card > * { position: relative; z-index: 1; }
.featured-card .card-category { color: rgba(255,255,255,.8); }
.featured-card h3 { font-size: 1.2rem; margin: 6px 0; line-height: 1.18; }
.featured-card h3 a { color: #fff; }
.featured-card .card-meta { color: rgba(255,255,255,.6); }

/* ========================================
   CATEGORY BLOCKS (articles)
   ======================================== */

.category-section { padding: 28px 0; border-top: 1px solid var(--line); }
.category-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cat-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.cat-block:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.cat-block h4 { font-size: .95rem; font-weight: 800; margin: 8px 0 4px; }
.cat-block h4 a { color: var(--text); }
.cat-block h4 a:hover { color: var(--brand); }
.cat-block .cat-count { font-size: .76rem; color: var(--muted); }
.cat-block .cat-excerpt { font-size: .82rem; color: var(--text-secondary); margin-top: 6px; line-height: 1.45; }

/* ========================================
   SIDEBAR (articles)
   ======================================== */

.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-block h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}

/* ========================================
   TRENDING (articles)
   ======================================== */

.trending-list { list-style: none; padding: 0; margin: 0; }
.trending-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.trending-item:last-child { border-bottom: none; }
.trending-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--brand);
  min-width: 28px;
  line-height: 1;
}
.trending-text h4 { font-size: .88rem; font-weight: 700; line-height: 1.25; margin: 0; }
.trending-text h4 a { color: var(--text); }
.trending-text h4 a:hover { color: var(--brand); }
.trending-text .meta { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* ========================================
   NEWSLETTER (articles)
   ======================================== */

.newsletter-block {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}
.newsletter-block h3 {
  font-size: 1.15rem;
  color: #fff;
  border: none;
  padding: 0;
  margin: 0 0 6px;
}
.newsletter-block p { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.18); }
.newsletter-form button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* ========================================
   ARCHIVE STRIP (articles)
   ======================================== */

.archive-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--line-light);
  transition: all var(--transition);
}
.archive-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ========================================
   NETWORK SECTION (articles)
   ======================================== */

.network-section { padding: 28px 0; border-top: 1px solid var(--line); }
.network-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.network-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  transition: all var(--transition);
}
.network-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.network-card .net-name { font-size: 1rem; font-weight: 800; margin: 4px 0; }
.network-card .net-desc { font-size: .82rem; color: var(--muted); }
.network-card .net-color { width: 40px; height: 4px; border-radius: 2px; margin: 0 auto 10px; }

/* ========================================
   CALLOUT (articles)
   ======================================== */

.callout {
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--brand); }

/* ========================================
   FOOTER (articles)
   ======================================== */

.footer {
  background: var(--accent);
  color: rgba(255,255,255,.75);
  padding: 48px 0 0;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.footer-brand p { font-size: .88rem; line-height: 1.6; max-width: 340px; }
.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 700;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--brand); color: #fff; }

/* ========================================
   HAND NOTES (articles)
   ======================================== */

.hand-note {
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  line-height: 1.25;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.55)),
    repeating-linear-gradient(180deg, var(--hand), var(--hand) 28px, #f2e6a7 29px, var(--hand) 30px);
  border: 1px solid rgba(15,23,42,.08);
  border-left: 10px solid var(--brand);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 22px rgba(15,23,42,.06);
}

/* ========================================
   UTILITIES (articles)
   ======================================== */

.smallcaps {
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.article-list { display: grid; gap: 14px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

/* ========================================
   STORY SECTIONS (articles)
   ======================================== */

.story-intro p { font-size: 1.08rem; }
.story-section { margin: 28px 0 0; }
.story-section h2 { margin: 0 0 10px; font-size: 1.5rem; line-height: 1.14; }
.story-section p { margin: 0 0 14px; }

/* ========================================
   BREADCRUMBS (articles)
   ======================================== */

.breadcrumbs { font-size: .95rem; color: var(--muted); margin: 14px 0; }
.breadcrumbs a { color: var(--muted); }

/* ========================================
   LISTS & TABLES (articles)
   ======================================== */

.fact-list { padding-left: 18px; margin: 0; }
.fact-list li { margin: 0 0 10px; }
.source-list { padding-left: 0; list-style: none; margin: 0; }
.source-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.source-list li:last-child { border-bottom: none; }
.note { color: var(--muted); font-size: .94rem; }

.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
th, td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { background: #f8fafc; }

/* ========================================
   STATS (articles)
   ======================================== */

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat strong { display: block; font-size: 1.6rem; color: var(--accent); }
.stat span {
  display: block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat.mini { padding: 14px; background: linear-gradient(180deg, #fff, rgba(248,250,252,.92)); }
.stat.mini strong { font-size: 1rem; line-height: 1.25; color: var(--text); margin-top: 8px; }

/* ========================================
   LAYOUT HELPERS (articles)
   ======================================== */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sidebar .card { position: sticky; top: 72px; }

/* ========================================
   VISUAL SECTIONS (articles)
   ======================================== */

.visual-section { margin-top: 28px; }
.visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.viz-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.viz-card figcaption {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.viz-frame {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.viz-frame svg { width: 100%; height: auto; }

/* ========================================
   MISC COMPONENTS (articles)
   ======================================== */

.clean { margin: 0; padding-left: 18px; }
.hero-pack { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
}
.stories-stack { display: grid; gap: 14px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.kicker {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero .kicker, .article-hero .kicker {
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.08);
  color: var(--accent);
}
.article-hero { padding: 28px 0 12px; }
.cover {
  border-radius: 22px;
  padding: 28px;
  background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 35%),
    linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}
.cover h2 { font-size: 2.1rem; line-height: 1.06; margin: 0 0 12px; }
.cover p { margin: 0; max-width: 750px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }
.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .95rem;
  margin: 10px 0 14px;
}
.strong-callout {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.88));
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
  margin: 10px 0 0;
}

/* ========================================
   RESPONSIVE (articles)
   ======================================== */

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 300px; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
  }
  .nav-link {
    height: auto;
    padding: 12px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-link:hover, .nav-link.active {
    border-bottom: none;
    border-left-color: var(--brand);
  }
  .top-bar { display: none; }
  .featured-row { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .category-strip { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-main h2 { font-size: 1.6rem; }
  .logo-text h1 { font-size: 2rem; }
  .newsletter-form { flex-direction: column; }
  .visual-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-pack { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.4rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats { grid-template-columns: 1fr; }
}
