/* Guardians of the Coasts — site styles
   Palette taken from the MarineGuardian reference (marineguardian.eu, Twenty Twenty-Five presets). */
:root {
  --navy: #120065;        /* accent-1: headings, nav, links, primary dark */
  --orange: #f7941d;      /* accent-2: primary buttons, accents */
  --black: #000000;       /* accent-3 */
  --muted: #686868;       /* accent-4: secondary text */
  --cream: #fbfaf3;       /* accent-5: soft panels */
  --grey: #f6f6f6;        /* section / header background */
  --ink: #111111;         /* contrast: body text */
  --white: #ffffff;
  --line: rgba(17, 17, 17, .12);
  --navy-08: rgba(18, 0, 101, .08);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-xl: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --fs-xxl: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --fs-display: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

  --gutter: clamp(1rem, .5rem + 2.5vw, 3rem);
  --wide: 1340px;
  --content: 760px;
  --radius-xl: clamp(70px, 9vw, 150px);  /* the signature MarineGuardian corner */
  --radius-md: clamp(28px, 4vw, 56px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-base); line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: var(--fs-xxl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--content { max-width: calc(var(--content) + 2 * var(--gutter)); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--orange); color: var(--navy);
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1em 1.6em; border: 0; border-radius: 0; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--orange); color: var(--navy); }
.text-link { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--navy); }
.arrow::after { content: "→"; display: inline-block; margin-left: .4em; transition: transform .2s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grey); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 56px; height: 56px; }
.brand span { font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em; max-width: 9.5em; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav li { position: relative; }
.nav-top { display: flex; align-items: center; gap: .3em; background: none; border: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--navy); padding: .6em .7em; cursor: pointer; text-decoration: none; white-space: nowrap; }
.nav-top[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--orange); }
.nav-top svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; list-style: none; margin: 0; padding: .6rem 0; box-shadow: 0 18px 40px rgba(18,0,101,.12); border-top: 3px solid var(--orange); display: none; }
.submenu.is-open { display: block; }
.submenu a { display: block; padding: .5rem 1.25rem; font-size: .92rem; color: var(--ink); text-decoration: none; line-height: 1.35; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--grey); color: var(--navy); }
.submenu .submenu-overview a { font-weight: 700; color: var(--navy); }
.main-nav li:last-child .submenu, .main-nav li:nth-last-child(2) .submenu { left: auto; right: 0; }

.header-tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 50%; }
.icon-btn:hover { background: var(--navy-08); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-switch { display: flex; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch a, .lang-switch span { padding: .35em .45em; text-decoration: none; color: var(--navy); }
.lang-switch [aria-current="true"] { box-shadow: inset 0 -2px 0 var(--orange); }
.lang-switch .is-missing { color: var(--muted); opacity: .55; cursor: not-allowed; }
.lang-switch .sep { color: var(--muted); padding: 0; }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--grey); overflow-y: auto; padding: 1rem var(--gutter) 3rem; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 1rem 0; }
  .submenu { position: static; box-shadow: none; border-top: 0; background: transparent; padding: 0 0 1rem; min-width: 0; }
  .submenu a { padding: .45rem 0 .45rem 1rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .header-inner { gap: .5rem; }
  .lang-switch { font-size: .78rem; }
}

/* ---------- Search overlay ---------- */
.search-panel { position: fixed; inset: 0; background: rgba(18,0,101,.55); z-index: 80; display: none; padding: 10vh var(--gutter) 2rem; }
.search-panel.is-open { display: block; }
.search-box { max-width: 760px; margin: 0 auto; background: #fff; padding: 1.5rem; border-top: 4px solid var(--orange); max-height: 80vh; display: flex; flex-direction: column; }
.search-row { display: flex; gap: .5rem; }
.search-row input { flex: 1; font: inherit; font-size: 1.15rem; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--grey); color: var(--ink); min-width: 0; }
.search-results { list-style: none; margin: 1rem 0 0; padding: 0; overflow-y: auto; }
.search-results li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: .8rem .25rem; text-decoration: none; }
.search-results a:hover { background: var(--grey); }
.search-results strong { display: block; color: var(--navy); }
.search-results small { color: var(--muted); font-size: .85rem; }
.search-empty { color: var(--muted); padding: 1rem .25rem 0; margin: 0; }

