/* =========================================================================
   Al-Hidaya Islamic University — Phase 1 site styles
   Brand palette
   -------------------------------------------------------------------------
   The logo pairs a warm orange with a light blue. To keep the site calm and
   trustworthy (it asks people for money) BLUE does the structural work —
   headings, links, large surfaces, the footer — and ORANGE is reserved for
   action and emphasis: the "Donate" button, progress bars, eyebrows,
   highlights. A deep navy (a darkened blue) anchors dark sections so the two
   brand hues never fight for attention.
   ========================================================================= */

:root {
  /* Brand — blue family */
  --blue-050: #eef6fb;
  --blue-100: #d6ebf6;
  --blue-300: #8ecae6;
  --blue-500: #3e93c9;   /* primary blue */
  --blue-600: #2f7cae;
  --blue-700: #235f87;
  --navy-800: #16405d;
  --navy-900: #0f2f46;   /* footer / dark sections */

  /* Brand — orange family */
  --orange-050: #fdf1e7;
  --orange-100: #fbe0c7;
  --orange-300: #f0a668;
  --orange-500: #d96b27;  /* action orange */
  --orange-600: #c25a1b;
  --orange-700: #9e4713;

  /* Neutrals — warm */
  --paper: #fcfaf6;
  --surface: #ffffff;
  --sand: #f3ede3;
  --ink: #1e2a32;
  --ink-soft: #4a5a64;
  --line: #e4ddd0;

  --ok-050: #e9f6ee;
  --ok-600: #1f7a45;
  --err-050: #fdeceb;
  --err-600: #b3261e;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 47, 70, .06), 0 4px 12px rgba(15, 47, 70, .06);
  --shadow-md: 0 8px 30px rgba(15, 47, 70, .12);
  --container: 1120px;
  --font-head: 'Poppins', 'Noto Sans Ethiopic', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans Ethiopic', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }

p { color: var(--ink-soft); }
p:where(.hero__lead, .page-hero__lead) { color: inherit; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: 1rem; z-index: 100;
  background: var(--orange-500); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-500); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.35rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--orange-500); }
.btn--accent:hover { background: var(--orange-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue-700); --btn-bd: var(--blue-300); }
.btn--outline:hover { background: var(--blue-050); }
.btn--lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
  color: var(--orange-600);
}
.link-arrow .icon { width: 1.1em; transition: transform .12s ease; }
.link-arrow:hover { color: var(--orange-700); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 250, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy-800); }
.brand__tag { font-size: .74rem; color: var(--ink-soft); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { list-style: none; padding: 0; display: flex; gap: 1.25rem; }
.site-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--ink); text-decoration: none; padding: .35rem 0; position: relative;
}
.site-nav a:hover { color: var(--blue-600); }
.site-nav a.is-active { color: var(--blue-700); }
.site-nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange-500); border-radius: 2px;
}

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; inset: 76px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: .9rem .25rem; }
  .site-nav__cta { margin-top: 1rem; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(62,147,201,.16), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(217,107,39,.12), transparent 55%),
    var(--paper);
  padding: clamp(3rem, 2rem + 6vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__eyebrow, .page-hero__eyebrow {
  font-family: var(--font-head); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; color: var(--orange-600); margin-bottom: .9rem;
}
.hero__title { margin-bottom: 1.1rem; }
.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.8rem 0 2.2rem; }
.hero__stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy-800); }
.hero__stats span { font-size: .82rem; color: var(--ink-soft); }
.hero__art img { width: 100%; filter: drop-shadow(0 20px 40px rgba(15,47,70,.16)); }

