/* WHPC MENA — site styles
   Look and feel follows the Women in HPC (global) website: white pages, a thin
   coloured top bar, logo header with drop-down menus, card sections, a dark footer.
   Colours come from the WHPC MENA banner: blue #3179b3 and teal #78b8c5.
   The site is designed as a single light theme, like the global site. */

/* Fonts are self-hosted in /assets/fonts (SIL Open Font License). */
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Naskh Arabic"; font-weight: 700; font-display: swap; src: url("../fonts/noto-naskh-arabic-arabic-700-normal.woff2") format("woff2"); }

:root {
  --blue: #3179b3;        /* brand blue: links, buttons, headings accents */
  --blue-dark: #1f4f7a;   /* headings, footer */
  --blue-deep: #173b5c;   /* footer bottom bar */
  --teal: #78b8c5;        /* brand teal: shapes, highlights */
  --teal-ink: #2f7f8f;    /* teal dark enough for text */
  --teal-wash: #eaf4f6;   /* tinted section background */
  --bg: #ffffff;
  --ink: #1e2b38;
  --muted: #566677;
  --line: #dbe5ea;

  --font-head: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.45rem + 1.2vw, 2.25rem);
  --step-4: clamp(2rem, 1.6rem + 2vw, 3rem);

  --radius: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --shadow: 0 2px 4px rgb(23 59 92 / .06), 0 8px 24px rgb(23 59 92 / .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.65 var(--font-body); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; color: var(--blue-dark); text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { font: 700 var(--step--1)/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.ar { font-family: var(--font-arabic); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--blue); color: #fff; font-size: 0.875rem; }
.topbar .wrap { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 20px; padding-block: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 4px 16px rgb(23 59 92 / .05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
.brand-sub { font: 700 0.8125rem/1.3 var(--font-body); color: var(--muted); max-width: 16ch; border-left: 2px solid var(--line); padding-left: 14px; }
@media (max-width: 1080px) { .brand-sub { display: none; } }

.nav-toggle { display: none; font: 700 0.9375rem var(--font-body); color: var(--blue-dark); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; color: var(--blue-dark); text-decoration: none; font: 700 1rem/1.2 var(--font-head); border-radius: 8px; }
.main-nav a:hover { color: var(--blue); background: var(--teal-wash); }
.main-nav a[aria-current="page"], .main-nav a.is-section { color: var(--blue); }
.main-nav > ul > li > a[aria-current="page"], .main-nav > ul > li > a.is-section { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 8px 8px 0 0; }
.main-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); border-top: 3px solid var(--teal); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { font: 600 0.9375rem/1.3 var(--font-body); padding: 9px 12px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .main-nav > ul > li > a[aria-current="page"], .main-nav > ul > li > a.is-section { box-shadow: inset 3px 0 0 var(--teal); border-radius: 0; }
  .main-nav .has-sub > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
}

/* ---------- Home banner ---------- */
.banner { background: #fff; border-bottom: 1px solid var(--line); }
.banner img { display: block; width: 100%; max-width: 1584px; margin-inline: auto; height: auto; aspect-ratio: 1584 / 396; }

/* ---------- Page header ---------- */
.page-head { position: relative; overflow: hidden; background: var(--teal-wash); }
.page-head::after { content: ""; position: absolute; inset: 0; background: url("../img/waves-soft.svg") right center / cover no-repeat; opacity: .9; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.25rem) clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 0.75rem; }
.page-head .lede { color: var(--ink); }
.crumbs { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--blue); }

.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav .wrap { overflow-x: auto; }
.subnav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 12px 0; white-space: nowrap; }
.subnav a { display: block; padding: 7px 16px; border-radius: 999px; text-decoration: none; color: var(--blue-dark); font-weight: 700; font-size: 0.9375rem; background: var(--teal-wash); }
.subnav a:hover { background: #d7ebf0; }
.subnav a[aria-current="page"] { background: var(--blue); color: #fff; }

main { display: block; }
.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-tint { background: var(--teal-wash); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head .stack { gap: 0.35rem; }
.section-title { position: relative; padding-bottom: 12px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--teal); }
.center { text-align: center; }
.center .section-title::after { left: 50%; transform: translateX(-50%); }

/* ---------- Welcome (home) ---------- */
.welcome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }
.welcome .greeting { font-family: var(--font-arabic); font-size: 2.25rem; line-height: 1.2; color: var(--blue); font-weight: 700; }
.region-card { position: relative; overflow: hidden; border-radius: 18px; background: var(--blue-dark); color: #fff; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.region-card::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.svg") center / cover no-repeat; opacity: .28; }
.region-card > * { position: relative; }
.region-card h3 { color: #fff; }
.region-card .chips li { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stats div { background: rgb(255 255 255 / .1); border-radius: 10px; padding: 12px 14px; }
.stats dt { font-size: 0.8125rem; font-weight: 600; opacity: .85; }
.stats dd { margin: 0; font: 800 1.5rem/1.2 var(--font-head); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--blue); font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.more { font: 700 0.9375rem var(--font-head); color: var(--blue); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; box-shadow: 0 1px 2px rgb(23 59 92 / .04); }
a.card { color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
a.card .more, .card .more { margin-top: auto; padding-top: 0.5rem; }
.card p { color: var(--muted); }

.tile { overflow: hidden; padding: 0; }
.tile-art { height: 96px; background: var(--teal-wash) url("../img/waves-soft.svg") center / cover no-repeat; }
.tile:nth-child(2) .tile-art { background-position: left center; }
.tile:nth-child(3) .tile-art { background-position: 30% center; }
.tile:nth-child(4) .tile-art { background-position: 70% center; }
.tile-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }

.tag { align-self: flex-start; font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--teal-wash); color: var(--teal-ink); }
.tag-example { background: #fff4e0; color: #8a5a00; }

/* Events */
.event { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.datebox { width: 76px; text-align: center; border-radius: 10px; overflow: hidden; background: var(--teal-wash); font-variant-numeric: tabular-nums; }
.datebox .m { display: block; background: var(--blue); color: #fff; font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 0; }
.datebox .d { display: block; font: 800 1.75rem/1 var(--font-head); color: var(--blue-dark); padding: 8px 0 2px; }
.datebox .y { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); padding-bottom: 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 0.875rem; font-weight: 600; color: var(--teal-ink); }

.news-card { padding: 0; overflow: hidden; }
.news-card .tile-art { height: 160px; }
.news-card .tile-body { padding: 1.25rem 1.5rem 1.5rem; }

.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; background: #fff; }

/* People and supporters */
.person { flex-direction: row; align-items: center; gap: 1rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal); color: #fff; font: 800 1.25rem var(--font-head); }
.supporters { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.supporter { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 110px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--blue-dark); }
.supporter strong { font: 800 1.125rem/1.25 var(--font-head); }
.supporter span { font-size: 0.875rem; color: var(--muted); }
a.supporter:hover { box-shadow: var(--shadow); color: var(--blue); }
.logo-slot { aspect-ratio: 4 / 3; max-width: 100%; border: 2px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 1rem; background: var(--teal-wash); color: var(--muted); font-weight: 600; }

/* Lists of links (resources) */
.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.linklist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.linklist a { font-weight: 700; }
.linklist p { color: var(--muted); font-size: 0.9375rem; }
.linklist .domain { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .linklist li { grid-template-columns: 1fr; gap: 2px; } }

/* Long-form text */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.25rem; }
.prose h3 { margin-top: 0.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.prose li::marker { color: var(--teal-ink); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); }
@media (max-width: 880px) { .aside { position: static; } }

.callout { border-radius: var(--radius); background: var(--teal-wash); padding: 1.25rem 1.5rem; border-left: 5px solid var(--teal); }
.callout p + p { margin-top: 0.5rem; }

/* Band: call to action */
.band { position: relative; overflow: hidden; background: var(--teal); }
.band::before { content: ""; position: absolute; inset: 0; background: url("../img/waves-soft.svg") center / cover no-repeat; opacity: .35; mix-blend-mode: multiply; }
.band .wrap { position: relative; padding-block: 2.75rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.band h2 { font-size: var(--step-2); color: var(--blue-deep); }
.band p { color: var(--blue-deep); max-width: 60ch; font-weight: 600; }
.band .btn { background: var(--blue-dark); border-color: var(--blue-dark); }
.band .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* Fact list */
.spec { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0; overflow: hidden; }
.spec div { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 2px; }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-ink); }
.spec dd { margin: 0; font: 700 1.0625rem/1.4 var(--font-head); color: var(--blue-dark); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 780px; }
.timeline li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 1.25rem; padding-bottom: 1.5rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 136px; top: 10px; bottom: 0; width: 2px; background: #cfe5ea; }
.timeline li:last-child::before { display: none; }
.timeline li > div { position: relative; padding-left: 1.5rem; }
.timeline li > div::before { content: ""; position: absolute; left: -7px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline li:last-child > div::before { background: var(--blue); border-color: var(--blue); }
.timeline time { font-weight: 700; font-size: 0.9375rem; color: var(--teal-ink); text-align: right; padding-top: 1px; }
.timeline strong { font-family: var(--font-head); color: var(--blue-dark); }
.timeline p { color: var(--muted); }
@media (max-width: 520px) {
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 1.5rem; }
  .timeline li::before { left: 6px; }
  .timeline time { text-align: left; }
  .timeline li > div { padding-left: 0; }
  .timeline li > div::before { left: calc(-1.5rem - 1px); top: -20px; }
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.9375rem; font-weight: 600; }

.photos { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.news-item { scroll-margin-top: 130px; gap: .75rem; }
.news-item .prose { max-width: none; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .fieldset legend { font-weight: 700; font-size: 0.9375rem; color: var(--blue-dark); }
.hint { font-size: 0.875rem; color: var(--muted); }
input[type="text"], input[type="email"], select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #c5d3dc; border-radius: 8px; padding: 10px 12px; width: 100%; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-status { font-size: 0.9375rem; color: var(--ink); }
.form-status:not(:empty) { background: var(--teal-wash); border-radius: 8px; padding: 10px 12px; }
.copybox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copybox code { font: 700 1rem var(--font-body); background: var(--teal-wash); padding: 6px 12px; border-radius: 8px; user-select: all; word-break: break-all; color: var(--blue-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #dfeaf2; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.3fr); gap: 2rem; padding-block: 3.25rem 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 60px; width: auto; display: block; }
.footer-grid h2 { font: 800 1rem var(--font-head); color: #fff; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-grid ul a { text-decoration: none; color: #dfeaf2; }
.footer-grid ul a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { font-size: 0.9375rem; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input { flex: 1 1 180px; min-width: 0; border-color: transparent; }
.signup .btn { background: var(--teal); border-color: var(--teal); color: var(--blue-deep); }
.signup .btn:hover { background: #fff; border-color: #fff; color: var(--blue-deep); }
.signup .form-status:not(:empty) { background: rgb(255 255 255 / .1); color: #fff; }
.footer-bottom { background: var(--blue-deep); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 1rem; font-size: 0.875rem; color: #b9cddd; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom a, .linkbtn { color: #b9cddd; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }


@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.footer-join { background: var(--teal); border-color: var(--teal); color: var(--blue-deep); }
.footer-join:hover { background: #fff; border-color: #fff; color: var(--blue-deep); }

/* Photos */
.photo { margin: 0 0 .5rem; display: flex; flex-direction: column; gap: 8px; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--teal-wash); }
.photo figcaption { font-size: 0.875rem; color: var(--muted); }
.photo-placeholder { display: none; aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--radius); background: var(--teal-wash) url("../img/waves-soft.svg") center / cover no-repeat; place-items: center; color: var(--blue-dark); font: 700 1rem var(--font-head); }
.photo.is-missing img { display: none; }
.photo.is-missing .photo-placeholder { display: grid; }
.thumb { position: relative; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.is-missing img { display: none; }
.news-card .thumb { height: 160px; }
.session { gap: .4rem; }
.session ul { margin: .25rem 0 0; }
.photo.is-missing figcaption { display: none; }
.photo-center { align-items: center; margin-block: .5rem 1rem; }
.photo-center img { width: auto; max-width: 100%; box-shadow: var(--shadow); }
.photo-center figcaption { text-align: center; }
.blog h2 { margin-top: 1.75rem; }
.blog .callout { margin-top: .5rem; }
.photo-center .photo-placeholder { width: 100%; }
