/* =============================================
   MHPP – Design System
   Colours, typography and spacing are derived
   directly from the mhpp.pen design file.
   ============================================= */

/* ── 1. Custom Properties ─────────────────── */
:root {
  /* Brand colours — green scheme */
  --dark-green:        #022E25;   /* deep dark green; headings, nav, footer bg */
  --dark-green-mid:    #1D4D3F;   /* mid green; body text, card descriptions */
  --hero-green:        #27745F;   /* hero & events section backgrounds */
  --accent:            #4FB795;   /* mint green; icons, labels, interactive accents */
  --accent-mid:        #3A8B74;   /* mid accent */
  --accent-sub:        #5E8A7B;   /* muted accent; meta text, footer links */
  --accent-light:      #7CCFAE;   /* light mint; labels on dark backgrounds */
  --accent-tint:       rgba(79, 183, 149, 0.08); /* icon wrap bg */
  --surface-light:     #F0F7F4;   /* page/section light bg */
  --surface-tile:      #DFF0E8;   /* card/logo tile bg */
  --warm:              #E5673A;   /* orange; primary CTA buttons */
  --warm-tint:         rgba(229, 103, 58, 0.08);

  /* Fonts — Poppins throughout */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Layout
     --canvas:       design canvas width (1440px)
     --content-w:    usable content width = canvas − 2 × pad-h (1440 − 160 = 1280px)
     Sections use padding-inline: var(--pad-h) directly.
     Inner wrappers use max-width: var(--content-w) so they never exceed 1280px
     on wide screens.  Never add extra padding to content blocks inside sections. */
  --canvas:    1440px;
  --content-w: 1280px;
  --pad-h:     80px;
  --pad-v:     80px;
  --nav-h:     72px;
}

/* ── 2. Reset ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── 3. Base ──────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark-green);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 4. Container ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--pad-h);
}

/* ── 5. Typography helpers ────────────────── */

/* Small caps label used at the top of most sections */
.label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}
.label--accent    { color: var(--accent); }
.label--purple    { color: var(--accent); }   /* alias kept for compatibility */
.label--light     { color: var(--accent-light); }
.label--tertiary  { color: var(--accent-sub); }

/* Section headings */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.1;
  margin-top: 12px;
}
.section-title--inverse { color: #fff; }
.section-title--lg { font-size: clamp(2rem, 4vw, 3rem); }

/* Reusable section-header block (label + heading) */
.section-header        { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-members-grid .section-header { margin-bottom: 24px; }

/* ── 6. Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }

.btn--warm   { background: var(--warm);        color: #fff; }
.btn--purple { background: var(--warm);        color: #fff; } /* alias */
.btn--green  { background: var(--hero-green);  color: #fff; }
.btn--navy   { background: var(--dark-green);  color: #fff; }
.btn--white  { background: #fff;               color: var(--dark-green); }

/* ── 7. Icon wrap ─────────────────────────── */
/* 56×56 rounded square used on priority / value cards */
.icon-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 8. Navigation ────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--surface-tile);
  transition: box-shadow 0.2s ease;
  padding-inline: var(--pad-h);
}
.site-nav--scrolled {
  box-shadow: 0 2px 16px rgba(2, 46, 37, 0.09);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--content-w);
  margin-inline: auto;
}

.site-nav__logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-green);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
.site-nav__logo:hover { color: var(--accent); }
.site-nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-green-mid);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--accent); }

/* Hamburger button — hidden on desktop */
.site-nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-green);
  padding: 6px;
  transition: color 0.15s;
  line-height: 0;
}
.site-nav__burger:hover { color: var(--accent); }

/* Mobile dropdown */
.site-nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--surface-tile);
  padding: 8px var(--pad-h) 24px;
}
.site-nav__mobile.is-open { display: flex; }

.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-green-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-light);
  transition: color 0.15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover      { color: var(--accent); }
.mobile-nav-link[aria-current="page"] { color: var(--accent); }

