/* =============================================================
   Responsible Gambling Portal — Complete Design System CSS
   Gambling Authority of Botswana
   Source: code.txt (Figma) + dual rg-* aliases for public shell
   ============================================================= */

/* ===== FONTS (Outfit 700–900, Manrope 400–800) ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --navy-dark: #0A1628;
  --navy-blue: #0D47A1;
  --red: #C62828;
  --white: #FFFFFF;
  --light-gray: #F8FAFC;
  --stat-gray: #F5F7FA;
  --body-text: #475569;
  --heading-dark: #1A1A2E;
  --card-text: #4A4A62;
  --lavender: #A3B3E5;
  --light-teal: #EAF6F4;
  --green: #5B8C5A;
  --myth-bg: #FDF2F2;
  --fact-bg: #EFF5EF;
  --stat-bg: #EFF6FF;
  --widget-bg: #F3F4F6;
  --muted: #9CA3AF;
  --border: #E0E0E0;
  --caution-bg: #FFF8E9;
  --amber: #B45309;
  --amber-icon: #D97706;
  /* v15 editorial homepage palette. Shares the site chrome navy/red so the
     header, hero and footer all resolve to the same two brand colours. */
  --warm-cream: #FDF8F4;
  --navy: #0A1628;
  --light-blue: #F0F4F8;
  --gray-bg: #F4F6F9;
  --stories-bg: #F9F9F9;
  --text-dark: #1A1A1A;
  --text-body: #4B5563;
  --text-muted: #6B7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --content-width: 1200px;
  --section-pad-x: 120px;
  --section-pad-y: 90px;
  --card-radius: 16px;
  --btn-radius: 8px;

  /* Legacy rg-* aliases (support / pgsi / other public pages) */
  --rg-navy-dark: var(--navy-dark);
  --rg-navy-blue: var(--navy-blue);
  --rg-red: var(--red);
  --rg-white: var(--white);
  --rg-light-gray: var(--light-gray);
  --rg-stat-gray: var(--stat-gray);
  --rg-body-gray: var(--body-text);
  --rg-muted: var(--lavender);
  --rg-ink: var(--heading-dark);
  --rg-ink-soft: var(--card-text);
  --rg-green: var(--green);
  --rg-myth-bg: var(--myth-bg);
  --rg-fact-bg: var(--fact-bg);
  --rg-stat-card: var(--stat-bg);
  --rg-content: var(--content-width);
  --rg-gutter: var(--section-pad-x);
  --rg-radius-card: var(--card-radius);
  --rg-radius-btn: var(--btn-radius);
  --rg-font-display: var(--font-heading);
  --rg-font-body: var(--font-body);
}

/* ===== RESET & BASE (scoped to public shell) ===== */
body.rg-public *,
body.rg-public *::before,
body.rg-public *::after {
  box-sizing: border-box;
}

body.rg-public {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--body-text);
  background: var(--white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* No `height: auto` here — `body.rg-public img` outranks component rules
   like `.rg-nav-brand img`, which silently defeats their explicit heights.
   Aspect ratio still comes from the base `img` rule in design-system.css. */
body.rg-public img {
  max-width: 100%;
  display: block;
}

body.rg-public a {
  text-decoration: none;
}

/* Only unstyled links inherit — component classes keep their own colour */
body.rg-public a:not([class]) {
  color: inherit;
}

body.rg-public ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== TYPOGRAPHY SCALE ===== */
body.rg-public h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 72px;
  line-height: 72px;
  color: var(--white);
  margin: 0;
}

body.rg-public h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  color: var(--heading-dark);
  margin: 0;
}

body.rg-public h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--heading-dark);
  margin: 0;
}

body.rg-public h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--heading-dark);
  margin: 0;
}

/* ===== SECTION KICKERS ===== */
.section-kicker,
.rg-kicker,
.kicker {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-blue);
  display: block;
  margin: 0 0 12px;
}

.rg-kicker-light {
  color: var(--light-teal);
}

.rg-section-title,
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--heading-dark);
}

.rg-section-title-light {
  color: var(--white);
}

.rg-section {
  width: 100%;
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* ===== BUTTONS ===== */
.rg-btn,
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.rg-btn:hover,
.btn:hover {
  opacity: 0.9;
}

.rg-btn-red,
.btn-register,
.btn-submit,
.hero-btn-primary {
  background: var(--red);
  color: #FFFFFF;
}

.rg-btn-primary {
  background: var(--navy-blue);
  color: #FFFFFF;
}

/* Hero CTAs: beat design-system `a` / `a:hover` link colors */
.hero-section .rg-btn,
.hero-section .rg-btn-red,
.hero-section .rg-btn-outline-white,
.hero-section a.rg-btn,
.rg-hero .rg-btn,
.rg-hero .rg-btn-red,
.rg-hero .rg-btn-outline-white,
.rg-hero a.rg-btn,
.rg-hero-actions .rg-btn,
.rg-hero-actions a.rg-btn,
.rg-hero-actions .rg-btn-red,
.rg-hero-actions .rg-btn-outline-white,
.rg-hero-actions a.rg-btn-red,
.rg-hero-actions a.rg-btn-outline-white {
  color: #FFFFFF;
}

.hero-section .rg-btn:hover,
.hero-section .rg-btn:visited,
.hero-section a.rg-btn:hover,
.hero-section a.rg-btn:visited,
.rg-hero .rg-btn:hover,
.rg-hero .rg-btn:visited,
.rg-hero a.rg-btn:hover,
.rg-hero a.rg-btn:visited,
.rg-hero-actions .rg-btn:hover,
.rg-hero-actions .rg-btn:visited,
.rg-hero-actions a.rg-btn:hover,
.rg-hero-actions a.rg-btn:visited {
  color: #FFFFFF;
}

.rg-btn-navy,
.btn-navy {
  background: var(--navy-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  width: fit-content;
}

/* Button labels stay white in every link state — :visited otherwise
   inherits the site-wide link colour and disappears on the fill */
a.rg-btn-red:link, a.rg-btn-red:visited, a.rg-btn-red:hover,
a.rg-btn-red:focus, a.rg-btn-red:active,
a.rg-btn-navy:link, a.rg-btn-navy:visited, a.rg-btn-navy:hover,
a.rg-btn-navy:focus, a.rg-btn-navy:active,
a.btn-navy:link, a.btn-navy:visited, a.btn-navy:hover,
a.btn-navy:focus, a.btn-navy:active,
a.rg-btn-dark:link, a.rg-btn-dark:visited, a.rg-btn-dark:hover,
a.rg-btn-dark:focus, a.rg-btn-dark:active,
a.rg-btn-outline-white:link, a.rg-btn-outline-white:visited,
a.rg-btn-outline-white:hover, a.rg-btn-outline-white:focus,
a.rg-btn-outline-white:active {
  color: #FFFFFF !important;
}

.rg-btn-dark,
.btn-dark {
  background: var(--navy-dark);
  color: var(--white);
}

.rg-btn-outline-white,
.hero-btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid var(--white);
  font-weight: 700;
  font-size: 16px;
}

.rg-btn-sm,
.btn-register {
  font-size: 14px;
  padding: 10px 20px;
}

.rg-btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-submit {
  width: 100%;
  font-size: 14px;
}

/* ===== CONTAINER ===== */
.rg-container,
.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
}

/* =============================================================
   1. EMERGENCY BANNER
   ============================================================= */
.emergency-banner,
.rg-emergency {
  width: 100%;
  background: var(--red);
  height: 44px;
  display: flex;
  align-items: center;
}

.rg-emergency-inner {
  max-width: 100%;
  width: 100%;
  padding: 0 var(--section-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.emergency-banner p,
.emergency-banner a,
.rg-emergency a {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  margin: 0;
}

.emergency-banner a,
.rg-emergency a {
  text-decoration: underline;
}

/* =============================================================
   2. NAVIGATION HEADER
   ============================================================= */
.nav-header,
.rg-nav {
  width: 100%;
  background: var(--navy-dark);
  height: 76px;
  min-height: 76px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.rg-nav-inner {
  max-width: 100%;
  height: 100%;
  /* Horizontal gutters only — vertical space is for flex-centering the logo */
  padding: 0 var(--section-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.brand-logo,
.rg-nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

body.rg-public .brand-logo img,
body.rg-public .rg-nav-brand img,
.brand-logo img,
.rg-nav-brand img {
  /* 40px artwork in the 76px bar leaves ~18px clear above and below */
  height: 40px;
  width: auto;
  display: block;
  background: transparent;
}

.rg-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name,
.rg-nav-brand-text strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
}

.brand-subtitle,
.rg-nav-brand-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--lavender);
}

.rg-nav-links,
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rg-nav-links a,
.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--lavender);
  transition: color 0.2s;
  text-decoration: none;
}

.rg-nav-links a:hover,
.rg-nav-links a.active,
.nav-link:hover,
.nav-link.active {
  font-weight: 800;
  color: var(--white);
}

.rg-nav-cta,
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.rg-link-signin,
.btn-signin {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  background: transparent;
  border: none;
  text-decoration: none;
}

.rg-nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  opacity: .85;
  transition: opacity .15s, background .15s;
}
.rg-nav-search:hover { opacity: 1; background: rgba(255,255,255,.12); }

.rg-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Nav dropdown (shell behaviour beyond code.txt) */
.rg-nav-dropdown {
  position: relative;
}

.rg-nav-dropdown > a::after {
  content: "▾";
  font-size: 0.65rem;
  margin-left: 4px;
  opacity: 0.7;
}

.rg-nav-dropdown-menu {
  display: none;
  position: absolute;
  /* Visual gap under the trigger; bridged by ::before so hover is not lost. */
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.18);
  min-width: 210px;
  padding: 8px 0;
  z-index: 200;
}

/* Invisible hit area covering the 10px gap between label and panel. */
.rg-nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.rg-nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--heading-dark) !important;
  font-weight: 500;
}

.rg-nav-dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--navy-blue) !important;
}

.rg-nav-dropdown:hover .rg-nav-dropdown-menu,
.rg-nav-dropdown:focus-within .rg-nav-dropdown-menu {
  display: block;
}

/* ===== PORTAL NAV (logged-in customer avatar) =====
 * Used by includes/nav_header_portal.html on ALL logged-in customer
 * pages. Scoped to .nav-header--portal so it never leaks onto the
 * unauthenticated .nav-header--auth variant (login/register).
 * Lives here (not wizard-stepper-layout.css) so dashboard/settings
 * get the avatar styles without loading the whole wizard stylesheet.
 * --------------------------------------------------------------------- */
