/*
Theme Name: Fortified Whole Grain Alliance
Theme URI: https://fwg-alliance.org/
Author: FWGA
Author URI: https://fwg-alliance.org/
Description: Custom WordPress theme for the Fortified Whole Grain Alliance, built from the FWGA Figma prototype onto the Dotsavvy theme architecture (classic PHP templates, single tokenised stylesheet, dependency-free vanilla JS). Fully dynamic: leadership, partners, countries, programmes, publications and highlights are editable content types; the home masthead is an editable repeater.
Version: 1.1.29
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fwga
Tags: nonprofit, ngo, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. DESIGN TOKENS  (Figma — colour styles, type styles, layout grid)
   Sampled directly from the prototype frames.
   ========================================================================== */
:root {
  /* Colour — Figma colour styles */
  --fwg-green:       #005844; /* brand deep green: bands, header CTA, footer  */
  --fwg-green-dark:  #003D2F; /* hover: darken ~10%                            */
  --fwg-green-mid:   #0A6A52; /* mega-menu panel gradient stop                 */
  --fwg-green-tint:  #337969; /* watermark logo on green                       */
  --fwg-leaf:        #00A81A; /* governance legend "Supervisory Entity"        */
  --fwg-amber:       #F5A800; /* portrait wells, programme band, form dropdowns*/
  --fwg-amber-dark:  #D89400; /* hover                                         */
  --fwg-yellow:      #FFDA00; /* home donate promo band                        */
  --fwg-brown:       #946400; /* governance "Delivery Body"                    */
  --fwg-pink:        #E5006D; /* monthly-giving heart on the donation card     */

  --fwg-navy:        #1B3953; /* mega-menu link labels             */
  --fwg-ink:         #12211C; /* headings & primary text on light              */
  --fwg-body:        #3F4A46; /* long-form body copy                           */
  --fwg-muted:       #6B7671; /* secondary text, captions                      */
  --fwg-stone:       #C7D6D0; /* secondary text on green                       */
  --fwg-hairline:    #E2E6E4; /* rules & borders on light                      */
  --fwg-hairline-d:  rgba(255, 255, 255, 0.18); /* rules on green              */
  --fwg-mist:        #F1F1F1; /* alternate light band (governance cards)       */
  --fwg-white:       #FFFFFF;
  --fwg-on-dark:     #FFFFFF;

  /* Typography — the Figma file uses Gilroy; Montserrat is the metrically
     closest libre substitute and is what the theme loads. Swap the @font-face
     block in section 2 if the licensed family is purchased. */
  --fwg-font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale — 390px → 1440px anchors */
  --fwg-h1:      clamp(2.25rem, 1.36rem + 4.44vw, 4.5rem);    /* 36 → 72px */
  --fwg-h2:      clamp(1.75rem, 1.30rem + 2.22vw, 2.875rem);  /* 28 → 46px */
  --fwg-h3:      clamp(1.25rem, 1.10rem + 0.74vw, 1.625rem);  /* 20 → 26px */
  --fwg-h4:      clamp(1.0625rem, 1.00rem + 0.30vw, 1.25rem); /* 17 → 20px */
  --fwg-kicker:  0.8125rem;                                   /* 13px      */
  --fwg-lead:    clamp(1rem, 0.94rem + 0.30vw, 1.1875rem);    /* 16 → 19px */
  --fwg-body-sz: clamp(0.9375rem, 0.91rem + 0.15vw, 1.0625rem);
  --fwg-small:   0.875rem;

  /* Layout — Figma canvas 1728, content column 1408 (gutter 160) */
  --fwg-canvas:   1728px;
  --fwg-content:  1408px;
  --fwg-gutter:   clamp(1.25rem, 0.35rem + 4.5vw, 5rem);      /* 20 → 80px */
  --fwg-grid-gap: clamp(1.25rem, 0.9rem + 1.5vw, 2rem);
  --fwg-rhythm:   clamp(3rem, 1.9rem + 5.5vw, 6.5rem);        /* 48 → 104px */

  /* Radii — the design mixes 100px pills, 12px cards and 6px chips */
  /* Measured off the comps at the 1728px canvas: cards 12px, the larger
     publication/donation surfaces 16px, small chips and wells 6px, pills 100px. */
  --fwg-radius-pill: 100px;
  --fwg-radius-lg:   16px;
  --fwg-radius-card: 12px;
  --fwg-radius-sm:   6px;

  /* Motion */
  --fwg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fwg-fast: 160ms;
  --fwg-slow: 520ms;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fwg-white);
  color: var(--fwg-ink);
  font-family: var(--fwg-font);
  font-size: var(--fwg-body-sz);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img, svg, video { height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-weight: 700; margin: 0; color: var(--fwg-ink); overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* Accessibility — always-visible focus ring (WCAG 2.1 AA, 2.4.7) */
:focus-visible { outline: 3px solid var(--fwg-amber); outline-offset: 3px; border-radius: 2px; }

.fwg-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--fwg-green); color: #fff;
  padding: 14px 22px; font-weight: 700; text-decoration: none;
}
.fwg-skip-link:focus { left: 16px; top: 16px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto !important; clip-path: none; color: var(--fwg-ink);
  display: block; height: auto; left: 5px; top: 5px; padding: 15px 23px;
  width: auto; z-index: 100000; text-decoration: none;
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES  (Figma layout grid)
   ========================================================================== */
.fwg-shell { width: 100%; max-width: var(--fwg-canvas); margin-inline: auto; background: var(--fwg-white); }

.fwg-section { padding: var(--fwg-rhythm) var(--fwg-gutter); }
.fwg-section--tight { padding-block: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }
.fwg-section--flush { padding-block: 0; }

/* Alternating bands: white → mist → green → amber → yellow */
.fwg-band-white  { background: var(--fwg-white); }
.fwg-band-mist   { background: var(--fwg-mist); }
.fwg-band-green  { background: var(--fwg-green); color: var(--fwg-on-dark); }
.fwg-band-amber  { background: var(--fwg-amber); color: var(--fwg-ink); }
.fwg-band-yellow { background: var(--fwg-yellow); color: var(--fwg-green); }

.fwg-band-green h1, .fwg-band-green h2, .fwg-band-green h3, .fwg-band-green h4 { color: inherit; }
.fwg-band-green p { color: var(--fwg-stone); }

.fwg-inner { max-width: var(--fwg-content); margin-inline: auto; }

.fwg-grid { display: grid; gap: var(--fwg-grid-gap); }
.fwg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fwg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fwg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .fwg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fwg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fwg-grid--2, .fwg-grid--3, .fwg-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* Brand watermark — the grain-in-hands mark, bled off the bottom of green
   bands (Figma: footer + Governance / Leadership / Partners page heads).
   The SVG is cut flat along its lower edge, so it is always anchored with
   bottom: 0 — that cut must sit on the band's edge to read as a bleed.
   --fwg-wm-edge is where the centred content container starts, so the mark
   lines up with the logo (footer) or the content's right edge (page heads). */
.fwg-watermark { position: relative; overflow: hidden; isolation: isolate; --fwg-wm-edge: max(var(--fwg-gutter), calc((100% - var(--fwg-content)) / 2)); }
.fwg-watermark__mark {
  position: absolute; z-index: -1; pointer-events: none; bottom: 0;
  aspect-ratio: 300 / 226.9;
  color: var(--fwg-green-tint); opacity: 0.9;
}
.fwg-watermark__mark svg { width: 100%; height: 100%; max-width: none; }
/* Page heads: fills ~82% of the band's height, as in the comps, capped so a
   tall band with a long title does not blow the mark up. */
.fwg-watermark--head .fwg-watermark__mark { right: var(--fwg-wm-edge); height: min(82%, 280px); }
/* Footer: same width as the logo and flush with its left edge. */
.fwg-watermark--footer .fwg-watermark__mark { left: var(--fwg-wm-edge); width: var(--fwg-footer-logo-w); }
/* Where copy can run across the mark, fade it so the text keeps WCAG AA
   contrast (82%-white body copy measures ~4.1:1 over the full tint, ~5:1 over
   this). --soft is the home intro band, whose right column sits over the mark;
   page heads only collide below ~1200px, where the 62ch subtitle reaches it. */
.fwg-watermark--soft .fwg-watermark__mark { opacity: 0.5; }
@media (max-width: 1200px) { .fwg-watermark--head .fwg-watermark__mark { opacity: 0.5; } }
@media (max-width: 860px) { .fwg-watermark--footer .fwg-watermark__mark { display: none; } } /* footer stacks: mark would sit under the legal text */
@media (max-width: 780px) { .fwg-watermark__mark { display: none; } }

/* ==========================================================================
   4. TYPOGRAPHY  (Figma type styles)
   Headings are sentence case, 700, tight tracking. Body copy on marketing
   pages is Title Case in the Figma comps — that's authored copy, not a CSS
   transform, so it stays out of the stylesheet.
   ========================================================================== */
.fwg-h1 { font-size: var(--fwg-h1); line-height: 1.05; letter-spacing: -0.02em; }
.fwg-h2 { font-size: var(--fwg-h2); line-height: 1.15; letter-spacing: -0.015em; }
.fwg-h3 { font-size: var(--fwg-h3); line-height: 1.25; letter-spacing: -0.01em; }
.fwg-h4 { font-size: var(--fwg-h4); line-height: 1.3; }

/* Split heading: leading clause in amber, remainder in ink
   (Figma: "A Unified Front for Global Whole Grain Nutrition"). */
.fwg-h2 .fwg-accent, .fwg-h1 .fwg-accent { color: var(--fwg-amber); }
.fwg-band-green .fwg-accent { color: var(--fwg-yellow); }

.fwg-kicker {
  display: block; font-size: var(--fwg-kicker); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fwg-amber);
}

.fwg-lead { font-size: var(--fwg-lead); line-height: 1.6; color: var(--fwg-muted); }
.fwg-band-green .fwg-lead { color: rgba(255, 255, 255, 0.86); }

.fwg-prose { color: var(--fwg-body); font-size: var(--fwg-body-sz); line-height: 1.7; }
.fwg-prose > * + * { margin-top: 1.1em; }
.fwg-prose h2 { font-size: var(--fwg-h3); margin-top: 1.8em; }
.fwg-prose h3 { font-size: var(--fwg-h4); margin-top: 1.6em; }
/* Buttons are excluded: `.fwg-prose a` outranks `.fwg-btn--green`, which painted
   the single-publication Download button green-on-green (only visible on hover).
   Core Button blocks are excluded for the same reason. */
.fwg-prose a:not(.fwg-btn):not(.wp-block-button__link) { color: var(--fwg-green); text-decoration: underline; text-underline-offset: 3px; }
.fwg-prose a:not(.fwg-btn):not(.wp-block-button__link):hover { color: var(--fwg-amber-dark); }
.fwg-prose ul, .fwg-prose ol { padding-left: 1.25em; }
.fwg-prose li { list-style: disc; margin-top: 0.4em; }
.fwg-prose ol li { list-style: decimal; }
.fwg-prose blockquote {
  margin: 1.8em 0; padding: 22px 28px;
  border-left: 4px solid var(--fwg-amber); background: var(--fwg-mist);
  font-weight: 600; color: var(--fwg-ink);
}

/* ==========================================================================
   5. BUTTONS & LINKS
   The Figma buttons are pills with a filled circular chevron badge on the
   right. The badge is generated from a single <span class="fwg-btn__icon">
   so it can be reused across every variant.
   ========================================================================== */
.fwg-btn {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 12px 12px 28px; border-radius: var(--fwg-radius-pill);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background var(--fwg-fast) var(--fwg-ease),
              color var(--fwg-fast) var(--fwg-ease),
              border-color var(--fwg-fast) var(--fwg-ease),
              transform var(--fwg-fast) var(--fwg-ease);
}
/* Hover is a colour swap, not a lift. The comps place these buttons tight
   against text and cards, where a translate makes the row jitter; a fill
   change reads as clearly and costs no layout. Only the badge moves. */
.fwg-btn:hover { text-decoration: none; }
.fwg-btn:active { transform: translateY(1px); }

.fwg-btn__icon svg { display: block; width: 8px; height: 12px; flex: 0 0 auto; }
.fwg-btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  background: var(--fwg-green); color: #fff; font-size: 0.9rem; line-height: 1;
  transition: transform var(--fwg-fast) var(--fwg-ease);
}
.fwg-btn:hover .fwg-btn__icon,
.fwg-btn:focus-visible .fwg-btn__icon { transform: translateX(4px); }
.fwg-btn--plain { padding-right: 28px; }

