/* ===========================
   ICR — Injured Crewmembers Rights
   Main Stylesheet
=========================== */

:root {
  --navy:        #223753;
  --navy-grad-1: #254b7c;
  --navy-grad-2: #1e2b47;
  --red:         #e53a47;
  --red-deep:    #500107;
  --red-solid:   #c8302a;
  --white:       #ffffff;
  --page-bg:     #edf4f9;
  --testi-bg:    #e4ebf0;
  --border-gray: #d1d2d8;
  --gray:        #8a9ab5;
  --text:        #1e2a3a;
  --text-muted:  #5a6a82;
  --gold:        #d4a843;
  --shadow:      0 4px 24px rgba(13,27,53,0.10);
  --shadow-lg:   0 8px 40px rgba(13,27,53,0.16);
  --radius:      14px;
  --radius-lg:   18px;
  --pill:        999px;
  --transition:  0.25s ease;

  --navy-gradient: linear-gradient(180deg, var(--navy-grad-1) 0%, var(--navy-grad-2) 100%);
  --red-gradient:  linear-gradient(180deg, var(--red) 0%, var(--red-deep) 62%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Work Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.3125rem; /* 21px */
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Libre Franklin', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.2; font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--red); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ---- Buttons (pill shaped) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 44px;
  border-radius: var(--pill);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700; font-size: .92rem;
  letter-spacing: .015em;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-align: center; white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible {
  background: transparent; color: var(--red);
}

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover, .btn-outline:active, .btn-outline:focus-visible {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}

.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 44px; border-radius: var(--pill);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700; font-size: .92rem;
  letter-spacing: .015em;
  cursor: pointer;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-navy:hover, .btn-navy:active, .btn-navy:focus-visible {
  background: transparent; color: var(--navy);
}

.btn-white {
  background: var(--white); color: var(--red);
  border: 2px solid var(--white);
}
.btn-white:hover, .btn-white:active, .btn-white:focus-visible {
  background: transparent; color: var(--white);
}

.btn-lg { padding: 17px 40px; font-size: 1.02rem; }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: transform .35s ease;
}
#site-header-wrap.nav-hidden { transform: translateY(-100%); }
.topbar {
  background: var(--navy);
  padding: 10px 0;
}
.topbar .container {
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.topbar a { color: var(--red); font-weight: 700; white-space: nowrap; }
.topbar-sep { color: rgba(255,255,255,.55); }

#site-header {
  position: relative;
  background: var(--page-bg);
  border-bottom: 1px solid var(--border-gray);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 16px rgba(13,27,53,.08); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.logo-badge {
  display: inline-flex; align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 14px;
}
.logo-badge img { height: 32px; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links li { display: flex; align-items: center; }
.nav-links li:not(:last-child)::after {
  content: "|";
  color: var(--border-gray);
  font-weight: 300;
  margin: 0 2px;
}
.nav-links a {
  font-family: 'Libre Franklin', sans-serif;
  color: var(--navy);
  font-size: 1.125rem; font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--navy); }
.nav-links a.active { color: var(--red); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO  (responsive art-directed background)
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding-top: 118px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  /* Desktop hero — two figures on the right, storm/sunset backdrop */
  background: url('../images/desktop-hero.png') center center / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  /* Horizontal scrim: dark on the left for text legibility, clears to the right to reveal the figures */
  background: linear-gradient(90deg, rgba(20,30,52,.92) 0%, rgba(20,30,52,.78) 34%, rgba(20,30,52,.32) 64%, rgba(20,30,52,.05) 100%);
}
@media (max-width: 767px) {
  .hero::before { background: url('../images/hero-mobile.png') center center / cover no-repeat; }
  .hero::after  { background: linear-gradient(to bottom, rgba(20,30,52,.62) 0%, rgba(20,30,52,.88) 100%); }
}

/* Hero is a flex row; force its container to fill width so the text aligns
   with the header container (and the logo) instead of shrinking to center. */
.hero > .container { width: 100%; }
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  padding: 80px 0;
  text-align: left;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(229,58,71,.18);
  border: 1px solid rgba(229,58,71,.4);
  color: #ffb2ad;
  padding: 7px 18px;
  border-radius: var(--pill);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 { color: var(--red); margin-bottom: 20px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-actions .btn { padding: 15px 34px; }

.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-avatars { display: flex; }
.trust-avatars img, .trust-avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -8px;
  background: var(--navy-grad-1);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: rgba(255,255,255,.8);
}
.trust-avatars :first-child { margin-left: 0; }
.trust-text { color: rgba(255,255,255,.7); font-size: .85rem; }
.trust-text strong { color: var(--white); }

/* ============================================================
   TRUST BAR / FEATURE CARDS  (square — card 1 navy, 2 & 3 white)
============================================================ */
.trust-bar { background: var(--page-bg); }
.trust-bar-label {
  text-align: center; color: var(--navy);
  margin-bottom: 40px;
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-gray);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.trust-item:hover, .trust-item:focus-visible, .trust-item.active {
  background: var(--navy-gradient);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
}
.trust-icon img { width: 100%; height: 100%; object-fit: contain; transition: filter var(--transition); }
.trust-item:hover .trust-icon img, .trust-item:focus-visible .trust-icon img, .trust-item.active .trust-icon img {
  filter: brightness(0) invert(1);
}
.trust-item h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--red);
  line-height: 1.15;
}
.trust-item p {
  font-size: 1.3125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.trust-item:hover p, .trust-item:focus-visible p, .trust-item.active p {
  color: rgba(255,255,255,.85);
}

/* ============================================================
   WE'VE GOT YOUR BACK  (empathy panels — square)
============================================================ */
.about-section { background: var(--page-bg); }
.about-text-centered {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.about-text-centered p { color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }
.tagline-centered {
  text-align: center;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-muted);
  max-width: 600px; margin: 48px auto 0;
}

.two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }
.list-card {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--navy-gradient);
  border: none;
  display: flex; flex-direction: column;
  overflow: auto;
}
.list-card h4 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1.15;
}
.list-card ul { padding-left: 24px; }
.list-card li {
  font-size: 1.3125rem; color: rgba(255,255,255,.85);
  padding: 10px 0; line-height: 1.45;
  display: list-item; list-style: disc;
}
.list-card li::marker { color: var(--red); font-size: 1.15em; }
.list-card li strong { color: var(--white); font-weight: 700; }

