.seo-body,
html {
  overflow: auto;
}

.seo-body {
  min-height: 100dvh;
  background: var(--canvas, #f5f7fb);
  color: var(--ink, #162033);
  font-family: var(--ff-body, 'MannSetu', sans-serif);
  line-height: 1.65;
}

.seo-page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 34px) 48px;
}

/* ══════════════════════════════════════════════════════════
   SWAPPABLE SIDEBAR NAV — mobile-first, no-JS (checkbox-driven,
   the same progressive-enhancement pattern the rest of this app
   already uses — the sidebar opens/closes with zero JavaScript).
   Structure emitted by core/seo.php's seo_render_page():
     <input id="seo-nav-toggle" class="seo-nav-toggle-input">
     <div class="seo-topbar">…burger label + brand…</div>
     <label class="seo-nav-backdrop" for="seo-nav-toggle">
     <nav class="seo-nav">…links…</nav>
   Every rule below keys off the checkbox's :checked state via a
   general sibling combinator, so no click handlers are needed.
═══════════════════════════════════════════════════════════ */
.seo-nav-toggle-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.seo-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 34px);
  background: rgba(245, 247, 251, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(30, 58, 95, .10);
}

.seo-nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(30, 58, 95, .14);
  cursor: pointer;
  flex-shrink: 0;
}
.seo-nav-burger span {
  width: 17px; height: 2px;
  border-radius: 2px;
  background: var(--navy, #1e3a5f);
}

.seo-topbar-brand {
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy, #1e3a5f);
  text-decoration: none;
  font-size: .95rem;
}

.seo-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 62, .42);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.seo-nav {
  position: fixed;
  top: 0; left: 0;
  height: 100dvh;
  width: min(78vw, 300px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 24px;
  background: #fff;
  box-shadow: 0 0 40px rgba(13, 27, 62, .18);
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
}

.seo-nav-toggle-input:checked ~ .seo-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.seo-nav-toggle-input:checked ~ .seo-nav {
  transform: translateX(0);
}

.seo-nav-close {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(30, 58, 95, .06);
  color: var(--navy, #1e3a5f);
  font-size: .9rem;
  cursor: pointer;
  margin-bottom: 6px;
}

.seo-nav a {
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 12px;
  background: rgba(30, 58, 95, .03);
  color: var(--navy, #1e3a5f);
  padding: 12px 14px;
  font-weight: 500;
}
.seo-nav a:hover,
.seo-nav a:active {
  background: var(--gold-pale, #fff6df);
  border-color: var(--gold, #d4a63a);
}

.seo-hero,
.seo-section,
.seo-card {
  border: 1px solid rgba(30, 58, 95, .10);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 32px rgba(22, 32, 51, .06);
}

.seo-hero {
  padding: clamp(22px, 6vw, 44px);
  margin-bottom: 16px;
}

.seo-eyebrow {
  color: var(--gold, #d4a63a);
  font-weight: 600;
  font-size: .86rem;
  margin: 0 0 8px;
}

.seo-hero h1 {
  margin: 0;
  color: var(--navy, #1e3a5f);
  font-size: clamp(1.8rem, 7vw, 3.1rem);
  line-height: 1.28;
  font-weight: 600;
}

.seo-lead {
  color: var(--ink-soft, #5f6b7a);
  font-size: clamp(1rem, 3.5vw, 1.18rem);
  line-height: 1.72;
  margin: 14px 0 0;
  max-width: 68ch;
}

.seo-section {
  padding: clamp(18px, 5vw, 30px);
  margin-top: 14px;
}

.seo-section h2 {
  margin: 0 0 12px;
  color: var(--navy, #1e3a5f);
  font-size: clamp(1.25rem, 4.8vw, 1.75rem);
  line-height: 1.34;
  font-weight: 600;
}

.seo-section p,
.seo-section li {
  color: var(--ink-soft, #5f6b7a);
  line-height: 1.74;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.seo-card {
  padding: 16px;
}

.seo-card h3 {
  margin: 0 0 8px;
  color: var(--navy, #1e3a5f);
  font-size: 1.05rem;
  line-height: 1.42;
}

.seo-card p {
  margin: 0;
}

.seo-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.seo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 46px;
  border-radius: 14px;
  background: var(--gold, #d4a63a);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
}

.seo-proof {
  border-left: 4px solid var(--gold, #d4a63a);
  padding-left: 14px;
}

/* ══════════════════════════════════════════════════════════
   EMPOWERING HERO — bold navy/gold variant, used on parents.php
   to make the opening statement land harder than the default
   pale-card hero.
═══════════════════════════════════════════════════════════ */
.seo-hero--empower {
  background: linear-gradient(135deg, var(--navy, #1e3a5f) 0%, #12233f 100%);
  border-color: transparent;
}
.seo-hero--empower .seo-eyebrow { color: var(--gold-bright, #e6a817); }
.seo-hero--empower h1 { color: #fff; }
.seo-hero--empower .seo-lead { color: rgba(255,255,255,.82); }

/* ══════════════════════════════════════════════════════════
   CRISP BULLETS — icon-led list, one idea per line, replacing
   dense paragraphs. Mobile-first: full-width tap-friendly rows.
═══════════════════════════════════════════════════════════ */
.seo-bullets {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}
.seo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(30, 58, 95, .03);
  border: 1px solid rgba(30, 58, 95, .08);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft, #5f6b7a);
}
.seo-bullet-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-pale, #fff6df);
  font-size: .95rem;
}
.seo-bullets strong { color: var(--navy, #1e3a5f); }

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.seo-cta-row .seo-cta { margin-top: 0; }
.seo-cta.outline {
  background: transparent;
  border: 2px solid var(--gold, #d4a63a);
  color: var(--navy, #1e3a5f);
}

/* ══════════════════════════════════════════════════════════
   PRESS CLIPPING GRID — media.php newspaper coverage
═══════════════════════════════════════════════════════════ */
.seo-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.seo-press-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, .12);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(22, 32, 51, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.seo-press-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 32, 51, .14);
}
.seo-press-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: rgba(30, 58, 95, .05);
}
.seo-press-caption {
  padding: 8px 10px;
  font-size: .76rem;
  color: var(--ink-soft, #5f6b7a);
  line-height: 1.4;
}
.seo-press-caption strong { color: var(--navy, #1e3a5f); }

.seo-faq details {
  border-top: 1px solid rgba(30, 58, 95, .10);
  padding: 12px 0;
}

.seo-faq summary {
  color: var(--navy, #1e3a5f);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}

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

@media (max-width: 640px) {
  .seo-page {
    padding-bottom: 32px;
  }

  .seo-section,
  .seo-hero {
    border-radius: 16px;
  }
}