/* ---------- Hero background carousel ---------- */
.hero--carousel { position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box; min-height: clamp(440px, 64vh, 600px); padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; display: flex; align-items: center; }
.hero--carousel .hero__inner { position: relative; z-index: 2; grid-template-columns: 1fr; }
.hero--carousel .hero__content { max-width: 620px; }
.hero--carousel .hero__actions { margin-bottom: 0; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(var(--zoom, 1) * 1.04)); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(var(--zoom, 1)); }
/* Keeps the text readable over photos: deep navy on the left, clear on the right. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,47,70,.9) 0%, rgba(15,47,70,.78) 32%, rgba(15,47,70,.35) 58%, rgba(15,47,70,0) 80%),
    linear-gradient(0deg, rgba(15,47,70,.35) 0%, rgba(15,47,70,0) 35%);
}
.hero--carousel .hero__eyebrow { color: var(--orange-300); }
.hero--carousel .hero__title { color: #fff; }
.hero--carousel .hero__lead { color: rgba(255,255,255,.88); }
.hero__controls { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.hero__arrow, .hero__pause {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--navy-800);
  box-shadow: var(--shadow-sm); transition: background .15s ease;
}
.hero__arrow:hover, .hero__pause:hover { background: #fff; }
.hero__arrow .icon { width: 1.1rem; height: 1.1rem; }
.hero__arrow[data-hero-prev] .icon { transform: rotate(180deg); }
.hero__arrow:focus-visible, .hero__pause:focus-visible, .hero__dot:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.hero__dots { display: flex; gap: .45rem; padding: 0 .3rem; }
.hero__dot {
  width: .7rem; height: .7rem; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(15,47,70,.25); transition: width .25s ease, background .25s ease;
}
.hero__dot[aria-current='true'] { width: 1.8rem; background: var(--orange-500); }
.hero--carousel .hero__dot:not([aria-current='true']) { background: rgba(255,255,255,.5); }
.hero__pause-icon { width: .7rem; height: .8rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__pause.is-paused .hero__pause-icon {
  width: 0; height: 0; border-right: 0; border-left: .65rem solid currentColor;
  border-top: .42rem solid transparent; border-bottom: .42rem solid transparent; margin-left: .15rem;
}
/* Without JavaScript the first slide simply stays; hide controls that would do nothing. */
.hero--carousel:not(.is-enhanced) .hero__controls { display: none; }
/* Small screens: the image becomes a band across the top; the text sits below it on the page background. */
@media (max-width: 880px) {
  .hero--carousel { --hero-band: clamp(12rem, 52vw, 19rem); min-height: 0; padding-top: calc(var(--hero-band) + 1.2rem); align-items: flex-start; }
  .hero__slides { bottom: auto; height: var(--hero-band); }
  .hero__scrim { bottom: auto; height: var(--hero-band); background: linear-gradient(180deg, rgba(252,250,246,0) 62%, rgba(252,250,246,1) 100%); }
  /* Text sits below the photo on the page background here, so it goes back to dark. */
  .hero--carousel .hero__eyebrow { color: var(--orange-600); }
  .hero--carousel .hero__title { color: var(--ink); }
  .hero--carousel .hero__lead { color: var(--ink-soft); }
  .hero--carousel .hero__dot:not([aria-current='true']) { background: rgba(15,47,70,.25); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide img, .hero__dot { transition: none; }
  .hero__slide img, .hero__slide.is-active img { transform: scale(var(--zoom, 1)); }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0; }
.section--tint { background: var(--sand); }
.section--values { background: var(--navy-900); color: #fff; }
.section--values h2, .section--values h3 { color: #fff; }
.section--values p { color: rgba(255,255,255,.78); }
.section--mission { padding-top: 0; }

.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head h2 { margin-bottom: .6rem; }
.section-head--light h2 { color: #fff; }
.section-foot { margin-top: 2.4rem; }

.mission-band {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm);
  margin-top: -3rem; position: relative;
}
.mission-band__icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue-600); border-radius: 14px;
}
.mission-band__icon .icon { width: 1.7rem; }
.mission-band h2 { margin-bottom: .5rem; }
.mission-band p { margin-bottom: 1rem; }
/* The overlap onto the hero only works on wide screens; on small/medium ones it covers
   the slide and its controls, so the card sits below the hero with clear space instead. */
@media (max-width: 1024px) {
  .section--mission { padding-top: clamp(2rem, 1.5rem + 3vw, 3rem); }
  .mission-band { margin-top: 0; }
}

/* ---------- Cause cards ---------- */
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cause-grid--full { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .cause-grid, .cause-grid--full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cause-grid, .cause-grid--full { grid-template-columns: 1fr; } }

.cause-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease;
}
.cause-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cause-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--orange-050); color: var(--orange-600); border-radius: 12px;
}
.cause-card__title { font-size: 1.14rem; }
.cause-card__title a { color: var(--ink); text-decoration: none; }
.cause-card__title a:hover { color: var(--blue-700); }
.cause-card__summary { font-size: .93rem; flex: 1; }
.cause-card__meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--ink-soft); }
.cause-card__pct { font-weight: 600; color: var(--orange-700); font-family: var(--font-head); }
.cause-card__community { text-align: right; }
.cause-card .btn { margin-top: .4rem; align-self: flex-start; }