/* ============================================================
   OUR MISSION
============================================================ */
.mission-section {
  background: var(--navy-gradient);
  text-align: center;
}
.mission-section h2 { color: var(--white); margin-bottom: 12px; }
.mission-section .section-label { margin: 0 auto 8px; }
.mission-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.mission-item {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  transition: all var(--transition);
}
.mission-item:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.mission-num {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800; color: var(--red);
  font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1;
}
.mission-item p { color: rgba(255,255,255,.85); font-size: 1.125rem; line-height: 1.5; text-align: left; }

.mission-closing { color: rgba(255,255,255,.6); font-size: 1.125rem; font-style: normal; }
.mission-closing strong { color: var(--white); }

/* ============================================================
   STORM BANNER (CTA) — stripe image background
============================================================ */
.storm-section {
  position: relative;
  background: url('../images/stripe-storm.jpg') center/cover no-repeat;
  text-align: center; padding: 88px 0;
}
.storm-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,20,36,.25) 0%, rgba(13,20,36,.7) 100%);
}
.storm-section > * { position: relative; z-index: 1; }
.storm-section h2 { color: var(--red); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.storm-section p  { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============================================================
   JOURNEY / STEPS  (square process steps)
============================================================ */
.journey-section { background: var(--page-bg); }
.journey-intro {
  max-width: 620px; margin: 0 auto 56px; text-align: center;
}
.journey-intro h2 { color: var(--navy); }
.journey-intro p { color: var(--text-muted); font-size: 1.125rem; margin-top: 16px; }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 34px; left: 10%; right: 10%;
  height: 2px; background: var(--border-gray); z-index: 0;
}
.step-item {
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 68px; height: 68px;
  background: var(--navy-gradient); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  margin: 0 auto 20px;
  border: 4px solid var(--page-bg);
  box-shadow: var(--shadow);
}
.step-item h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 10px; }
.step-item p   { font-size: 15px; line-height: 23px; color: var(--text-muted); }

.journey-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section { background: var(--testi-bg); }
.testimonials-header-centered {
  text-align: center; max-width: 600px; margin: 0 auto 48px;
}
.testimonials-header-centered p { color: var(--text-muted); margin-top: 10px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-gray);
  box-shadow: none;
  transition: transform var(--transition);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-body { font-size: .92rem; color: var(--text-muted); line-height: 1.75; margin: 18px 0; font-style: italic; flex: 1; display: flex; align-items: center; }
.testimonial-author { margin-top: auto; }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-gradient); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.author-name-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 700; font-size: 1.5rem; color: var(--red);
  line-height: 1.3;
}
.author-title { font-size: .78rem; color: var(--text-muted); }