/* ── 9. Footer ────────────────────────────── */
.site-footer {
  background: var(--dark-green);
  padding: 64px var(--pad-h) 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--content-w);
  margin-inline: auto;
  margin-bottom: 48px;
}

.site-footer__col-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.site-footer__col-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-sub);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-sub);
  margin-bottom: 12px;
  transition: color 0.15s;
}
.footer-link:hover          { color: var(--accent-light); }
.footer-link--accent        { color: var(--accent); }
.footer-link--accent:hover  { color: var(--accent-light); }

.site-footer__address {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-sub);
  margin-bottom: 12px;
}

.site-footer__divider {
  max-width: var(--content-w);
  margin-inline: auto;
  height: 1px;
  background: var(--dark-green-mid);
  margin-bottom: 40px;
}

.site-footer__bottom {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer__bottom p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--accent-sub);
}

/* ── 10. Hero ─────────────────────────────── */
/* Split layout — green bg left, masked photo right.
   Text is left-aligned. Content padding from design: 80px vertical, 80px horizontal. */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--hero-green);
}

/* Photo panel — right 48%, diagonal clip creates the split edge */
.hero__slideshow {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  clip-path: polygon(0 100%, 0 44%, 40% 4%, 100% 25%, 100% 100%);
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero__slide--active {
  opacity: 1;
}

/* Centering wrapper — aligns content left edge with nav logo / section inner */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
  padding-inline: var(--pad-h);
  display: flex;
  align-items: center;
}

/* Text content — left side, vertically centred, left-aligned */
.hero__content {
  max-width: min(640px, 50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  padding-block: 80px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 52ch;
}

/* ── 11. Intro section ────────────────────── */
.section-intro {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}

.section-intro__content {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;   /* introHeadline + introBody: textAlign=center in design */
  text-align: center;
  gap: 32px;
}

.section-intro__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.1;
  max-width: 800px;
}

.section-intro__body {
  font-size: 17px;
  color: var(--dark-green-mid);
  line-height: 1.7;
  max-width: 760px;
}
.section-intro__body > * + * {
  margin-top: 1em;
}

/* ── 12. Priorities section ───────────────── */
.section-priorities {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}

.section-priorities__inner {
  max-width: var(--content-w);
  margin-inline: auto;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.priority-card {
  background: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.priority-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-green);
}

.priority-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}

/* ── 13. Partners section ─────────────────── */
.section-partners {
  background: #fff;
  padding: 64px 0;
  overflow: hidden;
}

.section-partners__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-inline: var(--pad-h);
}