.nav-header--portal .rg-nav-links a.active {
  border-bottom: 2px solid var(--white);
  padding-bottom: 4px;
}

.nav-header--portal .rg-nav-user__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px 6px 6px;
  border-radius: 9999px;
  transition: background 0.15s;
}

.nav-header--portal .rg-nav-user__btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-header--portal .rg-nav-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  text-transform: uppercase;
}

.nav-header--portal .rg-nav-user__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav-header--portal .rg-nav-user__chevron {
  color: var(--lavender);
  flex-shrink: 0;
  transition: transform 0.15s;
}

.nav-header--portal .rg-nav-user__btn:has(+ .rg-nav-user__menu.open) .rg-nav-user__chevron {
  transform: rotate(180deg);
}

.nav-header--portal .rg-nav-user__menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--btn-radius);
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.18);
  overflow: hidden;
  z-index: 250;
}

.nav-header--portal .rg-nav-user__menu.open {
  display: block;
}

.nav-header--portal .rg-nav-user__menu-header {
  padding: 12px 16px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}

.nav-header--portal .rg-nav-user__menu-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.nav-header--portal .rg-nav-user__menu-email {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-top: 2px;
  word-break: break-all;
}

.nav-header--portal .rg-nav-user__menu a,
.nav-header--portal .rg-nav-user__menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-dark);
  background: none;
  border: none;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.nav-header--portal .rg-nav-user__menu a:hover,
.nav-header--portal .rg-nav-user__menu button:hover {
  background: var(--light-gray);
}

.nav-header--portal .rg-nav-user__menu form {
  margin: 0;
  border-top: 1px solid var(--border);
}

.nav-header--portal .rg-nav-user__menu form button {
  color: var(--red);
}

@media (max-width: 768px) {
  .nav-header--portal .rg-nav-user__name {
    display: none;
  }
}

/* =============================================================
   3. HERO SECTION — v15 editorial (split-screen: flat blue left + photo right)
   Single slide = static hero. 2+ slides = carousel.
   The right column carries the hero photo; the left column carries kicker,
   headline, subtext, CTAs, trust badges, and (for carousel) the "01 / 03"
   indicator.
   ============================================================= */

/* Allow adjacent sections to overlap — kept from the previous layout so any
   downstream tests / snapshots that expected `overflow: visible` still work. */
body.rg-public,
body.rg-public main {
  overflow: visible;
}

.hero-section,
.rg-hero {
  position: relative;
  width: 100%;
  display: flex;
  min-height: 480px;
  background: var(--light-blue);
}

/* Slides toggle with `display`, so an inactive slide is removed from flow
   entirely. That keeps each slide's own control row on screen as the carousel
   advances and lets the hero size itself from the active slide alone. */
.hero-slide,
.rg-hero-slide {
  display: none;
  width: 100%;
  min-height: 480px;
  background: transparent;
}

.hero-slide.is-active,
.rg-hero-slide.is-active {
  display: flex;
}

/* Left column: copy over the flat hero background (none of its own). */
.hero-left {
  flex: 1;
  min-width: 0;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: transparent;
}

/* Right column: hero photo (per-slide via inline style). The static fallback
   keeps this column from ever rendering as a blank grey swatch when a slide
   has no Wagtail image attached. */
.hero-right {
  flex: 1;
  background-image: var(--hero-right-image, url('../img/hero-slide-1.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #dfe7f2;
}

/* Per-slide static fallbacks so slides 2 and 3 differ even before an editor
   attaches Wagtail images. */
.hero-slide[data-hero-index="1"] .hero-right {
  background-image: var(--hero-right-image, url('../img/hero-slide-2.jpg'));
}

.hero-slide[data-hero-index="2"] .hero-right {
  background-image: var(--hero-right-image, url('../img/hero-slide-3.jpg'));
}

/* Kicker row: red accent line + label */
.hero-kicker-row,
.hero-section .hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.hero-kicker-row .red-accent-line,
.hero-section .hero-label .line {
  display: inline-block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-kicker-row .kicker-text,
.hero-section .hero-kicker,
.hero-section .rg-hero-kicker {
  display: inline;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hero-left h1,
.hero-section .hero-headline,
.hero-section .rg-hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin: 0;
  max-width: none;
  text-align: left;
}

.hero-left .subtext,
.hero-section .hero-subtitle,
.hero-section .rg-hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Hero buttons */
.hero-actions,
.hero-section .rg-hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}

.hero-section .btn-counsellor,
.hero-section a.btn-counsellor:link,
.hero-section a.btn-counsellor:visited {
  background: var(--red);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-decoration: none;
}

.hero-section .btn-counsellor:hover,
.hero-section a.btn-counsellor:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.35);
}

.hero-section .btn-exclusion,
.hero-section a.btn-exclusion:link,
.hero-section a.btn-exclusion:visited {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 14px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-section .btn-exclusion:hover,
.hero-section a.btn-exclusion:hover {
  background: var(--navy);
  color: var(--white);
}

/* Trust badges */
.trust-badges,
.hero-section .rg-trust {
  display: flex;
  gap: 25px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}

.trust-badges span,
.hero-section .hero-badge,
.hero-section .rg-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
}

.trust-badges svg,
.hero-section .rg-trust svg {
  flex-shrink: 0;
  opacity: 0.85;
  color: var(--navy);
}

/* Slider controls — single row inside `.hero-left`, below the trust badges. */
.carousel-indicator,
.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.carousel-indicator .slide-num,
.hero-slider-controls .slider-counter {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.carousel-indicator .progress-track,
.hero-slider-controls .slider-bar {
  display: inline-block;
  width: 80px;
  height: 2px;
  background: #D9D9D9;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.carousel-indicator .progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
  background: var(--red);
  transition: width 0.35s ease;
}

/* Dots and arrows are direct children of the indicator row in the reference,
   so the 15px row gap also applies between them. */
.carousel-indicator .carousel-dots,
.hero-slider-controls .slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.carousel-indicator .dot,
.hero-slider-controls .slider-dots span {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #D1D1D1;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-indicator .dot.active,
.carousel-indicator .dot[aria-current="true"],
.hero-slider-controls .slider-dots span.active {
  background: var(--red);
}

.carousel-indicator .arrow-btn,
.hero-slider-controls .slider-arrows button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #D1D1D1;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--navy);
  transition: all 0.2s;
}

.carousel-indicator .slider-arrows {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.carousel-indicator .arrow-btn:hover,
.carousel-indicator .arrow-btn:focus-visible {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicator .progress-fill {
    transition: none;
  }
}

/* =============================================================
   4. PATHWAY CARDS
   ============================================================= */
.pathway-cards,
.rg-pathways {
  width: 100%;
  /* Top 120px stays transparent so the cards sit over the hero image */
  background: linear-gradient(to bottom, transparent 120px, var(--light-gray) 120px);
  padding: 0 var(--section-pad-x) 80px;
  margin-top: -120px;
  position: relative;
  z-index: 2;
}

.rg-pathways-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

.pathway-card,
.rg-pathway-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pathway-card h3,
.rg-pathway-card h3 {
  color: var(--heading-dark);
  margin: 0;
}

.pathway-card p,
.rg-pathway-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--card-text);
  margin: 0;
}

.rg-trust-badge-line {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: var(--body-text);
  max-width: 28ch;
}

/* =============================================================
   4b. RECOGNITION / AWARDS STRIP (compact)
   ============================================================= */
.rg-recognition-strip {
  position: relative;
  width: 100%;
  background: var(--navy-dark);
  border-top: 2px solid #C4A65A;
  padding: 28px var(--section-pad-x);
  overflow: hidden;
}

.rg-recognition-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(30deg, transparent 40%, rgba(163, 179, 229, 0.55) 41%, transparent 42%),
    linear-gradient(-30deg, transparent 40%, rgba(163, 179, 229, 0.4) 41%, transparent 42%);
  background-size: 56px 56px, 56px 56px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 85%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 85%);
}

.rg-recognition-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}

.rg-recognition-strip-copy {
  flex: 0 1 340px;
  min-width: 0;
  max-width: 360px;
}

.rg-recognition-strip-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4A65A;
  margin: 0 0 8px;
}

body.rg-public .rg-recognition-strip-heading,
.rg-recognition-strip-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 6px;
}

.rg-recognition-strip-support {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--lavender);
  margin: 0;
}

.rg-strip-awards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  justify-content: flex-end;
}

.rg-strip-award {
  flex: 1 1 0;
  min-width: 0;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 8px 12px;
  position: relative;
  outline: none;
  cursor: default;
}

.rg-strip-award + .rg-strip-award::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.rg-strip-award-featured {
  display: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C4A65A;
  background: transparent;
  border: 1px solid rgba(196, 166, 90, 0.55);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.rg-strip-award.is-featured .rg-strip-award-featured {
  display: inline-block;
}

.rg-strip-award-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: #C4A65A;
}

.rg-strip-award-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(163, 179, 229, 0.7);
  background: transparent;
  border: 1.5px solid rgba(163, 179, 229, 0.35);
  margin: 2px 0;
}

.rg-strip-award-icon img {
  max-width: 24px;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rg-strip-award-category {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(163, 179, 229, 0.75);
}

body.rg-public .rg-strip-award-title,
.rg-strip-award-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.25;
  color: var(--white);
}

.rg-strip-award-org {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(163, 179, 229, 0.75);
}

.rg-strip-award.is-featured .rg-strip-award-year {
  color: #E8D5A0;
}

.rg-strip-award.is-featured .rg-strip-award-icon {
  color: #C4A65A;
  border-color: rgba(196, 166, 90, 0.45);
}

/* =============================================================
   5. SUPPORT SERVICES
   ============================================================= */
.support-services,
.rg-services {
  width: 100%;
  background: var(--light-gray);
  padding: 80px var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.support-services > .rg-container,
.rg-services > .rg-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.support-services .section-kicker,
.support-services .section-title,
.rg-services .rg-kicker,
.rg-services .rg-section-title {
  text-align: center;
  margin-bottom: 0;
}

.services-row,
.rg-services-grid {
  display: flex;
  gap: 16px;
  max-width: var(--content-width);
  width: 100%;
}

.service-card,
.rg-service-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  min-height: 220px;
}