/* Outline (default): white pill, green hairline, green badge */
.fwg-btn--outline { background: var(--fwg-white); color: var(--fwg-green); border-color: var(--fwg-green); }
.fwg-btn--outline:hover,
.fwg-btn--outline:focus-visible { background: var(--fwg-green); color: #fff; }
.fwg-btn--outline:hover .fwg-btn__icon,
.fwg-btn--outline:focus-visible .fwg-btn__icon { background: var(--fwg-white); color: var(--fwg-green); }

/* Solid green */
.fwg-btn--green { background: var(--fwg-green); color: #fff; }
.fwg-btn--green .fwg-btn__icon { background: var(--fwg-white); color: var(--fwg-green); }
.fwg-btn--green:hover, .fwg-btn--green:focus-visible { background: var(--fwg-green-dark); }

/* Amber — "Discover our work" on the green intro band */
.fwg-btn--amber { background: var(--fwg-amber); color: var(--fwg-green); border-color: var(--fwg-amber); }
.fwg-btn--amber .fwg-btn__icon { background: var(--fwg-green); color: #fff; }
.fwg-btn--amber:hover, .fwg-btn--amber:focus-visible { background: var(--fwg-amber-dark); border-color: var(--fwg-amber-dark); }

/* Ghost on green bands */
.fwg-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.fwg-btn--ghost .fwg-btn__icon { background: #fff; color: var(--fwg-green); }
.fwg-btn--ghost:hover, .fwg-btn--ghost:focus-visible { background: #fff; color: var(--fwg-green); border-color: #fff; }

/* Header donate pill — heart badge instead of chevron */
.fwg-btn--donate { background: var(--fwg-green); color: #fff; padding-left: 26px; }
.fwg-btn--donate .fwg-btn__icon { background: var(--fwg-white); color: var(--fwg-green); }
.fwg-btn--donate:hover, .fwg-btn--donate:focus-visible { background: var(--fwg-green-dark); }
/* The donate badge holds a heart, so it pulses rather than sliding right. */
.fwg-btn--donate:hover .fwg-btn__icon,
.fwg-btn--donate:focus-visible .fwg-btn__icon { transform: scale(1.12); }

/* Full-width form submit (donation card) */
.fwg-btn--block { width: 100%; justify-content: center; padding-left: 28px; }

/* Inline text link with chevron */
.fwg-link {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: 700; text-decoration: none; color: var(--fwg-green);
}
.fwg-link .fwg-chev { transition: transform var(--fwg-fast) var(--fwg-ease); }
.fwg-link:hover .fwg-chev { transform: translateX(4px); }
.fwg-band-green .fwg-link { color: #fff; }

/* "BIO" underline link on leadership cards */
.fwg-biolink {
  font-size: var(--fwg-small); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; text-decoration: underline;
  text-underline-offset: 4px;
}
.fwg-biolink:hover { color: var(--fwg-amber); }

/* ==========================================================================
   6. HEADER — utility row, primary nav, mega menu
   Figma "Menu" frame: each top-level item opens a full-width panel with a
   green promo tile on the left and an icon-led link list on the right.
   ========================================================================== */
.fwg-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--fwg-white);
  box-shadow: 0 1px 0 var(--fwg-hairline);
}

.fwg-header__bar {
  max-width: var(--fwg-content); margin-inline: auto;
  padding: 14px var(--fwg-gutter);
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
}

.fwg-brand { display: flex; align-items: center; grid-row: span 2; text-decoration: none; }
/* The lockup is a 430×120 SVG: constrain by width and let height follow, or
   the intrinsic attributes win and the mark renders four times too large. */
.fwg-brand img { width: clamp(168px, 15vw, 215px); height: auto; display: block; }

.fwg-header__utility {
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
}
.fwg-header__status {
  font-size: var(--fwg-small); font-weight: 600; color: var(--fwg-green);
}

.fwg-nav { justify-self: end; }
.fwg-nav__list { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.75rem); }
/* Static, so the absolutely-positioned mega panel resolves against
   .fwg-header (position: sticky) and spans the full viewport width rather
   than the width of its trigger. */
.fwg-nav__list > li { position: static; }
.fwg-nav__list a {
  display: inline-block; padding: 10px 2px;
  font-size: 0.9375rem; font-weight: 600; color: var(--fwg-ink); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--fwg-fast) var(--fwg-ease), border-color var(--fwg-fast) var(--fwg-ease);
}
.fwg-nav__list a:hover,
.fwg-nav__list .current-menu-item > a,
.fwg-nav__list .current-menu-ancestor > a,
.fwg-nav__list li.is-open > a { color: var(--fwg-green); border-bottom-color: var(--fwg-amber); }

/* Dropdown parents are toggles, not links — same look, no destination. */
.fwg-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 2px;
  font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--fwg-ink);
  background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  transition: color var(--fwg-fast) var(--fwg-ease), border-color var(--fwg-fast) var(--fwg-ease);
}
.fwg-nav__caret {
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform var(--fwg-fast) var(--fwg-ease);
}
.fwg-nav__toggle:hover,
.fwg-nav__list .current-menu-ancestor > .fwg-nav__toggle,
.fwg-nav__list .current-menu-parent > .fwg-nav__toggle,
.fwg-nav__list li.is-open > .fwg-nav__toggle { color: var(--fwg-green); border-bottom-color: var(--fwg-amber); }
.fwg-nav__toggle[aria-expanded="true"] .fwg-nav__caret { transform: translateY(3px) rotate(-135deg); }

/* Mega panel — anchored to the header, not the item, so it spans full width.
   The panel sits on a blurred photographic backdrop with the card inset a few
   pixels, which is what shows as a thin strip above and below it. */
.fwg-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 12px;
  background-color: var(--fwg-green-dark);
  background-image: url("assets/images/menu-backdrop.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 48px rgba(0, 45, 34, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--fwg-fast) var(--fwg-ease),
              transform var(--fwg-fast) var(--fwg-ease),
              visibility var(--fwg-fast);
}
.fwg-mega.is-open { opacity: 1; visibility: visible; transform: none; }

.fwg-mega__inner {
  display: grid; grid-template-columns: 40% 1fr;
  min-height: 420px;
  background: var(--fwg-white);
  overflow: hidden;
}

/* Green tile. The diagonal artwork is a designed asset rather than a CSS
   approximation, so it matches the comp exactly instead of nearly. */
.fwg-mega__promo {
  position: relative; display: flex; align-items: flex-end;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
  background: var(--fwg-green) url("assets/images/menu-motif.jpg") center / cover no-repeat;
  color: #fff;
}
.fwg-mega__promo-title {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.01em;
}

/* Link column */
.fwg-mega__col {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem);
}
.fwg-mega__links { display: flex; flex-direction: column; gap: clamp(0.75rem, 0.4rem + 1vw, 1.5rem); }
.fwg-mega__links a {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 4px; border-bottom: 0; text-decoration: none;
  color: var(--fwg-navy); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 500;
  transition: color var(--fwg-fast) var(--fwg-ease);
}

/* Rounded green icon tile */
.fwg-mega__icon {
  flex: 0 0 auto;
  width: clamp(42px, 3vw, 52px); height: clamp(42px, 3vw, 52px);
  border-radius: 8px;
  background: var(--fwg-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--fwg-fast) var(--fwg-ease), transform var(--fwg-fast) var(--fwg-ease);
}
.fwg-mega__icon svg { width: 26px; height: 26px; }
.fwg-mega__label { display: block; }
.fwg-mega__links a:hover { color: var(--fwg-green); }
.fwg-mega__links a:hover .fwg-mega__icon,
.fwg-mega__links a:focus-visible .fwg-mega__icon { background: var(--fwg-amber); transform: translateY(-2px); }

/* "Updates" pinned to the foot of the column, aligned with the icon tiles. */
.fwg-mega__foot { margin-top: auto; padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.fwg-mega__foot a {
  border-bottom: 0; text-decoration: none;
  color: var(--fwg-navy); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 500;
}
.fwg-mega__foot a:hover { color: var(--fwg-green); }

@media (max-width: 1300px) {
  .fwg-mega__inner { grid-template-columns: 32% 1fr; min-height: 360px; }
}

/* Burger — hidden until the nav collapses */
.fwg-burger {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer; color: var(--fwg-green);
}
.fwg-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--fwg-fast) var(--fwg-ease), opacity var(--fwg-fast); }
.fwg-burger span + span { margin-top: 5px; }
.fwg-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.fwg-burger[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.fwg-burger[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .fwg-header__bar { grid-template-columns: auto auto; justify-content: space-between; row-gap: 0; }
  .fwg-brand { grid-row: auto; }
  .fwg-header__status { display: none; }
  .fwg-nav, .fwg-mega { display: none; }
  .fwg-burger { display: block; }
}
@media (max-width: 560px) {
  .fwg-header__utility .fwg-btn--donate { padding: 10px 10px 10px 18px; font-size: 0.75rem; }
}

/* Mobile drawer — accordion of the same menu tree */
.fwg-drawer {
  position: fixed; inset: 0; z-index: 950; background: var(--fwg-white);
  padding: 20px var(--fwg-gutter) 60px; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--fwg-slow) var(--fwg-ease), visibility var(--fwg-slow);
}
.fwg-drawer.is-open { transform: none; visibility: visible; }
body.fwg-nav-open { overflow: hidden; }
.fwg-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.fwg-drawer__list > li { border-bottom: 1px solid var(--fwg-hairline); }
.fwg-drawer__list a { display: block; padding: 16px 0; font-size: 1.125rem; font-weight: 600; color: var(--fwg-green); text-decoration: none; }
.fwg-drawer__list .sub-menu { padding: 0 0 12px 16px; border-left: 2px solid var(--fwg-amber); margin-bottom: 12px; }
.fwg-drawer__list .sub-menu a { font-size: 1rem; font-weight: 500; padding: 10px 0; color: var(--fwg-body); }
.fwg-drawer__parent {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.125rem; font-weight: 600; color: var(--fwg-green);
}
.fwg-drawer__sign { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.fwg-drawer__sign::before, .fwg-drawer__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform var(--fwg-fast) var(--fwg-ease); }
.fwg-drawer__sign::after { transform: rotate(90deg); }
.fwg-drawer__parent[aria-expanded="true"] .fwg-drawer__sign::after { transform: rotate(0deg); }
.fwg-drawer__toggle {
  position: absolute; right: 0; top: 8px;
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--fwg-green);
  font-size: 1.25rem; cursor: pointer;
}
.fwg-drawer__list > li { position: relative; }
.fwg-drawer__toggle[aria-expanded="false"] + .sub-menu,
.fwg-drawer__list .sub-menu[hidden] { display: none; }

/* ==========================================================================
   7. PAGE HEADS & HEROES
   Two variants in the Figma file:
   a) .fwg-pagehead  — solid green band + watermark (Countries, Governance,
      Leadership, Partners)
   b) .fwg-hero      — full-bleed photo with a scrim (Home, Our Story,
      Reports & Publications, Donation)
   ========================================================================== */
.fwg-pagehead { padding: clamp(2.5rem, 1.6rem + 4.5vw, 5.5rem) var(--fwg-gutter); }
.fwg-pagehead__inner { max-width: var(--fwg-content); margin-inline: auto; }
.fwg-pagehead__title { font-size: var(--fwg-h1); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.fwg-pagehead__sub { margin-top: 16px; max-width: 62ch; color: rgba(255, 255, 255, 0.86); font-size: var(--fwg-lead); line-height: 1.5; }

.fwg-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(280px, 34vw, 520px); padding: clamp(2.5rem, 2rem + 4vw, 6rem) var(--fwg-gutter); }
.fwg-hero__media { position: absolute; inset: 0; z-index: -2; }
.fwg-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Scrim: left-weighted so the headline keeps 4.5:1 contrast over any photo */
.fwg-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 40, 30, 0.72) 0%, rgba(0, 40, 30, 0.42) 45%, rgba(0, 40, 30, 0.08) 100%);
}
.fwg-hero__inner { max-width: var(--fwg-content); margin-inline: auto; width: 100%; }
.fwg-hero__kicker { margin-bottom: 14px; color: #fff; font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem); font-weight: 600; }
.fwg-hero__title { font-size: var(--fwg-h1); line-height: 1.08; letter-spacing: -0.02em; color: #fff; max-width: 18ch; }
.fwg-hero__sub { margin-top: 18px; max-width: 54ch; color: rgba(255, 255, 255, 0.9); font-size: var(--fwg-lead); }
.fwg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fwg-hero--tall { min-height: clamp(340px, 40vw, 620px); }

/* ==========================================================================
   8. HOME — intro band, stats, promo, footprint, programmes, highlights
   ========================================================================== */

/* 8a. Intro band: oversized statement left, supporting copy + CTAs right */
.fwg-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 3vw, 4rem); align-items: start; }
.fwg-intro__title { font-size: clamp(1.375rem, 1rem + 1.8vw, 2.25rem); line-height: 1.3; font-weight: 700; color: #fff; }
.fwg-intro__body { color: rgba(255, 255, 255, 0.82); font-size: var(--fwg-small); line-height: 1.7; }
.fwg-intro__body > * + * { margin-top: 1em; }
.fwg-intro__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (max-width: 860px) { .fwg-intro { grid-template-columns: 1fr; } }

/* 8b. Stat row — count-up numerals, no rule (Figma home) */
.fwg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fwg-grid-gap); }
.fwg-stat__value {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; color: var(--fwg-green);
}
.fwg-stat__caption { margin-top: 10px; font-size: 1rem; font-weight: 700; color: var(--fwg-ink); line-height: 1.3; }
.fwg-band-green .fwg-stat__value { color: #fff; }
.fwg-band-green .fwg-stat__caption { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 760px) { .fwg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* 8c. Yellow donate promo — copy panel + flush photo, no gap between them */
/* overflow: hidden clips the yellow panel and the photo to the rounded corners
   — without it the children's square corners paint over the radius. */
.fwg-promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: var(--fwg-radius-card); overflow: hidden; }
.fwg-promo__copy { background: var(--fwg-yellow); color: var(--fwg-green); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.fwg-promo__title { font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem); line-height: 1.2; color: var(--fwg-green); }
.fwg-promo__text { font-weight: 600; line-height: 1.55; color: var(--fwg-green); }
.fwg-promo__media img { width: 100%; height: 100%; object-fit: cover; }
.fwg-promo .fwg-btn--outline { margin-top: 8px; }
@media (max-width: 860px) { .fwg-promo { grid-template-columns: 1fr; } .fwg-promo__media { order: -1; aspect-ratio: 16 / 9; } }

/* 8d. Footprint — copy column + interactive world map */
.fwg-footprint { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(1.5rem, 3vw, 4rem); align-items: center; }
@media (max-width: 900px) { .fwg-footprint { grid-template-columns: 1fr; } }

/* 8e. Programmes — amber band, white cards with flush 16:9 media */
.fwg-programme {
  display: flex; flex-direction: column; background: var(--fwg-white);
  border-radius: var(--fwg-radius-card); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform var(--fwg-slow) var(--fwg-ease), box-shadow var(--fwg-slow) var(--fwg-ease);
}
.fwg-programme:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 45, 34, 0.18); }
.fwg-programme__media { aspect-ratio: 16 / 10; background: var(--fwg-hairline); overflow: hidden; }
.fwg-programme__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fwg-slow) var(--fwg-ease); }
.fwg-programme:hover .fwg-programme__media img { transform: scale(1.04); }
.fwg-programme__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.fwg-programme__title { font-size: var(--fwg-h4); font-weight: 700; color: var(--fwg-ink); }
.fwg-programme__body .fwg-btn { margin-top: auto; }