/* Carousel */
.logo-carousel {
  width: 100vw;
  overflow: hidden;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 64px;
  width: max-content;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  animation: scroll-logos 50s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-tile {
  flex: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-tile img {
  height: 72px;
  width: auto;
  max-width: 192px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-tile img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── 14. News section ─────────────────────── */
.section-news {
  background: var(--dark-green);
  padding: var(--pad-v) var(--pad-h);
}

.section-news--light {
  background: #fff;
}

.section-news__inner {
  max-width: var(--content-w);
  margin-inline: auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-card__image {
  height: 200px;
  overflow: hidden;
  background: var(--surface-tile);
  flex-shrink: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.04); }

.news-card__body {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card__date {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-sub);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
}

.news-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.55;
}

/* ── 15. Events section ───────────────────── */
.section-events {
  background: var(--hero-green);
  padding: var(--pad-v) var(--pad-h);
}

.section-events__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
  gap: 4px;
}

.event-card__day {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.event-card__month {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.event-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.event-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.event-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

/* ── 16. Responsive ───────────────────────── */

/* Tablet — 640px to 1023px */
@media (max-width: 1023px) {
  :root {
    --pad-h: 40px;
    --pad-v: 64px;
  }

  .site-nav__links  { display: none; }
  .site-nav__burger { display: flex; }

  /* Hero: stack vertically on tablet */
  .hero__slideshow { width: 100%; clip-path: none; }
  .hero__slideshow .hero__slide--active { opacity: 0.25; }
  .hero__content { max-width: 100%; padding-block: 64px; }

  .priority-grid    { grid-template-columns: repeat(2, 1fr); }
  .news-grid        { grid-template-columns: repeat(2, 1fr); }
  .events-grid      { grid-template-columns: 1fr; }

  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — below 640px */
@media (max-width: 639px) {
  :root {
    --pad-h: 20px;
    --pad-v: 48px;
  }

  /* Hero stacks and shrinks */
  .hero {
    height: auto;
    min-height: 480px;
  }
  .hero__slideshow .hero__slide--active { opacity: 0.25; }
  .hero__content {
    max-width: 100%;
    padding-block: 64px;
    justify-content: flex-end;
  }
  .hero__subtitle { max-width: 100%; }

  /* Single-column grids */
  .priority-grid { grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr; }
  .events-grid   { grid-template-columns: 1fr; }

  /* Event card: stacks */
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .event-card__date {
    flex-direction: row;
    align-items: baseline;
    width: auto;
    gap: 8px;
  }
  .event-card__day { font-size: 36px; }

  /* Footer: 1-col */
  .site-footer__grid   { grid-template-columns: 1fr !important; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* ── 17. Page Hero (About, Priorities, etc.) ──── */
.page-hero {
  background: var(--dark-green);
  padding: var(--pad-v) var(--pad-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Centering wrapper — aligns text with nav logo / section inner grids.
   margin-inline: auto overrides any align-items on the parent (incl. flex-start
   from .page-hero--left) and centers the wrapper within the padded content area. */
.page-hero__inner {
  max-width: var(--content-w);
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.page-hero--left .page-hero__inner {
  align-items: flex-start;
  text-align: left;
}

.page-hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  max-width: 700px;
  line-height: 1.05;
}

.page-hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  line-height: 1.6;
}

/* ── 18. Purpose section ─────────────────────── */
.section-purpose {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}

.section-purpose__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-purpose__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 40px);
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 12px;
  max-width: 680px;
}

.section-purpose__body {
  font-size: 17px;
  color: var(--dark-green-mid);
  max-width: 800px;
  line-height: 1.7;
}
.section-purpose__body > * + * {
  margin-top: 1em;
}

/* ── 19. Values section ──────────────────────── */
.section-values {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}

.section-values__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}

.value-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}

/* ── 20. Governance section ──────────────────── */
.section-governance {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}

.section-governance__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.governance-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.governance-desc {
  font-size: 16px;
  color: var(--dark-green-mid);
  max-width: 900px;
  line-height: 1.6;
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gov-card {
  background: var(--surface-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gov-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}

.gov-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.55;
}

/* ── 21. Timeline section ────────────────────── */
.section-timeline {
  background: var(--dark-green);
  padding: var(--pad-v) var(--pad-h);
}

.section-timeline__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.milestone-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.milestone-card__year {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.milestone-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.milestone-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.55;
}

/* ── 22. How We Work section ─────────────────── */
.section-how-we-work {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}

.section-how-we-work__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.how-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.how-image {
  height: 360px;
  background-size: cover;
  background-position: center;
}

.how-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-content__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-content__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-green);
}

.how-content__body {
  font-size: 15px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}

/* ── 23. CTA Banner ──────────────────────────── */
.section-cta-banner {
  background: var(--hero-green);
  padding: var(--pad-v) var(--pad-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.section-cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 42px);
  font-weight: 700;
  color: #fff;
}

.section-cta-banner__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  line-height: 1.6;
}

/* ── 24. Priority Full Cards (3-col) ─────────── */
.section-priority-cards {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}

.section-priority-cards__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.priority-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.priority-full-card {
  background: var(--surface-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.priority-full-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.priority-full-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}

.priority-full-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}

/* ── 25. Featured Working Group (dark) ───────── */
.section-featured-group {
  background: var(--dark-green);
  padding: var(--pad-v) var(--pad-h);
}

.section-featured-group__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 48px;
  align-items: center;
}