.rg-service-icon {
  width: 44px;
  height: 44px;
  background: var(--stat-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
}

.service-card h4,
.rg-service-card h4 {
  margin: 0;
}

.service-card p,
.rg-service-card p {
  font-size: 13px;
  line-height: 20px;
  color: var(--body-text);
  margin: 0;
  flex: 1;
}

.service-card a,
.rg-service-card a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-blue);
}

.service-card a:hover,
.rg-service-card a:hover {
  text-decoration: underline;
}

/* =============================================================
   6. QUOTE BAND
   ============================================================= */
.quote-band {
  position: relative;
  width: 100%;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: url('../img/quote-band-bg.jpg') center / cover no-repeat;
  text-align: center;
}

.quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.72);
}

.quote-band blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 44px);
  line-height: 1.25;
  color: var(--white);
  font-style: italic;
  max-width: 36ch;
  margin: 0 auto;
}

/* =============================================================
   7. MYTH VS FACT
   ============================================================= */
.myth-fact,
.rg-myth-section {
  width: 100%;
  background: var(--white);
  padding: var(--section-pad-y) var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.myth-fact .section-kicker,
.rg-myth-section .rg-kicker {
  color: var(--red);
}

.comparisons-stack,
.rg-myth-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--content-width);
  width: 100%;
}

.comparison-row,
.rg-myth-row {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
}

.myth-side,
.rg-myth-card {
  flex: 1;
  background: var(--myth-bg);
  padding: 24px;
}

.fact-side,
.rg-fact-card {
  flex: 1;
  background: var(--fact-bg);
  padding: 24px;
}

.myth-tag,
.fact-tag,
.rg-tag,
.tag {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.myth-tag,
.rg-tag-myth {
  background: var(--red);
}

.fact-tag,
.rg-tag-fact {
  background: var(--green);
}

.myth-text,
.rg-myth-card h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--heading-dark);
  margin: 0;
}

.fact-text,
.rg-fact-card p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--body-text);
  margin: 0;
}

/* =============================================================
   8. COMMUNITY OUTREACH
   ============================================================= */
.community-outreach,
.rg-community {
  width: 100%;
  background: var(--navy-dark);
  padding: var(--section-pad-y) var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.community-outreach .section-kicker,
.rg-community .rg-kicker {
  color: var(--light-teal);
}

.community-outreach h2,
.community-outreach .section-title,
.rg-community h2,
.rg-community .rg-section-title {
  color: var(--white);
  text-align: center;
  margin: 0;
}

.rg-community-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--lavender);
  text-align: center;
  max-width: 700px;
  margin: 0;
}

.outreach-grid,
.rg-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--content-width);
  width: 100%;
}

.outreach-card,
.rg-community-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* Community outreach photos (safe event imagery — no Omang / PII).
   Soft navy wash keeps captions readable; Wagtail inline background-image overrides when set. */
.rg-community-tile-1 {
  background-color: #0A1628;
  background-image:
    linear-gradient(160deg, rgba(13, 71, 161, 0.28) 0%, rgba(10, 22, 40, 0.55) 100%),
    url("../img/event-youth-sports.jpg");
}

.rg-community-tile-2 {
  background-color: #0A1628;
  background-image:
    linear-gradient(160deg, rgba(18, 58, 107, 0.28) 0%, rgba(10, 22, 40, 0.55) 100%),
    url("../img/event-kgotla-meeting.jpg");
}

.rg-community-tile-3 {
  background-color: #0A1628;
  background-image:
    linear-gradient(160deg, rgba(10, 61, 98, 0.28) 0%, rgba(10, 22, 40, 0.55) 100%),
    url("../img/event-outreach-tent.jpg");
}

.rg-community-tile-4 {
  background-color: #0A1628;
  background-image:
    linear-gradient(160deg, rgba(26, 54, 93, 0.28) 0%, rgba(13, 71, 161, 0.45) 100%),
    url("../img/community-outreach-1.jpg");
}

.outreach-card-label,
.rg-community-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  background: rgba(10, 22, 40, 0.6);
  padding: 6px 14px;
  border-radius: 6px;
}

/* =============================================================
   9. STATISTICS
   ============================================================= */
.statistics,
.rg-stats {
  width: 100%;
  background: var(--stat-gray);
  padding: var(--section-pad-y) var(--section-pad-x);
  display: flex;
  justify-content: center;
}

.stats-row,
.rg-stats-grid {
  display: flex;
  gap: 24px;
  max-width: var(--content-width);
  width: 100%;
}

.stat-card,
.rg-stat-card {
  flex: 1;
  background: var(--stat-bg);
  border-radius: 12px;
  padding: 24px;
}

.stat-number,
.rg-stat-card strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--navy-blue);
  display: block;
}

.stat-label,
.rg-stat-card span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  color: var(--heading-dark);
  margin-top: 8px;
  display: block;
  line-height: 1.35;
}

/* =============================================================
   10. SELF-ASSESSMENT PREVIEW
   ============================================================= */
.self-assessment,
.rg-assess {
  width: 100%;
  background: var(--white);
  padding: var(--section-pad-y) var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.self-assessment .section-kicker,
.rg-assess .rg-kicker {
  color: var(--red);
  text-align: center;
  margin: 0;
}

.rg-assess .rg-section-title,
.self-assessment .section-title {
  text-align: center;
  margin: 0;
}

.rg-assess-lead {
  font-size: 16px;
  line-height: 24px;
  color: var(--card-text);
  text-align: center;
  margin: 0;
  max-width: 52ch;
}

.assessment-widget,
.rg-assess-widget {
  background: var(--widget-bg);
  border-radius: var(--card-radius);
  padding: 24px;
  max-width: var(--content-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rg-assess-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.check-item,
.rg-assess-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--heading-dark);
}

.check-circle,
.rg-assess-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.privacy-note,
.rg-assess-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  align-self: center;
  width: 100%;
}

.warning-bar,
.rg-assess-warn {
  background: var(--myth-bg);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--content-width);
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  margin: 0;
  box-sizing: border-box;
}

.warning-bar a,
.rg-assess-warn a {
  color: var(--red);
  text-decoration: underline;
}

/* =============================================================
   11. CONTACT SECTION
   ============================================================= */
.contact-section,
.rg-contact {
  width: 100%;
  background: var(--navy-blue);
  padding: 26px var(--section-pad-x);
}

.rg-contact-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-left h2,
.rg-contact h2 {
  color: var(--white);
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.rg-contact-lead {
  font-size: 15px;
  line-height: 22px;
  color: var(--light-teal);
  margin: 0;
}

.contact-info,
.rg-contact-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li,
.rg-contact-meta li {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info a,
.rg-contact-meta a {
  color: var(--white);
}

.social-icons,
.rg-social {
  display: flex;
  gap: 8px;
}

.social-icon,
.rg-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s;
  text-decoration: none;
}

body.rg-public a.social-icon,
body.rg-public a.social-icon:visited,
body.rg-public a.social-icon:hover,
body.rg-public .rg-social a {
  color: var(--white);
}

.social-icon:hover,
.rg-social a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.enquiry-form,
.rg-enquiry {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 14px 18px;
  width: 500px;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.enquiry-form h3,
.rg-enquiry h3 {
  margin: 0 0 6px;
}

.form-input,
.rg-field input,
.rg-field select {
  padding: 8px 12px;
}

.enquiry-form form,
.rg-enquiry form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rg-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label,
.rg-field label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  color: var(--heading-dark);
}

.form-input,
.rg-field input,
.rg-field textarea,
.rg-field select {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--body-text);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  padding: 8px 12px;
  outline: none;
  width: 100%;
  background: var(--white);
  box-sizing: border-box;
}

.form-input:focus,
.rg-field input:focus,
.rg-field textarea:focus {
  border-color: var(--navy-blue);
}

textarea.form-input,
.rg-field textarea {
  min-height: 42px;
  resize: vertical;
}

.rg-enquiry .rg-btn,
.enquiry-form .btn-submit {
  width: 100%;
  font-size: 14px;
}

/* Flash messages */
.rg-messages {
  width: min(100% - 2 * var(--section-pad-x), var(--content-width));
  margin: 16px auto 0;
}