/* Video-style testimonial card */
.testimonial-card.video-card {
  padding: 0; justify-content: flex-end;
}
.testimonial-card.video-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-play {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,55,83,.55); border: 2px solid rgba(255,255,255,.8);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: auto; margin-top: 90px;
}
.video-caption {
  position: relative; z-index: 1; width: 100%;
  padding: 20px; text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.75) 100%);
}
.video-caption .author-name-script { color: #ff8a85; }
.video-caption .author-title { color: rgba(255,255,255,.85); }

.testimonials-actions { display: flex; justify-content: center; gap: 16px; margin-top: 44px; }

/* ============================================================
   FAQ  (navy gradient background, buttons not square cards)
============================================================ */
.faq-section { background: var(--navy-gradient); }
.faq-section h2 { color: var(--red); margin-bottom: 40px; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--pill);
  overflow: hidden;
  transition: border-color var(--transition), border-radius var(--transition);
}
.faq-item.open { border-color: rgba(255,255,255,.45); border-radius: var(--radius-lg); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 14px 18px 28px;
  text-align: left;
  font-family: 'Libre Franklin', sans-serif;
  color: var(--white); font-size: 1rem; font-weight: 600;
  gap: 20px;
}
.faq-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.faq-icon::before { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq-item.open .faq-icon::before { content: "\2212"; } /* minus sign */
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: rgba(255,255,255,.68); font-size: .93rem; line-height: 1.75;
  padding: 0 28px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-section { background: var(--page-bg); }
.contact-centered { max-width: 900px; }
.contact-section h2 { color: var(--red); margin-bottom: 14px; }
.contact-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; }

.pill-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.pill-form .field { margin-bottom: 18px; }
.pill-form .field input {
  width: 100%; padding: 16px 26px;
  border: none;
  border-radius: var(--pill);
  font-size: .92rem; color: var(--text);
  background: var(--white);
  transition: box-shadow var(--transition);
  font-family: inherit;
}
.pill-form .field textarea {
  width: 100%; padding: 16px 26px;
  border: none; border-radius: var(--radius-lg);
  font-size: .92rem; color: var(--text);
  background: var(--white);
  font-family: inherit; resize: vertical; min-height: 120px;
}
.pill-form .field input:focus, .pill-form .field textarea:focus {
  outline: none; box-shadow: 0 0 0 2px var(--navy-grad-1);
}
.pill-form .field.full { grid-column: 1 / -1; }
.consent-text {
  font-size: .8rem; color: var(--text-muted); text-align: center;
  line-height: 1.7; margin: 8px 0 28px;
}
.consent-text a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* Skip link — hidden until focused by keyboard users (WCAG 2.4.1) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1200;
  background: var(--red); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius) var(--radius);
  font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: -6px; }

/* Honeypot — hidden from humans and screen readers, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   BLOG
============================================================ */
.blog-hero {
  background: var(--navy-gradient);
  padding: 172px 0 70px;
  text-align: center;
}
.blog-hero h1 { color: var(--white); }
.blog-hero p   { color: rgba(255,255,255,.68); max-width: 680px; margin: 16px auto 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  height: 200px; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--navy-gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 3rem;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; color: var(--text-muted); margin-bottom: 12px;
}
.blog-tag {
  background: rgba(229,58,71,.1);
  color: var(--red); font-weight: 600;
  padding: 3px 12px; border-radius: var(--pill);
}
.blog-card-body h3 {
  font-size: 1.1rem; color: var(--navy);
  margin-bottom: 10px; line-height: 1.4;
  flex: 1;
}
.blog-card-body p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.blog-read-more {
  font-size: .85rem; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-more { gap: 10px; }

.blog-empty {
  text-align: center; padding: 80px 24px;
  color: var(--text-muted);
}
.blog-empty h3 { color: var(--navy); margin-bottom: 10px; }

/* ---- Single Post ---- */
.post-hero { background: var(--navy-gradient); padding: 172px 0 60px; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.post-hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.25; }
.post-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,.62); font-size: .88rem;
}
.post-hero-meta strong { color: var(--white); }
.post-content-wrap { padding: 88px 0; background: var(--page-bg); }
.post-content {
  max-width: 820px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.85; color: var(--text);
}
.post-content h2 { color: var(--navy); margin: 40px 0 16px; }
.post-content h3 { color: var(--navy); margin: 30px 0 12px; }
.post-content p  { margin-bottom: 22px; }
.post-content ul, .post-content ol {
  margin: 0 0 22px 24px; list-style: disc;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-muted);
}
.post-content img { border-radius: var(--radius); margin: 28px 0; }

/* ---- Links inside article body only (not nav, CTAs, breadcrumbs or footer) ---- */
.article-content a,
.post-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.article-content a:visited,
.post-content a:visited { color: var(--navy); }

.article-content a:hover,  .article-content a:focus,  .article-content a:active,
.post-content a:hover,     .post-content a:focus,     .post-content a:active { color: var(--red); }