.progress {
  height: 9px; background: var(--sand); border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line);
}
.progress--lg { height: 14px; }
.progress__bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
}

/* ---------- Values grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
@media (max-width: 1100px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 940px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }
.value-item__icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.1); color: var(--blue-300); margin-bottom: .9rem;
}
.value-item h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.values-grid--dark .value-item__icon { background: var(--blue-050); color: var(--blue-600); }

/* ---------- News ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-list--full { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.news-list--full .news-card { padding: 1.8rem; }
.news-card__meta { display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: var(--ink-soft); margin-bottom: .6rem; }
.news-card h2, .news-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.news-card h2 a, .news-card h3 a { color: var(--ink); text-decoration: none; }
/* Long headlines (e.g. Amharic posts) are clamped on cards; the full text is on the post page. */
.news-card__title a, .news-card__excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__title a { -webkit-line-clamp: 3; line-clamp: 3; }
.news-card__excerpt { -webkit-line-clamp: 3; line-clamp: 3; }
[lang='am'] { line-height: 1.75; }
h1[lang='am'], h2[lang='am'], h3[lang='am'], [lang='am'] h1, [lang='am'] h2, [lang='am'] h3 { line-height: 1.35; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--blue-700); }
.news-card .link-arrow { margin-top: .8rem; }
.tag {
  display: inline-block; background: var(--blue-050); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px;
}

/* ---------- CTA bands ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
  color: #fff; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.8); }

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(62,147,201,.14), transparent 60%),
    var(--paper);
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 0 clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .8rem; max-width: 20ch; }
.page-hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; }
.page-hero__eyebrow a { text-decoration: none; }
.page-hero__eyebrow .tag { margin-left: .4rem; }

/* ---------- Prose & layout helpers ---------- */
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose h2 { margin: 1.5rem 0 .7rem; }
.prose h3 { margin: 1.2rem 0 .5rem; }
.prose-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .prose-grid { grid-template-columns: 1fr; } }

.fact-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.fact-box h3 { margin-bottom: .8rem; }
.fact-box dl { display: grid; gap: .6rem; }
.fact-box dl div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.fact-box dt { color: var(--ink-soft); font-size: .9rem; }
.fact-box dd { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange-500); border-radius: var(--radius); padding: 1.6rem; }
.pillar h2 { font-size: 1.4rem; margin-bottom: .5rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 940px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.team-card__avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800)); margin-bottom: .9rem;
}
.team-card__role { color: var(--orange-700); font-weight: 600; font-family: var(--font-head); font-size: .85rem; margin-bottom: .5rem; }
.team-card p:last-child { font-size: .9rem; }

.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__aside {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.split__aside h3 { margin-bottom: .5rem; }
.split__aside .btn { margin-top: 1rem; }

.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; margin-top: 1rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--ok-600); margin-top: .15rem; }

.article-body { max-width: 720px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0; }
.article-body__foot { font-size: .92rem; }