.featured-group__image {
  height: 360px;
  background-size: cover;
  background-position: center;
}

.featured-group__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.featured-group__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 36px);
  font-weight: 700;
  color: #fff;
}

.featured-group__body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}
.featured-group__body > * + * {
  margin-top: 1em;
}

/* ── 26. Featured Spotlight (light + stats) ──── */
.section-featured-spotlight {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}

.section-featured-spotlight__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.featured-spotlight__image {
  height: 400px;
  background-size: cover;
  background-position: center;
}

.featured-spotlight__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-spotlight__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 36px);
  font-weight: 700;
  color: var(--dark-green);
}

.featured-spotlight__desc {
  font-size: 15px;
  color: var(--dark-green-mid);
  line-height: 1.65;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--hero-green);
  line-height: 1;
}

.stat__label {
  font-size: 12px;
  color: var(--accent-sub);
}

/* ── 27. Documents section ───────────────────── */
.section-documents {
  background: var(--surface-tile);
  padding: var(--pad-v) var(--pad-h);
}

.section-documents__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-item {
  background: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-item__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-green);
  flex: 1;
}

.doc-item__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
  white-space: nowrap;
  transition: color 0.15s;
}
.doc-item__link:hover { color: var(--accent); }

/* ── 28. Responsive additions ────────────────── */
@media (max-width: 1023px) {
  .values-grid                       { grid-template-columns: repeat(3, 1fr); }
  .gov-grid                          { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid                     { grid-template-columns: repeat(2, 1fr); }
  .how-row                           { grid-template-columns: 1fr; }
  .section-featured-group__inner     { grid-template-columns: 1fr; }
  .section-featured-spotlight__inner { grid-template-columns: 1fr; }
  .priority-row                      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .gov-grid     { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .priority-row { grid-template-columns: 1fr; }
  .stats-row    { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 479px) {
  .values-grid  { grid-template-columns: 1fr; }
}

/* ── 29. Page Hero — left-aligned variant ────── */
.page-hero--left {
  align-items: flex-start;
  text-align: left;
}

/* Impact hero stats row */
.page-hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.page-hero__stat { display: flex; flex-direction: column; gap: 4px; }
.page-hero__stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.page-hero__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── 30. Case Studies ─────────────────────────── */
.section-case-studies {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}
.section-case-studies__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.case-card__image {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.case-card__body {
  background: var(--surface-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
}
.case-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}
.case-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.15s;
}
.case-card__link:hover { color: var(--accent); }

/* ── 31. Learning Themes ──────────────────────── */
.section-learning {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}
.section-learning__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.learning-heading { display: flex; flex-direction: column; gap: 20px; }
.learning-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 12px;
}
.learning-body {
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.7;
}

/* ── 32. Testimonial ──────────────────────────── */
.section-testimonial {
  background: var(--dark-green);
  padding: 80px var(--pad-h);
}
.section-testimonial__inner {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--accent);
  line-height: 0.6;
  align-self: flex-start;
}
.testimonial__text {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #fff;
  line-height: 1.65;
  font-style: italic;
}
.testimonial__author {
  font-size: 14px;
  color: var(--accent-light);
  font-weight: 500;
}

/* ── 33. Members Grid ─────────────────────────── */
.section-members-grid {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}
.section-members-grid__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member-card {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.member-card__logo {
  width: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.member-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-green);
}
.member-card__desc {
  font-size: 13px;
  color: var(--dark-green-mid);
  line-height: 1.5;
}

/* ── 34. Collaboration section ────────────────── */
.section-collaboration {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}
.section-collaboration__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.collab-card {
  background: var(--surface-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.collab-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}
.collab-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
}

/* ── 35. News Filters ─────────────────────────── */
.section-filters {
  background: #fff;
  padding: 32px var(--pad-h);
  border-bottom: 1px solid var(--surface-tile);
}
.filters-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid var(--surface-tile);
  background: #fff;
  color: var(--dark-green-mid);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover,
.filter-btn.is-active {
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
}

/* ── 36. Featured Article ─────────────────────── */
.section-featured-article {
  background: var(--surface-light);
  padding: 60px var(--pad-h);
}
.section-featured-article__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--dark-green);
}
.featured-article__image {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.featured-article__image img {
  transition: transform 0.35s ease;
}
.section-featured-article__inner:hover .featured-article__image img {
  transform: scale(1.04);
}
.featured-article__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
}
.featured-article__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark-green);
  background: var(--accent);
  padding: 6px 14px;
  align-self: flex-start;
}
.featured-article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.featured-article__excerpt,
.featured-article__excerpt p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}
.featured-article__meta {
  font-size: 12px;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}