/* 8f. Latest highlights — 1 large feature + stacked side cards */
.fwg-highlights { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--fwg-grid-gap); }
@media (max-width: 900px) { .fwg-highlights { grid-template-columns: 1fr; } }

.fwg-feature {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 380px; padding: 28px; border-radius: var(--fwg-radius-card); overflow: hidden;
  color: #fff; text-decoration: none;
}
.fwg-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--fwg-slow) var(--fwg-ease); }
.fwg-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,40,30,0.15) 30%, rgba(0,40,30,0.88) 100%); }
.fwg-feature:hover img { transform: scale(1.03); }
.fwg-feature__tag {
  position: absolute; top: 20px; left: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.45); padding: 6px 12px; border-radius: var(--fwg-radius-sm);
}
.fwg-feature__title { font-size: var(--fwg-h4); line-height: 1.35; color: #fff; max-width: 34ch; }
/* Circular chevron badge, bottom-right of the feature card. */
.fwg-feature__go {
  position: absolute; right: 20px; bottom: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--fwg-green);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--fwg-fast) var(--fwg-ease), background var(--fwg-fast);
}
.fwg-feature:hover .fwg-feature__go { transform: translateX(3px); background: var(--fwg-amber); color: #fff; }

.fwg-highlight-list { display: grid; gap: var(--fwg-grid-gap); align-content: start; }
.fwg-highlight {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center;
  background: var(--fwg-green); color: #fff; border-radius: var(--fwg-radius-card);
  overflow: hidden; text-decoration: none;
  transition: background var(--fwg-fast) var(--fwg-ease);
}
.fwg-highlight:hover { background: var(--fwg-green-dark); }
.fwg-highlight__media { position: relative; align-self: stretch; width: 100%; min-width: 0; min-height: 112px; overflow: hidden; }
/* Matching badge overlaid on each rail thumbnail. */
.fwg-highlight__go {
  position: absolute; left: 14px; bottom: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--fwg-green);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--fwg-fast) var(--fwg-ease), background var(--fwg-fast);
}
.fwg-highlight:hover .fwg-highlight__go { transform: translateX(3px); background: var(--fwg-amber); color: #fff; }
.fwg-highlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fwg-highlight__body { padding: 16px 20px 16px 0; display: flex; flex-direction: column; gap: 6px; }
.fwg-highlight__tag { font-size: 0.75rem; font-weight: 700; color: var(--fwg-stone); letter-spacing: 0.06em; }
.fwg-highlight__title { font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: #fff; }
/* Phones: stack the thumbnail above the text so long titles never sit under the image. */
@media (max-width: 600px) {
  .fwg-highlight { grid-template-columns: 1fr; gap: 0; align-items: stretch; }
  .fwg-highlight__media { aspect-ratio: 16 / 9; min-height: 0; }
  .fwg-highlight__body { padding: 16px 20px 20px; }
}

/* 8g. Partner logo marquee — duplicated track, pauses on hover/reduced motion */
.fwg-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fwg-marquee__track { display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem); width: max-content; animation: fwg-scroll 42s linear infinite; }
.fwg-marquee:hover .fwg-marquee__track, .fwg-marquee:focus-within .fwg-marquee__track { animation-play-state: paused; }
.fwg-marquee img { height: clamp(28px, 3vw, 42px); width: auto; object-fit: contain; }
@keyframes fwg-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .fwg-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 1.5rem; }
}

/* Stat marquee variant used on the Donation page (large green tiles) */
.fwg-statmarquee .fwg-marquee__track { gap: var(--fwg-grid-gap); animation-duration: 60s; }
.fwg-stattile {
  background: var(--fwg-green); color: #fff; border-radius: var(--fwg-radius-card);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); width: clamp(260px, 26vw, 380px);
  display: flex; flex-direction: column; gap: 16px;
}
.fwg-stattile__value { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.fwg-stattile__caption { font-size: 0.9375rem; font-weight: 700; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }

/* ==========================================================================
   9. CONTENT COMPONENTS
   ========================================================================== */

/* 9a. Value cards — Vision / Mission / Purpose (Our Story) */
.fwg-value {
  background: var(--fwg-green); color: #fff; border-radius: var(--fwg-radius-card);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); display: flex; flex-direction: column; gap: 20px;
}
.fwg-value__icon {
  width: 64px; height: 64px; border-radius: var(--fwg-radius-sm);
  background: var(--fwg-amber); color: var(--fwg-white);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.fwg-value__title { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); font-weight: 600; color: #fff; margin-top: 26px; }
.fwg-value__body { font-size: var(--fwg-small); line-height: 1.6; color: rgba(255, 255, 255, 0.88); }

/* 9b. Split section — image beside prose, alternating sides */
.fwg-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 4rem); align-items: center; }
.fwg-split--reverse .fwg-split__media { order: 2; }
.fwg-split__media img { width: 100%; border-radius: var(--fwg-radius-card); }
.fwg-split__copy { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) {
  .fwg-split { grid-template-columns: 1fr; }
  .fwg-split--reverse .fwg-split__media { order: 0; }
}

/* 9c. Leadership cards — green card, amber portrait well, BIO link */
.fwg-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.fwg-person {
  background: var(--fwg-green); border-radius: var(--fwg-radius-card);
  padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 10px;
}
.fwg-person__media {
  aspect-ratio: 1 / 1; border-radius: var(--fwg-radius-sm); overflow: hidden;
  background: var(--fwg-amber); /* amber well doubles as the empty state */
  margin-bottom: 12px;
}
.fwg-person__media img { width: 100%; height: 100%; object-fit: cover; }
.fwg-person__name { font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.fwg-person__role { font-size: 1rem; color: rgba(255, 255, 255, 0.9); }
.fwg-person .fwg-biolink { margin-top: 12px; }
@media (max-width: 900px) { .fwg-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fwg-team { grid-template-columns: 1fr; } }

/* Bio disclosure panel (progressive enhancement: <details> when JS is off) */
.fwg-person__bio { color: rgba(255,255,255,0.88); font-size: var(--fwg-small); line-height: 1.6; }
.fwg-person__bio[hidden] { display: none; }

/* 9d. Governance org chart — CSS grid tree, connectors drawn with borders so
   it reflows to a stacked list on small screens instead of scrolling. */
.fwg-org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.fwg-org__node {
  border-radius: var(--fwg-radius-sm); padding: 14px 22px; text-align: center;
  color: #fff; max-width: 560px; width: 100%;
}
.fwg-org__node strong { display: block; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; }
.fwg-org__node span { display: block; font-size: var(--fwg-small); opacity: 0.9; margin-top: 4px; }
/* Colours follow the legend: supervisory · management · supporting · delivery. */
.fwg-org__node--board { background: var(--fwg-leaf); }
.fwg-org__node--exec { background: var(--fwg-green); }
.fwg-org__node--support { background: var(--fwg-amber); color: var(--fwg-ink); max-width: 240px; }
.fwg-org__node--support span { opacity: 1; }
.fwg-org__connector { width: 2px; height: 28px; background: var(--fwg-green); }

/* The tier between Board and Executive Steering Committee: the vertical line
   runs through the middle, the supporting bodies hang off it on arms. */
.fwg-org__tier { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); align-items: center; width: 100%; min-height: 56px; }
.fwg-org__spine { align-self: stretch; background: var(--fwg-green); }
.fwg-org__side { display: flex; align-items: center; padding-block: 14px; }
.fwg-org__arm { flex: 1; height: 2px; background: var(--fwg-green); opacity: 0.45; min-width: 24px; }

.fwg-org__group { background: var(--fwg-green); border-radius: var(--fwg-radius-sm); padding: 24px; width: 100%; }
.fwg-org__group-title { text-align: center; color: #fff; }
.fwg-org__group-name { display: block; text-transform: uppercase; letter-spacing: 0.04em; }
.fwg-org__md { display: inline-block; margin-top: 10px; padding: 6px 48px; border: 1.5px solid rgba(255, 255, 255, 0.85); border-radius: 4px; font-size: 0.875rem; font-weight: 600; }
.fwg-org__teams { display: grid; grid-template-columns: repeat(var(--fwg-teams, 4), minmax(0, 1fr)); gap: 14px; margin-top: 24px; align-items: start; }
.fwg-org__col { display: flex; flex-direction: column; gap: 10px; }
.fwg-org__team { background: var(--fwg-brown); color: #fff; border-radius: var(--fwg-radius-sm); padding: 14px; text-align: center; font-size: var(--fwg-small); font-weight: 700; }
.fwg-org__team span { display: block; font-weight: 500; font-size: 0.8125rem; margin-top: 4px; opacity: 0.92; }
/* Country partners: same delivery colour, outlined as in the deck. */
.fwg-org__team--partners { padding: 10px 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75); }
@media (max-width: 1000px) {
  .fwg-org__teams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fwg-org__teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Phones: the supporting bodies stack under the Board, the line runs on. */
  .fwg-org__tier { grid-template-columns: 1fr; justify-items: center; }
  .fwg-org__spine { display: none; }
  .fwg-org__arm { display: none; }
  .fwg-org__side { flex-direction: column; padding-block: 0; width: 100%; align-items: center; }
  .fwg-org__side::before { content: ""; width: 2px; height: 20px; background: var(--fwg-green); }
  .fwg-org__side:empty { display: none; }
  .fwg-org__node--support { max-width: 560px; }
  .fwg-org__tier::after { content: ""; width: 2px; height: 20px; background: var(--fwg-green); }
}
@media (max-width: 520px) {
  .fwg-org__teams { grid-template-columns: 1fr; }
}

/* Legend + explainer cards below the chart */
.fwg-legend { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fwg-hairline); }
.fwg-legend__item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fwg-small); color: var(--fwg-body); }
.fwg-legend__swatch { width: 22px; height: 12px; border-radius: 3px; flex: 0 0 auto; }

.fwg-bodycard {
  background: var(--fwg-white); border-radius: var(--fwg-radius-card);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 45, 34, 0.06);
}
.fwg-bodycard__swatch { width: 72px; height: 72px; border-radius: var(--fwg-radius-sm); }
.fwg-bodycard__title { font-size: var(--fwg-h4); margin-top: 40px; }
.fwg-bodycard__body { font-size: var(--fwg-small); line-height: 1.6; color: var(--fwg-body); }

/* 9e. Partners — filter chips + logo/description rows */
.fwg-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.fwg-chip {
  display: inline-block; padding: 12px 26px; border-radius: var(--fwg-radius-pill);
  border: 1.5px solid var(--fwg-green); background: transparent; color: var(--fwg-green);
  font-size: 0.9375rem; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background var(--fwg-fast) var(--fwg-ease), color var(--fwg-fast) var(--fwg-ease);
}
.fwg-chip:hover { background: rgba(0, 88, 68, 0.08); }
.fwg-chip[aria-selected="true"], .fwg-chip.is-active { background: var(--fwg-green); color: #fff; }

.fwg-partner { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 3vw, 3rem); padding: 40px 0; border-bottom: 1px solid var(--fwg-hairline); align-items: start; }
.fwg-partner__logo img { max-height: 196px; width: auto; max-width: 100%; object-fit: contain; }
.fwg-partner__logo img.fwg-img--placeholder { max-height: 120px; border-radius: var(--fwg-radius-sm); }
.fwg-partner__name { margin-top: 14px; font-size: var(--fwg-h4); color: var(--fwg-green); }
.fwg-partner__body { display: flex; flex-direction: column; gap: 24px; }
.fwg-partner__desc { font-size: var(--fwg-small); line-height: 1.7; color: var(--fwg-body); }
.fwg-partner-group__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 500; color: var(--fwg-green); padding-bottom: 18px; border-bottom: 1px solid var(--fwg-ink); }
@media (max-width: 700px) { .fwg-partner { grid-template-columns: 1fr; } }