.rg-flash {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.rg-flash-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.rg-flash-err {
  background: var(--myth-bg);
  color: #7f1d1d;
  border: 1px solid #f5c2c2;
}

/* ===== UTILITY: honeypot ===== */
.rg-honeypot {
  display: none !important;
}

/* =============================================================
   12. FOOTER
   80px above the red rule → 4px rule spanning the content
   region (matches the grey divider) → 56px → columns
   ============================================================= */
.footer,
.rg-footer {
  position: relative;
  width: 100%;
  background: var(--navy-dark);
  padding: 80px var(--section-pad-x) 40px;
  border-top: none;
  box-sizing: border-box;
}

.rg-footer > .rg-container {
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 4px solid var(--red);
  padding-top: 56px;
}

.footer-cols,
.rg-footer-grid {
  display: flex;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col-brand,
.rg-footer-brand {
  flex: 2;
}

.footer-cols > div:not(.footer-col-brand):not(.rg-footer-brand),
.rg-footer-grid > div:not(.footer-col-brand):not(.rg-footer-brand) {
  flex: 1;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 10px;
}

body.rg-public .footer-brand-link img,
.footer-brand-link img {
  height: 44px;
  width: auto;
  display: block;
  background: transparent;
}

.footer-brand-republic,
.footer .footer-brand-republic {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

body.rg-public .footer-cols h4,
body.rg-public .rg-footer h4,
.footer-cols h4,
.rg-footer h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin: 0 0 16px;
}

.footer-brand-text,
.rg-footer-brand p {
  font-size: 13px;
  color: var(--lavender);
  max-width: 300px;
  margin-top: 12px;
  line-height: 1.55;
}

.rg-footer-links li {
  margin-bottom: 8px;
}

.rg-footer-links a,
.rg-footer-links li {
  font-size: 14px;
  color: var(--lavender);
}

.rg-footer-links a:hover {
  color: var(--white);
}

.rg-footer-office li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.rg-footer-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

.rg-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.rg-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rg-footer-legal span,
.rg-footer-legal a {
  font-size: 12px;
  color: var(--muted);
}

.rg-footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.rg-footer-legal a:hover {
  color: var(--white);
}

.rg-footer-motshameko {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.rg-public .rg-footer-motshameko img,
.rg-footer-motshameko img {
  height: 50px;
  width: auto;
  display: block;
}

.rg-footer-motshameko-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rg-footer-motshameko-text strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
}

.rg-footer-motshameko-text small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hide legacy support banner on redesigned home */
.rg-public .support-banner {
  display: none;
}

/* =============================================================
   RESPONSIVE — gutters & layouts
   ≤1024 → 48px, ≤768 → 24px; hero headline clamp
   ============================================================= */
@media (max-width: 1024px) {
  :root {
    --section-pad-x: 48px;
    --rg-gutter: 48px;
  }

  .services-row,
  .rg-services-grid {
    flex-wrap: wrap;
  }

  .service-card,
  .rg-service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 180px;
  }

  .stats-row,
  .rg-stats-grid {
    flex-wrap: wrap;
  }

  .stat-card,
  .rg-stat-card {
    flex: 1 1 calc(50% - 24px);
  }

  .footer-cols,
  .rg-footer-grid {
    flex-wrap: wrap;
  }

  .footer-col-brand,
  .rg-footer-brand {
    flex: 1 1 100%;
  }

  .rg-contact-grid {
    flex-direction: column;
    gap: 28px;
  }

  .enquiry-form,
  .rg-enquiry {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .rg-nav-links,
  .rg-nav-cta .rg-link-signin,
  .rg-nav-cta .rg-btn {
    display: none;
  }

  .rg-mobile-toggle {
    display: block;
  }

  .nav-header,
  .rg-nav {
    height: 76px;
    min-height: 76px;
  }

  .rg-nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-dark);
    padding: 16px var(--section-pad-x) 24px;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .rg-nav-links.open .rg-nav-dropdown-menu {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    padding-left: 12px;
  }

  .rg-nav-links.open .rg-nav-dropdown-menu::before {
    display: none;
  }

  .rg-nav-links.open .rg-nav-dropdown-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .pathway-cards,
  .rg-pathways {
    margin-top: -60px;
  }

  .rg-pathways-grid {
    flex-direction: column;
  }

  .rg-recognition-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .rg-recognition-strip-copy {
    max-width: none;
    flex: none;
  }

  .rg-strip-awards {
    width: 100%;
    justify-content: stretch;
  }

  .rg-strip-award {
    max-width: none;
  }

  .comparison-row,
  .rg-myth-row {
    flex-direction: column;
  }

  .outreach-grid,
  .rg-community-grid {
    grid-template-columns: 1fr;
  }

  .rg-hero-inner {
    gap: 28px;
  }

  .rg-emergency-inner p:last-child {
    display: none;
  }

  .hero-tollfree,
  .rg-hero-pill {
    top: 16px;
    right: var(--section-pad-x);
    font-size: 12px;
    padding: 5px 12px;
  }

  .rg-hero-inner {
    padding-top: 64px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-x: 24px;
    --rg-gutter: 24px;
  }

  /* Best-practice mobile step-down: smaller logo, header height unchanged */
  .nav-header,
  .rg-nav {
    height: 76px;
    min-height: 76px;
  }

  body.rg-public .brand-logo img,
  body.rg-public .rg-nav-brand img,
  body.rg-auth .brand-logo img,
  body.rg-auth .rg-nav-brand img {
    height: 32px;
    width: auto;
  }

  .emergency-banner,
  .rg-emergency {
    height: auto;
    min-height: 44px;
  }

  .rg-emergency-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .services-row,
  .rg-services-grid,
  .stats-row,
  .rg-stats-grid,
  .footer-cols,
  .rg-footer-grid {
    flex-direction: column;
  }

  .rg-recognition-strip {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .rg-recognition-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .rg-recognition-strip-copy {
    max-width: none;
  }

  .rg-strip-awards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0;
  }

  .rg-strip-award {
    max-width: none;
    padding: 12px 10px;
  }

  .rg-strip-award:nth-child(2n + 1)::before {
    display: none;
  }

  .rg-strip-award + .rg-strip-award::before {
    top: 8%;
    bottom: 8%;
  }

  .rg-trust-badge-line {
    max-width: none;
  }

  .service-card,
  .rg-service-card,
  .stat-card,
  .rg-stat-card {
    flex: 1 1 100%;
  }

  .rg-section,
  .myth-fact,
  .rg-myth-section,
  .community-outreach,
  .rg-community,
  .statistics,
  .rg-stats,
  .self-assessment,
  .rg-assess,
  .contact-section,
  .rg-contact,
  .quote-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  /* Contact band: tighter vertical padding than other sections */
  .contact-section,
  .rg-contact {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .rg-contact-grid {
    gap: 24px;
  }

  .support-services,
  .rg-services {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* The homepage hero sizing/typography is owned by the v14 responsive block
     at the end of this file. Only the legacy `.rg-hero-inner` layout (used by
     older non-homepage heroes) is stepped down here. */
  .rg-hero-inner {
    padding-top: 64px;
    padding-bottom: 108px;
    gap: 28px;
  }
}

/* =============================================================
   20. INNER PAGE SHARED PATTERNS (Events / Exclusions / Support / Hub)
   ============================================================= */
:root {
  --color-navy-dark: var(--navy-dark);
  --color-navy-blue: var(--navy-blue);
  --color-red: var(--red);
  --color-lavender: var(--lavender);
  --color-text-primary: var(--heading-dark);
  --color-text-body: var(--card-text);
  --color-text-muted: var(--muted);
  --bg-light-grey: var(--light-gray);
  --bg-light-blue: #F0F5FF;
  --bg-blue-tint: #EFF6FF;
  --bg-off-white: var(--stat-gray);
  --border-light: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --gap-md: 24px;
  --gap-lg: 40px;
}

.page-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy-dark) url('../img/hero-bg.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.82) 0%, rgba(13,71,161,0.72) 100%);
  z-index: 0;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 96px var(--section-pad-x) 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.page-hero .hero-tollfree,
.page-hero .rg-hero-pill {
  position: absolute;
  top: 24px;
  right: var(--section-pad-x);
}
.page-hero__kicker {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 56px);
  line-height: 1.1;
  color: var(--white);
  max-width: 900px;
  margin: 0;
}
.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 18px);
  line-height: 28px;
  color: var(--lavender);
  max-width: 680px;
  margin: 0;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.rg-content-section {
  width: 100%;
  padding: 70px var(--section-pad-x);
}
.rg-content-section--md { padding-top: 80px; padding-bottom: 80px; }
.rg-content-section--white { background: var(--white); }
.rg-content-section--light { background: var(--light-gray); }
.rg-content-section--off-white { background: var(--stat-gray); }
.rg-content-section--blue { background: #F0F5FF; }
.rg-content-section--blue-tint { background: #EFF6FF; }
.rg-content-section--navy { background: var(--navy-dark); color: var(--lavender); }

.rg-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 800px;
}
.rg-section-header .rg-kicker { margin-bottom: 0; }
.rg-section-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 36px);
  line-height: 1.2;
  color: var(--heading-dark);
  margin: 0;
}
/* Outrank body.rg-public h2/h3 (heading-dark) on navy content bands */
body.rg-public .rg-content-section--navy .rg-section-header h2,
body.rg-public .rg-content-section--navy h2 {
  color: var(--white);
}
body.rg-public .rg-content-section--navy h3,
body.rg-public .rg-content-section--navy h4 {
  color: var(--white);
}
.rg-section-header p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--card-text);
  margin: 0;
  max-width: 720px;
}
body.rg-public .rg-content-section--navy .rg-section-header p,
.rg-content-section--navy .rg-section-header p { color: var(--lavender); }

.rg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: var(--content-width); margin: 0 auto; }
.rg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--content-width); margin: 0 auto; }
.rg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--content-width); margin: 0 auto; }
.rg-grid-2x3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }

.rg-event-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rg-event-card:hover {
  box-shadow: 0 8px 24px rgba(10,22,40,0.1);
  transform: translateY(-2px);
}
.rg-event-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light-gray);
  display: block;
}
.rg-event-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.rg-event-card__date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rg-event-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F0F5FF;
  color: var(--navy-blue);
  font-size: 12px;
  font-weight: 700;
}
.rg-event-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0;
}
.rg-event-card__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
  margin: 0;
  flex: 1;
}
.rg-event-card__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.rg-event-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-top: 8px;
}
.rg-event-card--muted { opacity: 0.92; }
.rg-event-card--muted .rg-event-card__image { filter: grayscale(0.25); }

.rg-highlight-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-dark) center / cover no-repeat;
}
.rg-highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.88) 100%);
}
.rg-highlight-card span {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}

.rg-host-panel {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.rg-host-panel__copy h2 {
  font-size: clamp(1.6rem, 3vw, 36px);
  margin: 0 0 16px;
}
.rg-host-panel__copy p {
  font-size: 16px;
  line-height: 26px;
  color: var(--card-text);
  margin: 0 0 24px;
}
.rg-host-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
}
.rg-host-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading-dark);
}
.rg-host-form input {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--heading-dark);
}
.rg-host-form input:focus {
  outline: none;
  border-color: var(--navy-blue);
}

.rg-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.rg-step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rg-step-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
}
.rg-step-card h3 {
  font-size: 20px;
  margin: 0;
}
.rg-step-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
  margin: 0;
}

.rg-step-grid--5 { grid-template-columns: repeat(5, 1fr); }

.rg-warning-list,
.rg-action-list {
  max-width: var(--content-width);
  list-style: none;
  padding: 28px 32px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}
/* Specificity must beat `body.rg-public ul` (margin: 0), which otherwise
   flattens both margins to 0 and leaves the box flush-left instead of
   centered once the viewport is wide enough to leave leftover space. */
body.rg-public .rg-warning-list,
body.rg-public .rg-action-list {
  margin: 0 auto;
}
/* Advisory tone, not an error/validation alert — amber "be aware" cue rather
   than red "something failed" cue, so this reads as calm guidance. */
.rg-warning-list { background: var(--caution-bg); border-left: 4px solid var(--amber-icon); }
.rg-action-list { background: #F0FFF4; border-left: 4px solid var(--green); }
.rg-warning-list li,
.rg-action-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 24px;
  color: var(--card-text);
}
.rg-warning-list li::before,
.rg-action-list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}
.rg-warning-list li::before { content: '⚠'; color: var(--amber); font-size: 13px; }
.rg-action-list li::before { content: '✓'; color: var(--green); }