.donate-panel__figures { display: flex; flex-direction: column; margin: .8rem 0 1rem; }
.donate-panel__figures strong { font-family: var(--font-head); color: var(--orange-700); font-size: 1.1rem; }
.donate-panel__figures span { font-size: .88rem; color: var(--ink-soft); }
.donate-panel__note { font-size: .82rem; margin-top: .8rem; }

/* ---------- Gallery ---------- */

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info__list { list-style: none; padding: 0; display: grid; gap: 1.3rem; margin: 1.2rem 0 2rem; }
.contact-info__list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; }
.contact-info__list .icon { color: var(--blue-600); margin-top: .2rem; }
.contact-info__list strong { display: block; font-family: var(--font-head); font-size: .9rem; }
.contact-info__list span, .contact-info__list a { display: block; font-size: .92rem; color: var(--ink-soft); }
.contact-info__list a { color: var(--blue-600); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: .35rem; }
.form__row--inline { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: end; }
.form__row--grow { grid-column: auto; }
@media (max-width: 480px) { .form__row--inline { grid-template-columns: 1fr; } }
label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem;
  width: 100%; transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-050); }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--orange-500); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }

.alert { border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
.alert__title { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.alert ul { margin: .3rem 0 0 1.1rem; color: var(--ink-soft); }
.alert--error { background: var(--err-050); border: 1px solid #f2c4c0; }
.alert--error .alert__title { color: var(--err-600); }
.alert--success { background: var(--ok-050); border: 1px solid #bfe3cd; }
.alert--success .alert__title { color: var(--ok-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; display: grid; gap: .8rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__marker { position: relative; width: 16px; height: 16px; flex: none; }
.faq__marker::before, .faq__marker::after {
  content: ''; position: absolute; background: var(--orange-500); border-radius: 2px;
  transition: transform .2s ease;
}
.faq__marker::before { inset: 7px 0; height: 2px; }
.faq__marker::after { inset: 0 7px; width: 2px; }
.faq__item[open] .faq__marker::after { transform: scaleY(0); }
.faq__answer { padding: 0 1.3rem 1.2rem; }
.faq__answer p { color: var(--ink-soft); }
.faq__answer p + p { margin-top: .7rem; }
.faq__list { margin: .7rem 0 0 1.2rem; padding: 0; color: var(--ink-soft); display: grid; gap: .3rem; font-variant-numeric: tabular-nums; }

.faq-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 800px) { .faq-trust { grid-template-columns: 1fr; } }
.faq-trust__item { display: grid; grid-template-columns: auto 1fr; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.faq-trust__item .icon { color: var(--blue-600); width: 1.6rem; margin-top: .1rem; }
.faq-trust__item h3 { font-size: 1rem; margin-bottom: .3rem; }
.faq-trust__item p { font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand--footer { color: #fff; margin-bottom: .9rem; }
.brand--footer .brand__name { color: #fff; }
.site-footer__mission { font-size: .88rem; color: rgba(255,255,255,.65); max-width: 34ch; }
.site-footer__contact li { display: grid; grid-template-columns: auto 1fr; gap: .55rem; font-size: .88rem; align-items: start; }
.site-footer__contact .icon { color: var(--blue-300); margin-top: .15rem; }
.site-footer__social { display: flex; gap: .6rem; margin-top: 1rem; }
.site-footer__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.site-footer__social a:hover { background: var(--orange-500); }
.site-footer__social .icon { fill: currentColor; stroke: none; width: 1.15rem; }
.site-footer__col--cta { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 1.4rem; }
.site-footer__col--cta p { color: rgba(255,255,255,.7); font-size: .88rem; margin-bottom: 1rem; }
.site-footer__legal {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.55);
}
.site-footer__legal .site-footer__login { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Login ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-wrap [hidden] { display: none; }
.auth-wrap .btn { width: 100%; justify-content: center; }
.auth-wrap .form__hint { font-size: .85rem; color: var(--ink-soft); }
.password-field { position: relative; }
.password-field input { padding-right: 2.9rem; }
.password-field__toggle {
  position: absolute; top: 50%; right: .4rem; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  background: none; border: 0; border-radius: var(--radius-sm); color: var(--ink-soft); cursor: pointer;
}
.password-field__toggle:hover { color: var(--blue-700); }
.password-field__toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blue-050); color: var(--blue-700); }
.password-field__toggle svg { width: 20px; height: 20px; }
.password-field__toggle .icon-eye-off { display: none; }
.password-field__toggle[aria-pressed="true"] .icon-eye { display: none; }
.password-field__toggle[aria-pressed="true"] .icon-eye-off { display: block; }
/* Hide Edge/IE's built-in reveal button so there is only one eye. */
.password-field input::-ms-reveal { display: none; }
.auth-wrap .btn--link { background: none; border: 0; padding: 0; width: auto; color: var(--blue-700); font: inherit; cursor: pointer; text-decoration: underline; }

/* The hidden attribute must win over component display rules (e.g. .donate-form grid). */
[hidden] { display: none !important; }

/* ---------- Payment step (Unified Checkout) ---------- */
.payment-step, .payment-done {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); margin-bottom: 1.5rem;
}
.payment-step[hidden], .payment-done[hidden] { display: none; }
.payment-step__head { margin-bottom: 1.2rem; }
.payment-step__head h2 { margin-bottom: .3rem; }
.payment-step__summary { color: var(--ink-soft); margin: 0; }
.payment-step__summary strong { color: var(--ink); }
.payment-step__loading { color: var(--ink-soft); }
.payment-step__loading[hidden] { display: none; }
.payment-step__mount { min-height: 120px; }
.payment-step__mount:empty { min-height: 0; }
.payment-step__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.payment-step__secure { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); margin: 1.2rem 0 .6rem; }
.payment-step__secure .icon { color: var(--ok-600); }
.payment-step__back { font-size: .9rem; text-decoration: none; }
.payment-done { text-align: center; display: grid; justify-items: center; gap: .6rem; }
.payment-done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-050); color: var(--ok-600); }
.payment-done__icon .icon { width: 30px; height: 30px; }
.payment-done:focus { outline: none; }

/* ---------- Focus layout (donation flow) ---------- */
.focus { background: var(--sand); }
.focus-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.focus-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.focus-header__exit { font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--ink-soft); }
.focus-header__exit:hover { color: var(--blue-700); }
.focus-main { padding: clamp(2rem, 1.5rem + 4vw, 4rem) 0; }
.focus-footer { padding: 2rem 0 3rem; text-align: center; }
.focus-footer p { font-size: .82rem; color: var(--ink-soft); display: flex; gap: .4rem; align-items: center; justify-content: center; margin-bottom: .4rem; }
.focus-footer .icon { color: var(--ok-600); }

.donate { max-width: 680px; margin-inline: auto; }
.donate__intro { text-align: center; margin-bottom: 2rem; }
.donate__intro p { max-width: 44ch; margin-inline: auto; }
.donate-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); box-shadow: var(--shadow-md); display: grid; gap: 1.8rem;
}
.donate-form__group { border: 0; padding: 0; margin: 0; display: grid; gap: .8rem; }
.donate-form__group legend { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-800); padding: 0; }
.donate-form__hint, .donate-form__summary { font-size: .85rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.donate-form__hint .icon { color: var(--ok-600); }

.segmented { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; gap: 4px; }
.segmented__option { position: relative; }
.segmented__option input { position: absolute; opacity: 0; }
.segmented__option span {
  display: block; padding: .5rem 1.1rem; border-radius: 999px; font-family: var(--font-head);
  font-weight: 600; font-size: .88rem; color: var(--ink-soft); cursor: pointer;
}
.segmented__option input:checked + span { background: var(--surface); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.segmented__option input:focus-visible + span { outline: 3px solid var(--blue-500); }

.amount-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; }
@media (max-width: 560px) { .amount-grid { grid-template-columns: repeat(3, 1fr); } }
.amount-option input { position: absolute; opacity: 0; }
.amount-option span {
  display: block; text-align: center; padding: .7rem .3rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; cursor: pointer;
  transition: .12s;
}
.amount-option input:checked + span { border-color: var(--orange-500); background: var(--orange-050); color: var(--orange-700); }
.amount-option input:focus-visible + span { outline: 3px solid var(--blue-500); }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
@media (max-width: 480px) { .method-option > span { padding: .7rem .75rem; } }
.method-option input { position: absolute; opacity: 0; }
.method-option > span {
  display: block; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; cursor: pointer; transition: .12s;
}
.method-option input:checked + span { border-color: var(--blue-500); background: var(--blue-050); color: var(--blue-700); }
.method-option input:focus-visible + span { outline: 3px solid var(--blue-500); }
.method-option__label { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.method-option__desc { display: block; margin-top: .2rem; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.method-option__logos { display: flex; align-items: center; gap: .35rem; margin-top: .55rem; }
.pay-logo { display: block; height: 22px; width: auto; flex: none; }
.pay-logo--flag { height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,47,70,.12); }
.currency-lock { display: flex; align-items: center; gap: .3rem; margin: .5rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.currency-lock .icon { width: .9rem; height: .9rem; }
select.is-locked { background-color: var(--sand); color: var(--ink); opacity: 1; cursor: not-allowed; appearance: none; -webkit-appearance: none; }
.method-option { display: flex; }
.method-option > span { flex: 1; }
.method-option__badge {
  font-size: .66rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: .1rem .45rem; border-radius: 999px; background: var(--orange-050); color: var(--orange-700);
}
.method-option--soon > span { border-style: dashed; }
.method-option--soon input:checked + span { border-color: var(--orange-300); background: var(--orange-050); color: var(--ink); }
.method-soon { background: var(--orange-050); border: 1px solid var(--orange-100); margin: .8rem 0 0; }
.method-soon .alert__title { color: var(--orange-700); }

.donate-form__summary {
  background: var(--sand); border-radius: var(--radius-sm); padding: 1rem 1.1rem;
  font-family: var(--font-head); font-size: .95rem; color: var(--ink); flex-wrap: wrap;
}
.donate-form__summary strong { color: var(--orange-700); font-size: 1.15rem; }

.donate__trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 1.6rem; }
.donate__trust li { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--ink-soft); }
.donate__trust .icon { color: var(--ok-600); }

/* ---------- Thank you ---------- */
.thankyou { max-width: 560px; margin-inline: auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 1.4rem + 2vw, 3rem); box-shadow: var(--shadow-md); }
.thankyou__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-050); color: var(--ok-600); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.thankyou__badge .icon { width: 2rem; stroke-width: 2.4; }
.thankyou__badge--failed { background: var(--err-050); color: var(--err-600); }
.thankyou__lead { margin: .6rem 0 1.5rem; }
.receipt { display: grid; gap: .6rem; text-align: left; background: var(--sand); border-radius: var(--radius-sm); padding: 1.2rem; margin-bottom: 1.3rem; }
.receipt div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.receipt div:last-child { border-bottom: 0; padding-bottom: 0; }
.receipt dt { color: var(--ink-soft); font-size: .9rem; }
.receipt dd { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); text-align: right; }
.thankyou__note { font-size: .84rem; display: flex; gap: .5rem; align-items: flex-start; text-align: left; margin-bottom: 1.5rem; }
.thankyou__note .icon { color: var(--ok-600); margin-top: .15rem; flex: none; }
.thankyou__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Error pages ---------- */
.error-page { text-align: center; }
.error-page__code { font-family: var(--font-head); font-weight: 700; font-size: 4rem; color: var(--blue-300); }
.error-page h1 { margin-bottom: .6rem; }
.error-page .thankyou__actions { margin-top: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- About: history, bilingual pillars, values ---------- */
.history { max-width: 75ch; }
.history h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.history__question { font-size: 1.2rem; color: var(--navy-800); }
.history__title { color: var(--orange-600); font-size: 1.05rem; }
.pillar__am { font-size: 1.05rem; color: var(--ink); margin-bottom: .5rem; }
.value-item__am { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-top: .2rem; }
.page-hero__title--long { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); max-width: 60ch; line-height: 1.5; }
.article-body__break { border: 0; text-align: center; margin: 1.6rem 0; }
.article-body__break::after { content: '* * *'; color: var(--ink-soft); letter-spacing: .4em; }
.article-body a { word-break: break-word; }

