/*
Theme Name: Kāpiti News
Theme URI: https://kapitinews.co.nz
Author: KY Web Development
Author URI: https://kyweb.nz
Description: Block theme for Kāpiti News — Kāpiti Coast's weekly print newspaper.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: kapiti-news
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #2f4970;
  --navy-dark:   #1e3050;
  --navy-mid:    #3a5a87;
  --sky:         #a5caed;
  --sky-light:   #d8edf8;
  --sky-pale:    #eef6fc;
  --water:       #6ca0cc;
  --water-dark:  #5c83b5;
  --island:      #87a5c8;
  --cream:       #f7f4ef;
  --white:       #ffffff;
  --text:        #1c2b3a;
  --text-muted:  #5a6e82;
  --rule:        #c5d8e8;
  --rule-light:  #e2edf5;
  --red:         #c0392b;
  --gold:        #c9973a;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(15,30,55,0.25);
}
.site-header .wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
.site-header .wp-block-site-logo img {
  height: 66px;
  width: auto;
  display: block;
}
.wp-block-navigation {
  display: flex;
  align-items: center;
  gap: 2px;
}
.wp-block-navigation .wp-block-navigation-item__content {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: all 0.18s;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-cta > .wp-block-navigation-item__content {
  background: var(--water-dark) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
}
.nav-cta > .wp-block-navigation-item__content:hover {
  background: var(--water) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============================================================
   MASTHEAD BAR
   ============================================================ */
.masthead-bar {
  background: var(--sky-pale);
  border-bottom: 1px solid var(--rule-light);
  text-align: center;
  padding: 7px 24px;
  font-size: 0.73rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   DEADLINE BANNER
   ============================================================ */
.deadline-banner {
  background: linear-gradient(90deg, #9b2020 0%, var(--red) 100%);
  color: white;
  padding: 13px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.deadline-banner strong { font-weight: 800; }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero-home {
  background: linear-gradient(170deg, var(--sky) 0%, var(--sky-light) 40%, var(--sky-pale) 65%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 24px 90px;
}
.hero-home::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(108,160,204,0.12) 0%, transparent 100%);
  pointer-events: none;
}
.hero-home-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,73,112,0.08);
  border: 1px solid rgba(47,73,112,0.18);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-home h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-home h1 em { font-style: italic; color: var(--water-dark); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.hero-stat {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(47,73,112,0.12);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  flex: 1;
  max-width: 200px;
}
.hero-stat .num {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-mid) 100%);
  padding: 60px 24px 76px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 44px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.page-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero h1 em { font-style: italic; color: var(--sky); }
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================================
   PROOF BAND (dark stats bar)
   ============================================================ */
.proof-band { background: var(--navy); }
.proof-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.proof-item:last-child { border-right: none; }
.proof-number {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 5px;
}
.proof-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   SECTION / GENERAL LAYOUT
   ============================================================ */
.kn-section { padding: 80px 24px; }
.kn-section-inner { max-width: 1200px; margin: 0 auto; }
.kn-section-bg-pale { background: var(--sky-pale); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.divider-ornament::before, .divider-ornament::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1.5px;
  background: var(--rule);
}
.divider-ornament span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--water);
  display: block;
}

/* ============================================================
   STEPS GRID
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step:hover { box-shadow: 0 8px 32px rgba(47,73,112,0.1); transform: translateY(-2px); }
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}
.step h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(47,73,112,0.1); transform: translateY(-2px); }
.card-top-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--water) 100%);
  border-radius: 12px 12px 0 0;
}
.card-num {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

/* ============================================================
   VALUE STRIP (dark CTA band)
   ============================================================ */