.rg-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.rg-fact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
}
.rg-fact-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--navy-blue);
}
.rg-fact-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
  margin: 0;
}

.rg-option-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 32px;
}
.rg-exclusion-option {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--navy-blue);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rg-exclusion-option--cooling { border-left-color: var(--red); }
.rg-exclusion-option__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.rg-exclusion-option--cooling .rg-exclusion-option__badge { color: var(--red); }
.rg-exclusion-option h3 { margin: 0; font-size: 22px; }
.rg-exclusion-option p { margin: 0; font-size: 14px; line-height: 22px; color: var(--card-text); }

.rg-compare-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rg-comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
}
.rg-comparison-table th {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  background: var(--navy-dark);
  padding: 16px 24px;
  text-align: left;
}
.rg-comparison-table td {
  font-size: 14px;
  color: var(--card-text);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.rg-comparison-table tr:last-child td { border-bottom: none; }
.rg-comparison-table tr:nth-child(even) td { background: var(--light-gray); }
.rg-comparison-table td:first-child {
  font-weight: 700;
  color: var(--heading-dark);
  width: 28%;
}

.rg-faq-list {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}
.rg-faq-item {
  border: 1px solid var(--border-light);
  border-bottom: none;
  background: var(--white);
  cursor: pointer;
}
.rg-faq-item:first-child { border-radius: 12px 12px 0 0; }
.rg-faq-item:last-child {
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 0 12px 12px;
}
.rg-faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--heading-dark);
}
.rg-faq-item__toggle {
  font-size: 22px;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
}
.rg-faq-item__a {
  display: none;
  padding: 0 28px 22px;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}
.rg-faq-item.is-open .rg-faq-item__a { display: block; }
.rg-faq-item.is-open .rg-faq-item__toggle { transform: rotate(45deg); }
.rg-faq-item:hover { background: var(--light-gray); }

.rg-contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.rg-contact-channel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rg-contact-channel:hover {
  box-shadow: 0 6px 18px rgba(10,22,40,0.08);
  transform: translateY(-2px);
}
.rg-contact-channel__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F5FF;
  color: var(--navy-blue);
  margin-bottom: 4px;
}
.rg-contact-channel__icon--red { background: #FFF5F5; color: var(--red); }
.rg-contact-channel__icon--green { background: #F0FFF4; color: var(--green); }
.rg-contact-channel h3 {
  font-size: 18px;
  margin: 0;
}
.rg-contact-channel__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-blue);
  word-break: break-word;
}
.rg-contact-channel__value--red { color: var(--red); }
.rg-contact-channel__value--green { color: var(--green); }
.rg-contact-channel p {
  font-size: 13px;
  line-height: 20px;
  color: var(--card-text);
  margin: 0;
}

.rg-action-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rg-action-card:hover {
  box-shadow: 0 6px 18px rgba(10,22,40,0.08);
  transform: translateY(-2px);
}
.rg-action-card h3 {
  font-size: 20px;
  margin: 0;
}
.rg-action-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
  margin: 0;
  flex: 1;
}
.rg-action-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-top: 8px;
}

.rg-service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.rg-service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F0F5FF;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-service-card h3 { margin: 0; font-size: 22px; }
.rg-service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--card-text);
}

.rg-office-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rg-office-card h3 { margin: 0; font-size: 22px; }
.rg-office-card__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-blue);
}
.rg-office-card__detail {
  font-size: 13px;
  color: var(--card-text);
}
.rg-office-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-blue);
}

.rg-search-bar {
  display: flex;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 20px;
}
.rg-search-bar input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
}
.rg-search-bar input:focus {
  outline: none;
  border-color: var(--navy-blue);
}
.rg-search-bar button {
  padding: 14px 28px;
  background: var(--navy-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.rg-filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.rg-filter-tag {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--card-text);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.rg-filter-tag:hover,
.rg-filter-tag.is-active {
  background: var(--navy-blue);
  color: var(--white);
  border-color: var(--navy-blue);
}

.rg-tip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 960px;
  margin: 0 auto;
}
.rg-tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.rg-tip-item__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-blue);
  flex-shrink: 0;
}
.rg-tip-item h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.rg-tip-item p {
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
  margin: 0;
}

.rg-support-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px 24px;
}
.rg-support-step__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 10px;
}
/* Outrank body.rg-public h3 (heading-dark) on dark family/support cards */
body.rg-public .rg-support-step h3,
.rg-support-step h3 {
  color: var(--white);
  margin: 0 0 10px;
}
.rg-support-step p { color: var(--lavender); margin: 0; font-size: 14px; line-height: 22px; }

.rg-youth-callout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
.rg-youth-callout__card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--navy-blue);
}
.rg-youth-callout__card--warm { border-left-color: var(--red); }
.rg-youth-callout__card h3 { margin: 0 0 10px; }
.rg-youth-callout__card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}

.rg-video-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.rg-video-card__thumb {
  height: 180px;
  background: var(--navy-dark) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rg-video-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.35);
}
.rg-video-card__play {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.rg-video-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rg-video-card__meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-blue);
}
.rg-video-card h3 { font-size: 18px; margin: 0; }
.rg-video-card p { font-size: 14px; line-height: 22px; color: var(--card-text); margin: 0; }

.rg-pub-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rg-pub-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #F0F5FF;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
}
.rg-pub-card__type {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rg-pub-card h3 { font-size: 16px; margin: 4px 0 8px; }
.rg-pub-card p { font-size: 13px; line-height: 20px; color: var(--card-text); margin: 0 0 10px; }
.rg-pub-card a { font-size: 13px; font-weight: 700; color: var(--navy-blue); }

/* ===== STORY DETAIL PAGE (/stories/<slug>/) ===== */
.rg-story-detail {
  max-width: 760px;
  margin: 0 auto;
}

.rg-story-detail__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
}

.rg-story-detail__lead {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 22px;
  line-height: 34px;
  color: var(--heading-dark);
  border-left: 4px solid var(--red);
  margin: 0 0 20px;
  padding: 0 0 0 20px;
}

.rg-story-detail__attribution {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 28px;
}

.rg-story-detail__attribution span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
}

.rg-story-detail__body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 28px;
  color: var(--text-body);
  margin: 0 0 18px;
}

.rg-story-detail__note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin: 32px 0 0;
  padding-top: 16px;
}

@media (max-width: 900px) {
  .rg-story-detail__lead { font-size: 18px; line-height: 29px; }
  .rg-story-detail__image { max-height: 260px; }
}

.rg-org-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}
.rg-org-card:hover { box-shadow: 0 6px 18px rgba(10,22,40,0.08); }
.rg-org-card__country {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-blue);
}
.rg-org-card h3 { margin: 0; font-size: 18px; }
.rg-org-card p { margin: 0; font-size: 14px; line-height: 22px; color: var(--card-text); }
.rg-org-card__url { font-size: 13px; font-weight: 700; color: var(--navy-blue); }

.rg-cta-band {
  width: 100%;
  padding: 80px var(--section-pad-x);
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.rg-cta-band--blue { background: var(--navy-blue); }
.rg-cta-band--red {
  background: linear-gradient(135deg, var(--red) 0%, #B71C1C 100%);
}
/* Outrank body.rg-public h2 (heading-dark) on navy CTA bands */
body.rg-public .rg-cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 36px);
  margin: 0;
  max-width: 720px;
}
.rg-cta-band p {
  color: var(--lavender);
  font-size: 16px;
  line-height: 24px;
  max-width: 600px;
  margin: 0;
}
.rg-cta-band--red p { color: rgba(255,255,255,0.9); }
.rg-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.rg-empty-state {
  text-align: center;
  padding: 64px 40px;
  background: var(--light-gray);
  border-radius: 12px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.rg-empty-state h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.rg-empty-state p {
  margin: 0;
  color: var(--card-text);
}

.rg-hub-block[hidden] { display: none !important; }

.rg-knowledge-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rg-knowledge-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #F0F5FF;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-knowledge-card__icon--warm { background: #FFF5F5; color: var(--red); }
.rg-knowledge-card__icon--green { background: #F0FFF4; color: var(--green); }
.rg-knowledge-card h3 { margin: 0; font-size: 20px; }
.rg-knowledge-card p { margin: 0; font-size: 14px; line-height: 22px; color: var(--card-text); }

/* =============================================================
   National Exclusion Programme (self-exclusion info page)
   Scoped under .se-* to avoid breaking Events / Support / Hub
   ============================================================= */
.se-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.se-pathway-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.se-pathway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.1);
}
.se-pathway-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.se-pathway-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF4FF;
  color: var(--navy-blue);
}
.se-pathway-card--family .se-pathway-card__icon {
  background: #E8F7F4;
  color: #0D9488;
}
.se-pathway-card--ga .se-pathway-card__icon {
  background: #FFF1F1;
  color: var(--red);
}
.se-pathway-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #EEF4FF;
  color: var(--navy-blue);
}
.se-pathway-card--family .se-pathway-card__badge {
  background: #E8F7F4;
  color: #0D9488;
}
.se-pathway-card--ga .se-pathway-card__badge {
  background: #FFF1F1;
  color: var(--red);
}
.se-pathway-card__eyebrow {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.se-pathway-card--family .se-pathway-card__eyebrow { color: #0D9488; }
.se-pathway-card--ga .se-pathway-card__eyebrow { color: var(--red); }
.se-pathway-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-dark);
}
.se-pathway-card > p:not(.se-pathway-card__eyebrow) {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}
.se-pathway-card .rg-btn,
.se-pathway-card .se-btn-teal {
  align-self: flex-start;
  margin-top: 8px;
}
.se-btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: #0D9488;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.se-btn-teal:hover { background: #0F766E; }

.se-framework-tabs {
  max-width: 560px;
  margin: 0 auto 28px;
  display: flex;
  padding: 6px;
  gap: 4px;
  background: #E8EEF6;
  border-radius: 999px;
}
.se-framework-tabs__btn {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--card-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.se-framework-tabs__btn.is-active {
  background: var(--white);
  color: var(--heading-dark);
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.08);
}
.se-framework-panel[hidden] { display: none !important; }
.se-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.se-step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.se-step-card__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.se-step-card__label span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.se-step-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-dark);
}
.se-step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}