.featured-article__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  transition: color 0.15s;
}
.featured-article__cta:hover { color: var(--accent-light); }

/* ── 37. Article Grid ─────────────────────────── */
.section-article-grid {
  background: #fff;
  padding: 60px var(--pad-h);
}
.section-article-grid__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.article-grid-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--surface-tile);
  background: #fff;
  overflow: hidden;
}
body.home .article-card {
  border: none;
}
.article-card__image {
  height: 180px;
  overflow: hidden;
  background: var(--surface-tile);
  flex-shrink: 0;
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.article-card:hover .article-card__image img {
  transform: scale(1.04);
}
.article-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hero-green);
  padding: 5px 10px;
  background: var(--surface-tile);
  align-self: flex-start;
}
.article-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
}
.article-card__excerpt {
  font-size: 13px;
  color: var(--dark-green-mid);
  line-height: 1.55;
}
.article-card__date {
  font-size: 12px;
  color: var(--accent-sub);
  letter-spacing: 0.5px;
  margin-top: auto;
  padding-top: 12px;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
.article-card__title a:hover {
  color: var(--hero-green);
}
.article-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
  margin-top: 12px;
}
.article-card__link:hover { color: var(--accent-mid); }
.article-card > a:first-child {
  display: block;
}

/* ── 38. Pagination ───────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--surface-tile);
  background: #fff;
  color: var(--dark-green-mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.page-btn.is-active,
.page-btn:hover { background: var(--dark-green); color: #fff; border-color: var(--dark-green); }

/* WordPress pagination — .navigation.pagination from the_posts_pagination() */
.navigation.pagination { margin-top: 48px; }
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navigation.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--surface-tile);
  background: #fff;
  color: var(--dark-green-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.navigation.pagination .page-numbers:hover {
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
}
.navigation.pagination .page-numbers.current {
  background: var(--dark-green);
  color: #fff;
  border-color: var(--dark-green);
}
.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
.navigation.pagination .page-numbers.dots:hover {
  background: transparent;
  color: var(--dark-green-mid);
  border-color: transparent;
}

/* ── 39. Upcoming Events (page) ───────────────── */
.section-upcoming-events {
  background: #fff;
  padding: 60px var(--pad-h);
}
.upcoming-events-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upcoming-events-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.upcoming-event {
  display: grid;
  grid-template-columns: 120px 1fr;
}
.upcoming-event__date {
  background: var(--dark-green);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.upcoming-event__day {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.upcoming-event__month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  text-align: center;
}
.upcoming-event__body {
  padding: 32px 40px;
  background: var(--surface-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-page-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hero-green);
  background: var(--surface-tile);
  padding: 4px 12px;
  align-self: flex-start;
}
.upcoming-event__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-green);
}
.upcoming-event__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.6;
  max-width: 70ch;
}
.upcoming-event__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-sub);
}
.upcoming-event__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-green);
  margin-top: 4px;
  transition: color 0.15s;
  align-self: flex-start;
}
.upcoming-event__cta:hover { color: var(--accent); }