/* 9f. Countries — legend list synced with the map */
.fwg-countries { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.fwg-countries__list { display: flex; flex-direction: column; gap: 12px; }
.fwg-country {
  display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 18px;
  padding: 8px 14px 8px 8px; border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-sm);
  background: var(--fwg-white); color: var(--fwg-ink); font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; text-align: left; cursor: pointer; width: 100%;
  transition: border-color var(--fwg-fast) var(--fwg-ease), background var(--fwg-fast) var(--fwg-ease);
}
.fwg-country { text-decoration: none; }
.fwg-country__swatch {
  height: 36px; border-radius: 4px; overflow: hidden; background: #D9D9D9;
  display: block; transition: box-shadow var(--fwg-fast) var(--fwg-ease);
}
.fwg-country__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fwg-country:hover, .fwg-country.is-active { border-color: var(--fwg-amber); background: #FFF9EC; }
.fwg-country:hover .fwg-country__swatch,
.fwg-country.is-active .fwg-country__swatch { box-shadow: inset 0 0 0 2px var(--fwg-amber); }
@media (max-width: 900px) { .fwg-countries { grid-template-columns: 1fr; } }

/* World map — paths carry ISO-3166 alpha-2 ids so JS can pair them with the
   list above. Operating countries get .is-operating from PHP. */
.fwg-map { width: 100%; }
.fwg-map svg { width: 100%; height: auto; display: block; }
.fwg-map path { transition: fill var(--fwg-fast) var(--fwg-ease); }

/* Borders are drawn as strokes on the country polygons rather than as traced
   outline shapes, which keeps the file a third of the size and lets the line
   weight stay constant at any scale. */
.fwg-map .fwg-map__land {
  fill: #FFFFFF;
  stroke: var(--fwg-green);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.fwg-map .is-operating { fill: var(--fwg-amber); }
.fwg-map .is-active { fill: var(--fwg-green); }

/* Clickable countries: pointer plus a visible focus ring, since an SVG shape
   has no default focus style. */
.fwg-map .is-clickable { cursor: pointer; }
.fwg-map a { cursor: pointer; outline: none; }
/* The focus ring goes on the shape, not the anchor: an SVG <a> has no box of
   its own, so an outline on it would be drawn in the wrong place. */
.fwg-map a:focus-visible .is-clickable,
.fwg-map .is-clickable:focus-visible { outline: 3px solid var(--fwg-green); outline-offset: 2px; }
.fwg-map a:focus-visible .is-clickable { fill: var(--fwg-green); }

/* On the home footprint band the land sits on green, so the borders drop to a
   tint — a full-strength green line would disappear into the background and a
   white one would erase the country separations altogether. */
.fwg-band-green .fwg-map .fwg-map__land { fill: #FFFFFF; stroke: rgba(0, 64, 49, 0.45); }
.fwg-band-green .fwg-map .is-operating { fill: var(--fwg-amber); stroke: rgba(0, 64, 49, 0.45); }
.fwg-band-green .fwg-map .is-active { fill: var(--fwg-yellow); }
.fwg-band-green .fwg-map a:focus-visible .is-clickable,
.fwg-band-green .fwg-map .is-clickable:focus-visible { outline-color: #fff; }
.fwg-band-green .fwg-map a:focus-visible .is-clickable { fill: var(--fwg-yellow); }

/* 9g. Publications — filter bar + download cards */
.fwg-filters { display: flex; flex-direction: column; gap: 28px; }
.fwg-filters__search { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.fwg-filters__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fwg-filters__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .fwg-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fwg-filters__search { grid-template-columns: 1fr; } .fwg-filters__grid { grid-template-columns: 1fr; } }

.fwg-field { display: flex; flex-direction: column; gap: 8px; }
.fwg-field label { font-size: 0.9375rem; font-weight: 600; color: var(--fwg-ink); }
.fwg-field input[type="text"], .fwg-field input[type="search"], .fwg-field input[type="email"], .fwg-field input[type="number"] {
  border: 0; border-bottom: 1px solid var(--fwg-ink); background: transparent;
  padding: 10px 2px; font: inherit; color: var(--fwg-ink);
}
/* Select: the Figma control is a grey field with an amber chevron button on
   the right — reproduced with a background-image caret on a padded field. */
.fwg-field select {
  appearance: none; border: 0; background-color: var(--fwg-mist); color: var(--fwg-ink);
  padding: 12px 52px 12px 14px; font: inherit; border-radius: 2px; width: 100%; cursor: pointer;
  /* Layers paint first-on-top: the chevron must be listed BEFORE the amber
     block, or the block covers it. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--fwg-amber), var(--fwg-amber));
  background-repeat: no-repeat, no-repeat;
  background-position: right 12px center, right 0 center;
  background-size: 14px 9px, 38px 100%;
}
/* Forced-colours modes drop background images: keep a visible native arrow. */
@media (forced-colors: active) { .fwg-field select { appearance: auto; padding-right: 14px; } }

.fwg-pub {
  display: flex; flex-direction: column; background: var(--fwg-white);
  border-radius: var(--fwg-radius-lg); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 45, 34, 0.08); text-decoration: none; color: inherit;
  transition: transform var(--fwg-slow) var(--fwg-ease), box-shadow var(--fwg-slow) var(--fwg-ease);
}
.fwg-pub:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 45, 34, 0.14); }
.fwg-pub__media { aspect-ratio: 3 / 2; background: var(--fwg-hairline); overflow: hidden; }
.fwg-pub__media img { width: 100%; height: 100%; object-fit: cover; }
.fwg-pub__body { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fwg-pub__downloads { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fwg-small); color: var(--fwg-green); font-weight: 600; }
.fwg-pub__title { font-size: var(--fwg-h4); font-weight: 500; line-height: 1.35; color: var(--fwg-ink); }
.fwg-pub__body .fwg-btn { margin-top: auto; }
/* Our Work report cards: one or two buttons, pinned to the card foot. */
.fwg-pub__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.fwg-pub__actions .fwg-btn { margin-top: 0; }
/* Our Work ▸ Related reports shown as buttons after the page content. */
.fwg-reportbtns__row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.fwg-reportbtns .fwg-sec-title { margin-bottom: 20px; }
.fwg-reports + .fwg-reports, .fwg-countrypanel .fwg-reports { padding-top: 0; }
.fwg-pub__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--fwg-small); color: var(--fwg-muted); }
.fwg-pub__type {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(0, 99, 65, 0.08); color: var(--fwg-green); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
}

/* Result count + removable active-filter chips, shown between the filter bar
   and the grid so the visitor always knows what state they are in. */
.fwg-results {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--fwg-hairline);
}
.fwg-results__count { font-size: var(--fwg-small); font-weight: 700; color: var(--fwg-muted); }

.fwg-empty { padding: 60px 0; text-align: center; color: var(--fwg-muted); }
.fwg-empty .fwg-btn { margin-inline: auto; }