.se-option-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.se-option-heading h3 { margin: 0; }
.se-option-badge--navy {
  background: var(--navy-dark);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.se-option-badge--muted {
  background: #EEF2F6;
  color: var(--heading-dark);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.rg-exclusion-option--cooling { border-left-color: #CBD5E1; }
.se-comparison-table thead th {
  background: var(--white);
  color: var(--heading-dark);
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.se-comparison-table thead th:nth-child(2) { color: var(--navy-blue); }
.se-comparison-table td.se-compare-emphasis {
  color: var(--red);
  font-weight: 700;
}
.se-comparison-table td.se-compare-legal {
  color: var(--navy-blue);
  font-weight: 700;
}
.se-compare-help {
  text-align: center;
  margin: 28px auto 0;
  max-width: 640px;
  color: var(--card-text);
  font-size: 15px;
}
.se-compare-help a {
  color: var(--navy-blue);
  font-weight: 700;
  margin: 0 4px;
}

.se-fact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.se-fact-card {
  grid-column: span 3;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.se-fact-card--wide { grid-column: span 2; }
.se-fact-card:nth-child(3),
.se-fact-card:nth-child(4),
.se-fact-card:nth-child(5) { grid-column: span 2; }
.se-fact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF4FF;
  color: var(--navy-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.se-fact-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-dark);
}
.se-fact-card p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}

.se-faq-groups {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.se-faq-group__label {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.se-faq-group--self .se-faq-group__label { color: #1E3A8A; }
.se-faq-group--third .se-faq-group__label { color: #0D9488; }
.se-faq-group--ga .se-faq-group__label { color: var(--red); }
.se-faq-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.se-faq-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.04);
}
.se-faq-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--heading-dark);
}
.se-faq-card__a,
.se-faq-card__a p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--card-text);
}

@media (max-width: 1024px) {
  .rg-grid-3, .rg-grid-4, .rg-contact-channels, .rg-step-grid,
  .rg-step-grid--5, .rg-warning-list, .rg-action-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .rg-host-panel { grid-template-columns: 1fr; }
  .page-hero { min-height: 360px; }
  .se-pathway-grid,
  .se-step-grid { grid-template-columns: 1fr 1fr; }
  .se-fact-card,
  .se-fact-card:nth-child(3),
  .se-fact-card:nth-child(4),
  .se-fact-card:nth-child(5),
  .se-fact-card--wide { grid-column: span 3; }
}

@media (max-width: 768px) {
  .page-hero__inner { padding: 80px var(--section-pad-x) 64px; }
  .page-hero .hero-tollfree,
  .page-hero .rg-hero-pill { top: 16px; }
  .rg-content-section { padding: 48px var(--section-pad-x); }
  .rg-grid-2, .rg-grid-3, .rg-grid-4, .rg-grid-2x3,
  .rg-contact-channels, .rg-step-grid, .rg-fact-grid,
  .rg-option-cards, .rg-tip-list, .rg-youth-callout,
  .rg-step-grid--5, .rg-warning-list, .rg-action-list {
    grid-template-columns: 1fr;
  }
  .rg-cta-band { padding: 56px var(--section-pad-x); }
  .rg-search-bar { flex-direction: column; }
  .se-pathway-grid,
  .se-step-grid { grid-template-columns: 1fr; }
  .se-framework-tabs { flex-direction: column; border-radius: 16px; }
  .se-fact-grid { grid-template-columns: 1fr; }
  .se-fact-card,
  .se-fact-card:nth-child(3),
  .se-fact-card:nth-child(4),
  .se-fact-card:nth-child(5),
  .se-fact-card--wide { grid-column: auto; }
}

/* =============================================================
   MINI-HERO — sub-page header strip (not main marketing heroes)
   Background: ../img/auth-mini-hero.png
   ============================================================= */
.mini-hero {
  width: 100%;
  background-color: var(--navy-dark);
  background-image: url('../img/auth-mini-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 28px var(--section-pad-x, 120px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mini-hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.mini-hero__breadcrumb {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(163, 179, 229, 0.7);
  margin: 0 0 10px;
  /* Flex keeps the crumb trail centred as a unit when it wraps on narrow screens */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mini-hero__breadcrumb a {
  color: rgba(163, 179, 229, 0.7);
  text-decoration: none;
}

.mini-hero__breadcrumb a:hover {
  color: #fff;
}

.mini-hero__breadcrumb span {
  margin: 0;
}

/* Specificity must beat the `body.rg-public h1` display scale (72px), which
   would otherwise inflate the strip and magnify the `cover` background. */
.mini-hero__title,
body.rg-public .mini-hero__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.mini-hero__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: rgba(163, 179, 229, 0.85);
  margin: 8px auto 0;
  max-width: 640px;
  line-height: 1.5;
}

/* =============================================================
   LOCAL COUNSELING MATCHES
   ============================================================= */
.lcm-page {
  background: #F5F7FA;
}

.lcm-intro {
  text-align: center;
  padding: 56px var(--section-pad-x) 28px;
  max-width: 720px;
  margin: 0 auto;
}

.lcm-intro h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0 0 12px;
}

.lcm-intro p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

.lcm-filters {
  max-width: var(--content-width);
  margin: 0 auto 40px;
  padding: 0 var(--section-pad-x);
}

.lcm-filters__bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  background: #EEF1F6;
  border-radius: 12px;
  padding: 20px 24px;
}

.lcm-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.lcm-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dbe2ea;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-dark);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.lcm-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--navy-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.lcm-search-btn:hover { background: #13233d; color: #fff; }

.lcm-map-section {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 var(--section-pad-x);
}

.lcm-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lcm-map-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0;
}

.lcm-legend {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--body-text);
  font-weight: 600;
}

.lcm-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.lcm-legend__now::before { background: var(--red); }
.lcm-legend__appt::before { background: #94a3b8; }

.lcm-map {
  background: linear-gradient(165deg, #07111f 0%, #0A1628 40%, #132a4a 100%);
  border-radius: 16px;
  padding: 20px 16px 24px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.lcm-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(13, 148, 136, 0.08), transparent 70%);
  pointer-events: none;
}

.lcm-map__svg {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.lcm-map__land {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.lcm-map__pin {
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.lcm-map__pin-halo {
  fill: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lcm-map__pin:hover .lcm-map__pin-halo,
.lcm-map__pin:focus .lcm-map__pin-halo,
.lcm-map__pin--selected .lcm-map__pin-halo {
  opacity: 1;
}

.lcm-map__pin-dot {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 2;
}

.lcm-map__pin--appointment .lcm-map__pin-dot {
  fill: #94a3b8;
}

.lcm-map__pin--none .lcm-map__pin-dot,
.lcm-map__pin--muted .lcm-map__pin-dot {
  fill: #64748b;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
}

.lcm-map__pin--selected .lcm-map__pin-dot {
  stroke: #5eead4;
  stroke-width: 2.5;
}

.lcm-map__pin-count {
  fill: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
}

.lcm-map__pin--none .lcm-map__pin-count,
.lcm-map__pin--muted .lcm-map__pin-count {
  display: none;
}

.lcm-map__pin-label {
  fill: #e8eef6;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(7, 17, 31, 0.85);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}

.lcm-map__pin:hover .lcm-map__pin-label,
.lcm-map__pin:focus .lcm-map__pin-label {
  fill: #fff;
}

.lcm-map__pin--selected .lcm-map__pin-label {
  fill: #5eead4;
}

.lcm-results {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x) 24px;
}

.lcm-results__count {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 16px;
}

.lcm-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
  border: 1px solid #e8edf3;
}

.lcm-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E8EEF8;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.lcm-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0 0 2px;
}

.lcm-card__title {
  font-size: 14px;
  color: var(--body-text);
  margin: 0 0 6px;
}

.lcm-card__address {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.lcm-card__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lcm-lang {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EEF2FF;
  color: var(--navy-blue);
  font-size: 12px;
  font-weight: 600;
}

.lcm-card__meta {
  text-align: right;
  min-width: 160px;
}

.lcm-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lcm-status--available { color: #15803d; }
.lcm-status--available::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
}
.lcm-status--capacity { color: #64748b; }
.lcm-status--capacity::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; background: #94a3b8;
}
.lcm-status--appointment { color: #b45309; }
.lcm-status--appointment::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; background: #f59e0b;
}

.lcm-card__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--heading-dark);
  text-decoration: none;
  margin-bottom: 10px;
}

.lcm-card__phone:hover { color: var(--navy-blue); }

.lcm-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1.5px solid var(--navy-blue);
  border-radius: 8px;
  color: var(--navy-blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}

.lcm-book:hover {
  background: var(--navy-blue);
  color: #fff;
}

.lcm-empty {
  background: #fff;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  color: var(--body-text);
  border: 1px dashed #d1d5db;
}

.lcm-help {
  max-width: var(--content-width);
  margin: 48px auto 0;
  padding: 48px var(--section-pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.lcm-help h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0 0 20px;
  grid-column: 1 / -1;
}

.lcm-help__block h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--heading-dark);
  margin: 0 0 8px;
}

.lcm-help__block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text);
}

.lcm-help__block a {
  color: var(--navy-blue);
  font-weight: 600;
  text-decoration: none;
}

.lcm-help__block a:hover { text-decoration: underline; }

/* PGSI step-1 polish (mini-hero pages) */
.pgsi-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.pgsi-page-intro__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-blue);
  margin-bottom: 10px;
}

.pgsi-page-intro__text {
  margin: 0;
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.6;
}

.mode-card .mode-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: #EEF2FF;
  color: var(--navy-blue);
}

.mode-card.selected .mode-icon-wrap {
  background: var(--navy-blue);
  color: #fff;
}

.mode-card .mode-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.pgsi-step-tag {
  background: #ECFDF5 !important;
  color: #047857 !important;
}