/* ── 40. Past Events ──────────────────────────── */
.section-past-events {
  background: var(--surface-light);
  padding: 60px var(--pad-h);
}
.past-events-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.past-events-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.past-events-header__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-green);
}
.past-events-header__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
}
.past-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.past-event-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.past-event-card__top {
  padding: 20px 24px;
  background: var(--dark-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-light);
  text-transform: uppercase;
}
.past-event-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.past-event-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.3;
}
.past-event-card__desc {
  font-size: 13px;
  color: var(--dark-green-mid);
  line-height: 1.55;
}
.past-event-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
  margin-top: auto;
  padding-top: 12px;
}

/* ── 42. Contact section ──────────────────────── */
.section-contact {
  background: #fff;
  padding: 60px var(--pad-h);
}
.section-contact__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.contact-form__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-green);
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark-green);
  border: 1px solid var(--surface-tile);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.key-contacts__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 24px;
}
.key-contact {
  background: var(--surface-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.key-contact__role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.key-contact__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-green);
}
.key-contact__desc {
  font-size: 13px;
  color: var(--dark-green-mid);
  line-height: 1.55;
  white-space: pre-line;
}

/* ── 44. Governance Documents ─────────────────── */
.section-gov-docs {
  background: var(--surface-light);
  padding: 60px var(--pad-h);
}
.section-gov-docs__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.gov-docs-header { display: flex; flex-direction: column; gap: 12px; }
.gov-docs-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark-green);
}
.gov-docs-header__desc {
  font-size: 15px;
  color: var(--dark-green-mid);
  max-width: 700px;
  line-height: 1.6;
}
.gov-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gov-doc-card {
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gov-doc-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-green);
}
.gov-doc-card__desc {
  font-size: 14px;
  color: var(--dark-green-mid);
  line-height: 1.55;
  flex: 1;
}
.gov-doc-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-green);
  margin-top: 4px;
  transition: color 0.15s;
}
.gov-doc-card__link:hover { color: var(--accent); }

/* ── 45. Legal ────────────────────────────────── */
.section-legal {
  background: #fff;
  padding: 60px var(--pad-h);
}
.section-legal__inner {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.legal-section { display: flex; flex-direction: column; gap: 20px; }
.legal-section__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--surface-tile);
}
.legal-section__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-green);
}
.legal-section__body { display: flex; flex-direction: column; gap: 16px; }
.legal-section__body p {
  font-size: 15px;
  color: var(--dark-green-mid);
  line-height: 1.7;
}
.legal-section__body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 8px;
}

/* ── 46. Gravity Forms overrides ─────────────────
   gform_disable_css is set to true so GF ships zero
   styles. We target GF's markup classes here to match
   the MHPP design language.
   ──────────────────────────────────────────────── */

/* Hide the redundant form-level title (template renders its own h2) */
.gform_wrapper .gform_heading { display: none; }

/* Field spacing */
.gform_wrapper .gfield {
  margin-bottom: 20px;
}

/* Labels */
.gform_wrapper .gfield_label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-green);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Required indicator — keep it subtle */
.gform_wrapper .gfield_required {
  color: var(--warm);
  margin-left: 2px;
}

/* Text inputs & textarea */
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="url"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark-green);
  background: #fff;
  border: 1px solid var(--surface-tile);
  border-radius: 0;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.gform_wrapper .ginput_container input[type="text"]:focus,
.gform_wrapper .ginput_container input[type="email"]:focus,
.gform_wrapper .ginput_container input[type="tel"]:focus,
.gform_wrapper .ginput_container input[type="url"]:focus,
.gform_wrapper .ginput_container input[type="number"]:focus,
.gform_wrapper .ginput_container textarea:focus {
  border-color: var(--accent);
}

.gform_wrapper .ginput_container textarea {
  min-height: 140px;
  resize: vertical;
}

/* Validation error state */
.gform_wrapper .gfield_error .ginput_container input,
.gform_wrapper .gfield_error .ginput_container textarea {
  border-color: var(--warm);
}

.gform_wrapper .validation_message {
  font-size: 12px;
  color: var(--warm);
  margin-top: 6px;
}

