/* =====================================================
   InsureFill Pro Theme — Main Stylesheet v2.0
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;450;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --ink:      #0B1F3A;
  --ink-soft: #1E3A5F;
  --teal:     #00B894;
  --teal-d:   #009678;
  --teal-l:   #E6F9F5;
  --amber:    #F39C12;
  --amber-l:  #FEF6E4;
  --slate:    #F0F4F9;
  --slate-d:  #E2EAF4;
  --white:    #FFFFFF;
  --muted:    #64748B;
  --border:   #D6E0EE;
  --text:     #1E293B;
  --serif:    'DM Serif Display', Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
  --shadow-s: 0 1px 4px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.04);
  --shadow-m: 0 4px 16px rgba(11,31,58,.08), 0 1px 4px rgba(11,31,58,.04);
  --shadow-l: 0 8px 32px rgba(11,31,58,.12), 0 2px 8px rgba(11,31,58,.06);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ── RESET ── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--sans); color:var(--text); background:var(--white); line-height:1.65; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a { text-decoration:none; color:inherit; }
img { display:block; max-width:100%; height:auto; }
ul,ol { padding-left:1.4em; }
button { font-family:var(--sans); cursor:pointer; border:none; background:none; }

/* ── UTILITY ── */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.container--wide { max-width:1400px; margin:0 auto; padding:0 32px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.tag {
  display:inline-flex; align-items:center; gap:5px;
  font-size:11px; font-weight:700; letter-spacing:.6px;
  text-transform:uppercase; padding:3px 10px;
  border-radius:100px;
}
.tag--teal { background:var(--teal-l); color:var(--teal-d); }
.tag--amber { background:var(--amber-l); color:#B45309; }
.tag--ink { background:rgba(11,31,58,.08); color:var(--ink); }

/* ═══════════════════════════════
   NAVIGATION
═══════════════════════════════ */
.site-header {
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .2s;
}
.site-header.scrolled { box-shadow:var(--shadow-m); }

.nav-wrap {
  display:flex; align-items:center;
  justify-content:space-between;
  height:66px; gap:16px;
}

/* Logo */
.site-logo {
  display:flex; align-items:center; gap:10px;
  font-family:var(--serif);
  font-size:20px; font-weight:400;
  color:var(--ink); flex-shrink:0;
}
.logo-shield {
  width:36px; height:36px;
  background:var(--ink); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.logo-shield svg { width:20px; height:20px; fill:white; }
.logo-text em { color:var(--teal); font-style:normal; }

/* Primary Nav */
.primary-nav { display:flex; align-items:center; gap:2px; }
.primary-nav > li { list-style:none; position:relative; }
.primary-nav > li > a {
  display:flex; align-items:center; gap:4px;
  font-size:13.5px; font-weight:500; color:var(--muted);
  padding:8px 14px; border-radius:var(--r-sm);
  transition:color .15s, background .15s;
  white-space:nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li.current-menu-item > a { color:var(--ink); background:var(--slate); }

/* Dropdown */
.primary-nav .dropdown {
  position:absolute; top:calc(100% + 8px); left:0;
  background:white; border:1px solid var(--border);
  border-radius:var(--r-md); min-width:220px;
  box-shadow:var(--shadow-l); padding:8px;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .18s, transform .18s, visibility .18s;
  pointer-events:none;
}
.primary-nav > li:hover .dropdown,
.primary-nav > li:focus-within .dropdown {
  opacity:1; visibility:visible; transform:translateY(0);
  pointer-events:auto;
}
.dropdown li { list-style:none; }
.dropdown li a {
  display:block; font-size:13.5px; color:var(--text);
  padding:8px 12px; border-radius:var(--r-sm);
  transition:background .12s, color .12s;
}
.dropdown li a:hover { background:var(--slate); color:var(--ink); }

/* Nav Actions */
.nav-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.nav-search-btn {
  width:38px; height:38px; border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:background .15s, color .15s;
}
.nav-search-btn:hover { background:var(--slate); color:var(--ink); }
.btn-primary {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--teal); color:white;
  font-size:13.5px; font-weight:600;
  padding:9px 18px; border-radius:var(--r-sm);
  transition:background .15s, transform .1s, box-shadow .15s;
  box-shadow:0 2px 8px rgba(0,184,148,.3);
  white-space:nowrap;
}
.btn-primary:hover { background:var(--teal-d); transform:translateY(-1px); box-shadow:0 4px 16px rgba(0,184,148,.4); }

/* Mobile Toggle */
.nav-toggle {
  display:none; width:40px; height:40px;
  border-radius:var(--r-sm); color:var(--ink);
  align-items:center; justify-content:center;
  transition:background .15s;
}
.nav-toggle:hover { background:var(--slate); }
.nav-toggle svg { width:22px; height:22px; stroke:currentColor; stroke-width:2; fill:none; }

/* Mobile Menu */
.mobile-nav {
  display:none; background:white;
  border-top:1px solid var(--border);
  padding:16px 24px 24px;
}
.mobile-nav.open { display:block; }
.mobile-nav a {
  display:block; font-size:15px; font-weight:500;
  color:var(--text); padding:10px 14px;
  border-radius:var(--r-sm); margin-bottom:2px;
  transition:background .12s;
}
.mobile-nav a:hover { background:var(--slate); }

/* ═══════════════════════════════
   HERO — HOMEPAGE
═══════════════════════════════ */
.home-hero {
  background:var(--ink);
  position:relative; overflow:hidden;
  padding:80px 0 0;
}
.home-hero::before {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(0,184,148,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(243,156,18,.1) 0%, transparent 55%);
  pointer-events:none;
}
.hero-grid {
  display:grid; grid-template-columns:1fr 480px;
  gap:48px; align-items:center;
  position:relative; z-index:2;
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(0,184,148,.15);
  border:1px solid rgba(0,184,148,.3);
  color:#4ECDC4;
  font-size:11.5px; font-weight:600;
  letter-spacing:.7px; text-transform:uppercase;
  padding:5px 14px; border-radius:100px;
  margin-bottom:24px;
}
.hero-eyebrow .dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--teal);
  animation:blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-h1 {
  font-family:var(--serif);
  font-size:clamp(38px, 4.5vw, 60px);
  color:white; line-height:1.12;
  letter-spacing:-.5px; margin-bottom:22px;
}
.hero-h1 .accent { color:var(--teal); font-style:italic; }
.hero-sub {
  font-size:17px; color:rgba(255,255,255,.6);
  line-height:1.75; max-width:500px; margin-bottom:40px;
}
.hero-cta-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:52px; }
.btn-hero {
  display:inline-flex; align-items:center; gap:8px;
  font-size:15px; font-weight:700;
  padding:14px 28px; border-radius:var(--r-md);
  transition:all .15s;
}
.btn-hero--primary {
  background:var(--teal); color:white;
  box-shadow:0 6px 24px rgba(0,184,148,.4);
}
.btn-hero--primary:hover { background:var(--teal-d); transform:translateY(-2px); box-shadow:0 10px 32px rgba(0,184,148,.5); }
.btn-hero--ghost {
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.8);
}
.btn-hero--ghost:hover { background:rgba(255,255,255,.14); color:white; }