.article-content a:focus-visible,
.post-content a:focus-visible {
  color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
/* Buttons inside the article keep their own styling */
.article-content a.btn, .post-content a.btn { text-decoration: none; color: inherit; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 600; font-size: .9rem;
  margin-bottom: 32px;
  transition: gap var(--transition);
}
.back-link:hover { gap: 12px; }

/* ============================================================
   ARTICLE PAGE  (rich blog post layout)
============================================================ */
/* Hero override: left-aligned, content-height */
.post-hero.article-hero {
  min-height: 0; display: block; text-align: left;
  padding: 150px 0 46px;
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 22px;
}
.breadcrumbs a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,.35); }
.breadcrumbs .current { color: var(--red); font-weight: 600; }
.article-hero-inner { max-width: 720px; }
.article-hero-inner .blog-tag { display: inline-block; margin-bottom: 16px; }
.article-hero-inner h1 { color: #fff; margin-bottom: 16px; }
.article-standfirst { color: rgba(255,255,255,.8); font-size: 1.15rem; line-height: 1.6; margin-bottom: 22px; max-width: 640px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  color: rgba(255,255,255,.65); font-size: .88rem;
}
.article-meta strong { color: #fff; font-weight: 600; }

/* Hero: text on the left, TOC box on the right */
.article-hero-cols { display: flex; gap: 44px; align-items: flex-start; }
.article-hero-inner { flex: 1; min-width: 0; }
.hero-toc {
  flex-shrink: 0; width: 310px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.hero-toc h4 { color: #fff; font-family: 'Libre Franklin', sans-serif; font-size: .95rem; margin-bottom: 16px; }
.hero-toc .toc-list a { color: rgba(255,255,255,.82); }
.hero-toc .toc-list a:hover { color: #fff; }

/* Body: single, centered column */
.article-wrap { background: var(--page-bg); padding: 56px 0 80px; }
.article-col { max-width: 820px; margin: 0 auto; }
.article-featured {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); margin-bottom: 30px;
}
.post-content { max-width: none; }

/* Share row (below the article text) */
.share-inline {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 40px 0 8px; padding-top: 26px; border-top: 1px solid var(--border-gray);
}
.share-label { font-family: 'Libre Franklin', sans-serif; font-weight: 700; color: var(--navy); font-size: .95rem; }
.copy-toast { color: var(--red); font-weight: 600; font-size: .85rem; }
button.share-btn { border: none; cursor: pointer; }
.share-btn.copy { background: var(--navy); }

/* Answer-first box */
.answer-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: #eaf1fa; border: 1px solid #d4e2f2;
  border-radius: var(--radius-lg); padding: 24px 26px; margin-bottom: 34px;
}
.answer-icon { flex-shrink: 0; width: 40px; height: 40px; }
.answer-icon svg { width: 100%; height: 100%; }
.answer-box strong { color: var(--navy); font-family: 'Libre Franklin', sans-serif; display: block; margin-bottom: 6px; }
.answer-box p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin: 0; }

/* Inline contextual CTA */
.inline-cta {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  background: rgba(229,58,71,.07); border: 1px solid rgba(229,58,71,.25);
  border-radius: var(--radius-lg); padding: 28px; margin: 40px 0;
}
.inline-cta > * { width: 100%; }
.inline-cta strong { color: var(--navy); font-family: 'Libre Franklin', sans-serif; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.inline-cta p { color: var(--text-muted); font-size: .95rem; margin: 0; }
/* Button centred within the box; never wider than the box so it can't overflow */
.inline-cta .btn {
  align-self: center; width: auto; max-width: 100%;
  margin: 0 auto; white-space: normal; text-align: center;
}

/* Prev / Next */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 48px 0 8px; }
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius); padding: 18px 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.post-nav-item:hover { border-color: var(--red); transform: translateY(-2px); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: .8rem; font-weight: 700; color: var(--red); }
.post-nav-title { color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.4; }

/* Related articles */
.related-articles { margin-top: 56px; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.related-head h2 { color: var(--navy); font-size: 1.5rem; }
.related-viewall { color: var(--red); font-weight: 600; font-size: .88rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--radius); overflow: hidden; transition: transform var(--transition);
}
.related-card:hover { transform: translateY(-4px); }
.related-img { height: 120px; overflow: hidden; background: var(--navy); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-img .blog-card-img-placeholder { font-size: 2rem; }
.related-card .related-cat { color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 14px 16px 0; }
.related-card h3 { color: var(--navy); font-size: .92rem; line-height: 1.4; padding: 6px 16px; flex: 1; }
.related-read { color: var(--text-muted); font-size: .78rem; padding: 0 16px 16px; }

/* Sidebar */
.article-sidebar { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg); padding: 22px 24px; }
.side-card h4 { color: var(--navy); font-size: .95rem; margin-bottom: 14px; font-family: 'Libre Franklin', sans-serif; }
.side-note { color: var(--text-muted); font-size: .85rem; line-height: 1.65; }
.toc-list { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.toc-list li { counter-increment: toc; display: flex; gap: 10px; }
.toc-list li::before { content: counter(toc); color: var(--red); font-weight: 700; font-size: .85rem; }
.toc-list a { color: var(--text-muted); font-size: .88rem; line-height: 1.4; transition: color var(--transition); }
.toc-list a:hover { color: var(--red); }
.share-row { display: flex; gap: 12px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform var(--transition), opacity var(--transition); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn.fb { background: #1877f2; } .share-btn.li { background: #0a66c2; }
.share-btn.x { background: #111; } .share-btn.mail { background: var(--text-muted); }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; color: var(--red); font-weight: 600; font-size: .9rem; gap: 8px; transition: gap var(--transition); }
.side-links a span { transition: transform var(--transition); }
.side-links a:hover span { transform: translateX(3px); }
.side-viewall { display: inline-block; margin-top: 16px; color: var(--navy); font-weight: 600; font-size: .85rem; }
.side-sos { background: var(--navy-gradient); border: none; }
.side-sos h4 { color: #fff; }
.side-sos p { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.side-sos .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .article-hero-cols { flex-direction: column; }
  .hero-toc { width: 100%; }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-hero.article-hero { padding-top: 130px; }
}

/* ============================================================
   FOOTER  (navy gradient + red stripe below)
============================================================ */
#site-footer { background: var(--navy-gradient); }
.footer-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; padding: 46px 24px;
}
.footer-logo img { height: 58px; width: auto; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-links p {
  margin: 0; color: rgba(255,255,255,.9);
  font-family: 'Libre Franklin', sans-serif; font-size: 1rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.footer-links p span { color: rgba(255,255,255,.35); }
.footer-links a { color: rgba(255,255,255,.9); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-socials { display: flex; align-items: center; gap: 16px; }
.footer-socials .social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: color var(--transition), transform var(--transition);
}
.footer-socials .social-link svg { width: 26px; height: 26px; fill: currentColor; }
.footer-socials .social-link:hover { color: var(--red); transform: translateY(-2px); }

.footer-bottom-stripe { background: var(--red); }

/* Form controls use the brand blue when checked */
input[type="checkbox"], input[type="radio"] { accent-color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  color: rgba(255,255,255,.9); font-size: .85rem;
}
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ============================================================
   ADMIN
============================================================ */
.admin-body { background: var(--page-bg); min-height: 100vh; }
.admin-header {
  background: var(--navy-gradient); padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; position: sticky; top: 0; z-index: 100;
}
.admin-header .logo { color: var(--white); font-weight: 800; font-size: 1rem; font-family: 'Libre Franklin', sans-serif; }
.admin-header .logo span { color: #ff8a85; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a {
  font-family: 'Libre Franklin', sans-serif;
  color: rgba(255,255,255,.7); padding: 7px 16px;
  border-radius: var(--pill); font-size: .88rem; font-weight: 500;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,.12); }
.admin-nav a.danger:hover { background: rgba(229,58,71,.35); color: #ffb2ad; }

.admin-main { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.admin-page-title { font-family: 'Libre Franklin', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 28px; }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  overflow: hidden;
}
.admin-card-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-gray);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h3 { font-size: 1rem; color: var(--navy); }
.posts-table { width: 100%; }
.posts-table th, .posts-table td { padding: 14px 28px; text-align: left; }
.posts-table th { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-gray); }
.posts-table tr:not(:last-child) td { border-bottom: 1px solid var(--border-gray); }
.posts-table tr:hover td { background: var(--page-bg); }
.posts-table td { font-size: .9rem; }
/* Status badge and row buttons share one pill shape and height */
.status-badge, .tbl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 16px;
  border-radius: var(--pill);
  font-family: 'Libre Franklin', sans-serif;
  font-size: .78rem; font-weight: 700;
  line-height: 1; white-space: nowrap;
  border: none; box-sizing: border-box;
}
.status-published { background: rgba(39,174,96,.12); color: #27ae60; }
.status-draft     { background: rgba(127,140,141,.12); color: #7f8c8d; }
.tbl-actions { display: flex; gap: 8px; align-items: center; }
.tbl-btn { cursor: pointer; transition: all var(--transition); }
/* Edit and Delete identical width (toolbar buttons keep their natural size) */
.tbl-actions .tbl-btn { width: 84px; }
.tbl-actions form { display: inline-flex; }
.tbl-btn.edit   { background: rgba(34,55,83,.08); color: var(--navy); }
.tbl-btn.delete { background: rgba(229,58,71,.1); color: var(--red); }
.tbl-btn.edit:hover   { background: var(--navy); color: white; }
.tbl-btn.delete:hover { background: var(--red); color: white; }

.editor-wrap { padding: 28px; }
.editor-wrap .field { margin-bottom: 20px; }
.editor-wrap label { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
.editor-wrap input, .editor-wrap select, .editor-wrap textarea {
  width: 100%; padding: 12px 18px;
  border: 1.5px solid var(--border-gray); border-radius: var(--radius);
  font-size: .93rem; font-family: inherit; color: var(--text);
  background: var(--page-bg);
  transition: border-color var(--transition);
}
.editor-wrap input:focus, .editor-wrap select:focus, .editor-wrap textarea:focus {
  outline: none; border-color: var(--navy-grad-1); background: var(--white);
}
.editor-wrap textarea.content-area { min-height: 420px; font-family: 'Courier New', monospace; font-size: .88rem; border-radius: var(--radius); }
.editor-hint { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }
.editor-actions {
  display: flex; gap: 12px; padding: 20px 28px;
  border-top: 1px solid var(--border-gray);
  background: var(--page-bg);
}
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--navy-gradient);
}
.admin-login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-card h1 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.admin-login-card p  { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.alert {
  padding: 12px 18px; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 20px;
}
.alert-error   { background: rgba(229,58,71,.1); color: var(--red); border: 1px solid rgba(229,58,71,.2); }
.alert-success { background: rgba(39,174,96,.1); color: #27ae60; border: 1px solid rgba(39,174,96,.2); }

/* ============================================================
   UTILITIES / EXTRAS
============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.divider {
  height: 34px; border: none; background: none;
  background: url('../images/divider.png?v=2') center / contain no-repeat;
  margin: 68px 0;
}

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ============================================================
   PEOPLE BEFORE CASES  (light-background values block)
============================================================ */
.people-section { background: var(--page-bg); text-align: center; }
.people-inner { max-width: 820px; margin: 0 auto; }
.people-section h2 { color: var(--red); margin-bottom: 22px; }
.people-body { color: var(--text-muted); font-size: 1.2rem; line-height: 1.85; margin-bottom: 26px; }
.people-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--navy); font-weight: 600;
  margin-bottom: 34px;
}

/* ============================================================
   INNER-PAGE HERO IMAGE  (storm image behind the gradient)
============================================================ */
.blog-hero, .post-hero {
  position: relative;
  /* Uniform hero height across every inner page, content vertically centered */
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 119px 0 44px; text-align: center;
  background: linear-gradient(180deg, rgba(20,30,52,.55) 0%, rgba(20,30,52,.78) 100%),
              url('../images/hero-inner-pages.jpg') center center / cover no-repeat;
}
.post-hero-inner { text-align: center; }
.post-hero .post-hero-meta { justify-content: center; }
/* Balance the title across two rows of similar length, and the text below */
.blog-hero h1, .post-hero h1 {
  text-wrap: balance; max-width: 18ch; margin-left: auto; margin-right: auto;
}
.blog-hero p { text-wrap: balance; }

/* ============================================================
   TESTIMONIALS / STORIES PAGE  (stacked single-column cards)
============================================================ */
.stories-section { background: var(--page-bg); }

/* ============================================================
   ABOUT PAGE  (wider text columns, page-bg, navy headings)
============================================================ */
.about-content { background: var(--page-bg); text-align: center; }
.about-content .help-list { text-align: left; }
.about-container { max-width: 1040px; }
.about-content h2 { color: var(--navy); margin-bottom: 20px; }
.about-content p  { color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.about-content p:last-child { margin-bottom: 0; }
.about-hero h1 { max-width: 30ch; }

/* Small print / footnotes used across the site */
.footnote { font-size: 18px; font-weight: 600; color: var(--text-muted); line-height: 1.6; }
.about-content .footnote { margin-top: 36px; }

/* ============================================================
   SOS PAGE  (first-aid grid with huge red numbers + emergency notice)
============================================================ */
.firstaid-section { background: var(--page-bg); }
.firstaid-section h2 { color: var(--red); text-align: center; margin-bottom: 48px; }
.firstaid-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 980px; margin: 0 auto;
}
.firstaid-item {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: flex; flex-direction: column;
}
.firstaid-num {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800; color: var(--red);
  font-size: 72px; line-height: 1; margin-bottom: 14px;
}
.firstaid-item h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.firstaid-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.firstaid-item p:last-child { margin-bottom: 0; }

.emergency-notice {
  max-width: 820px; margin: 52px auto 0; text-align: left;
  background: rgba(229,58,71,.08);
  border: 1.5px solid rgba(229,58,71,.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.emergency-notice h3 { color: var(--red); margin-bottom: 12px; }
.emergency-notice p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.emergency-notice p:last-child { margin-bottom: 0; }

/* ============================================================
   FAQ — LIGHT VARIANT  (used on the standalone FAQ page)
============================================================ */
.faq-section.faq-light { background: var(--page-bg); }
.faq-light .faq-item {
  background: var(--white);
  border: 1.5px solid var(--border-gray);
}
.faq-light .faq-item.open { border-color: var(--red); }
.faq-light .faq-question { color: var(--navy); }
.faq-light .faq-answer   { color: var(--text-muted); }
.stories-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.story-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: grid; grid-template-columns: 92px 1fr; gap: 30px; align-items: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-card:hover { transform: translateY(-3px); }
.story-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--navy-gradient); color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; font-family: 'Libre Franklin', sans-serif;
}
.story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-name { color: var(--navy); font-family: 'Libre Franklin', sans-serif; font-size: 1.25rem; font-weight: 700; }
.story-role { color: var(--text-muted); font-size: 1rem; }
.story-heading { color: var(--red); font-family: 'Libre Franklin', sans-serif; font-size: 1.5rem; font-weight: 700; margin: 16px 0 10px; }
.story-body { color: var(--text-muted); font-size: 1.3125rem; line-height: 1.75; }
.story-body::before { content: '“'; color: var(--red); font-weight: 800; margin-right: 2px; }
.story-body::after  { content: '”'; color: var(--red); font-weight: 800; margin-left: 2px; }

/* ============================================================
   HELP-WITH LIST  (single column, lifebuoy bullets, larger text)
============================================================ */
.help-list-box {
  margin-top: 24px; padding: 30px 32px;
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-lg);
}
.help-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  width: fit-content; max-width: 100%; margin: 0 auto;   /* centered block, rows left-aligned */
  text-align: left;
}
.help-list li {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.4rem; line-height: 1.3;
  font-weight: 600; color: var(--navy);
}
.help-list li::before {
  content: ''; flex-shrink: 0;
  width: 26px; height: 26px;
  background: url("../images/bullet.png") center / contain no-repeat;
}

/* ============================================================
   SOS PAGE — "Call us now" banner
============================================================ */
.call-label {
  font-size: 1.5rem; line-height: 1.4;
  max-width: none; margin-bottom: 10px;
}
.call-numbers {
  max-width: none; margin-bottom: 16px;
  font-size: 2.75rem; line-height: 1.3;
}
.call-numbers a {
  color: var(--red); font-weight: 800;
  text-decoration: underline; white-space: nowrap;
}
.call-or { color: rgba(255,255,255,.85); font-weight: 700; }
.call-hours { font-size: 1.3rem; max-width: none; margin-bottom: 36px; }

@media (max-width: 768px) {
  /* Stack the two numbers, one per line */
  .call-numbers a  { display: block; }
  .call-or         { display: none; }
  .call-numbers    { font-size: 2.1rem; }
  .call-label      { font-size: 1.25rem; }
  .call-hours      { font-size: 1.1rem; }
}

/* ============================================================
   COOKIE CONSENT BANNER
============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  background: var(--navy-gradient);
  border-top: 3px solid var(--red);
  box-shadow: 0 -6px 30px rgba(13,27,53,.28);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong {
  display: block; color: var(--white);
  font-family: 'Libre Franklin', sans-serif; font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-text p {
  color: rgba(255,255,255,.75);
  font-size: .9rem; line-height: 1.6; margin: 0; max-width: 720px;
}
.cookie-text a { color: var(--white); text-decoration: underline; font-weight: 600; }
.cookie-text a:hover { color: var(--red); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions .btn { padding: 13px 30px; font-size: .88rem; }
.btn-cookie-decline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: var(--pill);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700; font-size: .88rem; letter-spacing: .015em;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  cursor: pointer; transition: all var(--transition);
}
.btn-cookie-decline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

@media (max-width: 768px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn, .btn-cookie-decline { width: 100%; }
}

/* ============================================================
   404 PAGE  (scoped — affects only 404.php)
============================================================ */
.hero-404 { min-height: 78vh; }
.hero-404::before {
  background: url('../images/404-hero.jpg') center center / cover no-repeat;
}
.hero-404::after {
  background: linear-gradient(90deg, rgba(20,30,52,.92) 0%, rgba(20,30,52,.78) 34%, rgba(20,30,52,.34) 64%, rgba(20,30,52,.08) 100%);
}
.hero-404 .hero-content { padding: 60px 0; }
.eyebrow-404 {
  display: inline-block;
  font-family: 'Libre Franklin', sans-serif;
  font-size: .82rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-404 h1 em { color: var(--white); font-style: normal; }

/* Desktop: red button left, blue button right */
.btn-stack-404 {
  display: flex; flex-direction: row; justify-content: center;
  gap: 16px; margin-top: 36px; flex-wrap: wrap;
}
.btn-note-404 { margin: 16px 0 0; }

@media (max-width: 768px) {
  /* .hero.hero-404 beats the generic .hero mobile rule that comes later in the file */
  .hero.hero-404 { min-height: 0; }
  .hero.hero-404::before { background: url('../images/404-hero-mob.jpg') center center / cover no-repeat; }
  .hero.hero-404::after  { background: linear-gradient(180deg, rgba(20,30,52,.58) 0%, rgba(20,30,52,.88) 100%); }
  .hero.hero-404 .hero-content { min-height: 0; padding: 34px 0 44px; }
  .hero.hero-404 .hero-sub { margin-bottom: 0; }
  /* Mobile: stack the two buttons one above the other */
  .btn-stack-404 { flex-direction: column; align-items: center; gap: 12px; }
  .btn-stack-404 .btn { width: 100%; max-width: 340px; justify-content: center; }
}

/* Tighter gap between the trust boxes and the section that follows */
.trust-bar     { padding-bottom: 40px; }
.about-section { padding-top: 48px; }

/* Mobile-menu helpers */
.nav-links li.nav-mobile-only { display: none; }
body.menu-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main  { justify-content: center; text-align: center; }
}
@media (max-width: 768px) {
  body { font-size: 1.1rem; }
  .topbar-extra { display: none; }

  /* ---- Full-screen mobile menu ---- */
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav-cta    { display: inline-flex; }              /* SOS visible, normal width */
  .nav-links li.nav-mobile-only { display: block; }
  .nav-links li:not(:last-child)::after { display: none; }  /* no pipe separators */
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 2px;
    position: fixed; inset: 0; width: 100%; height: 100vh;
    background: rgba(30,43,71,.94);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    padding: 104px 40px 40px;
    transform: translateX(100%); transition: transform .32s ease;
    overflow-y: auto; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; text-align: left;
    color: #fff; font-size: 1.25rem; font-weight: 500;
    padding: 13px 0; border-radius: 0;
  }
  .nav-links a:hover, .nav-links a:active { color: var(--red); background: none; }
  .nav-links a.active { color: var(--red); font-weight: 700; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---- Homepage hero ---- */
  .hero::before { background: url('../images/mobile-hero.png') center center / cover no-repeat; }
  .hero::after  { background: linear-gradient(180deg, rgba(20,30,52,.5) 0%, rgba(20,30,52,.8) 100%); }
  .hero-content {
    display: flex; flex-direction: column;
    min-height: calc(100vh - 150px);
    padding: 20px 0 34px;
  }
  .hero h1        { font-size: 2.4rem; }             /* ~+20% */
  .hero-sub       { margin-bottom: 0; }
  .hero-actions   { flex-direction: column; margin-top: auto; margin-bottom: 9vh; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* ---- Trust boxes: equal squares ---- */
  .trust-bar-inner   { grid-template-columns: 1fr; gap: 18px; }
  .trust-item        { aspect-ratio: 1 / 1; }

  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .two-col-lists     { grid-template-columns: 1fr; }
  .list-card         { aspect-ratio: auto; }
  .list-card li      { padding: 12px 0; }

  /* ---- Mission: square boxes, number at top, text at bottom.
         Ratios scaled by box growth 327/242 = 1.351:
         number 0.264 -> 0.357 of box width, text 0.073 -> 0.0986 ---- */
  .mission-grid      {
    grid-template-columns: 1fr; gap: 18px;
    grid-auto-rows: 1fr;                       /* every box the same height */
  }
  .mission-item      {
    aspect-ratio: 1 / 1;                       /* square, like desktop */
    justify-content: space-between;            /* number up, text bottom */
    padding: clamp(20px, 6.4vw, 34px);
  }
  /* Fallback for very old browsers (approximate) */
  .mission-num       { font-size: clamp(74px, calc(35.7vw - 17.1px), 150px); line-height: 1; }
  .mission-item p    { font-size: clamp(22px, calc(9.86vw - 4.73px), 42px); line-height: 1.18; }

  /* Exact ratios measured against the box itself, not the viewport.
     cqw is relative to the content box (~0.835 of the full box after padding),
     so the target ratios are divided by that: 35.7/0.835 and 9.86/0.835.
     Result: number = 0.357 x box width, text = 0.0986 x box width. */
  @supports (container-type: inline-size) {
    .mission-item   { container-type: inline-size; }
    .mission-num    { font-size: 42.8cqw; }
    .mission-item p { font-size: 11.8cqw; }
  }

  .firstaid-grid     { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid::before{ display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-actions { flex-direction: column; align-items: center; }
  .testimonials-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .blog-grid         { grid-template-columns: 1fr 1fr; }
  .footer-main       { flex-direction: column; gap: 28px; }
  .footer-links      { justify-content: center; gap: 32px; }
  .footer-bottom     { flex-direction: column; gap: 12px; text-align: center; }
  .pill-form .form-row { grid-template-columns: 1fr; }
  .story-card        { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 28px 24px; }
  .story-avatar      { margin: 0 auto; }
  .help-list li      { font-size: 1.2rem; }

  /* ---- Inner-page hero: mobile image + tighter padding ---- */
  .blog-hero, .post-hero {
    min-height: 300px; margin-top: 119px; padding: 46px 0;   /* image starts right below the navbar */
    background: linear-gradient(180deg, rgba(20,30,52,.55) 0%, rgba(20,30,52,.8) 100%),
                url('../images/hero-inner-pages-mob.jpg') center center / cover no-repeat;
  }
  .blog-hero p { margin-top: 22px; }                          /* more space title → text */
  .post-hero.article-hero { min-height: 0; margin-top: 119px; padding: 40px 0; }
  .post-hero.article-hero .article-standfirst { margin-top: 20px; }

  /* ---- Storm sections: reduce vertical padding, open up title/text/button ---- */
  .storm-section    { padding: 62px 0; }
  .storm-section h2 { margin-bottom: 22px; }
  .storm-section p  { margin-bottom: 34px; }
}
@media (max-width: 480px) {
  .blog-grid  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .section    { padding: 60px 0; }
  /* keep the tighter trust-boxes → text gap on small screens */
  .section.trust-bar     { padding-bottom: 28px; }
  .section.about-section { padding-top: 32px; }
}