/* 9h. Donation card — give-once / monthly toggle + amount tiers */
.fwg-donate {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 3vw, 3rem);
  background: var(--fwg-white); border-radius: var(--fwg-radius-lg);
  padding: clamp(1.5rem, 1.2rem + 2vw, 3rem); box-shadow: 0 12px 40px rgba(0, 45, 34, 0.10);
}
.fwg-donate__copy { display: flex; flex-direction: column; gap: 18px; }
.fwg-donate__copy img { border-radius: var(--fwg-radius-card); }
.fwg-donate__card { border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.fwg-donate__secure { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9375rem; }
.fwg-donate__secure svg { color: var(--fwg-green); }

.fwg-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fwg-toggle button {
  padding: 12px; border-radius: var(--fwg-radius-sm); border: 1px solid var(--fwg-hairline);
  background: var(--fwg-white); font-size: var(--fwg-small); font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color var(--fwg-fast), color var(--fwg-fast);
}
.fwg-toggle button[aria-pressed="true"] { border-color: var(--fwg-green); color: var(--fwg-green); }
.fwg-toggle button svg { color: var(--fwg-pink); }

.fwg-tiers { display: flex; flex-direction: column; gap: 10px; }
.fwg-tier {
  display: block; border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-sm);
  padding: 12px 16px; cursor: pointer; transition: border-color var(--fwg-fast), background var(--fwg-fast);
}
.fwg-tier:hover { border-color: var(--fwg-green); }
.fwg-tier input { position: absolute; opacity: 0; pointer-events: none; }
.fwg-tier:has(input:checked) { border-color: var(--fwg-green); background: #F4FAF8; }
.fwg-tier input:focus-visible + .fwg-tier__amount { outline: 3px solid var(--fwg-amber); outline-offset: 3px; }
.fwg-tier__amount { display: block; font-weight: 700; font-size: 0.9375rem; }
.fwg-tier__note { display: block; font-size: var(--fwg-small); color: var(--fwg-muted); margin-top: 2px; }

.fwg-donate__other { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-sm); overflow: hidden; }
.fwg-donate__other input { border: 0; padding: 14px 16px; font: inherit; width: 100%; background: transparent; }
.fwg-donate__other select { border: 0; background: transparent; padding: 14px 12px; font: inherit; cursor: pointer; }
.fwg-donate__currency { padding: 14px 16px; font-weight: 600; color: var(--fwg-muted); }
.fwg-donate__fine { margin: 14px 0 0; font-size: 0.8125rem; color: var(--fwg-muted); line-height: 1.5; }
/* Thank-you / cancelled / error message after the payment page. */
.fwg-donate__notice { grid-column: 1 / -1; padding: 18px 22px; border-radius: var(--fwg-radius-sm); border-left: 4px solid currentColor; font-weight: 500; }
.fwg-donate__notice--success { background: #E7F2EE; color: var(--fwg-green); }
.fwg-donate__notice--info { background: var(--fwg-mist); color: var(--fwg-ink); }
.fwg-donate__notice--error { background: #FBEAEA; color: #8A1F1F; }
@media (max-width: 860px) { .fwg-donate { grid-template-columns: 1fr; } }

/* Placeholder imagery.
   Slightly desaturated and never quite full contrast, so a page full of them
   reads as "awaiting photography" at a glance rather than as finished design.
   Sits inside the same media wells, so swapping in a real photo changes
   nothing about the layout. */
.fwg-img--placeholder { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.fwg-hero__media .fwg-img--placeholder,
.fwg-feature .fwg-img--placeholder { opacity: 1; }
/* Marquee logos are greyscaled by default; a placeholder there would vanish. */
.fwg-marquee .fwg-img--placeholder { filter: none; opacity: 0.9; }

/* ==========================================================================
   9i. PROGRAMME PAGES  (Our Work children)
   ========================================================================== */

/* Intro: heading left, body right — the ratio in every programme frame. */
.fwg-progintro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.fwg-progintro__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); line-height: 1.25; font-weight: 400; }
.fwg-progintro__body { font-size: var(--fwg-small); line-height: 1.7; color: var(--fwg-body); }
.fwg-progintro__body > * + * { margin-top: 1em; }
.fwg-band-green .fwg-progintro__title { color: #fff; font-weight: 400; }
.fwg-band-green .fwg-progintro__body { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 820px) { .fwg-progintro { grid-template-columns: 1fr; } }

/* Split heading: amber lead clause, ink remainder. */
.fwg-splittitle { font-weight: 500; }
.fwg-splittitle .fwg-accent { font-weight: 700; color: var(--fwg-ink); }

/* Evidence → policy flow (Policy & Advocacy) */
.fwg-flow { display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.fwg-flow__node { border-radius: var(--fwg-radius-sm); padding: 14px 30px; text-align: center; color: #fff; min-width: min(340px, 100%); }
.fwg-flow__node strong { display: block; font-size: 1.0625rem; }
.fwg-flow__node span { display: block; font-size: var(--fwg-small); opacity: 0.92; margin-top: 2px; }
.fwg-flow__node--green { background: var(--fwg-leaf); }
.fwg-flow__node--red { background: #D93A0B; }
.fwg-flow__connector { width: 2px; height: 30px; background: var(--fwg-muted); }
.fwg-flow__tray { width: 100%; background: var(--fwg-green); border-radius: var(--fwg-radius-sm); padding: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fwg-flow__area { background: rgba(255, 255, 255, 0.08); border-radius: 4px; padding: 16px 14px; color: #fff; }
.fwg-flow__area strong { display: block; font-size: 0.8125rem; margin-bottom: 10px; }
.fwg-flow__area span { font-size: 0.8125rem; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 900px) { .fwg-flow__tray { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fwg-flow__tray { grid-template-columns: 1fr; } }

/* Case-study rows: copy left, photo right, hairline between */
.fwg-cases { margin-top: 40px; }
.fwg-case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; padding: 36px 0; border-bottom: 1px solid var(--fwg-hairline); }
.fwg-case__copy { display: flex; flex-direction: column; }
.fwg-case__title { font-size: var(--fwg-h3); font-weight: 500; line-height: 1.3; }
.fwg-case__title .fwg-accent { color: var(--fwg-ink); font-weight: 500; }
.fwg-case__body { margin-top: 14px; font-size: var(--fwg-small); line-height: 1.65; color: var(--fwg-body); }
.fwg-case__media img { width: 100%; border-radius: var(--fwg-radius-sm); }
@media (max-width: 780px) { .fwg-case { grid-template-columns: 1fr; } }

/* Amber callout with the reserved media panel from the comps */
.fwg-callout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.25rem, 2vw, 2rem); align-items: center; background: var(--fwg-amber); border-radius: var(--fwg-radius-sm); padding: 22px; margin-top: 40px; }
.fwg-callout__panel { display: block; background: var(--fwg-green); border-radius: 4px; aspect-ratio: 16 / 7; }
.fwg-callout__body { font-size: var(--fwg-small); font-weight: 600; line-height: 1.6; color: var(--fwg-ink); }
@media (max-width: 780px) { .fwg-callout { grid-template-columns: 1fr; } }

/* Country tab strip */
.fwg-tabstrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px clamp(1.5rem, 4vw, 4rem); }
.fwg-tabstrip__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 400; }
.fwg-tabstrip .fwg-chips { flex: 0 1 auto; justify-content: flex-end; }
.fwg-tabstrip .fwg-chips:first-child { justify-content: flex-start; }
@media (max-width: 760px) { .fwg-tabstrip .fwg-chips { justify-content: flex-start; } }
.fwg-tabstrip .fwg-chip { padding: 9px 22px; font-size: 0.875rem; }
.fwg-countrypanel:focus { outline: none; }
.fwg-legacy > * + * { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.fwg-countrypanel[hidden] { display: none; }
/* Split-page cards (Consumer Research & SBCC): the card for the page being
   read has a filled button. */
.fwg-tabcards .fwg-btn[aria-current="page"] { background: var(--fwg-green); color: #fff; }
.fwg-tabcards .fwg-btn[aria-current="page"] .fwg-btn__icon { background: var(--fwg-white); color: var(--fwg-green); }
.fwg-countryprose { max-width: 1100px; }
.fwg-listtitle { margin-top: 1.2em; font-weight: 700; color: var(--fwg-ink); font-size: var(--fwg-small); }
.fwg-bullets { margin-top: 0.8em; padding-left: 1.2em; }
.fwg-bullets li { list-style: disc; font-size: var(--fwg-small); line-height: 1.65; color: var(--fwg-body); margin-top: 0.7em; }

/* Three-up pilot cards: a reserved image well above each paragraph */
.fwg-pcard p { margin-top: 16px; font-size: 0.8125rem; line-height: 1.65; color: var(--fwg-body); }
.fwg-pcard__well { display: block; background: var(--fwg-yellow); border-radius: var(--fwg-radius-sm); aspect-ratio: 16 / 11; }

/* Stat band — white by default, green on the Rwanda pilot results */
.fwg-statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: clamp(1.25rem, 2vw, 2.5rem); padding: clamp(1.75rem, 1.4rem + 2vw, 3rem) 0; }
.fwg-statband--green { background: var(--fwg-green); color: #fff; border-radius: var(--fwg-radius-sm); padding-inline: clamp(1.5rem, 1.2rem + 2vw, 3rem); }
.fwg-statband__value { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--fwg-green); }
.fwg-statband--green .fwg-statband__value { color: #fff; }
.fwg-statband__caption { margin-top: 10px; font-size: 0.8125rem; font-weight: 700; line-height: 1.35; color: var(--fwg-ink); }
.fwg-statband--green .fwg-statband__caption { color: rgba(255, 255, 255, 0.92); font-weight: 500; }

/* Stat rail beside prose (Kenya) */
.fwg-statsplit { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; margin-top: 28px; }
.fwg-statrail { display: grid; gap: 18px; }
.fwg-statrail li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.fwg-statrail__icon { width: 46px; height: 46px; border-radius: var(--fwg-radius-sm); background: var(--fwg-amber); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fwg-statrail strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--fwg-green); line-height: 1.1; }
.fwg-statrail li > span > span { display: block; font-size: 0.75rem; font-weight: 700; color: var(--fwg-ink); margin-top: 2px; }
@media (max-width: 860px) { .fwg-statsplit { grid-template-columns: 1fr; } }

/* Data table */
.fwg-tablewrap { overflow-x: auto; }
.fwg-table { border-collapse: collapse; width: 100%; max-width: 720px; font-size: 0.8125rem; }
.fwg-table caption { text-align: left; font-weight: 700; color: var(--fwg-ink); padding-bottom: 10px; }
.fwg-table th, .fwg-table td { border: 1px solid var(--fwg-hairline); padding: 10px 14px; text-align: left; }
.fwg-table th { font-weight: 500; color: var(--fwg-body); }
.fwg-table td { font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   9j. NEWSLETTERS  (Media & Events ▸ Newsletters)
   Cover cards in a 3-up grid, and the hosted campaign embed on each issue.
   ========================================================================== */

/* The card is the publication card without the download counter: the comp
   shows cover, title, button and nothing else. Kept as its own block rather
   than a .fwg-pub modifier because the media well is a different ratio and
   the title is a step larger — two overrides deep, a modifier costs more to
   read than a sibling. */
.fwg-newsletter {
  display: flex; flex-direction: column; background: var(--fwg-white);
  border-radius: var(--fwg-radius-lg); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 45, 34, 0.08);
  transition: transform var(--fwg-slow) var(--fwg-ease), box-shadow var(--fwg-slow) var(--fwg-ease);
}
.fwg-newsletter:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 45, 34, 0.14); }

/* 912 / 536 is the cover slot measured off the comp (456×268 at the 1728px
   canvas). Matching the registered fwga-newsletter size exactly means the
   bulletin artwork is never cropped through its own wordmark. */
.fwg-newsletter__media { aspect-ratio: 912 / 536; background: var(--fwg-hairline); overflow: hidden; }
.fwg-newsletter__media a { display: block; height: 100%; }
.fwg-newsletter__media img { width: 100%; height: 100%; object-fit: cover; }

.fwg-newsletter__body {
  display: flex; flex-direction: column; flex: 1;
  gap: clamp(1.125rem, 0.9rem + 0.8vw, 1.75rem);
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem) clamp(1.25rem, 0.9rem + 1.4vw, 2rem) clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}

/* Uppercased in CSS, not in the title itself, so the admin list, the browser
   tab and search results all read "Q1 2025 Newsletter" rather than shouting. */
.fwg-newsletter__title {
  font-size: var(--fwg-h3); font-weight: 500; line-height: 1.3;
  text-transform: uppercase; color: var(--fwg-ink);
}
.fwg-newsletter__title a { text-decoration: none; }
.fwg-newsletter__title a:hover { color: var(--fwg-green); }

.fwg-newsletter__body .fwg-btn { margin-top: auto; }
.fwg-newsletter__back { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* Hosted campaign embed.

   The campaign is cross-origin and posts no height message, so the frame
   cannot size itself to its content — it gets a generous fixed height and
   scrolls internally. --fwg-embed-h is the knob: the `embed_height` field
   writes it inline per issue.

   Mobile gets a shorter frame on purpose. A tall internally-scrolling iframe
   on a touch screen traps the gesture and makes the page below unreachable;
   a shorter one keeps the page edges within reach of a thumb, and the
   "open in a new tab" button above is the way out for anyone who would
   rather read it full screen. */
.fwg-embed {
  --fwg-embed-h: clamp(760px, 118vh, 1800px);
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
  border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-lg);
  overflow: hidden; background: var(--fwg-white);
}
.fwg-embed__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 20px; padding: 16px clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  border-bottom: 1px solid var(--fwg-hairline); background: var(--fwg-mist);
}
.fwg-embed__note { font-size: var(--fwg-small); color: var(--fwg-muted); }
.fwg-embed__frame { display: block; width: 100%; height: var(--fwg-embed-h); border: 0; }

@media (max-width: 860px) {
  .fwg-embed { --fwg-embed-h: 70vh; }
  .fwg-embed__head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.fwg-footer { --fwg-footer-logo-w: clamp(190px, 18vw, 235px); /* logo + watermark share it */ background: var(--fwg-green); color: #fff; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--fwg-gutter) 40px; }
.fwg-footer__inner { max-width: var(--fwg-content); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 4vw, 5rem); }
.fwg-footer__brand .fwg-brand img { width: var(--fwg-footer-logo-w); height: auto; }
.fwg-footer__cols { display: flex; flex-direction: column; gap: 24px; }
.fwg-footer__blurb { color: rgba(255, 255, 255, 0.9); line-height: 1.5; }
.fwg-footer__contact { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.fwg-footer__contact a, .fwg-footer__contact span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.fwg-footer__contact a:hover { color: var(--fwg-yellow); }

.fwg-social { display: flex; flex-wrap: wrap; gap: 14px; }
.fwg-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #fff; transition: color var(--fwg-fast), transform var(--fwg-fast); }
.fwg-social a:hover { color: var(--fwg-yellow); transform: translateY(-2px); }

.fwg-footer__nav { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.fwg-footer__nav a { font-weight: 700; text-decoration: none; }
.fwg-footer__nav a:hover { color: var(--fwg-yellow); }
.fwg-footer__rule { border: 0; border-top: 1px solid var(--fwg-hairline-d); margin: 8px 0; }
.fwg-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fwg-small); color: rgba(255, 255, 255, 0.85); }
.fwg-footer__legal a { text-decoration: none; }
.fwg-footer__legal a:hover { color: var(--fwg-yellow); }
.fwg-footer__copy { font-size: var(--fwg-small); color: rgba(255, 255, 255, 0.85); }
@media (max-width: 860px) { .fwg-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. PAGINATION, FORMS, NOTICES
   ========================================================================== */
.fwg-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.fwg-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--fwg-radius-pill);
  border: 1px solid var(--fwg-hairline); text-decoration: none; font-weight: 600; color: var(--fwg-ink);
}
.fwg-pagination .page-numbers:hover { border-color: var(--fwg-green); color: var(--fwg-green); }
.fwg-pagination .current { background: var(--fwg-green); border-color: var(--fwg-green); color: #fff; }

/* Tabpanel wrapper — hidden panels are toggled by JS; the group itself only
   needs to be a focus target (tabindex="-1") for the tabs pattern. */
.fwg-partner-group:focus { outline: none; }
.fwg-partner-group[hidden] { display: none; }

.fwg-widget { padding-bottom: 28px; border-bottom: 1px solid var(--fwg-hairline); margin-bottom: 28px; }
.fwg-widget .fwg-kicker { color: var(--fwg-green); margin-bottom: 12px; }

/* 7c. Masthead slider — slides are stacked and cross-faded, so the headline
   never slides off mid-read and the band height stays constant. */
.fwg-slider { position: relative; isolation: isolate; display: grid; }
.fwg-slider__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(340px, 40vw, 620px);
  padding: clamp(2.5rem, 2rem + 4vw, 6rem) var(--fwg-gutter) clamp(4rem, 3rem + 4vw, 7rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--fwg-slow) var(--fwg-ease), visibility var(--fwg-slow);
}
.fwg-slider__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.fwg-slider__slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,40,30,0.72) 0%, rgba(0,40,30,0.42) 45%, rgba(0,40,30,0.08) 100%);
}
.fwg-slider__video { width: 100%; height: 100%; object-fit: cover; }
/* Without JS no slide gets .is-active, so reveal the first via :first-child
   rather than leaving an empty band. */
.no-js .fwg-slider__slide:first-child { opacity: 1; visibility: visible; }

.fwg-slider__bars {
  position: absolute; z-index: 2; left: var(--fwg-gutter);
  bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: flex; gap: 10px;
}
.fwg-slider__bar {
  width: clamp(32px, 6vw, 56px); height: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.4); border-radius: 2px;
  transition: background var(--fwg-fast) var(--fwg-ease), transform var(--fwg-fast);
}
.fwg-slider__bar:hover { transform: scaleY(1.6); }
.fwg-slider__bar.is-active { background: var(--fwg-amber); }

.fwg-slider__pause {
  position: absolute; z-index: 2; right: var(--fwg-gutter);
  bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.7); background: rgba(0,40,30,0.35);
  color: #fff; font-size: 0.7rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.fwg-slider__pause:hover { background: var(--fwg-green); border-color: var(--fwg-green); }

/* 7d. Video — click-to-load facade keeps the embed off the initial page load */
.fwg-video { max-width: 720px; margin-inline: auto; border-radius: var(--fwg-radius-card); overflow: hidden; aspect-ratio: 16 / 9; background: #000; position: relative; }
.fwg-video iframe, .fwg-video video { width: 100%; height: 100%; border: 0; display: block; }
.fwg-video__facade {
  width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000;
  position: relative; display: block;
}
.fwg-video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity var(--fwg-fast); }
.fwg-video__facade:hover img { opacity: 1; }
.fwg-video__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--fwg-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px; /* optical centring of the triangle */
  transition: transform var(--fwg-fast) var(--fwg-ease), background var(--fwg-fast);
}
.fwg-video__facade:hover .fwg-video__play { transform: scale(1.08); background: var(--fwg-amber); }