/* Trust pills */
.trust-strip { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.trust-pill {
  display:flex; align-items:center; gap:6px;
  font-size:12.5px; color:rgba(255,255,255,.45);
}
.trust-pill svg { width:14px; height:14px; stroke:var(--teal); fill:none; stroke-width:2.5; flex-shrink:0; }

/* Hero right — dashboard card */
.hero-dashboard {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-xl);
  padding:28px;
  backdrop-filter:blur(10px);
  position:relative;
}
.dashboard-header {
  display:flex; align-items:center; gap:14px; margin-bottom:24px;
}
.dashboard-icon {
  width:56px; height:56px;
  background:linear-gradient(135deg,var(--teal) 0%,#00796B 100%);
  border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,184,148,.4);
  flex-shrink:0;
}
.dashboard-icon svg { width:28px; height:28px; stroke:white; fill:none; stroke-width:1.8; }
.dashboard-title { font-size:15px; font-weight:700; color:white; margin-bottom:3px; }
.dashboard-sub { font-size:12px; color:rgba(255,255,255,.45); }

/* Coverage bars */
.cov-bars { display:flex; flex-direction:column; gap:11px; margin-bottom:24px; }
.cov-row { display:flex; align-items:center; gap:10px; }
.cov-label { font-size:11.5px; color:rgba(255,255,255,.5); min-width:100px; }
.cov-track {
  flex:1; height:5px; border-radius:3px;
  background:rgba(255,255,255,.08); overflow:hidden;
}
.cov-fill { height:100%; border-radius:3px; }
.cov-fill--teal  { background:linear-gradient(90deg,#00B894,#00E5C0); }
.cov-fill--amber { background:linear-gradient(90deg,#F39C12,#F5C842); }
.cov-fill--blue  { background:linear-gradient(90deg,#3B82F6,#60A5FA); }
.cov-fill--rose  { background:linear-gradient(90deg,#F43F5E,#FB7185); }
.cov-pct { font-size:11px; color:rgba(255,255,255,.35); min-width:28px; text-align:right; }

/* Dashboard stat strip */
.dashboard-stats {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:rgba(255,255,255,.08);
  border-radius:var(--r-md); overflow:hidden;
}
.d-stat { background:rgba(255,255,255,.04); padding:12px 10px; text-align:center; }
.d-stat strong {
  display:block; font-family:var(--serif);
  font-size:22px; color:white; line-height:1.1;
}
.d-stat strong .sup { font-size:14px; color:var(--teal); }
.d-stat span { font-size:10.5px; color:rgba(255,255,255,.35); }

/* Floating badges */
.float-badge {
  position:absolute;
  background:white; border-radius:var(--r-md);
  padding:9px 14px; box-shadow:var(--shadow-l);
  display:flex; align-items:center; gap:9px;
  white-space:nowrap; z-index:3;
}
.float-badge.top { top:-16px; right:-16px; animation:floatUp 4s ease-in-out infinite; }
.float-badge.bot { bottom:-16px; left:-16px; animation:floatUp 4s ease-in-out 2s infinite; }
@keyframes floatUp { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.badge-icon {
  width:32px; height:32px; border-radius:8px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.badge-icon.green { background:#E6F9F5; }
.badge-icon.orange { background:#FEF3EA; }
.badge-icon svg { width:16px; height:16px; }
.badge-dot {
  width:8px; height:8px; border-radius:50%;
  background:var(--teal); flex-shrink:0;
  animation:blink 2s ease-in-out infinite;
}
.badge-text strong { display:block; font-size:12px; font-weight:700; color:var(--ink); line-height:1.2; }
.badge-text span { font-size:10.5px; color:var(--muted); }

/* Hero wave bottom */
.hero-wave {
  margin-top:60px;
  line-height:0;
}
.hero-wave svg { width:100%; display:block; }

/* ═══════════════════════════════
   TICKER BAND
═══════════════════════════════ */
.ticker-band {
  background:var(--teal);
  padding:12px 0;
  overflow:hidden; white-space:nowrap;
}
.ticker-track {
  display:inline-flex; gap:40px;
  animation:ticker 32s linear infinite;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:500; color:rgba(255,255,255,.9);
}
.ticker-dot { width:4px; height:4px; border-radius:50%; background:rgba(255,255,255,.5); flex-shrink:0; }

/* ═══════════════════════════════
   AD SLOTS
═══════════════════════════════ */
.ad-slot {
  background:var(--slate);
  border:1px dashed #BDD0E8;
  border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:11.5px; font-weight:500; color:#94A3B8;
  letter-spacing:.3px;
}
.ad-leaderboard { height:90px; max-width:728px; margin:0 auto; }
.ad-full { height:90px; }
.ad-sidebar { height:250px; }
.ad-wrap { padding:32px 0 0; }
.ad-wrap--bottom { padding:0 0 48px; }

/* ═══════════════════════════════
   SECTION COMMONS
═══════════════════════════════ */
.section { padding:72px 0; }
.section--gray { background:var(--slate); }
.section--ink { background:var(--ink); }
.section--slate-d { background:var(--slate-d); }

.section-label {
  font-size:11.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:1.2px;
  color:var(--teal); margin-bottom:10px;
}
.section-label--light { color:rgba(0,184,148,.7); }
.section-title {
  font-family:var(--serif);
  font-size:clamp(26px,3.2vw,40px);
  color:var(--ink); line-height:1.2;
  margin-bottom:10px;
}
.section-title--light { color:white; }
.section-sub {
  font-size:15.5px; color:var(--muted);
  line-height:1.7; max-width:520px;
}
.section-sub--light { color:rgba(255,255,255,.55); }
.section-header { margin-bottom:48px; }
.section-header-row {
  display:flex; align-items:flex-end;
  justify-content:space-between; gap:16px;
  margin-bottom:48px;
}
.view-all {
  display:inline-flex; align-items:center; gap:5px;
  font-size:13.5px; font-weight:600; color:var(--teal);
  white-space:nowrap; transition:gap .15s;
}
.view-all:hover { gap:9px; }

/* ═══════════════════════════════
   CATEGORY GRID
═══════════════════════════════ */
.cat-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.cat-card {
  display:block;
  background:white;
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  padding:22px 18px;
  transition:border-color .18s, transform .18s, box-shadow .18s;
  position:relative; overflow:hidden;
}
.cat-card::before {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:3px; background:var(--teal);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s;
}
.cat-card:hover {
  border-color:var(--teal);
  transform:translateY(-4px);
  box-shadow:var(--shadow-l);
}
.cat-card:hover::before { transform:scaleX(1); }
.cat-emoji { font-size:28px; margin-bottom:14px; line-height:1; display:block; }
.cat-card h4 {
  font-size:14px; font-weight:700;
  color:var(--ink); margin-bottom:4px; line-height:1.3;
}
.cat-count { font-size:12px; color:var(--muted); }
.cat-pill {
  display:inline-block; margin-top:10px;
  font-size:10px; font-weight:700;
  padding:2px 8px; border-radius:100px;
  text-transform:uppercase; letter-spacing:.4px;
}

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

.art-card {
  display:block;
  background:white;
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  overflow:hidden;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.art-card:hover {
  transform:translateY(-5px);
  box-shadow:var(--shadow-l);
  border-color:rgba(0,184,148,.4);
}
.art-thumb {
  height:188px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; position:relative;
}
.art-thumb img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .35s;
}
.art-card:hover .art-thumb img { transform:scale(1.04); }
.art-thumb-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}
.art-thumb-placeholder svg { opacity:.35; }

.art-body { padding:20px 22px 22px; }
.art-cat {
  display:inline-block; margin-bottom:10px;
  font-size:10.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:.5px;
  padding:2px 9px; border-radius:100px;
}
.art-card h3 {
  font-family:var(--serif);
  font-size:17px; color:var(--ink);
  line-height:1.3; margin-bottom:8px;
}
.art-card p {
  font-size:13.5px; color:var(--muted);
  line-height:1.65; margin-bottom:14px;
}
.art-footer { display:flex; align-items:center; justify-content:space-between; }
.art-meta { font-size:12px; color:var(--muted); }
.art-arrow {
  width:30px; height:30px;
  background:var(--slate); border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  transition:background .15s;
}
.art-card:hover .art-arrow { background:var(--teal); }
.art-arrow svg {
  width:14px; height:14px;
  stroke:var(--teal); fill:none; stroke-width:2.5;
  transition:stroke .15s;
}
.art-card:hover .art-arrow svg { stroke:white; }

/* Featured Article */
.featured-card {
  display:grid; grid-template-columns:1fr 1fr;
  background:var(--ink);
  border-radius:var(--r-xl);
  overflow:hidden;
  min-height:360px;
}
.featured-content {
  padding:48px 44px;
  display:flex; flex-direction:column; justify-content:center;
}
.feat-tag {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(0,184,148,.15); color:#4ECDC4;
  font-size:10.5px; font-weight:700;
  letter-spacing:.6px; text-transform:uppercase;
  padding:4px 12px; border-radius:100px;
  margin-bottom:18px; width:fit-content;
}
.featured-card h2 {
  font-family:var(--serif);
  font-size:clamp(22px,2.5vw,30px);
  color:white; line-height:1.22;
  margin-bottom:14px;
}
.featured-card p {
  font-size:14px; color:rgba(255,255,255,.55);
  line-height:1.7; margin-bottom:24px;
}
.feat-meta-row {
  display:flex; align-items:center; gap:16px;
  margin-bottom:24px;
}
.feat-meta-row span { font-size:12px; color:rgba(255,255,255,.3); }
.btn-teal {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--teal); color:var(--ink);
  font-size:14px; font-weight:700;
  padding:12px 22px; border-radius:var(--r-sm);
  transition:background .15s, transform .12s;
  width:fit-content;
}
.btn-teal:hover { background:#00C9A3; transform:translateY(-1px); }

.featured-visual {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,rgba(0,184,148,.25) 0%,rgba(243,156,18,.15) 100%);
  display:flex; align-items:center; justify-content:center;
  padding:32px;
}
.featured-visual img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }

/* ═══════════════════════════════
   STATS BAND
═══════════════════════════════ */
.stats-band { background:white; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-row {
  display:grid; grid-template-columns:repeat(4,1fr);
}
.stat-cell {
  padding:44px 32px; text-align:center;
  border-right:1px solid var(--border);
}
.stat-cell:last-child { border-right:none; }
.stat-num {
  font-family:var(--serif);
  font-size:46px; font-weight:400;
  color:var(--ink); line-height:1.1; margin-bottom:6px;
}
.stat-num .stat-accent { color:var(--teal); }
.stat-label { font-size:13.5px; color:var(--muted); font-weight:500; }

/* ═══════════════════════════════
   WHY INSUREFILL
═══════════════════════════════ */
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; }
.why-tile {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  padding:32px 26px;
  border-radius:var(--r-md);
  transition:background .2s;
}
.why-tile:hover { background:rgba(255,255,255,.07); }
.why-num {
  font-family:var(--serif);
  font-size:40px; color:rgba(255,255,255,.06);
  line-height:1; margin-bottom:14px;
}
.why-icon {
  width:44px; height:44px; border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.why-tile h3 { font-size:15px; font-weight:700; color:white; margin-bottom:8px; }
.why-tile p { font-size:13px; color:rgba(255,255,255,.42); line-height:1.65; }

/* ═══════════════════════════════
   POPULAR LIST
═══════════════════════════════ */
.popular-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pop-row {
  display:flex; align-items:center; gap:14px;
  background:white; border:1.5px solid var(--border);
  border-radius:var(--r-md); padding:14px 16px;
  transition:border-color .15s, box-shadow .15s;
}
.pop-row:hover { border-color:var(--teal); box-shadow:0 4px 16px rgba(0,184,148,.1); }
.pop-num { font-size:11px; font-weight:800; color:var(--teal); min-width:20px; opacity:.7; }
.pop-icon {
  width:38px; height:38px; border-radius:var(--r-sm);
  flex-shrink:0; display:flex; align-items:center; justify-content:center;
}
.pop-info h4 { font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.3; margin-bottom:2px; }
.pop-info span { font-size:11.5px; color:var(--muted); }
.pop-chevron { margin-left:auto; color:var(--muted); font-size:18px; flex-shrink:0; }

/* ═══════════════════════════════
   NEWSLETTER
═══════════════════════════════ */
.newsletter-box {
  background:linear-gradient(135deg,var(--ink) 0%,#1a3a6e 100%);
  border-radius:var(--r-xl);
  padding:56px 64px;
  display:grid; grid-template-columns:1fr 1fr;
  gap:56px; align-items:center;
  position:relative; overflow:hidden;
}
.newsletter-box::after {
  content:''; position:absolute;
  top:-60px; right:-60px;
  width:280px; height:280px;
  background:rgba(0,184,148,.08);
  border-radius:50%; pointer-events:none;
}
.nl-left h2 {
  font-family:var(--serif);
  font-size:30px; color:white;
  line-height:1.2; margin-bottom:12px;
}
.nl-left p { font-size:14.5px; color:rgba(255,255,255,.55); line-height:1.7; }
.nl-form { display:flex; flex-direction:column; gap:10px; }
.nl-input-row {
  display:flex; background:white;
  border-radius:var(--r-md); overflow:hidden;
}
.nl-input-row input {
  flex:1; border:none; outline:none;
  padding:13px 18px; font-size:14px;
  font-family:var(--sans); color:var(--ink);
}
.nl-input-row input::placeholder { color:#94A3B8; }
.nl-input-row button {
  background:var(--ink); color:white;
  padding:0 22px; font-size:14px;
  font-weight:700; font-family:var(--sans);
  transition:background .15s; white-space:nowrap;
}
.nl-input-row button:hover { background:#0d2b50; }
.nl-note { font-size:11.5px; color:rgba(255,255,255,.35); }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer { background:#060F1E; padding:64px 0 28px; }
.footer-grid {
  display:grid; grid-template-columns:2.2fr 1fr 1fr 1fr;
  gap:48px; padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-brand p {
  font-size:13px; color:rgba(255,255,255,.35);
  line-height:1.75; margin-top:14px; max-width:250px;
}
.footer-col h5 {
  font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.9px;
  color:rgba(255,255,255,.28); margin-bottom:16px;
}
.footer-col ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer-col a {
  font-size:13.5px; color:rgba(255,255,255,.45);
  transition:color .15s;
}
.footer-col a:hover { color:white; }
.footer-bottom {
  display:flex; justify-content:space-between;
  align-items:center; padding-top:24px;
  font-size:12.5px; color:rgba(255,255,255,.22);
  flex-wrap:wrap; gap:8px;
}
.footer-bottom a { color:rgba(255,255,255,.35); transition:color .15s; }
.footer-bottom a:hover { color:rgba(255,255,255,.7); }

/* ═══════════════════════════════
   SINGLE POST PAGE
═══════════════════════════════ */
.post-hero {
  background:var(--ink);
  padding:56px 0 0;
  position:relative; overflow:hidden;
}
.post-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 55% 70% at 65% 0%,rgba(0,184,148,.2) 0%,transparent 60%);
  pointer-events:none;
}
.post-hero-inner { position:relative; z-index:2; }
.post-breadcrumb {
  display:flex; align-items:center; gap:7px;
  font-size:12.5px; color:rgba(255,255,255,.38);
  margin-bottom:20px; flex-wrap:wrap;
}
.post-breadcrumb a { color:rgba(255,255,255,.5); transition:color .15s; }
.post-breadcrumb a:hover { color:white; }
.post-breadcrumb .sep { color:rgba(255,255,255,.2); }
.post-cat-tag {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(0,184,148,.15); color:#4ECDC4;
  font-size:10.5px; font-weight:700;
  letter-spacing:.6px; text-transform:uppercase;
  padding:4px 12px; border-radius:100px;
  margin-bottom:16px; width:fit-content;
}
.post-title {
  font-family:var(--serif);
  font-size:clamp(28px,3.8vw,48px);
  color:white; line-height:1.14;
  max-width:780px; margin-bottom:20px;
  letter-spacing:-.3px;
}
.post-meta-row {
  display:flex; align-items:center;
  gap:20px; flex-wrap:wrap; margin-bottom:28px;
}
.post-meta-item {
  display:flex; align-items:center; gap:6px;
  font-size:13px; color:rgba(255,255,255,.42);
}
.post-meta-item svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; opacity:.6; flex-shrink:0; }
.post-meta-item.verified { color:var(--teal); }
.post-share-row {
  display:flex; align-items:center; gap:8px;
  padding:16px 0 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.share-label { font-size:12px; color:rgba(255,255,255,.28); margin-right:4px; }
.share-btn {
  width:32px; height:32px; border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.1);
  transition:background .15s;
}
.share-btn:hover { background:rgba(255,255,255,.14); }
.share-btn svg { width:14px; height:14px; }

/* Post banner */
.post-banner {
  margin-top:36px;
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  overflow:hidden; height:320px;
  position:relative;
}
.post-banner img {
  width:100%; height:100%; object-fit:cover;
}
.post-banner-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}

/* Post layout */
.post-layout {
  display:grid; grid-template-columns:1fr 320px;
  gap:48px; padding:52px 0 80px;
  align-items:start;
}

/* Article body */
.article-body { min-width:0; }
.article-body .lead {
  font-size:17px; color:#374151;
  line-height:1.82; margin-bottom:28px;
  padding-bottom:24px; border-bottom:1px solid var(--border);
}
.author-strip {
  display:flex; align-items:center; gap:14px;
  background:var(--slate); border:1px solid var(--border);
  border-radius:var(--r-md); padding:16px 20px; margin-bottom:32px;
}
.author-avatar {
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg,var(--ink),var(--teal));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:18px; color:white; flex-shrink:0;
}
.author-info h5 { font-size:14px; font-weight:700; color:var(--ink); margin-bottom:2px; }
.author-info p { font-size:12px; color:var(--muted); line-height:1.5; }

/* Article typography */
.article-body h2 {
  font-family:var(--serif);
  font-size:26px; color:var(--ink);
  margin:40px 0 14px; line-height:1.24;
}
.article-body h3 {
  font-size:18px; font-weight:700; color:var(--ink);
  margin:28px 0 10px;
}
.article-body h4 {
  font-size:16px; font-weight:700; color:var(--ink);
  margin:22px 0 8px;
}
.article-body p {
  font-size:15.5px; color:#374151;
  line-height:1.82; margin-bottom:18px;
}
.article-body ul,
.article-body ol { margin-bottom:18px; }
.article-body li {
  font-size:15.5px; color:#374151;
  line-height:1.75; margin-bottom:6px;
}
.article-body a {
  color:var(--teal-d);
  text-decoration:underline;
  text-underline-offset:3px;
}
.article-body strong { color:var(--ink); font-weight:700; }

/* Callout */
.callout {
  background:rgba(0,184,148,.07);
  border-left:3px solid var(--teal);
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  padding:16px 20px; margin:24px 0;
}
.callout-label {
  font-size:10.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:.7px;
  color:var(--teal-d); margin-bottom:5px;
}
.callout p { color:#1a4d3e; font-size:14.5px; margin:0; line-height:1.65; }

/* Key box */
.key-box {
  background:linear-gradient(135deg,#0d2440 0%,#163858 100%);
  border-radius:var(--r-md); padding:24px; margin:28px 0;
}
.key-box h4 {
  font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.8px;
  color:var(--teal); margin-bottom:14px;
}
.key-box ul { list-style:none; padding:0; margin:0; }
.key-box li {
  display:flex; align-items:flex-start; gap:8px;
  font-size:14px; color:rgba(255,255,255,.72);
  padding:5px 0; line-height:1.58;
}
.key-box li::before { content:'→'; color:var(--teal); flex-shrink:0; margin-top:1px; }

/* Tables */
.table-wrap {
  border:1px solid var(--border);
  border-radius:var(--r-md); overflow:hidden; margin:24px 0;
  overflow-x:auto;
}
.article-table { width:100%; border-collapse:collapse; font-size:14px; }
.article-table th {
  background:var(--ink); color:white;
  padding:11px 14px; text-align:left;
  font-size:11.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:.4px;
}
.article-table td {
  padding:11px 14px;
  border-bottom:1px solid var(--border);
  color:#374151; vertical-align:top;
}
.article-table tr:last-child td { border-bottom:none; }
.article-table tr:nth-child(even) td { background:#F8FAFC; }

/* Blockquote (expert quotes) */
.article-body blockquote {
  background:rgba(0,184,148,.05);
  border-left:3px solid var(--teal);
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  padding:18px 22px; margin:26px 0;
}
.article-body blockquote p {
  color:#1a2e3d; font-size:15px; font-style:italic;
  line-height:1.7; margin:0;
}

/* Responsive images inside article content (safety net) */
.article-body img { max-width:100%; height:auto; border-radius:var(--r-sm); }

/* Ensure tables never overflow the viewport even without .table-wrap */
.article-body table { display:block; width:100%; overflow-x:auto; border-collapse:collapse; -webkit-overflow-scrolling:touch; }

/* Pros/Cons */
.pros-cons-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:24px 0; }
.pc-box { border-radius:var(--r-md); padding:20px; }
.pc-box.pros { background:#F0FDF4; border:1px solid #BBF7D0; }
.pc-box.cons { background:#FFF5F5; border:1px solid #FECACA; }
.pc-box h4 { font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:12px; }
.pc-box.pros h4 { color:#15803D; }
.pc-box.cons h4 { color:#B91C1C; }
.pc-box ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:7px; }
.pc-box li { display:flex; align-items:flex-start; gap:7px; font-size:13.5px; line-height:1.5; }
.pc-box.pros li { color:#166534; }
.pc-box.cons li { color:#991B1B; }
.pc-box.pros li::before { content:'✓'; color:#22C55E; font-weight:800; flex-shrink:0; }
.pc-box.cons li::before { content:'✕'; color:#EF4444; font-weight:800; flex-shrink:0; }

/* FAQ */
.faq-item {
  border:1px solid var(--border);
  border-radius:var(--r-md); margin-bottom:8px; overflow:hidden;
}
.faq-q {
  display:flex; align-items:center;
  justify-content:space-between; gap:12px;
  padding:15px 20px; cursor:pointer;
  font-size:15px; font-weight:600; color:var(--ink);
}
.faq-ic {
  width:26px; height:26px; border-radius:50%;
  background:var(--slate); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.faq-ic svg {
  width:13px; height:13px;
  stroke:var(--teal); stroke-width:2.5; fill:none;
  transition:transform .22s;
}
.faq-body { display:none; padding:0 20px 15px; font-size:14px; color:#4B5563; line-height:1.7; }
.faq-item.open .faq-body { display:block; }
.faq-item.open .faq-ic svg { transform:rotate(180deg); }

/* Post tags */
.post-tags {
  margin-top:40px; padding-top:24px;
  border-top:1px solid var(--border);
}
.post-tags a {
  display:inline-block;
  background:var(--slate); color:var(--ink);
  font-size:12px; font-weight:600;
  padding:4px 12px; border-radius:100px;
  margin:0 4px 4px 0;
  transition:background .15s, color .15s;
}
.post-tags a:hover { background:var(--teal); color:white; text-decoration:none; }

/* ═══════════════════════════════
   SIDEBAR
═══════════════════════════════ */
.post-sidebar { position:sticky; top:84px; }
.sb-card {
  background:white;
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  padding:22px; margin-bottom:18px;
}
.sb-card h4 {
  font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.8px;
  color:var(--muted); margin-bottom:14px;
}
.toc-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:2px; }
.toc-list a {
  display:block; font-size:13px; color:#4B5563;
  padding:5px 9px; border-radius:var(--r-sm);
  transition:background .12s, color .12s;
  line-height:1.45;
}
.toc-list a:hover,
.toc-list a.active { background:var(--teal-l); color:var(--teal-d); font-weight:600; }

.rel-item {
  display:flex; align-items:flex-start; gap:11px;
  padding:9px 0; border-bottom:1px solid var(--border);
}
.rel-item:last-child { border-bottom:none; padding-bottom:0; }
.rel-thumb {
  width:46px; height:46px; border-radius:var(--r-sm);
  flex-shrink:0; display:flex; align-items:center; justify-content:center;
}
.rel-item h5 { font-size:12.5px; font-weight:600; color:var(--ink); line-height:1.35; margin-bottom:2px; }
.rel-item span { font-size:11px; color:var(--muted); }

.sb-cta {
  background:linear-gradient(135deg,var(--ink) 0%,#1a3a6e 100%);
  border-radius:var(--r-md); padding:22px; text-align:center;
}
.sb-cta h4 { font-size:14.5px; font-weight:700; color:white; margin-bottom:7px; text-transform:none; letter-spacing:0; }
.sb-cta p { font-size:12.5px; color:rgba(255,255,255,.55); margin-bottom:16px; line-height:1.55; }
.sb-cta input {
  width:100%; border:none; outline:none;
  padding:10px 14px; border-radius:var(--r-sm);
  font-size:13px; font-family:var(--sans);
  margin-bottom:9px; display:block;
}
.sb-cta button {
  width:100%; background:var(--teal); color:var(--ink);
  border:none; padding:11px; border-radius:var(--r-sm);
  font-size:13.5px; font-weight:700;
  font-family:var(--sans); transition:background .15s;
}
.sb-cta button:hover { background:#00C9A3; }

/* ═══════════════════════════════
   ARCHIVE / CATEGORY PAGE
═══════════════════════════════ */
.archive-hero {
  background:var(--ink); padding:56px 0;
  position:relative; overflow:hidden;
}
.archive-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 40% 60% at 80% 50%,rgba(0,184,148,.18) 0%,transparent 60%);
}
.archive-hero-inner { position:relative; z-index:2; }
.archive-title {
  font-family:var(--serif);
  font-size:clamp(32px,4vw,48px);
  color:white; line-height:1.15; margin-bottom:12px;
}
.archive-desc { font-size:16px; color:rgba(255,255,255,.55); max-width:560px; }
.archive-count {
  margin-top:16px;
  font-size:13px; color:rgba(255,255,255,.3);
}

/* ═══════════════════════════════
   404 PAGE
═══════════════════════════════ */
.error-404 {
  text-align:center; padding:120px 24px 100px;
}
.error-404 .error-num {
  font-family:var(--serif);
  font-size:120px; line-height:1;
  color:var(--slate-d); margin-bottom:16px;
}
.error-404 h1 { font-family:var(--serif); font-size:32px; color:var(--ink); margin-bottom:12px; }
.error-404 p { font-size:16px; color:var(--muted); margin-bottom:32px; }

/* ═══════════════════════════════
   SEARCH OVERLAY
═══════════════════════════════ */
.search-overlay {
  position:fixed; inset:0; z-index:500;
  background:rgba(6,15,30,.92); backdrop-filter:blur(8px);
  display:flex; align-items:flex-start; justify-content:center;
  padding:80px 24px 0;
  opacity:0; visibility:hidden; transition:opacity .2s, visibility .2s;
}
.search-overlay.open { opacity:1; visibility:visible; }
.search-box {
  width:100%; max-width:640px;
  background:white; border-radius:var(--r-xl);
  overflow:hidden; box-shadow:var(--shadow-l);
}
.search-input-wrap {
  display:flex; align-items:center;
  border-bottom:1px solid var(--border); padding:0 20px;
}
.search-input-wrap input {
  flex:1; border:none; outline:none;
  font-size:18px; font-family:var(--sans);
  color:var(--ink); padding:20px 12px;
}
.search-input-wrap input::placeholder { color:#94A3B8; }
.search-close {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); transition:background .15s;
}
.search-close:hover { background:var(--slate); }

/* ═══════════════════════════════
   PAGINATION
═══════════════════════════════ */
.pagination {
  display:flex; align-items:center;
  justify-content:center; gap:6px;
  padding:48px 0 0;
}
.page-numbers {
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:var(--r-sm);
  font-size:14px; font-weight:600; color:var(--text);
  border:1.5px solid var(--border);
  transition:all .15s;
}
.page-numbers.current { background:var(--teal); color:white; border-color:var(--teal); }
.page-numbers:hover:not(.current) { border-color:var(--teal); color:var(--teal); }
.page-numbers.prev,
.page-numbers.next { width:auto; padding:0 16px; }

/* ═══════════════════════════════
   WORDPRESS SPECIFICS
═══════════════════════════════ */
.alignwide { margin-left:-48px; margin-right:-48px; }
.alignfull { margin-left:calc(-1 * max(24px,(100vw - 1200px)/2)); margin-right:calc(-1 * max(24px,(100vw - 1200px)/2)); }
.wp-block-image { margin:28px 0; }
.wp-block-image img { border-radius:var(--r-md); }
.wp-caption-text { font-size:12.5px; color:var(--muted); text-align:center; margin-top:8px; }
.bypostauthor { font-style:normal; }
.sticky { position:relative; }

/* Comments */
.comments-area { margin-top:56px; padding-top:40px; border-top:1px solid var(--border); }
.comments-title { font-family:var(--serif); font-size:24px; color:var(--ink); margin-bottom:28px; }
.comment-form input,
.comment-form textarea {
  width:100%; border:1.5px solid var(--border);
  border-radius:var(--r-sm); padding:11px 16px;
  font-size:14px; font-family:var(--sans);
  outline:none; transition:border-color .15s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color:var(--teal); }
.comment-form .submit {
  background:var(--teal); color:white;
  border:none; padding:12px 28px;
  border-radius:var(--r-sm); font-size:14px;
  font-weight:700; cursor:pointer; font-family:var(--sans);
  transition:background .15s;
}
.comment-form .submit:hover { background:var(--teal-d); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width:1024px) {
  .container { padding:0 20px; }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .articles-grid-3 { grid-template-columns:repeat(2,1fr); }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .stat-cell { border-right:none; border-bottom:1px solid var(--border); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .newsletter-box { padding:44px 40px; gap:36px; }
  .post-layout { grid-template-columns:1fr; }
  .post-sidebar { position:static; }
  .featured-card { grid-template-columns:1fr; }
  .featured-visual { display:none; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-right { display:none; }
}

@media (max-width:768px) {
  .nav-wrap .primary-nav,
  .nav-wrap .nav-actions .btn-primary { display:none; }
  .nav-toggle { display:flex; }
  .hero-h1 { font-size:34px; }
  .home-hero { padding:56px 0 0; }
  .section { padding:52px 0; }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
  .articles-grid-3,
  .articles-grid-2 { grid-template-columns:1fr; }
  .popular-grid { grid-template-columns:1fr; }
  .newsletter-box { grid-template-columns:1fr; padding:36px 28px; gap:28px; }
  .footer-grid { grid-template-columns:1fr; }
  .stats-row { grid-template-columns:1fr; }
  .pros-cons-grid { grid-template-columns:1fr; }
  .post-layout { padding:36px 0 60px; gap:32px; }
  .post-title { font-size:28px; }
  .alignwide { margin-left:0; margin-right:0; }
}

@media (max-width:480px) {
  .container { padding:0 16px; }
  .cat-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .hero-cta-row { flex-direction:column; align-items:flex-start; }
  .btn-hero { width:100%; justify-content:center; }
  .section-header-row { flex-direction:column; align-items:flex-start; }
  .why-grid { grid-template-columns:1fr; }
  .footer-grid { gap:24px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
