/* Kadence overrides */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

body.page-template-page-infographic .entry-content,
body.page-template-page-infographic .entry-content-wrap {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Hero section needs dark bg despite light page */
body.page-template-page-infographic .hero {
    background: #0B1221 !important;
}

/* Section titles - prevent Kadence color override */
body.page-template-page-infographic .section-title {
    color: #0B1221 !important;
}

body.page-template-page-infographic .hero-title {
    color: #FFFFFF !important;
}

/* ============ CSS VARS ============ */
:root {
    --navy-950: #0B1221;
    --navy-900: #0F1A2E;
    --navy-800: #152238;
    --navy-700: #1C2D4A;
    --teal-400: #2DD4A8;
    --teal-500: #10B981;
    --teal-300: #5EEAD4;
    --indigo-500: #6366F1;
    --indigo-400: #818CF8;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --white: #FFFFFF;
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;
    --rose-400: #FB7185;
    --sky-400: #38BDF8;
    --violet-400: #A78BFA;
    --emerald-400: #34D399;
    --orange-400: #FB923C;
    --cyan-400: #22D3EE;
}

/* ============ HERO ============ */
.hero {
    padding: 140px 0 60px;
    background: var(--navy-950);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 30% 50%, rgba(45,212,168,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 60%, rgba(99,102,241,0.04) 0%, transparent 50%);
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--amber-400); margin-bottom: 16px;
}
.hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: 48px; font-weight: 400; color: var(--white);
    line-height: 1.15; margin-bottom: 16px;
}
.hero-subtitle {
    font-size: 18px; color: var(--slate-400); max-width: 640px; margin: 0 auto 32px;
    line-height: 1.6;
}
.hero-updated {
    font-size: 13px; color: var(--slate-500);
    font-family: 'DM Mono', monospace;
}

/* ============ LAYOUT ============ */
.section {
    padding: 64px 0;
    border-bottom: 1px solid var(--slate-200);
}
.section:last-of-type { border-bottom: none; }

.section-header {
    margin-bottom: 40px;
}
.section-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--amber-500); margin-bottom: 8px;
}
.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 32px; font-weight: 400; color: var(--navy-950);
    line-height: 1.2; margin-bottom: 4px;
}
.section-source {
    font-size: 12px; color: var(--slate-500); margin-top: 6px;
}
.section-source a {
    color: var(--indigo-500); text-decoration: none;
}
.section-source a.teal { color: var(--teal-500); }

/* ============ CHART CARDS ============ */
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.chart-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s;
}
.chart-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.chart-card.full-width {
    grid-column: 1 / -1;
}
.chart-card-number { display: none; }
.chart-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--navy-950); margin-bottom: 4px;
}
.chart-card-description {
    font-size: 14px; color: var(--slate-500);
    line-height: 1.6; margin-bottom: 20px;
}
.chart-wrap {
    position: relative;
    width: 100%;
    min-height: 280px;
}
.chart-wrap canvas {
    width: 100% !important;
    max-height: 320px;
}
.chart-wrap.tall canvas {
    max-height: 380px;
}

/* ============ STAT CARDS ============ */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.stat-value {
    font-family: 'DM Mono', monospace;
    font-size: 28px; font-weight: 500;
    color: var(--navy-950); line-height: 1;
    margin-bottom: 4px;
}
.stat-value .unit { font-size: 16px; color: var(--slate-500); }
.stat-label {
    font-size: 12px; color: var(--slate-500); font-weight: 500;
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 80px 0;
    background: var(--navy-950);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 50% 60% at 30% 40%, rgba(45,212,168,0.05) 0%, transparent 60%),
      radial-gradient(ellipse 50% 60% at 70% 60%, rgba(99,102,241,0.05) 0%, transparent 60%);
}
.cta-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    position: relative; z-index: 2;
}
.cta-card {
    border-radius: 16px; padding: 40px; text-align: center;
}
.cta-card.teal {
    background: linear-gradient(135deg, rgba(45,212,168,0.12), rgba(45,212,168,0.04));
    border: 1px solid rgba(45,212,168,0.2);
}
.cta-card.indigo {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(99,102,241,0.04));
    border: 1px solid rgba(99,102,241,0.2);
}
.cta-card-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 12px;
}
.cta-card.teal .cta-card-eyebrow { color: var(--teal-400); }
.cta-card.indigo .cta-card-eyebrow { color: var(--indigo-400); }
.cta-card-title {
    font-family: 'Instrument Serif', serif;
    font-size: 26px; color: var(--white); margin-bottom: 12px;
}
.cta-card-text {
    font-size: 14px; color: var(--slate-400); line-height: 1.6; margin-bottom: 24px;
}
.cta-btn {
    display: inline-block; padding: 12px 32px;
    font-size: 14px; font-weight: 700; border-radius: 10px;
    text-decoration: none; transition: all 0.2s;
}
.cta-btn.teal { background: var(--teal-400); color: var(--navy-950); }
.cta-btn.teal:hover { background: var(--teal-300); }
.cta-btn.indigo { background: var(--indigo-500); color: var(--white); }
.cta-btn.indigo:hover { background: var(--indigo-400); }

/* ============ CHART SOURCE WATERMARK ============ */
.chart-source-mark {
    text-align: right;
    font-size: 10px;
    color: var(--slate-400);
    margin-top: 8px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
}

/* ============ FAQ / DATA NOTES ============ */
.data-notes {
    padding: 48px 0;
    border-top: 1px solid var(--slate-200);
}
.data-notes-title {
    font-family: 'Instrument Serif', serif;
    font-size: 24px; color: var(--navy-950);
    margin-bottom: 20px;
}
.data-notes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.data-note-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 24px;
}
.data-note-q {
    font-size: 14px; font-weight: 700;
    color: var(--navy-950); margin-bottom: 8px;
}
.data-note-a {
    font-size: 13px; color: var(--slate-500);
    line-height: 1.7;
}
.data-note-a a {
    color: var(--indigo-500); text-decoration: none;
}
.data-note-a a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .data-notes-grid { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero { padding: 100px 0 40px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 26px; }
    .chart-grid { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .chart-wrap { min-height: 220px; }
}