/* Awaiting-film state: same frame, but visibly inert — no pointer, muted play
   badge and a label, so it never looks like a player that failed to load. */
.fwg-video__empty { position: relative; width: 100%; height: 100%; }
.fwg-video__empty img { width: 100%; height: 100%; object-fit: cover; }
.fwg-video__play--muted { background: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.55); }
.fwg-video__label {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: var(--fwg-small); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}

/* 7e. Awaiting-content page — deliberately unlike the rest of the site, so a
   stub never reads as a finished page. */
.fwg-awaiting {
  min-height: 52vh; display: flex; align-items: center;
  padding: clamp(3rem, 2rem + 5vw, 6rem) var(--fwg-gutter); color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 26px, rgba(255,255,255,0) 26px 74px),
    linear-gradient(140deg, var(--fwg-green) 0%, var(--fwg-green-mid) 100%);
}
.fwg-awaiting__inner { max-width: 860px; margin-inline: auto; width: 100%; }
.fwg-awaiting__badge {
  display: inline-block; margin-bottom: 22px;
  font-size: var(--fwg-kicker); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fwg-green); background: var(--fwg-yellow);
  padding: 7px 16px; border-radius: var(--fwg-radius-pill);
}
.fwg-awaiting__note { margin-top: 20px; max-width: 60ch; font-size: var(--fwg-lead); line-height: 1.6; color: rgba(255,255,255,0.9); }
.fwg-awaiting__prose { margin-top: 32px; color: rgba(255,255,255,0.88); }
.fwg-awaiting__prose a { color: var(--fwg-yellow); }
.fwg-awaiting__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.fwg-notice { border-left: 4px solid var(--fwg-amber); background: var(--fwg-mist); padding: 16px 20px; border-radius: var(--fwg-radius-sm); margin-bottom: 28px; }
.fwg-notice--ok { border-left-color: var(--fwg-leaf); }

/* ==========================================================================
   11b. OUR WORK — section builder, projects, country pages
   Components for the School Feeding, Research & Development, Consumer
   Research & SBCC and MEL frames. Every block is a full-width band; the
   builder stacks them (inc/section-builder.php).
   ========================================================================== */
:root {
  /* Condensed numerals on the stat rails and big-number rows. */
  --fwg-font-num: "Bebas Neue", "Oswald", "Arial Narrow", var(--fwg-font);
}
.fwg-num { font-family: var(--fwg-font-num); font-weight: 400; letter-spacing: 0.005em; }

.fwg-section--flow { padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.fwg-section--head { padding-bottom: 0; }
.fwg-section--tabstrip { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.fwg-section--tabstrip + .fwg-section,
.fwg-section--tabstrip + .fwg-countrypanel > .fwg-section:first-child,
.fwg-section--tabstrip + .fwg-countrypanel + .fwg-countrypanel > .fwg-section:first-child { padding-top: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
.fwg-countrypanel > .fwg-section:first-child { padding-top: clamp(1rem, 0.6rem + 1.5vw, 2rem); }

.fwg-prose--sm { font-size: 0.9375rem; line-height: 1.6; }
.fwg-prose--sm > * + * { margin-top: 1em; }
.fwg-prose--sm h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; color: var(--fwg-ink); margin-top: 1.5em; }
.fwg-prose--sm h3:first-child { margin-top: 0; }
.fwg-band-green .fwg-prose, .fwg-band-green .fwg-prose h3 { color: rgba(255, 255, 255, 0.92); }
.fwg-band-green .fwg-prose h3 { color: #fff; }

.fwg-sec-title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); font-weight: 500; line-height: 1.2; color: var(--fwg-ink); }
.fwg-sec-title--accent { color: var(--fwg-green); font-weight: 600; font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.fwg-band-green .fwg-sec-title, .fwg-band-green .fwg-sec-title--accent { color: #fff; }

/* Small outline button — card "Read more" pills in the comps. */
.fwg-btn--sm { gap: 10px; padding: 6px 6px 6px 18px; font-size: 0.6875rem; }
.fwg-btn--sm .fwg-btn__icon { width: 24px; height: 24px; }

/* ---- Heading left, text right (section heads) ---- */
.fwg-titleintro { display: grid; grid-template-columns: minmax(200px, 0.55fr) 1.45fr; gap: clamp(1rem, 3vw, 4rem); align-items: start; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3.25rem); }
.fwg-titleintro__body { max-width: 72ch; font-size: 0.9375rem; line-height: 1.6; color: var(--fwg-body); }
.fwg-titleintro__body > * + * { margin-top: 1em; }
.fwg-band-green .fwg-titleintro__body, .fwg-band-green .fwg-titleintro__body p { color: rgba(255, 255, 255, 0.88); }
@media (max-width: 760px) { .fwg-titleintro { grid-template-columns: 1fr; } }

/* ---- Image beside text ---- */
.fwg-mt { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 3.5vw, 4.5rem); align-items: center; }
.fwg-mt--img-right { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.fwg-mt--img-right .fwg-mt__media { order: 2; }
.fwg-mt__media { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.75rem); }
.fwg-mt__media img { width: 100%; border-radius: 8px; object-fit: cover; }
.fwg-mt__title { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 600; line-height: 1.25; color: var(--fwg-ink); margin-bottom: 1rem; }
.fwg-mt--accent .fwg-mt__title { color: var(--fwg-green); }
.fwg-band-green .fwg-mt__title { color: #fff; }
/* Green box: copy on green, photo flush to the box edge. */
.fwg-mt--boxed { background: var(--fwg-green); border-radius: 12px; overflow: hidden; gap: 0; align-items: stretch; }
.fwg-mt--boxed .fwg-mt__copy { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.fwg-mt--boxed .fwg-mt__title { color: var(--fwg-amber); }
.fwg-mt--boxed .fwg-prose { color: rgba(255, 255, 255, 0.92); }
.fwg-mt--boxed .fwg-mt__media img { height: 100%; border-radius: 0; }
@media (max-width: 860px) {
  .fwg-mt, .fwg-mt--img-right { grid-template-columns: 1fr; }
  .fwg-mt--img-right .fwg-mt__media { order: 0; }
}

/* ---- Colour panel beside a full-bleed photo ---- */
.fwg-bandsplit { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.fwg-bandsplit__copy {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: var(--fwg-rhythm) clamp(1.5rem, 4vw, 5rem) var(--fwg-rhythm) max(var(--fwg-gutter), calc((min(100vw, var(--fwg-canvas)) - var(--fwg-content)) / 2));
}
.fwg-bandsplit--img-left .fwg-bandsplit__media { order: -1; }
.fwg-bandsplit--img-left .fwg-bandsplit__copy { padding-left: clamp(1.5rem, 4vw, 5rem); padding-right: max(var(--fwg-gutter), calc((min(100vw, var(--fwg-canvas)) - var(--fwg-content)) / 2)); }
.fwg-bandsplit__title { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 600; line-height: 1.25; }
.fwg-bandsplit.fwg-band-amber .fwg-bandsplit__title { color: var(--fwg-green); font-weight: 700; }
.fwg-bandsplit.fwg-band-amber .fwg-prose { color: var(--fwg-green); font-weight: 600; }
.fwg-bandsplit .fwg-btn { margin-top: 8px; }
.fwg-bandsplit__media { min-height: 320px; }
.fwg-bandsplit__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .fwg-bandsplit { grid-template-columns: 1fr; }
  .fwg-bandsplit__media { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .fwg-bandsplit__copy, .fwg-bandsplit--img-left .fwg-bandsplit__copy { padding: clamp(2rem, 6vw, 3rem) var(--fwg-gutter); }
}

/* ---- Photo strip ---- */
.fwg-strip { height: clamp(220px, 26vw, 380px); overflow: hidden; }
.fwg-strip--short { height: clamp(160px, 18vw, 260px); }
.fwg-strip--tall { height: clamp(280px, 36vw, 540px); }
.fwg-strip img { width: 100%; height: 100%; object-fit: cover; }
.fwg-strip--contained { max-width: var(--fwg-content); margin: 0 auto; padding-inline: var(--fwg-gutter); box-sizing: content-box; }
.fwg-strip--contained img { border-radius: 8px; }

/* ---- Stat rail beside a content column (School Feeding projects) ---- */
.fwg-section--rail { padding-top: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
.fwg-rail { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6.5rem); align-items: start; }
.fwg-rail__side { display: flex; flex-direction: column; gap: 28px; }
.fwg-rail__title { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); font-weight: 400; }
.fwg-back { display: inline-flex; width: fit-content; font-size: 1.75rem; line-height: 1; color: var(--fwg-muted); text-decoration: none; margin-bottom: -12px; }
.fwg-back:hover { color: var(--fwg-green); }
.fwg-railstats { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2.25rem); }
.fwg-railstats li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start; }
.fwg-railstats__icon {
  width: 62px; height: 62px; border-radius: 8px; background: var(--fwg-amber); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.fwg-railstats__text strong { display: block; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); line-height: 0.95; color: var(--fwg-green); }
.fwg-railstats__text > span { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--fwg-green); }
.fwg-rail__note { font-size: 0.9375rem; font-style: italic; line-height: 1.45; color: var(--fwg-ink); }
.fwg-rail__main { display: flex; flex-direction: column; gap: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); min-width: 0; }
.fwg-main__title { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); font-weight: 700; line-height: 1.25; color: var(--fwg-green); margin-bottom: 1rem; }
.fwg-main__intro { font-size: 0.9375rem; color: var(--fwg-body); margin-bottom: 1.25rem; }
.fwg-mainimg img { width: 100%; border-radius: 8px; object-fit: cover; }
.fwg-mainimg figcaption { margin-top: 8px; font-size: var(--fwg-small); color: var(--fwg-muted); }
@media (max-width: 900px) { .fwg-rail { grid-template-columns: 1fr; } .fwg-railstats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

/* "Make An Impact" donate card */
.fwg-impact { background: var(--fwg-amber); border-radius: 8px; padding: 12px 12px 20px; display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.fwg-impact__media { aspect-ratio: 1 / 1.07; border-radius: 6px; overflow: hidden; background: var(--fwg-yellow); }
.fwg-impact__media img { width: 100%; height: 100%; object-fit: cover; }
.fwg-impact__title { padding-inline: 6px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 700; color: var(--fwg-ink); }
.fwg-impact .fwg-btn { margin-left: 6px; }

/* Two-column points (Project Objectives) */
.fwg-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(1.5rem, 3vw, 3rem); }
.fwg-points h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 10px; }
.fwg-points p { font-size: 0.875rem; line-height: 1.55; color: var(--fwg-body); }
@media (max-width: 560px) { .fwg-points { grid-template-columns: 1fr; } }

/* Partner list — green icon tiles */
.fwg-partnerlist { display: grid; gap: 22px; }
.fwg-partnerlist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(1.25rem, 2.5vw, 2.5rem); }
.fwg-partnerlist li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.fwg-partnerlist__icon { width: 56px; height: 56px; border-radius: 8px; background: var(--fwg-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fwg-partnerlist strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--fwg-ink); margin-bottom: 4px; }
.fwg-partnerlist li > span > span { display: block; font-size: 0.875rem; line-height: 1.5; color: var(--fwg-body); }
@media (max-width: 900px) { .fwg-partnerlist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fwg-partnerlist--3 { grid-template-columns: 1fr; } }

/* Grid table (Progress to Date) */
.fwg-table--grid { max-width: none; font-size: 0.8125rem; }
.fwg-table--grid thead th { font-weight: 700; color: var(--fwg-ink); background: var(--fwg-mist); }
.fwg-table--grid td { white-space: normal; }

/* ---- Workstream rows ---- */
.fwg-ws { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-bottom: 1px solid var(--fwg-hairline); }
.fwg-ws:first-of-type { padding-top: 0; }
.fwg-ws--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.fwg-ws--flip .fwg-ws__media { order: 2; }
.fwg-ws__media img { width: 100%; border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; }
.fwg-ws__title { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; color: var(--fwg-green); margin-bottom: 14px; }
.fwg-band-green .fwg-ws { border-bottom-color: var(--fwg-hairline-d); }
.fwg-band-green .fwg-ws__title { color: #fff; }
@media (max-width: 860px) {
  .fwg-ws, .fwg-ws--flip { grid-template-columns: 1fr; }
  .fwg-ws--flip .fwg-ws__media { order: 0; }
}

/* ---- Card grid (Approaches, Lessons) ---- */
.fwg-gcards { align-items: stretch; }
.fwg-gcard { background: #fff; color: var(--fwg-ink); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 24px rgba(0, 30, 22, 0.12); }
.fwg-gcard__well { display: block; width: 44px; height: 44px; margin: 22px 22px 0; border-radius: 3px; background: var(--fwg-amber); }
.fwg-gcard__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.fwg-gcard__well + .fwg-gcard__body { padding-top: 34px; }
.fwg-gcard__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.fwg-gcard p { font-size: 0.875rem; line-height: 1.5; color: var(--fwg-body); }
.fwg-band-green .fwg-gcard p { color: var(--fwg-body); }
.fwg-gcard__media { aspect-ratio: 16 / 6; overflow: hidden; }
.fwg-gcard__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Big numbers ---- */
.fwg-bigstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1.25rem, 2.5vw, 3rem); }
.fwg-bigstats__value { font-size: clamp(3.25rem, 2.4rem + 3.2vw, 5.5rem); line-height: 0.95; color: var(--fwg-green); }
.fwg-bigstats__caption { margin-top: 12px; font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: var(--fwg-green); max-width: 22ch; }

