/* ═══════════════════════════════════════════════════════════
   Kadence Overrides
   ═══════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════
   Container
   ═══════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════
   CSS Variables
   ═══════════════════════════════════════════════════════════ */

:root {
    --navy-950: #0B1221;
    --navy-900: #0F1A2E;
    --navy-800: #152238;
    --teal-400: #2DD4A8;
    --teal-500: #10B981;
    --indigo-500: #6366F1;
    --amber-400: #FBBF24;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --white: #FFFFFF;
}

/* HERO */
.reports-hero { background: var(--navy-950); padding: 80px 0 72px; position: relative; overflow: hidden; }
.reports-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(45,212,168,0.06) 0%, transparent 70%); border-radius: 50%; }
.reports-hero .hero-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-400); margin-bottom: 16px; }
.reports-hero .hero-title { font-family: 'Instrument Serif', serif; font-size: 48px; font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.reports-hero .hero-subtitle { font-size: 17px; color: var(--slate-400); line-height: 1.6; max-width: 640px; }

/* SECTION NAV */
.section-nav { background: var(--white); border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; z-index: 50; }
.section-nav .container { display: flex; gap: 0; }
.section-nav a { display: block; padding: 16px 24px; font-size: 13px; font-weight: 600; color: var(--slate-500); text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.2s; }
.section-nav a:hover, .section-nav a.active { color: var(--navy-950); border-bottom-color: var(--teal-400); }
.section-nav .nav-count { display: inline-flex; align-items: center; justify-content: center; background: var(--slate-100); color: var(--slate-500); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px; margin-left: 6px; }

/* SECTIONS */
.reports-section { padding: 56px 0 40px; }
.reports-section + .reports-section { border-top: 1px solid var(--slate-200); }
.section-header { margin-bottom: 36px; }
.section-title { font-family: 'Instrument Serif', serif; font-size: 32px; font-weight: 400; color: var(--navy-950); margin-bottom: 8px; }
.section-desc { font-size: 15px; color: var(--slate-500); line-height: 1.5; }

/* GRID */
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .report-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .report-grid { grid-template-columns: repeat(2, 1fr); } .reports-hero .hero-title { font-size: 32px; } }

/* CARD */
.report-card { background: var(--white); border-radius: 12px; border: 1px solid var(--slate-200); overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
.report-card:hover { border-color: var(--slate-300); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }

/* AUTO-GENERATED COVER */
.report-cover { aspect-ratio: 8.5 / 11; position: relative; overflow: hidden; background: var(--navy-950); display: flex; flex-direction: column; padding: 24px 20px 20px; }
.report-cover::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 20px 20px; }
.report-cover::after { content: ''; position: absolute; bottom: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(45,212,168,0.15) 0%, transparent 70%); }
.cover-logo { font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 700; color: var(--slate-400); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: auto; position: relative; z-index: 1; }
.cover-logo .logo-accent { color: var(--teal-400); }
.cover-content { position: relative; z-index: 1; }
.cover-quarter { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: var(--teal-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.cover-title { font-family: 'Instrument Serif', serif; font-size: 18px; font-weight: 400; color: var(--white); line-height: 1.25; margin-bottom: 6px; }
.cover-subtitle { font-size: 10px; color: var(--slate-400); line-height: 1.4; }
.cover-stat { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: baseline; gap: 6px; }
.cover-stat-value { font-family: 'DM Mono', monospace; font-size: 24px; font-weight: 500; color: var(--teal-400); }
.cover-stat-label { font-size: 9px; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.05em; }
.cover-bars { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; align-items: flex-end; gap: 3px; height: 40px; opacity: 0.15; }
.cover-bar { flex: 1; background: var(--teal-400); border-radius: 2px 2px 0 0; }

/* CARD BODY */
.report-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.report-title { font-size: 14px; font-weight: 600; color: var(--navy-950); margin-bottom: 4px; line-height: 1.35; }
.report-date { font-size: 12px; color: var(--slate-400); margin-bottom: 14px; }
.report-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.btn-view { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; background: var(--teal-400); color: var(--navy-950); font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.15s; }
.btn-view:hover { background: #26c89b; }
.btn-download { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; background: transparent; color: var(--slate-600); font-size: 13px; font-weight: 600; border-radius: 8px; border: 1px solid var(--slate-200); text-decoration: none; transition: all 0.15s; }
.btn-download:hover { border-color: var(--slate-300); background: var(--slate-50); }
.btn-icon { width: 14px; height: 14px; flex-shrink: 0; }
.report-badge-new { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-500); background: rgba(16,185,129,0.08); padding: 3px 8px; border-radius: 4px; margin-bottom: 6px; width: fit-content; }

/* CTA */
.reports-cta-section { padding: 64px 0 80px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card { border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; }
.cta-card-teal { background: var(--navy-950); border: 1px solid rgba(45,212,168,0.15); }
.cta-card-indigo { background: var(--navy-950); border: 1px solid rgba(99,102,241,0.15); }
.cta-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.cta-card-teal .cta-eyebrow { color: var(--teal-400); }
.cta-card-indigo .cta-eyebrow { color: var(--indigo-500); }
.cta-title { font-family: 'Instrument Serif', serif; font-size: 24px; color: var(--white); margin-bottom: 8px; line-height: 1.25; }
.cta-desc { font-size: 14px; color: var(--slate-400); line-height: 1.5; margin-bottom: 24px; }
.cta-btn-teal { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--teal-400); color: var(--navy-950); font-size: 14px; font-weight: 700; border-radius: 8px; text-decoration: none; width: fit-content; transition: background 0.15s; }
.cta-btn-teal:hover { background: #26c89b; }
.cta-btn-indigo { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--indigo-500); color: var(--white); font-size: 14px; font-weight: 700; border-radius: 8px; text-decoration: none; width: fit-content; transition: background 0.15s; }
.cta-btn-indigo:hover { background: #5558e6; }