@media (max-width: 900px) {
  .lcm-filters__bar { grid-template-columns: 1fr 1fr; }
  .lcm-search-btn { grid-column: 1 / -1; justify-content: center; }
  .lcm-card { grid-template-columns: auto 1fr; }
  .lcm-card__meta { grid-column: 2; text-align: left; }
  .lcm-help { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mini-hero {
    padding: 20px 20px;
  }
  .mini-hero__title,
  body.rg-public .mini-hero__title { font-size: 24px; }
  .lcm-intro,
  .lcm-filters,
  .lcm-map-section,
  .lcm-results,
  .lcm-help {
    padding-left: 20px;
    padding-right: 20px;
  }
  .lcm-filters__bar { grid-template-columns: 1fr; }
  .lcm-card { grid-template-columns: 1fr; }
  .lcm-card__meta { grid-column: auto; }
  .lcm-map {
    padding: 16px 8px 20px;
    min-height: 300px;
  }
  .lcm-map__svg {
    max-width: 100%;
  }
  /* Dense mobile: hide always-on labels; pin title + focus still give the name */
  .lcm-map__pin-label {
    opacity: 0;
    transition: opacity 0.15s ease;
  }
  .lcm-map__pin:hover .lcm-map__pin-label,
  .lcm-map__pin:focus-visible .lcm-map__pin-label,
  .lcm-map__pin--selected .lcm-map__pin-label {
    opacity: 1;
  }
}

/* =============================================================
   LEGAL / CONTACT / FAQ / ARTICLE / EVENT DETAIL (mini-hero pages)
   ============================================================= */
.rg-legal {
  max-width: 720px;
  margin: 0 auto;
}
.rg-legal__body {
  line-height: 1.75;
  font-size: 1.0625rem;
  color: #374151;
}
.rg-legal__body p {
  margin: 0 0 1.3em;
}
/* Specificity must beat `body.rg-public h2/h3` (margin: 0), which otherwise
   collapses all spacing around legal-page headings. */
body.rg-public .rg-legal__body h2,
body.rg-public .rg-legal__body h3 {
  font-family: var(--font-heading);
  color: var(--heading-dark, #1A1A2E);
  margin: 2em 0 .7em;
}
body.rg-public .rg-legal__body h2:first-child,
body.rg-public .rg-legal__body h3:first-child {
  margin-top: 0;
}
/* Specificity must beat `body.rg-public ul` (margin: 0; list-style: none). */
body.rg-public .rg-legal__body ul {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0 0 1.3em;
}
.rg-legal__body li { margin-bottom: .4em; }
.rg-legal__body em { color: #6b7280; }
.rg-legal__updated {
  font-size: .78rem;
  color: #9ca3af;
  margin-top: 48px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

.rg-contact-page {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.rg-contact-page__form-panel,
.rg-contact-aside-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 28px 28px 32px;
}
.rg-contact-page__form-panel h2,
.rg-contact-aside-card h3 {
  font-family: var(--font-heading);
  margin: 0 0 10px;
  color: var(--heading-dark, #1A1A2E);
}
.rg-contact-page__intro { color: var(--body-text); margin: 0 0 22px; line-height: 1.6; }
.rg-contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 14px;
}
.rg-contact-form input,
.rg-contact-form select,
.rg-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.rg-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rg-contact-form__consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: var(--body-text) !important;
}
.rg-contact-form__consent input { width: auto; margin-top: 3px; }
.rg-hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.rg-field-optional { font-weight: 500; color: #6b7280; }
.rg-form-messages { list-style: none; padding: 0; margin: 0 0 16px; }
.rg-form-messages li { padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.rg-form-messages .error { background: #FEF2F2; color: #991B1B; }
.rg-form-messages .success { background: #ECFDF5; color: #065F46; }
.rg-reg-success {
  max-width: 720px;
  margin: 0 auto;
}
.rg-reg-success__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 28px;
}
.rg-reg-success__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8102e;
}
.rg-reg-success__card h2 {
  font-family: var(--font-heading);
  margin: 0 0 12px;
  color: var(--heading-dark, #1A1A2E);
}
.rg-reg-success__lead {
  margin: 0 0 24px;
  color: var(--body-text);
  line-height: 1.6;
}
.rg-reg-success__facts {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: 10px;
}
.rg-reg-success__facts > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.rg-reg-success__facts > div:last-child { margin-bottom: 0; }
.rg-reg-success__facts dt { margin: 0; color: #6b7280; font-weight: 600; }
.rg-reg-success__facts dd { margin: 0; color: #1A1A2E; }
.rg-reg-success__ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rg-reg-success__note {
  margin: 0 0 22px;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.55;
}
.rg-reg-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.rg-contact-page__aside { display: flex; flex-direction: column; gap: 16px; }
.rg-contact-aside-card__name { font-weight: 700; margin: 0 0 6px; color: #1A1A2E; }
.rg-contact-aside-card__address { margin: 0; color: var(--body-text); line-height: 1.55; white-space: pre-line; }
.rg-contact-aside-list { list-style: none; padding: 0; margin: 0; }
.rg-contact-aside-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--body-text);
  font-size: 14px;
}
.rg-contact-aside-list span { color: #6b7280; font-weight: 600; }
.rg-contact-aside-card--helpline { background: #0A1628; color: #fff; border-color: #0A1628; }
.rg-contact-aside-card--helpline h3,
.rg-contact-aside-card--helpline p { color: #fff; }
.rg-helpline-pill {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--red, #C62828);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.rg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.rg-btn-primary { background: var(--navy-blue, #0D47A1); color: #fff; }
.rg-btn-outline { background: #fff; color: var(--navy-blue, #0D47A1); border: 1px solid var(--navy-blue, #0D47A1); }

.rg-faq-page { max-width: 860px; margin: 0 auto; }
.rg-faq-page__intro { color: var(--body-text); line-height: 1.6; margin: 0 0 22px; }
.rg-faq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.rg-faq-list details.rg-faq-item { cursor: pointer; }
.rg-faq-list details.rg-faq-item summary {
  list-style: none;
}
.rg-faq-list details.rg-faq-item summary::-webkit-details-marker { display: none; }
.rg-faq-list details.rg-faq-item summary.rg-faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted, #6b7280);
  line-height: 1;
}
.rg-faq-list details.rg-faq-item[open] summary.rg-faq-item__q::after { content: "\2212"; }
.rg-faq-list details.rg-faq-item[open] .rg-faq-item__a { display: block; }
.rg-faq-cta {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.rg-faq-cta h2 {
  font-family: var(--font-heading);
  margin: 0 0 10px;
}
.rg-faq-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

.rg-article,
.rg-event-detail {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 36px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.rg-article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 10px;
}
.rg-article__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #0D47A1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rg-article__save-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border, #E5E7EB);
  background: #fff;
  color: var(--navy-blue, #0D47A1);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.rg-article__save-btn:hover { background: #EEF2FF; }
.rg-article__save-btn.is-saved {
  background: var(--navy-blue, #0D47A1);
  border-color: var(--navy-blue, #0D47A1);
  color: #fff;
}
.rg-article__headline,
.rg-event-detail__headline {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--heading-dark, #1A1A2E);
}
.rg-article__byline,
.rg-event-detail__when,
.rg-event-detail__where {
  color: #6b7280;
  margin: 0 0 22px;
  font-size: 14px;
}
.rg-event-detail__where { margin-top: -14px; }
.rg-event-detail__image {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 28px;
}
.rg-article__body,
.rg-event-detail__body {
  line-height: 1.75;
  font-size: 1.0625rem;
  color: #374151;
}
.rg-article__body p,
.rg-event-detail__body p {
  margin: 0 0 1.3em;
}
/* Specificity must beat `body.rg-public h2/h3` (margin: 0), which otherwise
   collapses all spacing around article/event body headings (same fix as
   `.rg-legal__body`). */
body.rg-public .rg-article__body h2,
body.rg-public .rg-article__body h3,
body.rg-public .rg-article__body h4,
body.rg-public .rg-event-detail__body h2,
body.rg-public .rg-event-detail__body h3,
body.rg-public .rg-event-detail__body h4 {
  font-family: var(--font-heading);
  color: var(--heading-dark, #1A1A2E);
  margin: 2em 0 .7em;
}
body.rg-public .rg-article__body h2:first-child,
body.rg-public .rg-article__body h3:first-child,
body.rg-public .rg-article__body h4:first-child,
body.rg-public .rg-event-detail__body h2:first-child,
body.rg-public .rg-event-detail__body h3:first-child,
body.rg-public .rg-event-detail__body h4:first-child {
  margin-top: 0;
}
/* Specificity must beat `body.rg-public ul` (margin: 0; list-style: none),
   which otherwise strips bullets and collapses spacing on prose lists. */
body.rg-public .rg-article__body ul,
body.rg-public .rg-article__body ol,
body.rg-public .rg-event-detail__body ul,
body.rg-public .rg-event-detail__body ol {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0 0 1.3em;
}
.rg-article__body li,
.rg-event-detail__body li {
  margin-bottom: .4em;
}
.rg-article__quote,
body.rg-public .rg-article__body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--navy-blue, #0D47A1);
  background: #F5F7FA;
  color: #1A1A2E;
  font-style: italic;
}
.rg-article__footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.rg-article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-article__tags span {
  background: #F3F4F6;
  color: #374151;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.rg-article-categories {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}
.rg-article-categories h3 {
  font-family: var(--font-heading);
  margin: 0 0 14px;
  color: var(--heading-dark, #1A1A2E);
}
.rg-article-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 420px;
}
.rg-article-categories li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.rg-article-categories__label { color: #1A1A2E; font-weight: 600; }
.rg-article-categories__count { color: #6b7280; font-weight: 700; }
.rg-share-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rg-share-inline__label {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}
.rg-article__aside,
.rg-event-detail__aside { display: flex; flex-direction: column; gap: 16px; }
.rg-article-aside-card,
.rg-event-aside-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
}
.rg-article-aside-card h3,
.rg-event-aside-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
}
.rg-article-aside-card--support { background: #0A1628; color: #fff; border-color: #0A1628; }
.rg-article-aside-card--support h3,
.rg-article-aside-card--support p { color: #fff; }
.rg-article-aside-card--support .rg-btn { margin: 8px 0; width: 100%; }
.rg-article-aside-card--support .rg-helpline-pill {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.rg-related-list { list-style: none; padding: 0; margin: 0; }
.rg-related-list li { padding: 12px 0; border-bottom: 1px solid #e5e7eb; }
.rg-related-list li:last-child { border-bottom: 0; }
.rg-related-list a { color: #0D47A1; font-weight: 700; text-decoration: none; }
.rg-related-list small { display: block; color: #6b7280; margin-top: 4px; }
.rg-event-facts { margin: 0 0 16px; }
.rg-event-facts > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.rg-event-facts dt { color: #6b7280; font-weight: 600; }
.rg-event-facts dd { margin: 0; color: #1A1A2E; font-weight: 600; }
.rg-event-progress-wrap { margin: 4px 0 18px; }
.rg-event-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
}
.rg-event-progress {
  position: relative;
  height: 10px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
}
.rg-event-progress__bar {
  position: absolute; inset: 0 auto 0 0;
  background: var(--navy-blue, #0D47A1);
}
.rg-btn--block { width: 100%; box-sizing: border-box; }
.rg-event-aside-note { font-size: 13px; color: #6b7280; margin: 12px 0 0; }
.rg-event-facilitator-title { margin: 4px 0 0; color: #6b7280; font-size: 14px; }
.rg-share-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.rg-share-block__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-dark, #1A1A2E);
}
.rg-share-block__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--navy-blue, #0D47A1);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}
.rg-share-btn:hover { background: #EEF2FF; }
/* These sibling sections sit after `.rg-event-detail__body`'s last paragraph,
   which has no bottom margin of its own to lean on — without an explicit gap
   here "Related Events" jams straight onto the learnings list above it. */
.rg-event-detail__learnings,
.rg-event-detail__related {
  margin-top: 1.8em;
}
body.rg-public .rg-event-detail__learnings h3,
body.rg-public .rg-event-detail__related h3 {
  font-family: var(--font-heading);
  margin: 0 0 .7em;
  color: var(--heading-dark, #1A1A2E);
}
body.rg-public .rg-learn-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rg-learn-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: .65em;
  line-height: 1.55;
  color: #374151;
}
.rg-learn-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: #E8F0FE;
  box-shadow: inset 0 0 0 2px var(--navy-blue, #0D47A1);
}
.rg-learn-list li::after {
  content: "";
  position: absolute;
  left: .28em;
  top: .52em;
  width: .28em;
  height: .5em;
  border: solid var(--navy-blue, #0D47A1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.rg-related-events {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rg-related-events li {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}
.rg-related-events li:last-child { border-bottom: 0; }
.rg-related-events__date {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 4px;
}
.rg-related-events__title {
  display: block;
  color: #0D47A1;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}
.rg-related-events__loc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}
.rg-knowledge-card__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy-blue, #0D47A1);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.rg-knowledge-card h3 a { color: inherit; text-decoration: none; }

@media (max-width: 900px) {
  .rg-contact-page,
  .rg-article,
  .rg-event-detail { grid-template-columns: 1fr; }
  .rg-contact-form__row { grid-template-columns: 1fr; }
  .rg-article__footer-meta { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   HOMEPAGE v15 EDITORIAL — sections below the hero
   (empathy / channels / resources / self-check / myth / money /
   national self-exclusion / stories / outreach / crisis)
   Class names match the CMS editor guide.
   ============================================================= */

/* --- EMPATHY / CHANNELS --- */
.empathy-section {
  background: var(--white);
  padding: 56px 20px;
  text-align: center;
}

.empathy-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.empathy-section .lead-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.channel-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.channel-card:hover,
.channel-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--navy);
}

.channel-card .icon {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1;
}

.channel-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
}

.channel-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 14px;
  flex-grow: 1;
}

.channel-card .btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  transition: background 0.2s;
}

.channel-card .btn-navy:hover {
  background: var(--red);
  color: var(--white);
}

/* --- RESOURCE SECTION --- */
.resource-section {
  background: var(--gray-bg);
  padding: 56px 20px;
  text-align: center;
}

.resource-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.resource-section .lead-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.resource-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.resource-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.resource-card .content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-card .icon-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.resource-card .icon-circle {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}

.resource-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.resource-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 14px;
  flex-grow: 1;
}

.resource-card a {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* --- SELF-CHECK STRIP --- */
.self-check-section {
  background: var(--navy);
  padding: 32px 20px;
}

/* Bare strip — the navy comes from the section, not from a card. */
.check-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.check-strip-text {
  flex-grow: 1;
}

.check-strip-text h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.check-strip-text p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #CCD6E0;
  margin: 0;
}

.self-check-section .btn-white,
a.btn-white:link,
a.btn-white:visited {
  background: var(--white);
  color: var(--navy);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.self-check-section .btn-white:hover,
a.btn-white:hover {
  background: #f0f0f0;
  color: var(--navy);
}

/* --- MYTH VS FACT (single featured) --- */
.myth-section {
  background: var(--white);
  padding: 56px 20px;
  text-align: center;
}

.myth-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 28px;
}

.myth-box {
  max-width: 900px;
  margin: 0 auto;
}

.myth-section .myth-label {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  display: block;
  background: transparent;
  padding: 0;
}

.myth-section .myth-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 24px;
}

.myth-section .fact-label {
  font-family: var(--font-body);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  display: block;
  background: transparent;
  padding: 0;
}

.myth-section .fact-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 24px;
}

.myth-box a {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

/* --- MONEY MANAGEMENT (editorial split) --- */
.money-section {
  display: flex;
  background: var(--gray-bg);
  min-height: 380px;
}

.money-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-color: #E7EBF1;
}

.money-text {
  flex: 1;
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.money-text .kicker {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: block;
  background: transparent;
  padding: 0;
}

.money-text h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.money-text p {
  font-family: var(--font-body);
  color: var(--text-body);
  font-size: 15px;
  margin: 0 0 18px;
  line-height: 1.6;
}

.money-text ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.money-text ul li {
  font-family: var(--font-body);
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Reference renders this CTA as a plain red text link, not a button. */
.money-text .learn-link {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

/* --- NATIONAL SELF-EXCLUSION BAND --- */
.self-exclusion-section {
  background: var(--navy);
  padding: 48px 20px;
  color: var(--white);
  text-align: center;
}

.self-exclusion-section .kicker {
  font-family: var(--font-body);
  color: #64B5F6;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: block;
  background: transparent;
  padding: 0;
}

.self-exclusion-section h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}

.self-exclusion-section p {
  font-family: var(--font-body);
  color: #CCD6E0;
  font-size: 15px;
  margin: 0 auto 20px;
  max-width: 600px;
  line-height: 1.6;
}

.self-exclusion-section .btn-solid-white,
a.btn-solid-white:link,
a.btn-solid-white:visited {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
  padding: 11px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.self-exclusion-section .btn-solid-white:hover,
a.btn-solid-white:hover {
  background: #f0f0f0;
  color: var(--navy);
}

.self-exclusion-section .learn-link {
  display: block;
  color: #64B5F6;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  text-decoration: none;
}

/* --- STORIES --- */
.stories-section {
  background: var(--stories-bg);
  padding: 56px 20px;
}

.stories-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 0 0 28px;
}

/* Two columns; each column holds its feature card and the mini quote cards
   that belong to it, so a mini always sits under its own story. */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.story-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Transparent wrapper so a whole story card can link to /stories/ without
   changing how the card itself renders. */
.story-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.story-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 12px;
}

.story-feature {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.story-feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-content {
  padding: 22px;
}

.story-content blockquote {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.story-content h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.story-content .attribution {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.story-mini {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--red);
}

.story-mini blockquote {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.story-mini h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.story-mini .attribution {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-body);
}

/* --- OUTREACH --- */
.outreach-section {
  background: var(--white);
  padding: 56px 20px;
}

.outreach-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto 24px;
  gap: 24px;
}

.outreach-header .kicker {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 5px;
  display: block;
  background: transparent;
  padding: 0;
}

.outreach-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.outreach-header p {
  font-family: var(--font-body);
  color: var(--text-body);
  margin-top: 5px;
  font-size: 15px;
}

.outreach-header .view-link {
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* v13 grid — replaces the old 2×2 community grid on the homepage.
   `.rg-community-grid` is left intact for other pages that still use it. */
.outreach-section .outreach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.outreach-section .outreach-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: static;
  height: auto;
  background-size: initial;
  background-position: initial;
}

.outreach-section .outreach-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.outreach-section .outreach-card .content {
  padding: 20px;
}

.outreach-section .outreach-card h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.outreach-section .outreach-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 10px;
  line-height: 1.55;
}

.outreach-section .outreach-card a {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* --- DARK BANDS: force light text ---------------------------------------
   `body.rg-public h2/h3/h4` sets a dark heading colour at specificity (0,1,2),
   which beat the single-class section rules and left headings such as "Check In
   With Yourself" and "Take Control with Self-Exclusion" navy-on-navy. These
   selectors carry (0,2,2) so every descendant of a dark band reads light.
   Anything added to a dark band in future inherits from the band rule below. */
body.rg-public .self-check-section,
body.rg-public .self-exclusion-section,
body.rg-public .crisis-bar {
  color: var(--white);
}

body.rg-public .self-check-section h1,
body.rg-public .self-check-section h2,
body.rg-public .self-check-section h3,
body.rg-public .self-check-section h4,
body.rg-public .self-exclusion-section h1,
body.rg-public .self-exclusion-section h2,
body.rg-public .self-exclusion-section h3,
body.rg-public .self-exclusion-section h4,
body.rg-public .crisis-bar h2,
body.rg-public .crisis-bar h3,
body.rg-public .crisis-bar h4 {
  color: var(--white);
}

/* Supporting copy on the navy bands sits one step down from pure white. The
   crisis bar is a red band and keeps its copy at full white. */
body.rg-public .self-check-section p,
body.rg-public .self-exclusion-section p {
  color: #CCD6E0;
}

body.rg-public .crisis-bar p,
body.rg-public .crisis-bar span {
  color: var(--white);
}

/* --- CRISIS BAR --- */
.crisis-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 18px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.crisis-bar .btn-call,
a.btn-call:link,
a.btn-call:visited {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.crisis-bar .btn-call:hover,
a.btn-call:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* --- v15 responsive: a single 900px breakpoint, verbatim from the reference.
   The hero stacks copy first, photo second; slides are in normal flow, so the
   hero keeps real height without any position override. --- */
@media (max-width: 900px) {
  .hero-section,
  .rg-hero { flex-direction: column; }
  .hero-section .hero-slide,
  .hero-section .rg-hero-slide { flex-direction: column; }
  .hero-right { min-height: 260px; }
  .hero-left { padding: 32px 20px; }
  .hero-left h1,
  .hero-section .hero-headline,
  .hero-section .rg-hero-title { font-size: 34px; }
  .channels-grid,
  .resource-grid,
  .outreach-section .outreach-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .money-section { flex-direction: column; }
  .money-image { min-height: 240px; }
  .money-text { padding: 32px 20px; }
  .check-strip { flex-direction: column; text-align: center; }
}