/* ---- Intro beside list cards (R & D Work) ---- */
.fwg-listcards { display: grid; grid-template-columns: minmax(180px, 0.6fr) 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.fwg-listcards__intro p { margin-top: 16px; font-size: 0.9375rem; line-height: 1.55; color: var(--fwg-body); }
.fwg-listcard { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 22px rgba(0, 30, 22, 0.1); }
.fwg-listcard__head { background: var(--fwg-green); color: #fff; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); font-weight: 600; line-height: 1.35; padding: 20px 24px; }
.fwg-listcard ul { padding: 24px 28px 28px; display: grid; gap: 22px; }
.fwg-listcard li { font-size: 0.875rem; line-height: 1.55; color: var(--fwg-body); }
@media (max-width: 1000px) { .fwg-listcards { grid-template-columns: 1fr 1fr; } .fwg-listcards__intro { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fwg-listcards { grid-template-columns: 1fr; } }

/* ---- Logo band ---- */
.fwg-logos__title { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; margin-bottom: 18px; }
.fwg-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.fwg-logos li { background: #fff; border-radius: 6px; min-height: 78px; display: flex; align-items: center; justify-content: center; padding: 8px 14px; }
.fwg-logos li a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fwg-logos img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.fwg-logos span { font-size: 0.8125rem; font-weight: 700; color: var(--fwg-ink); text-align: center; }
.fwg-band-white .fwg-logos li, .fwg-band-mist .fwg-logos li { border: 1px solid var(--fwg-hairline); }
@media (max-width: 900px) { .fwg-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Accordion (native <details>) ---- */
.fwg-accordion { display: grid; gap: 16px; align-items: start; }
.fwg-accordion--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
@media (max-width: 760px) { .fwg-accordion--2 { grid-template-columns: 1fr; } }
.fwg-acc { border: 1px solid var(--fwg-hairline); border-radius: 6px; background: #fff; }
.fwg-acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  padding: 16px 22px; font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem); font-weight: 500; color: var(--fwg-body);
}
.fwg-acc summary::-webkit-details-marker { display: none; }
.fwg-acc__sign { position: relative; width: 14px; height: 14px; flex: 0 0 auto; color: var(--fwg-ink); }
.fwg-acc__sign::before, .fwg-acc__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform var(--fwg-fast) var(--fwg-ease); }
.fwg-acc__sign::after { transform: rotate(90deg); }
.fwg-acc[open] .fwg-acc__sign::after { transform: rotate(0deg); }
.fwg-acc__body { padding: 0 22px 20px; }
.fwg-accordion--faq .fwg-acc { border: 0; border-radius: 0; background: #F5F5F5; }
.fwg-accordion--faq .fwg-acc summary { padding: 22px 36px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: #000; font-weight: 500; }
.fwg-accordion--faq .fwg-acc__body { padding: 0 36px 26px; font-size: 0.875rem; }

/* ---- Numbered phases: tiles + vertical stepper ---- */
.fwg-phases__kicker { font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3125rem); font-weight: 700; color: var(--fwg-green); margin-bottom: 18px; }
.fwg-phases__kicker strong { text-transform: uppercase; }
.fwg-phases__tiles { display: grid; grid-template-columns: repeat(var(--fwg-tiles, 4), minmax(0, 1fr)); gap: 16px 20px; counter-reset: none; }
.fwg-phase-tile {
  display: flex; flex-direction: column; height: 100%; padding: 20px 18px 22px; border-radius: 6px;
  background: var(--fwg-amber); color: var(--fwg-ink); text-decoration: none;
  transition: background var(--fwg-fast) var(--fwg-ease), transform var(--fwg-fast) var(--fwg-ease);
}
.fwg-phase-tile:hover, .fwg-phase-tile:focus-visible { background: var(--fwg-amber-dark); }
/* Tiles without the step-by-step band are not links: no hover change. */
.fwg-phase-tile--static, .fwg-phase-tile--static:hover { cursor: default; background: var(--fwg-amber); }
.fwg-phase-tile__icon { width: 56px; height: 56px; border-radius: 3px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.fwg-phase-tile__icon img { width: 70%; height: 70%; object-fit: contain; }
.fwg-phase-tile__num { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.fwg-phase-tile__title { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); font-weight: 700; line-height: 1.35; }
.fwg-phases__foot { margin-top: 18px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: var(--fwg-ink); }
@media (max-width: 900px) { .fwg-phases__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fwg-stepper { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: start; }
.fwg-stepper__nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 140px; }
.fwg-stepper__nav a { padding: 6px 0; font-size: 0.875rem; font-weight: 700; color: var(--fwg-green); text-decoration: none; }
.fwg-stepper__nav a:hover { color: var(--fwg-amber-dark); }
.fwg-stepper__nav a[aria-selected="true"] { color: var(--fwg-ink); text-decoration: underline; text-decoration-color: var(--fwg-amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fwg-stepper__panel:focus { outline: none; }
.fwg-stepper__panel[hidden] { display: none; }
.fwg-stepper__panel + .fwg-stepper__panel { margin-top: 48px; } /* no-JS: panels stack */
.fwg-stepper__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; margin-bottom: 16px; }
@media (max-width: 760px) { .fwg-stepper { grid-template-columns: 1fr; } .fwg-stepper__nav { position: static; } }

/* ---- Project cards & "Discover more" ---- */
.fwg-workcard { display: flex; flex-direction: column; gap: 18px; }
.fwg-workcard__media { display: block; aspect-ratio: 16 / 10.5; border-radius: 8px; overflow: hidden; background: var(--fwg-hairline); }
.fwg-workcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fwg-slow) var(--fwg-ease); }
.fwg-workcard:hover .fwg-workcard__media img { transform: scale(1.03); }
.fwg-workcard__body { display: flex; flex-direction: column; gap: 12px; padding-inline: 6px; flex: 1; }
.fwg-workcard__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fwg-amber-dark); }
.fwg-workcard__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 400; line-height: 1.25; color: var(--fwg-ink); }
.fwg-workcard--accent .fwg-workcard__title { color: var(--fwg-green); }
.fwg-workcard__title a { text-decoration: none; }
.fwg-workcard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fwg-workcard__text { font-size: 0.875rem; line-height: 1.45; color: var(--fwg-muted); }
.fwg-workcard .fwg-btn { margin-top: 10px; }

.fwg-discover { display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.6fr; gap: clamp(1.5rem, 3vw, 4rem); align-items: start; }
.fwg-discover__title { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); font-weight: 600; line-height: 1.25; }
.fwg-discover__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fwg-grid-gap); }
@media (max-width: 860px) { .fwg-discover { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fwg-discover__cards { grid-template-columns: 1fr; } }

/* Green closing callout with a photo (Policy & Advocacy) */
.fwg-greencallout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; background: var(--fwg-green); border-radius: 6px; padding: 18px; }
.fwg-greencallout__media img { width: 100%; border-radius: 4px; aspect-ratio: 16 / 4.4; object-fit: cover; }
.fwg-greencallout__body { color: #fff; font-size: 0.9375rem; font-weight: 700; line-height: 1.5; padding-right: 2rem; }
@media (max-width: 780px) { .fwg-greencallout { grid-template-columns: 1fr; } .fwg-greencallout__body { padding: 0 6px 6px; } }

/* Two bands of the same colour in a row read as one: no doubled padding.
   Scoped to Our Work, whose pages are stacked from builder sections. */
:is(.single-programme, .single-country) .fwg-section.fwg-band-white + .fwg-section.fwg-band-white,
:is(.single-programme, .single-country) .fwg-section.fwg-band-mist + .fwg-section.fwg-band-mist { padding-top: 0; }

/* A stand-alone heading keeps a little air above the block it introduces. */
:is(.single-programme, .single-country) .fwg-section--head + .fwg-section { padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* Country pages */
.fwg-countrywork__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }

/* ==========================================================================
   11c. HOME HIGHLIGHTS · FAQs · GALLERY · BIO POP-UP
   ========================================================================== */
.fwg-highlights__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; }
.fwg-chips--sm { gap: 10px; }
.fwg-chips--sm .fwg-chip { padding: 8px 20px; font-size: 0.875rem; }
.fwg-highlights__panel:focus { outline: none; }
.fwg-highlights__panel[hidden] { display: none; }
.fwg-highlights__more { margin-top: 28px; }

/* FAQs */
.fwg-faq { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.fwg-faq__side { background: var(--fwg-green); border-radius: 16px; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.fwg-faq__nav { display: flex; flex-direction: column; gap: 6px; }
.fwg-faq__nav a { display: block; padding: 12px 12px; border-radius: 6px; color: #fff; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: background var(--fwg-fast); }
.fwg-faq__nav a:hover { background: rgba(255, 255, 255, 0.08); }
.fwg-faq__nav a[aria-selected="true"] { background: #FFB800; color: var(--fwg-ink); }
.fwg-faq__image { margin-top: 28px; border-radius: 6px; overflow: hidden; }
.fwg-faq__image img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.fwg-faq__panel:focus { outline: none; }
.fwg-faq__panel[hidden] { display: none; }
.fwg-faq__panel + .fwg-faq__panel { margin-top: 48px; } /* no-JS: categories stack */
.fwg-faq__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; margin-bottom: 28px; color: #333; }
@media (max-width: 900px) { .fwg-faq { grid-template-columns: 1fr; } }

/* Media & Gallery */
.fwg-gallery__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 400; margin-bottom: 28px; }
.fwg-gallery__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--fwg-gutter), calc((min(100vw, var(--fwg-canvas)) - var(--fwg-content)) / 2));
  scroll-padding-inline: max(var(--fwg-gutter), calc((min(100vw, var(--fwg-canvas)) - var(--fwg-content)) / 2));
  scrollbar-width: none;
}
.fwg-gallery__track::-webkit-scrollbar { display: none; }
.fwg-gallery__slide { flex: 0 0 auto; scroll-snap-align: start; margin: 0; height: clamp(240px, 24vw, 420px); }
.fwg-gallery__slide img { height: 100%; width: auto; max-width: 80vw; border-radius: 6px; object-fit: cover; }
.fwg-gallery__slide figcaption { display: none; }
.fwg-gallery__controls { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 22px; }
.fwg-gallery__arrow { border: 0; background: none; cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 6px 10px; color: var(--fwg-ink); }
.fwg-gallery__arrow:hover { color: var(--fwg-green); }
.fwg-gallery__count { font-size: 0.9375rem; min-width: 6ch; text-align: center; }
.fwg-albums { row-gap: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.fwg-album { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--fwg-ink); }
.fwg-album__media { display: block; aspect-ratio: 4 / 3.7; border-radius: 8px; overflow: hidden; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color var(--fwg-fast); }
.fwg-album__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fwg-slow) var(--fwg-ease); }
.fwg-album:hover .fwg-album__media img { transform: scale(1.03); }
.fwg-album.is-active .fwg-album__media { outline-color: var(--fwg-amber); }
.fwg-album__title { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); font-weight: 500; }
.fwg-videocard { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fwg-videocard .fwg-video { max-width: none; width: 100%; }
.fwg-photogrid .fwg-gallery__slide { height: auto; }
.fwg-photogrid .fwg-gallery__slide img { width: 100%; max-width: none; aspect-ratio: 4 / 3; }
.fwg-photogrid .fwg-gallery__slide figcaption { display: block; margin-top: 8px; font-size: var(--fwg-small); color: var(--fwg-muted); }

/* Leadership bio pop-up (native <dialog>) */
.fwg-modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--fwg-ink); box-shadow: 0 30px 80px rgba(0, 30, 22, 0.35); overflow: auto; }
.fwg-modal::backdrop { background: rgba(0, 32, 24, 0.72); }
.fwg-modal[open] { animation: fwg-modal-in var(--fwg-slow) var(--fwg-ease); }
@keyframes fwg-modal-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.fwg-modal__card { position: relative; display: grid; grid-template-columns: minmax(200px, 300px) 1fr; }
.fwg-modal__media { background: var(--fwg-amber); }
.fwg-modal__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.fwg-modal__body { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.fwg-modal__name { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); font-weight: 700; color: var(--fwg-green); }
.fwg-modal__role { margin: 6px 0 22px; font-weight: 600; color: var(--fwg-amber-dark); }
.fwg-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--fwg-green); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.fwg-modal__close:hover { background: var(--fwg-green-dark); }
body.fwg-modal-open { overflow: hidden; }
@media (max-width: 640px) { .fwg-modal__card { grid-template-columns: 1fr; } .fwg-modal__media img { min-height: 0; aspect-ratio: 1 / 1; } }
/* Without JS (or <dialog> support), the bio shows in place under its card. */
:is(.no-js, .fwg-no-dialog) .fwg-modal { display: block; position: static; width: auto; max-height: none; margin: 12px 0 0; box-shadow: none; background: transparent; color: rgba(255, 255, 255, 0.9); border-radius: 0; }
:is(.no-js, .fwg-no-dialog) .fwg-modal__media, :is(.no-js, .fwg-no-dialog) .fwg-modal__close, :is(.no-js, .fwg-no-dialog) .fwg-modal__name, :is(.no-js, .fwg-no-dialog) .fwg-modal__role { display: none; }
:is(.no-js, .fwg-no-dialog) .fwg-modal__card { display: block; }
:is(.no-js, .fwg-no-dialog) .fwg-modal__body { padding: 0; }
:is(.no-js, .fwg-no-dialog) .fwg-modal .fwg-prose { color: inherit; }
:is(.no-js, .fwg-no-dialog) .fwg-biolink { display: none; }
.fwg-biolink { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: inherit; }