.value-strip {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.value-strip-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.value-strip p {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 32px;
}
.value-strip p strong { color: var(--sky); font-style: normal; font-weight: 700; }

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band {
  background: var(--sky-pale);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  padding: 40px 24px;
}
.stat-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-item .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   PAGE BODY / TWO-COL LAYOUT
   ============================================================ */
.page-body { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 96px;
  box-shadow: 0 4px 20px rgba(47,73,112,0.08);
}
.sidebar-head {
  background: var(--navy);
  padding: 18px 22px;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.sidebar-body { padding: 16px 22px; }
.sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-light);
}
.sidebar-item:last-child { border-bottom: none; }
.s-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.sidebar-item strong { display: block; font-size: 0.87rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 2px; }
.sidebar-item span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.wp-block-button.is-style-primary .wp-block-button__link {
  background: var(--navy);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-primary:hover,
.wp-block-button.is-style-primary .wp-block-button__link:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,73,112,0.3);
  color: var(--white);
}
.btn-secondary,
.wp-block-button.is-style-secondary .wp-block-button__link {
  background: transparent;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid var(--navy);
  letter-spacing: 0.01em;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-secondary:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(47,73,112,0.06);
}
.form-title {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.form-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--sky-pale);
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(47,73,112,0.08);
}
.form-group textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note {
  background: var(--sky-pale);
  border-left: 3px solid var(--water);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 0 6px 6px 0;
  margin: 14px 0;
  line-height: 1.6;
}
.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  margin-top: 8px;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-submit:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(47,73,112,0.25);
}
.word-counter { margin-top: 6px; font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.word-count-num { font-weight: 700; color: var(--navy); }
.word-count-num.over { color: var(--red); }
.wc-tag { padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.wc-free { background: #d4f0e2; color: #1a6b3c; }
.wc-paid { background: #fce8e8; color: #8a1a1a; }
.success-msg { display: none; background: #d4f0e2; border: 1px solid #9ed7bb; border-radius: 8px; padding: 18px 22px; color: #1a6b3c; font-size: 0.92rem; margin-top: 14px; line-height: 1.6; font-weight: 600; }

/* ============================================================
   NOTICE TYPES (notices page)
   ============================================================ */
.notice-type {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.notice-type:hover { box-shadow: 0 4px 16px rgba(47,73,112,0.08); }
.notice-type-head {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.notice-type-head h3 {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.notice-badge {
  border-radius: 30px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-free  { background: #d4f0e2; color: #1a6b3c; }
.badge-paid  { background: #fdf0d0; color: #8a5a00; }
.badge-custom{ background: var(--sky-light); color: var(--navy); }
.notice-type-body {
  padding: 14px 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--rule-light);
}

/* ============================================================
   AD FORMATS (advertising page)
   ============================================================ */
.ad-formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.ad-format {
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 10px;
  padding: 24px 22px;
  border-left: 4px solid var(--water);
  transition: box-shadow 0.2s;
}
.ad-format:hover { box-shadow: 0 4px 16px rgba(47,73,112,0.08); }
.ad-format h4 {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.ad-format p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 32px 0; }
.feature-item {
  background: var(--sky-pale);
  border-radius: 10px;
  padding: 22px;
  border-left: 4px solid var(--navy);
}
.feature-item h4 {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}
.feature-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   RATE STRIP
   ============================================================ */
.rate-strip {
  background: var(--sky-pale);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rate-strip h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.rate-strip p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   PROSE (about, legal pages)
   ============================================================ */
.prose h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.02rem; color: var(--text); line-height: 1.8; margin-bottom: 18px; font-weight: 300; }
.prose hr { border: none; border-top: 1px solid var(--rule-light); margin: 36px 0; }

.pull-quote {
  border-left: 4px solid var(--water);
  margin: 28px 0;
  padding: 16px 22px;
  background: var(--sky-pale);
  border-radius: 0 8px 8px 0;
}
.pull-quote p {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   LEGAL CONTENT
   ============================================================ */
.legal-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 32px 0 10px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 28px;
  margin-top: 80px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-logo { margin-bottom: 12px; display: block; }
.footer-logo img { height: 78px; width: auto; opacity: 0.92; }
.footer-brand-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 8px; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky-light);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.18s; }
.footer-bottom a:hover { color: var(--sky); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .wp-block-navigation__responsive-container-open { display: flex; }
  .proof-band-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .proof-band-inner, .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .cards-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .ad-formats, .feature-row, .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-section { padding: 24px 18px; }
  .hero-stats { gap: 10px; }
  .rate-strip { flex-direction: column; align-items: flex-start; }
  .page-body { padding: 40px 18px; }
}
@media (max-width: 500px) {
  .hero-stat { flex: 0 0 calc(50% - 5px); max-width: none; }
  .footer-top { grid-template-columns: 1fr; }
}