.gform_wrapper .validation_error {
  font-size: 14px;
  color: var(--warm);
  border: 1px solid var(--warm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

/* Submit button — match .btn.btn--warm */
.gform_wrapper .gform_footer { margin-top: 8px; }

.gform_wrapper .gform_button {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--warm);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.gform_wrapper .gform_button:hover { background: #d45a30; }
.gform_wrapper .gform_button:disabled { opacity: 0.6; cursor: not-allowed; }

/* Hide the CAPTCHA field label */
.gform_wrapper .gfield--type-captcha .gfield_label { display: none; }

/* Confirmation message */
.gform_confirmation_message {
  font-size: 15px;
  color: var(--dark-green);
  background: var(--surface-light);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  line-height: 1.6;
}

/* ── 48. Responsive additions ─────────────────── */
@media (max-width: 1023px) {
  .case-grid                          { grid-template-columns: 1fr; }
  .section-learning__inner            { grid-template-columns: 1fr; }
  .members-grid                       { grid-template-columns: repeat(2, 1fr); }
  .collab-grid                        { grid-template-columns: 1fr; }
  .section-featured-article__inner    { grid-template-columns: 1fr; }
  .article-grid                       { grid-template-columns: repeat(2, 1fr); }
  .past-events-grid                   { grid-template-columns: repeat(2, 1fr); }
  .section-contact__inner             { grid-template-columns: 1fr; }
  .gov-docs-grid                      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .members-grid                       { grid-template-columns: repeat(2, 1fr); }
  .article-grid                       { grid-template-columns: 1fr; }
  .past-events-grid                   { grid-template-columns: 1fr; }
  .gov-docs-grid                      { grid-template-columns: 1fr; }
  .upcoming-event                     { grid-template-columns: 80px 1fr; }
  .upcoming-event__day                { font-size: 28px; }
  .upcoming-event__body               { padding: 20px 24px; }
  .page-hero__stats                   { gap: 24px; }
  .page-hero__stat-number             { font-size: 28px; }
}

@media (max-width: 479px) {
  .page-hero__stats                   { flex-direction: column; align-items: center; gap: 20px; }
  .page-hero__stat                    { align-items: center; }
}

/* ── Scroll reveal ────────────────────────────
   Add class="reveal" to any element to opt in.
   JS (components.js) adds .is-visible when the
   element enters the viewport via IntersectionObserver.
   ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease 0.2s, transform 0.55s ease 0.2s;
}

.reveal--fade {
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect the user's OS-level motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── NEW: Page Hero — with image variant ───────────── */
.page-hero--with-image {
  position: relative;
  overflow: hidden;
}
.page-hero--with-image .page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0 100%, 0 44%, 40% 4%, 100% 25%, 100% 100%);
}
@media (max-width: 1023px) {
  .page-hero__image { width: 100%; clip-path: none; opacity: 0.15; }
}
@media (max-width: 639px) {
  .page-hero__image { opacity: 0.08; }
}

/* ── NEW: Timeline — horizontal scroll ──────────────── */
.section-timeline--scroll .timeline-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-mid) var(--dark-green-mid);
}
.section-timeline--scroll .milestone-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* ── NEW: Partnership Commitments section ────────────── */
.section-commitments {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}
.section-commitments__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.partnership-commitments {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.partnership-commitments__intro {
  font-size: 15px;
  color: var(--dark-green-mid);
  line-height: 1.65;
}
.partnership-commitments__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.partnership-commitments__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--dark-green-mid);
  line-height: 1.65;
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-tile);
}
.partnership-commitments__item:last-child { border-bottom: none; }
.partnership-commitments__item::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
@media (max-width: 1023px) {
  .partnership-commitments { grid-template-columns: 1fr; gap: 32px; }
}

/* ── NEW: Partner Detail — alternating rows ──────────── */
.partner-detail__body {
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.7;
}
.partner-detail__body > * + * {
  margin-top: 1em;
}