/* ==========================================================================
   11d. PRESS RELEASES filter bar · CONTACT US form
   ========================================================================== */
.fwg-filters--bar {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 20px 28px; align-items: end;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid var(--fwg-hairline); border-radius: var(--fwg-radius-lg);
}
.fwg-filters--bar .fwg-field input[type="search"] {
  border: 1px solid var(--fwg-hairline); border-radius: 6px; padding: 12px 16px; background: #fff;
}
.fwg-filters--bar .fwg-btn { justify-content: center; padding-block: 12px; }
@media (max-width: 960px) { .fwg-filters--bar { grid-template-columns: 1fr 1fr; } .fwg-filters__keywords { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fwg-filters--bar { grid-template-columns: 1fr; } }
.fwg-results .fwg-link { margin-left: auto; font-size: var(--fwg-small); }

.fwg-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 7rem); max-width: 980px; align-items: start; }
.fwg-contact__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; color: var(--fwg-green); }
.fwg-contact__text { margin-top: 28px; max-width: 34ch; font-size: 0.9375rem; line-height: 1.85; color: var(--fwg-body); }
.fwg-contact__details { margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); display: grid; gap: 22px; }
.fwg-contact__details li { display: grid; grid-template-columns: 22px 1fr; gap: 30px; align-items: center; font-size: 1.125rem; color: var(--fwg-ink); }
.fwg-contact__details svg { color: var(--fwg-ink); }
.fwg-contact__details a { text-decoration: none; }
.fwg-contact__details a:hover { color: var(--fwg-green); text-decoration: underline; }
.fwg-contact__form { display: flex; flex-direction: column; gap: 16px; }
.fwg-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fwg-contact__field { display: flex; flex-direction: column; gap: 6px; }
.fwg-contact__field label { font-size: 0.8125rem; font-weight: 500; color: var(--fwg-ink); }
.fwg-contact__field input, .fwg-contact__field textarea {
  width: 100%; font: inherit; font-size: 0.9375rem; color: var(--fwg-ink);
  background: #F6FAF8; border: 1px solid var(--fwg-ink); border-radius: 3px; padding: 9px 12px;
}
.fwg-contact__field textarea { min-height: 92px; resize: vertical; }
.fwg-contact__field input:focus, .fwg-contact__field textarea:focus { outline: 2px solid var(--fwg-amber); outline-offset: 1px; border-color: var(--fwg-green); }
.fwg-contact__actions { display: flex; justify-content: flex-end; }
.fwg-contact__send {
  min-width: 126px; padding: 10px 28px; border: 0; border-radius: var(--fwg-radius-pill); cursor: pointer;
  background: var(--fwg-green); color: #fff; font: inherit; font-size: 0.8125rem; font-weight: 500;
  transition: background var(--fwg-fast) var(--fwg-ease);
}
.fwg-contact__send:hover, .fwg-contact__send:focus-visible { background: var(--fwg-green-dark); }
.fwg-contact__notice { padding: 12px 16px; border-radius: 6px; font-size: 0.9375rem; font-weight: 600; }
.fwg-contact__notice--ok { background: #E8F5EE; color: var(--fwg-green); }
.fwg-contact__notice--error { background: #FDECEA; color: #8A1C12; }
.fwg-contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .fwg-contact { grid-template-columns: 1fr; } .fwg-contact__details { margin-top: 32px; } }
@media (max-width: 420px) { .fwg-contact__row { grid-template-columns: 1fr; } }


/* ==========================================================================
   11e. CAREERS & OPPORTUNITIES
   ========================================================================== */
.fwg-careers { max-width: 1180px; }
.fwg-careers__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: start; }
.fwg-careers__heading { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.15; max-width: 16ch; }
.fwg-careers__text { font-size: 0.9375rem; line-height: 1.65; color: var(--fwg-muted); max-width: 44ch; }
.fwg-careers__photo { margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: 16px; overflow: hidden; aspect-ratio: 1180 / 480; background: var(--fwg-hairline); }
.fwg-careers__photo img { width: 100%; height: 100%; object-fit: cover; }
.fwg-careers__content { margin-top: 48px; max-width: 840px; }
.fwg-careers__list-title { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 500; }
@media (max-width: 760px) { .fwg-careers__intro { grid-template-columns: 1fr; } }

.fwg-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .fwg-jobs { grid-template-columns: 1fr; } }
.fwg-job__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 28px 90px 26px 30px; border: 1px solid #EAF1ED; border-radius: 12px; background: #FBFDFC;
  color: var(--fwg-ink); text-decoration: none;
  transition: border-color var(--fwg-fast) var(--fwg-ease), box-shadow var(--fwg-fast) var(--fwg-ease), transform var(--fwg-fast) var(--fwg-ease);
}
.fwg-job__link:hover, .fwg-job__link:focus-visible { border-color: var(--fwg-green); box-shadow: 0 10px 28px rgba(0, 45, 34, 0.08); }
.fwg-job__go {
  position: absolute; top: 28px; right: 28px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--fwg-green); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--fwg-fast) var(--fwg-ease), background var(--fwg-fast);
}
.fwg-job__link:hover .fwg-job__go, .fwg-job__link:focus-visible .fwg-job__go { transform: translate(2px, -2px); background: var(--fwg-amber); }
.fwg-job__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.fwg-job__type { margin-top: 6px; font-size: 0.8125rem; color: var(--fwg-muted); }
.fwg-job__summary { margin-top: 22px; font-size: 0.875rem; line-height: 1.6; color: var(--fwg-body); }
.fwg-job__meta { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.8125rem; color: var(--fwg-body); }
.fwg-job__meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* Vacancy page */
.fwg-jobpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fwg-jobpage__lead { font-size: var(--fwg-lead); line-height: 1.6; color: var(--fwg-ink); margin-bottom: 1.5em; }
.fwg-jobpage__facts { position: sticky; top: 140px; border: 1px solid var(--fwg-hairline); border-radius: 12px; padding: 26px; background: #FBFDFC; display: flex; flex-direction: column; gap: 22px; }
.fwg-jobpage__facts dl { display: grid; gap: 16px; margin: 0; }
.fwg-jobpage__facts dt { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fwg-muted); }
.fwg-jobpage__facts dd { margin: 4px 0 0; font-weight: 600; color: var(--fwg-ink); }
@media (max-width: 860px) { .fwg-jobpage { grid-template-columns: 1fr; } .fwg-jobpage__facts { position: static; } }
.fwg-applyform-wrap { max-width: 760px; }
.fwg-applyform { margin-top: 28px; }
.fwg-applyform input[type="file"] { background: #fff; border-style: dashed; padding: 14px 12px; cursor: pointer; }
.fwg-applyform__help { font-size: 0.8125rem; color: var(--fwg-muted); }
.fwg-applyform__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; color: var(--fwg-body); cursor: pointer; }
.fwg-applyform__consent input { margin-top: 3px; accent-color: var(--fwg-green); }


/* ==========================================================================
   11f. MEMBERS · PARTNER OR JOIN
   ========================================================================== */
.fwg-memberintro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.fwg-memberintro__title { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); font-weight: 600; line-height: 1.3; color: var(--fwg-amber); }
.fwg-memberintro__list { margin-top: 14px; padding-left: 1.3em; }
.fwg-memberintro__list li { list-style: disc; font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.125rem); line-height: 1.65; color: var(--fwg-ink); }
.fwg-memberintro__list li + li { margin-top: 4px; }
.fwg-memberintro__list strong { font-weight: 700; }
@media (max-width: 760px) { .fwg-memberintro { grid-template-columns: 1fr; } }

/* Members directory — a block per country, members in a 5-column grid */
.fwg-memberdir { margin-top: 56px; }
.fwg-memberdir__country { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.fwg-memberdir__country-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  font-size: var(--fwg-h3); font-weight: 600; color: var(--fwg-green);
  padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--fwg-hairline);
}
.fwg-memberdir__count { font-size: var(--fwg-small); font-weight: 500; color: var(--fwg-muted); }
.fwg-memberdir__grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.fwg-memberdir__item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  min-height: 112px; padding: 20px; background: var(--fwg-mist);
  border-radius: var(--fwg-radius-card); border-left: 3px solid var(--fwg-amber);
}
.fwg-memberdir__name { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--fwg-ink); }
.fwg-memberdir__link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: var(--fwg-small); font-weight: 600; color: var(--fwg-green);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
  transition: text-decoration-color var(--fwg-fast) var(--fwg-ease);
}
.fwg-memberdir__link:hover, .fwg-memberdir__link:focus-visible { text-decoration-color: currentColor; }
.fwg-memberdir__link:focus-visible { outline: 2px solid var(--fwg-green); outline-offset: 3px; border-radius: 2px; }
.fwg-memberdir__arrow { flex: none; transition: transform var(--fwg-fast) var(--fwg-ease); }
.fwg-memberdir__link:hover .fwg-memberdir__arrow { transform: translate(2px, -2px); }
@media (max-width: 1200px) { .fwg-memberdir__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px)  { .fwg-memberdir__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .fwg-memberdir__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .fwg-memberdir__item { padding: 16px; min-height: 96px; } }
@media (max-width: 400px)  { .fwg-memberdir__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fwg-memberdir__arrow, .fwg-memberdir__link { transition: none; } }

.fwg-listcard__text { padding: 22px 28px 0; font-size: 0.9375rem; line-height: 1.55; color: var(--fwg-ink); }
.fwg-listcard__listtitle { padding: 18px 28px 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fwg-amber-dark); }
.fwg-listcard__listtitle + ul { padding-top: 12px; gap: 10px; }
.fwg-listcard__listtitle + ul li { position: relative; padding-left: 26px; }
.fwg-listcard__listtitle + ul li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; border-radius: 50%; background: var(--fwg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fwg-listcard__note { margin: 0 28px 26px; padding: 14px 16px; border-left: 3px solid var(--fwg-amber); background: #FFF9EC; font-size: 0.8125rem; line-height: 1.5; color: var(--fwg-ink); }

.fwg-loi { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fwg-loi__intro { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 16px; }
.fwg-loi__form { background: #fff; border-radius: 12px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: 0 6px 28px rgba(0, 30, 22, 0.08); }
.fwg-loi__legend { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--fwg-hairline); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fwg-green); }
.fwg-loi__types { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fwg-loi__types legend { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--fwg-ink); }
.fwg-loi__type { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--fwg-hairline); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9375rem; transition: border-color var(--fwg-fast), background var(--fwg-fast); }
.fwg-loi__type:hover { border-color: var(--fwg-green); }
.fwg-loi__type:has(input:checked) { border-color: var(--fwg-green); background: #F1F8F5; }
.fwg-loi__type input { accent-color: var(--fwg-green); }
.fwg-loi__terms { padding: 16px 18px; border-radius: 8px; background: var(--fwg-mist); font-size: 0.8125rem; line-height: 1.55; color: var(--fwg-body); }
.fwg-loi__terms ul { margin-top: 8px; padding-left: 1.2em; }
.fwg-loi__terms li { list-style: disc; margin-top: 4px; }
@media (max-width: 900px) { .fwg-loi { grid-template-columns: 1fr; } .fwg-loi__intro { position: static; } }
@media (max-width: 480px) { .fwg-loi__types { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. MOTION — scroll reveal, honouring prefers-reduced-motion
   ========================================================================== */
.fwg-reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--fwg-slow) var(--fwg-ease), transform var(--fwg-slow) var(--fwg-ease); }
.fwg-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .fwg-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. PRINT
   ========================================================================== */
@media print {
  .fwg-header, .fwg-drawer, .fwg-footer, .fwg-marquee, .fwg-btn, .fwg-gallery__controls { display: none !important; }
  body { color: #000; background: #fff; }
}

/* Country page: the introduction runs straight into the first pulled
   programme group when both are white, so the doubled padding is removed. */
.fwg-countryintro { padding-bottom: calc(var(--fwg-rhythm) / 2); }
.fwg-countryintro + .fwg-section.fwg-band-white { padding-top: calc(var(--fwg-rhythm) / 2); }