/* ---------- Donation success / receipt ---------- */
.receipt-card { margin: 1.4rem 0 .4rem; text-align: left; }
.receipt-card__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-600); margin: 0 0 .6rem; }
.receipt-card .receipt { margin: 0 0 1.2rem; }
.receipt-card .receipt:last-child { margin-bottom: 0; }
.receipt__amount { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy-800); }
.status-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--sand); color: var(--ink-soft); }
.status-pill--successful { background: var(--ok-050); color: var(--ok-600); }
.status-pill--pending { background: var(--orange-050); color: var(--orange-700); }
.status-pill--failed, .status-pill--cancelled { background: var(--err-050); color: var(--err-600); }
.thankyou__actions .btn { gap: .45rem; }
.thankyou__actions .btn .icon { transform: rotate(90deg); }

/* ---------- Gallery: filters, masonry, lightbox ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.gallery-filter {
  font: inherit; font-family: var(--font-head); font-weight: 600; font-size: .85rem; cursor: pointer;
  padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft);
}
.gallery-filter:hover { border-color: var(--blue-300); color: var(--blue-700); }
.gallery-filter[aria-pressed='true'] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.gallery-filter:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.gallery-masonry { column-count: 3; column-gap: 1.2rem; }
@media (max-width: 900px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 560px) { .gallery-masonry { column-count: 1; } }
.gallery-photo {
  break-inside: avoid; margin: 0 0 1.2rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery-photo__link { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-photo__link img { display: block; width: 100%; height: auto; background: var(--sand); transition: transform .35s ease; }
.gallery-photo__link:hover img, .gallery-photo__link:focus-visible img { transform: scale(1.03); }
.gallery-photo__link:focus-visible { outline: 3px solid var(--blue-500); outline-offset: -3px; }
.gallery-photo figcaption { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.gallery-photo figcaption strong { font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.gallery-photo figcaption span { font-size: .85rem; color: var(--ink-soft); }

.lightbox { border: 0; padding: 0; margin: auto; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(8, 24, 36, .97); }
.lightbox-open { overflow: hidden; }
.lightbox__inner { position: relative; height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 3.2rem 1rem 1rem; box-sizing: border-box; }
.lightbox__figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100% - 4.5rem); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.lightbox__caption { display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; max-width: 70ch; }
.lightbox__title { font-family: var(--font-head); font-size: 1rem; }
.lightbox__text { font-size: .9rem; color: rgba(255,255,255,.8); }
.lightbox__count { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .2rem; }
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; cursor: pointer; border: 0; color: #fff;
  background: rgba(255,255,255,.12); border-radius: 50%; transition: background .15s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--orange-300); outline-offset: 2px; }
.lightbox__close { position: absolute; top: .8rem; right: .8rem; width: 2.6rem; height: 2.6rem; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { width: 3rem; height: 3rem; }
.lightbox__nav .icon { width: 1.3rem; height: 1.3rem; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
@media (max-width: 640px) {
  .lightbox__inner { grid-template-columns: 1fr; padding: 3.4rem .6rem 4.5rem; }
  .lightbox__nav { position: absolute; bottom: 1rem; }
  .lightbox__nav--prev { left: calc(50% - 3.5rem); }
  .lightbox__nav--next { right: calc(50% - 3.5rem); }
}

/* Anonymous donation: hide the personal-details fields as soon as the box is ticked,
   even before (or without) public/js/donate.js, which also stops requiring them. */
.donate-form__group:has(#anonymous:checked) .donor-fields { display: none; }