.section-partner-detail {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}
.section-partner-detail__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.partner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.partner-row--reverse {
  direction: rtl;
}
.partner-row--reverse > * { direction: ltr; }
.partner-row__colour-block {
  aspect-ratio: 4/3;
  background: var(--accent-tint);
  border: 1px solid rgba(79,183,149,0.2);
}
.partner-row--alt .partner-row__colour-block {
  background: var(--warm-tint);
  border-color: rgba(229,103,58,0.15);
}
.partner-row__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.partner-row__body {
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.7;
}
.partner-row__body > * + * {
  margin-top: 1em;
}
@media (max-width: 1023px) {
  .partner-row,
  .partner-row--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}

/* ── NEW: News Scroll (partner page carousel) ────────── */
.section-news-scroll {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}
.section-news-scroll__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.news-scroll-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-mid) var(--surface-tile);
}
.news-scroll-track .article-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
}
@media (max-width: 639px) {
  .news-scroll-track .article-card { flex: 0 0 300px; }
}

/* ── NEW: Card read-more link ─────────────────────────── */
.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  transition: color 0.15s;
}
.card-read-more:hover { color: var(--dark-green); }

/* ── NEW: Working Group Aims section ─────────────────── */
.section-aims {
  background: var(--surface-light);
  padding: var(--pad-v) var(--pad-h);
}
.section-aims__inner {
  max-width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.section-aims__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark-green);
  position: sticky;
  top: 100px;
}
.aims-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.aims-list__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.65;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-tile);
}
.aims-list__item:last-child { border-bottom: none; }
.aims-list__item::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.article-body__text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.article-body__text li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.65;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-tile);
}
.article-body__text li:last-child { border-bottom: none; }
.article-body__text li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.news-link {
  color: var(--accent);
  margin-top: 8px;
  display: inline-block;
}
@media (max-width: 1023px) {
  .section-aims__inner { grid-template-columns: 1fr; gap: 32px; }
  .section-aims__heading { position: static; }
}

/* ── NEW: Member card logo image ─────────────────────── */
.member-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.member-card__logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── NEW: Logo tile link ─────────────────────────────── */
.logo-tile a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ── NEW: Partners view-all row ──────────────────────── */
.section-partners__cta {
  text-align: center;
  margin-top: 32px;
}

/* ── NEW: Footer social icons row ─────────────────────── */
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  color: var(--accent-sub);
  transition: background 0.15s, color 0.15s;
}
.social-icon:hover {
  background: var(--accent);
  color: #fff;
}

/* ── NEW: Article detail pages ────────────────────────── */
.section-article-body {
  background: #fff;
  padding: var(--pad-v) var(--pad-h);
}
.section-article-body__inner {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.article-body__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-tile);
  overflow: hidden;
}
.article-body__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body__colour-block {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--accent-tint);
  border: 1px solid rgba(79,183,149,0.2);
}
.article-body__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body__date {
  font-size: 13px;
  color: var(--accent-sub);
}
.article-body__text {
  font-size: 16px;
  color: var(--dark-green-mid);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-body__text p { margin: 0; }
.article-body__text h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-green);
  margin: 8px 0 0;
}

/* ── NEW: Footer grid — 3-col override ─────────────────── */
.site-footer__grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Responsive video embeds ──────────────────────────────────── */
.article-body__text iframe,
.entry-content iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ── Utilities (must stay last — cascade wins over components) ── */
.u-border-top { border-top: 2px solid var(--surface-tile); }
.u-bg-white    { background: #fff; }

.cky-consent-container .cky-btn {
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.cky-consent-container .cky-btn:hover {
  opacity: 0.88;
}

.cky-consent-container .cky-btn-customize, .cky-consent-container .cky-btn-reject {
  border-color: var(--dark-green) !important;
  background-color: #fff !important;
  color: var(--dark-green) !important;
}
.cky-consent-container .cky-btn-accept {
  border-color: var(--hero-green) !important;
  background-color: var(--hero-green) !important;
  color: #fff !important;
}
.cky-notice .cky-title, .cky-consent-bar .cky-notice-des p {
  color: var(--dark-green) !important;
}