/* ---------- Home: hero (MarineGuardian split hero) ---------- */
.hero { background: var(--grey); min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; padding-block: clamp(2rem, 5vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-xl) 0 var(--radius-xl) 0; }
.hero-media figcaption { font-size: .78rem; color: var(--muted); margin-top: .6rem; text-align: right; }
.hero-kicker { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.hero-kicker::before { content: ""; width: 40px; height: 3px; background: var(--orange); }
.hero h1 { font-size: var(--fs-display); font-weight: 700; letter-spacing: -.035em; margin-bottom: .35em; }
.hero-slogan { font-size: var(--fs-xl); color: var(--navy); font-weight: 400; line-height: 1.3; margin-bottom: 1.2em; }
.hero-slogan span { display: block; }
.hero-intro { max-width: 34em; color: var(--ink); margin-bottom: 2rem; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
}

/* ---------- Home: challenge / video ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--grey { background: var(--grey); }
.section--cream { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; display: block; }

.challenge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.video-frame { position: relative; overflow: hidden; border-radius: 0 var(--radius-xl) 0 0; background: #0d3b4f; aspect-ratio: 1; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.challenge-text h2 { font-size: var(--fs-xxl); }
.challenge-text .lead { font-size: var(--fs-lg); color: var(--navy); }
@media (max-width: 900px) { .challenge-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: latest update (66/33 columns) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.feature-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-body time, .card time { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feature-body h3 { font-size: var(--fs-xl); margin: .5rem 0 1rem; }
.feature-body h3 a { text-decoration: none; }
.feature-body h3 a:hover { text-decoration: underline; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; margin-top: 1.5rem; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: stay connected ---------- */
.connect { min-height: min(40vh, 420px); display: grid; place-items: center; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.connect h2 { font-size: var(--fs-xxl); }
.connect p { max-width: 36em; margin-inline: auto; }
.connect-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Funding / partners strip ---------- */
.funding { background: var(--grey); padding-block: clamp(2.5rem, 5vw, 4rem); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.logo-row img { height: 64px; width: auto; object-fit: contain; }
.logo-row a { display: block; text-decoration: none; }
.logo-row .logo-fotoessa { height: 96px; }
.logo-word { font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; text-decoration: none; }
.eu-mark { display: inline-flex; align-items: center; gap: .7rem; color: #003399; font-weight: 700; line-height: 1.15; font-size: .95rem; text-align: left; }
.eu-mark svg { width: 78px; height: 52px; flex: none; }
.disclaimer { max-width: 820px; margin: 1.75rem auto 0; text-align: center; font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; flex: none; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: .3rem; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-slogan { color: var(--orange); font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--grey); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.breadcrumb { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.page-hero h1 { max-width: 18em; }
.page-hero .lead { font-size: var(--fs-lg); max-width: 40em; color: var(--ink); margin: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md) 0 var(--radius-md) 0; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.subnav { background: var(--grey); border-top: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.5rem; overflow-x: auto; scrollbar-width: thin; }
.subnav a { display: block; padding: .9rem 0; font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a[aria-current="page"] { border-bottom-color: var(--orange); }
.subnav a:hover { border-bottom-color: var(--navy); }

.prose { max-width: var(--content); }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 3px solid var(--orange); color: var(--navy); font-size: var(--fs-lg); }
.prose strong { font-weight: 700; }
.prose img { margin: 1.5em 0; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.aside-box { background: var(--grey); padding: 1.5rem 1.6rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-box h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.aside-box dl { margin: 0; display: grid; gap: .9rem; }
.aside-box dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.aside-box dd { margin: .1rem 0 0; color: var(--navy); font-weight: 600; }
.aside-box + .aside-box { margin-top: 1rem; position: static; }
@media (max-width: 1000px) { .layout-aside { grid-template-columns: minmax(0, 1fr); } .aside-box { position: static; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0 0 3rem; }
.facts div { padding: 1.25rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.facts dd { margin: 0; color: var(--navy); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

.motto { font-size: var(--fs-xl); color: var(--navy); line-height: 1.3; font-weight: 400; border-left: 4px solid var(--orange); padding-left: 1.25rem; margin: 2.5rem 0; }
.motto span { display: block; }

/* Numbered blocks (Project Activities) */
.steps { list-style: none; margin: 0; padding: 0 1px 1px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { border: 1px solid var(--line); margin: 0 -1px -1px 0; background: #fff; padding: 1.75rem 1.5rem 2rem; }
.step-num { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; display: inline-block; padding-bottom: .4rem; border-bottom: 4px solid var(--orange); margin-bottom: 1.1rem; letter-spacing: -.03em; }
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink); font-size: .98rem; }

/* Workflow wheel */
.wheel-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wheel svg { width: 100%; max-width: 560px; margin-inline: auto; }
.wheel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.wheel-list li { display: grid; grid-template-columns: 38px 1fr; gap: .75rem; align-items: start; }
.wheel-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; }
.wheel-list strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.25; margin-bottom: .2rem; }
.wheel-list span:not(.wheel-dot) { font-size: .85rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 1000px) { .wheel-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wheel-list { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.card { display: flex; flex-direction: column; background: #fff; position: relative; }
.card-media { aspect-ratio: 3/2; overflow: hidden; background: var(--grey); border-radius: 0 var(--radius-md) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.2rem 0 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; margin: .45rem 0 .6rem; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: .96rem; color: var(--ink); margin-bottom: 1rem; }
.card .text-link { margin-top: auto; align-self: flex-start; }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--cream); padding: .3em .6em; margin-right: .5rem; border: 1px solid rgba(18,0,101,.15); }
.card--pinned .card-media { border-radius: 0 var(--radius-xl) 0 0; }

.big-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding: 0 1px 1px 0; }
.big-card { border: 1px solid var(--line); margin: 0 -1px -1px 0; background: #fff; padding: 2rem 1.75rem; position: relative; display: flex; flex-direction: column; min-height: 240px; transition: background .2s; }
.big-card:hover { background: var(--cream); }
.big-card .num { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.big-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.big-card h3 a { text-decoration: none; }
.big-card h3 a::after { content: ""; position: absolute; inset: 0; }
.big-card p { color: var(--ink); font-size: .96rem; }
.big-card .text-link { margin-top: auto; align-self: flex-start; }
.status { display: inline-flex; align-items: center; gap: .45em; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.status--ready::before { background: #1a8754; }

/* Workshop list */
.ws-list { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.ws-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; position: relative; }
.ws-item:nth-child(even) .ws-media { order: 2; }
.ws-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-xl) 0 var(--radius-xl) 0; }
.ws-item:nth-child(even) .ws-media img { border-radius: 0 var(--radius-xl) 0 var(--radius-xl); }
.ws-num { font-size: .82rem; font-weight: 800; letter-spacing: .16em; color: var(--navy); text-transform: uppercase; display: flex; align-items: center; gap: .75rem; }
.ws-num::before { content: ""; width: 32px; height: 3px; background: var(--orange); }
.ws-item h2 { font-size: var(--fs-xl); margin: .75rem 0 .5rem; }
.ws-item h2 a { text-decoration: none; }
.ws-meta { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
@media (max-width: 900px) { .ws-item { grid-template-columns: minmax(0, 1fr); } .ws-item:nth-child(even) .ws-media { order: 0; } }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.partner { background: #fff; border: 1px solid var(--line); padding: 2rem; display: flex; flex-direction: column; }
.partner-logo { height: 110px; display: flex; align-items: center; margin-bottom: 1.5rem; }
.partner-logo img { max-height: 100px; width: auto; max-width: 220px; object-fit: contain; }
.partner-country { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.partner h2 { font-size: 1.5rem; margin: .3rem 0 .8rem; }
.partner .role { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--orange); color: var(--navy); padding: .2em .55em; margin-left: .4rem; vertical-align: middle; letter-spacing: .04em; }
.partner p { font-size: .97rem; }
.partner .text-link { margin-top: auto; align-self: flex-start; }

/* Stakeholders */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); padding: 0 1px 1px 0; }
.person { border: 1px solid var(--line); margin: 0 -1px -1px 0; background: #fff; padding: 1.6rem 1.6rem 1.8rem; }
.person .type { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.person h3 { margin: .4rem 0 .25rem; font-size: 1.15rem; }
.person .role { color: var(--navy); font-weight: 600; font-size: .92rem; margin-bottom: .7rem; }
.person p { font-size: .94rem; margin-bottom: .8rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .75rem; margin-top: 1rem; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--grey); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(10,0,50,.92); z-index: 90; display: none; place-items: center; padding: 3rem 1rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 85vh; max-width: min(1200px, 100%); width: auto; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; color: #fff; }

/* Article */
.article-cover { margin: 0 0 2.5rem; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 0 var(--radius-xl) 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 1.25rem; }
.notice { display: flex; gap: .75rem; align-items: flex-start; background: var(--cream); border-left: 4px solid var(--orange); padding: 1rem 1.25rem; font-size: .9rem; margin-bottom: 2rem; }
.notice a { font-weight: 700; }
.related { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { font: inherit; font-size: .85rem; font-weight: 700; padding: .55em 1em; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Resource list */
.res-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res-list li { display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.res-list h3 { font-size: 1.08rem; margin: 0 0 .25rem; }
.res-list p { margin: 0; font-size: .93rem; color: var(--muted); }
.res-type { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .res-list li { grid-template-columns: 1fr; } }
.empty-state { background: var(--cream); padding: 2rem; border: 1px dashed rgba(18,0,101,.25); color: var(--navy); }
.empty-state p:last-child { margin: 0; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.swatch { border: 1px solid var(--line); }
.swatch div { height: 90px; }
.swatch p { margin: 0; padding: .6rem .75rem; font-size: .85rem; }
.swatch code { font-size: .8rem; color: var(--muted); }
.copy-block { background: var(--grey); padding: 1.25rem 1.5rem; font-size: .95rem; position: relative; margin-bottom: 1rem; }
.copy-block .eyebrow { margin-bottom: .4rem; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2rem; }
.videos video { width: 100%; aspect-ratio: 1; background: #0d3b4f; }
.videos h3 { margin-top: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); }
.form-field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.form-field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select { font: inherit; padding: .8rem .9rem; border: 1px solid rgba(17,17,17,.25); background: #fff; color: var(--ink); width: 100%; border-radius: 0; }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .85rem; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.cta-band { background: var(--navy); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 40em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .subnav, .search-panel { display: none; } }
