/* Alif Foundation theme. Colours come straight from the logo: navy #113864 and leaf green #71ac51. */

@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --af-navy: #113864;
  --af-navy-700: #0e3058;
  --af-navy-800: #0c2a4d;
  --af-navy-900: #08203c;
  --af-leaf: #71ac51;
  --af-leaf-700: #3e7f2a;
  --af-leaf-800: #336b22;
  --af-leaf-100: #ebf4e4;
  --af-sky: #e8eef6;
  --af-mist: #f3f6f9;
  --af-mist-200: #e4eaf1;
  --af-ink: #1b2533;
  --af-body: #3a4556;
  --af-muted: #566173;
  --af-line: #e1e6ed;
  --af-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --af-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --af-radius: 0.9rem;
  --af-shadow: 0 1px 2px rgb(17 56 100 / 0.05), 0 8px 24px -12px rgb(17 56 100 / 0.18);
  --af-shadow-lg: 0 2px 4px rgb(17 56 100 / 0.06), 0 22px 44px -18px rgb(17 56 100 / 0.32);
  --af-gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: #fff; color: var(--af-ink); font-family: var(--af-sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--af-navy); text-underline-offset: 0.18em; }
a:hover { color: var(--af-navy-800); }
:focus-visible { outline: 3px solid var(--af-leaf-700); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--af-serif); font-weight: 600; line-height: 1.15; color: var(--af-ink); margin: 0 0 0.6em; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.af-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--af-navy); color: #fff; padding: 0.6rem 1rem; border-radius: 0.5rem; font-weight: 700; }
.af-skip:focus { top: 1rem; color: #fff; }
.af-main:focus { outline: none; }

.af-container { width: 100%; max-width: 75rem; margin: 0 auto; padding-left: var(--af-gutter); padding-right: var(--af-gutter); }
.af-container--text { max-width: 47rem; }
.af-container--form { max-width: 52rem; }
.af-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.af-section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.af-section--page { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.af-section--mist { background: var(--af-mist); }
.af-muted { color: var(--af-muted); }
.af-small { font-size: 0.9rem; }

.af-icon { width: 1.25rem; height: 1.25rem; flex: none; }
.af-icon--sm { width: 1.05rem; height: 1.05rem; }
.af-icon--xs { width: 0.85rem; height: 0.85rem; }

/* Headings */
.af-h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.12; }
.af-h2--light { color: #fff; }
.af-h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.af-lead { font-size: 1.12rem; line-height: 1.7; color: var(--af-body); }
.af-sechead { max-width: 42rem; margin-bottom: 2.75rem; }
.af-sechead__text { font-size: 1.12rem; color: var(--af-muted); margin: 0; }
.af-sechead--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }

/* Buttons and links */
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 0.8rem 1.3rem; border-radius: 0.55rem; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .05s; }
.af-btn:active { transform: translateY(1px); }
.af-btn--leaf { background: var(--af-leaf-700); color: #fff; box-shadow: var(--af-shadow); }
.af-btn--leaf:hover { background: var(--af-leaf-800); color: #fff; box-shadow: var(--af-shadow-lg); }
.af-btn--navy { background: var(--af-navy); color: #fff; }
.af-btn--navy:hover { background: var(--af-navy-800); color: #fff; }
.af-btn--outline { background: #fff; color: var(--af-ink); border-color: #cdd6e1; }
.af-btn--outline:hover { border-color: var(--af-navy); color: var(--af-navy); }
.af-btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.af-btn--sm { padding: 0.6rem 1rem; font-size: 0.95rem; }
.af-btn--block { width: 100%; }
.af-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }
.af-link:hover { text-decoration: underline; }
.af-link--bold { font-weight: 800; }

/* Announcement */
.af-announce { background: var(--af-navy-900); color: #fff; font-size: 0.92rem; }
.af-announce .af-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem 0.9rem; padding-top: 0.6rem; padding-bottom: 0.6rem; text-align: center; }
.af-announce__dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--af-leaf); }
.af-announce a { color: #a9d68f; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.af-announce a:hover { color: #fff; }

/* Header */
.af-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.97); border-bottom: 1px solid var(--af-line); }
.admin-bar .af-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .af-header { top: 0; } }
.af-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4.6rem; }
.af-header__brand { flex: none; display: block; }
.af-logo { height: 3.25rem; width: auto; }
.af-logo--sm { height: 2.5rem; }
.af-header__donate { margin-left: auto; }
.af-iconbtn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--af-line); background: #fff; color: var(--af-ink); cursor: pointer; }
.af-iconbtn:hover { border-color: var(--af-navy); }

.af-menu { list-style: none; margin: 0; padding: 0; }
.af-menu a { color: var(--af-ink); text-decoration: none; font-weight: 600; }
.af-sub-toggle { background: none; border: 0; padding: 0.25rem; color: var(--af-muted); cursor: pointer; border-radius: 4px; }
.af-nav__top, .af-nav__donate { display: none; }

@media (min-width: 1181px) {
  .af-header__toggle { display: none; }
  .af-nav { flex: 1; display: flex; justify-content: center; }
  .af-menu { display: flex; align-items: center; gap: 0.15rem; }
  .af-menu > li { position: relative; display: flex; align-items: center; }
  .af-menu > li > a { padding: 0.55rem 0.65rem; border-radius: 0.4rem; font-size: 0.98rem; }
  .af-menu > li > a:hover { color: var(--af-navy); background: var(--af-mist); }
  .af-menu > .current-menu-item > a, .af-menu > .current-menu-ancestor > a, .af-menu > .current_page_item > a { color: var(--af-navy); box-shadow: inset 0 -2px 0 var(--af-leaf); border-radius: 0; }
  .af-menu > li > a[href="#"] { cursor: default; }
  .af-sub-toggle { margin-left: -0.4rem; }
  .af-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 14rem; margin: 0.35rem 0 0; padding: 0.4rem; background: #fff; border: 1px solid var(--af-line); border-radius: 0.7rem; box-shadow: var(--af-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
  .af-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
  .af-menu li:hover > .sub-menu, .af-menu li:focus-within > .sub-menu, .af-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .af-menu .sub-menu a { display: block; padding: 0.55rem 0.75rem; border-radius: 0.45rem; font-weight: 600; font-size: 0.97rem; }
  .af-menu .sub-menu a:hover { background: var(--af-mist); color: var(--af-navy); }
  .af-nav-backdrop { display: none !important; }
}

@media (max-width: 1180px) {
  .af-header__inner { justify-content: space-between; }
  .af-header__donate { margin-left: auto; }
  .af-nav { position: fixed; inset: 0 0 0 auto; width: min(22rem, 88vw); z-index: 60; background: #fff; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--af-shadow-lg); display: flex; flex-direction: column; visibility: hidden; }
  .af-nav.is-open { transform: none; visibility: visible; }
  .af-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
  .af-nav__donate { display: inline-flex; margin-top: 1.5rem; }
  .af-menu > li { border-bottom: 1px solid var(--af-line); display: flex; flex-wrap: wrap; align-items: center; }
  .af-menu > li > a { flex: 1; padding: 0.95rem 0.25rem; font-size: 1.05rem; }
  .af-sub-toggle { width: 2.75rem; height: 2.75rem; }
  .af-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .af-menu .sub-menu { list-style: none; width: 100%; margin: 0 0 0.75rem; padding: 0 0 0 0.75rem; display: none; }
  .af-menu li.is-open > .sub-menu { display: block; }
  .af-menu .sub-menu a { display: block; padding: 0.55rem 0; color: var(--af-body); }
  .af-nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgb(8 32 60 / 0.45); }
  body.af-nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .af-header__donate { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
  .af-logo { height: 2.75rem; }
}
@media (max-width: 380px) { .af-header__donate .af-icon { display: none; } }

/* Hero */
.af-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--af-navy-900); color: #fff; }
.af-hero__media { position: absolute; inset: 0; z-index: -2; }
.af-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.af-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 32 60 / 0.92) 0%, rgb(8 32 60 / 0.62) 50%, rgb(8 32 60 / 0.12) 100%); }
@media (max-width: 900px) { .af-hero::before { background: rgb(8 32 60 / 0.72); } }
.af-hero__inner { min-height: clamp(30rem, 72vh, 40rem); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 6rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.af-hero__copy { max-width: 40rem; }
.af-hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.04; margin-bottom: 1.25rem; }
.af-hero__text { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.6; color: rgb(255 255 255 / 0.9); max-width: 36rem; }
.af-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.af-hero__link { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.2rem; }
.af-hero__link:hover { color: #fff; text-decoration: underline; }
.af-hero__spot { margin: 3rem 0 0; max-width: 36rem; border-left: 3px solid var(--af-leaf); padding-left: 1rem; color: rgb(255 255 255 / 0.85); font-size: 0.97rem; }
.af-hero__spot strong { color: #fff; }
.af-hero__spot a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.45); }
@media (max-width: 560px) { .af-hero__actions .af-btn { width: 100%; } }

/* Split layouts */
.af-split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .af-split { grid-template-columns: 1fr 1.05fr; } .af-split--center { grid-template-columns: 1fr 1fr; } .af-split--top { align-items: start; grid-template-columns: 1fr 1fr; } }
.af-promises { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0.85rem; }
.af-promises li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--af-muted); }
.af-promises strong { color: var(--af-ink); }
.af-promises__tick { width: 1.4rem; height: 1.4rem; padding: 0.22rem; border-radius: 50%; background: var(--af-leaf); color: #fff; stroke-width: 3.5; margin-top: 0.15rem; }
.af-collage { display: grid; grid-template-columns: 3fr 2fr; gap: 0.75rem; }
.af-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--af-radius); }
.af-collage__main { aspect-ratio: 4 / 5; }
.af-collage__side { display: grid; gap: 0.75rem; align-self: end; }
.af-collage__side > div:first-child { aspect-ratio: 1; }
.af-collage__side > div:last-child { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .af-collage { order: -1; } }

/* Cause mosaic */
.af-mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .af-mosaic { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .af-mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 16rem); } .af-mosaic__big { grid-column: span 2; grid-row: span 2; } }
.af-tile { position: relative; display: block; height: 100%; min-height: 15rem; overflow: hidden; border-radius: var(--af-radius); background: var(--af-navy-900); color: #fff; text-decoration: none; }
.af-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.af-tile:hover .af-tile__img { transform: scale(1.04); }
.af-tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 32 60 / 0.9), rgb(8 32 60 / 0.3) 55%, transparent); }
.af-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; display: grid; gap: 0.3rem; }
.af-tile__title { font-family: var(--af-serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.af-mosaic__big .af-tile__title { font-size: 2rem; }
.af-tile__text { font-size: 0.95rem; line-height: 1.45; color: rgb(255 255 255 / 0.86); max-width: 28rem; }
.af-tile:hover { color: #fff; }
.af-also { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.97rem; }
.af-also span { color: var(--af-muted); font-weight: 600; }
.af-also a { font-weight: 700; text-decoration: underline; text-decoration-color: rgb(17 56 100 / 0.25); }
.af-also a:hover { text-decoration-color: var(--af-navy); }

/* Grids and cards */
.af-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .af-grid--2, .af-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .af-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.af-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--af-line); border-radius: var(--af-radius); overflow: hidden; box-shadow: var(--af-shadow); transition: box-shadow .2s, transform .2s; }
.af-card:hover { box-shadow: var(--af-shadow-lg); transform: translateY(-2px); }
.af-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--af-mist); }
.af-media__img { width: 100%; height: 100%; object-fit: cover; }
.af-card__tags { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.af-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.af-card__cause { margin: 0 0 0.3rem; font-size: 0.88rem; font-weight: 700; color: var(--af-leaf-700); }
.af-card__title { font-size: 1.28rem; line-height: 1.25; margin: 0 0 0.5rem; }
.af-card__title a { color: inherit; text-decoration: none; }
.af-card__title a:hover { color: var(--af-navy); }
.af-card__text { color: var(--af-muted); font-size: 0.98rem; line-height: 1.55; margin: 0 0 1rem; }
.af-card__actions { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }

.af-tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 99px; background: var(--af-mist); color: var(--af-body); text-decoration: none; }
.af-tag--dark { background: rgb(8 32 60 / 0.82); color: #fff; }
.af-tag--leaf { background: var(--af-leaf-100); color: var(--af-leaf-800); }
.af-tag--sample { background: #fff4d6; color: #6b4a00; }
.af-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }

.af-progress { margin-top: auto; }
.af-progress__bar { height: 0.5rem; border-radius: 99px; background: var(--af-mist-200); overflow: hidden; margin-bottom: 0.5rem; }
.af-progress__bar span { display: block; height: 100%; min-width: 0.5rem; border-radius: inherit; background: linear-gradient(90deg, var(--af-leaf-700), var(--af-leaf)); }
.af-progress__text { margin: 0; font-size: 0.93rem; color: var(--af-muted); }
.af-progress__text strong { color: var(--af-ink); }
.af-progress--lg .af-progress__bar { height: 0.7rem; }
.af-progress--lg .af-progress__text { font-size: 1rem; }
.af-progress--lg .af-progress__text strong { font-family: var(--af-serif); font-size: 1.9rem; color: var(--af-navy); display: block; line-height: 1.1; }

.af-empty { text-align: center; background: var(--af-mist); border-radius: var(--af-radius); padding: 3rem 1.5rem; color: var(--af-muted); }

/* How it works */
.af-how { background: var(--af-navy-800); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.af-how__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .af-how__grid { grid-template-columns: 0.8fr 2fr; } }
.af-how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 640px) { .af-how__steps { grid-template-columns: repeat(3, 1fr); } }
.af-how__steps li { border-top: 2px solid var(--af-leaf); padding-top: 1rem; }
.af-how__n { margin: 0; font-size: 0.88rem; font-weight: 800; color: var(--af-leaf); }
.af-how__steps h3 { font-family: var(--af-sans); font-size: 1.12rem; font-weight: 800; color: #fff; margin: 0.25rem 0 0.4rem; }
.af-how__steps p:last-child { color: rgb(255 255 255 / 0.8); margin: 0; }

/* Country panels */
.af-panel { display: flex; flex-direction: column; border: 1px solid var(--af-line); border-radius: var(--af-radius); overflow: hidden; background: #fff; }
.af-panel__media { aspect-ratio: 16 / 9; }
.af-panel__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.4rem, 3vw, 2rem); }
.af-panel__list { list-style: none; margin: 0.5rem 0 0; padding: 0; border-top: 1px solid var(--af-line); }
.af-panel__list li { border-bottom: 1px solid var(--af-line); }
.af-panel__list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; color: var(--af-ink); font-weight: 600; text-decoration: none; }
.af-panel__list a:hover { color: var(--af-navy); }
.af-panel__list svg { color: var(--af-muted); transition: transform .15s; }
.af-panel__list a:hover svg { transform: translateX(3px); color: var(--af-navy); }
.af-panel__more { margin-top: auto; padding-top: 1.5rem; }

/* Quick donate */
.af-quick { background: #fff; border: 1px solid var(--af-line); border-radius: var(--af-radius); box-shadow: var(--af-shadow); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.75rem; }
.af-quick__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.af-quick__amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)); gap: 0.5rem; }
.af-amount { font: inherit; font-weight: 700; padding: 0.7rem 0.4rem; border-radius: 0.55rem; border: 1.5px solid #cdd6e1; background: #fff; color: var(--af-ink); cursor: pointer; }
.af-amount:hover { border-color: var(--af-navy); }
.af-amount[aria-pressed="true"] { background: var(--af-navy); border-color: var(--af-navy); color: #fff; }
.af-label { font-weight: 700; font-size: 0.95rem; }
.af-input { width: 100%; font: inherit; color: inherit; padding: 0.7rem 0.85rem; border: 1.5px solid #cdd6e1; border-radius: 0.55rem; background: #fff; }
.af-input:focus { outline: none; border-color: var(--af-navy); box-shadow: 0 0 0 4px rgb(17 56 100 / 0.14); }
.af-input--auto { width: auto; padding: 0.4rem 0.6rem; }

/* Impact note */
.af-note-card { background: var(--af-mist); border-radius: var(--af-radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.af-note-card__n { font-family: var(--af-serif); font-size: 3.4rem; font-weight: 600; color: var(--af-navy); line-height: 1; margin: 0; }
.af-note-card__label { font-weight: 700; margin: 0.4rem 0 1rem; }

/* News */
.af-post { position: relative; }
.af-post__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--af-radius); background: var(--af-mist); }
.af-post__date { margin: 1rem 0 0.2rem; font-size: 0.9rem; color: var(--af-muted); }
.af-post__title { font-family: var(--af-sans); font-weight: 800; font-size: 1.12rem; line-height: 1.35; }
.af-post__title a { color: var(--af-ink); text-decoration: none; }
.af-post__title a::after { content: ""; position: absolute; inset: 0; }
.af-post:hover .af-post__title a { color: var(--af-navy); }
.af-post__text { color: var(--af-muted); }

/* CTA */
.af-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--af-navy-800); color: rgb(255 255 255 / 0.82); border-radius: var(--af-radius); padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem); }
.af-cta .af-h2 { margin-bottom: 0.4rem; }
.af-cta p { margin: 0; font-size: 1.08rem; }

/* Inner page header */
.af-pagehead { background: var(--af-mist); border-bottom: 1px solid var(--af-line); padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem); }
.af-pagehead__title { font-size: clamp(2.2rem, 5vw, 3.25rem); margin: 0.75rem 0 0; }
.af-pagehead__intro { font-size: 1.15rem; color: var(--af-muted); margin: 1rem 0 0; max-width: 44rem; }
.af-crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9rem; color: var(--af-muted); }
.af-crumbs a { color: var(--af-muted); text-decoration: none; }
.af-crumbs a:hover { color: var(--af-navy); text-decoration: underline; }
.af-crumbs [aria-current] { color: var(--af-ink); font-weight: 600; }
.af-page-figure { margin: 0 0 2rem; border-radius: var(--af-radius); overflow: hidden; aspect-ratio: 16 / 9; }

/* Page content */
.af-content { font-size: 1.08rem; line-height: 1.8; color: var(--af-body); }
.af-content > * + * { margin-top: 1.1em; }
.af-content h2 { font-size: clamp(1.55rem, 3vw, 1.95rem); color: var(--af-ink); margin-top: 2em; margin-bottom: 0.5em; }
.af-content h3 { font-size: 1.35rem; color: var(--af-ink); margin-top: 1.8em; }
.af-content > :first-child { margin-top: 0; }
.af-content ul, .af-content ol { padding-left: 1.3em; }
.af-content li { margin: 0.35em 0; }
.af-content ul li::marker { color: var(--af-leaf-700); }
.af-content strong { color: var(--af-ink); }
.af-content blockquote { margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; border-left: 3px solid var(--af-leaf); font-family: var(--af-serif); font-size: 1.25rem; color: var(--af-ink); }
.af-content img { border-radius: var(--af-radius); }
.af-content .wp-block-button__link { background: var(--af-navy); border-radius: 0.55rem; font-weight: 700; }

/* Campaign page */
.af-campaign-head { background: var(--af-mist); padding: 1.75rem 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--af-line); }
.af-campaign-grid { display: grid; gap: 2rem; margin-top: 1.75rem; }
@media (min-width: 1024px) { .af-campaign-grid { grid-template-columns: 1.4fr 0.6fr; align-items: start; gap: 3rem; } }
.af-campaign-title { font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.1; }
.af-campaign-figure { margin: 1.75rem 0 0; aspect-ratio: 16 / 9; border-radius: var(--af-radius); overflow: hidden; box-shadow: var(--af-shadow); }
.af-give { background: #fff; border: 1px solid var(--af-line); border-radius: var(--af-radius); box-shadow: var(--af-shadow-lg); padding: 1.5rem 1.5rem 1.25rem; display: grid; gap: 1rem; }
@media (min-width: 1024px) { .af-give { position: sticky; top: 6.5rem; } }
.af-give__h { font-family: var(--af-sans); font-size: 0.98rem; font-weight: 800; margin: 0.25rem 0 0; }
.af-give__types { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.97rem; }
.af-give__types li { display: flex; justify-content: space-between; gap: 1rem; }
.af-give__types .is-ok { font-weight: 700; }
.af-give__types .is-ok svg { color: var(--af-leaf-700); }
.af-give__types .is-no { color: #8a94a3; }
.af-give__types .is-no span:last-child { font-size: 0.85rem; }
.af-give__secure { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.85rem; color: var(--af-muted); margin: 0; }
.af-give__secure svg { margin-top: 0.2rem; color: var(--af-navy); }
.af-notice { background: #fff7e6; border-left: 4px solid #e0a43a; border-radius: 0.4rem; padding: 0.7rem 0.9rem; font-size: 0.95rem; margin: 0; }

/* Archive filters */
.af-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.af-chip { padding: 0.45rem 0.95rem; border-radius: 99px; border: 1.5px solid var(--af-line); background: #fff; color: var(--af-ink); font-weight: 700; font-size: 0.93rem; text-decoration: none; }
.af-chip:hover { border-color: var(--af-navy); color: var(--af-navy); }
.af-chip.is-active { background: var(--af-navy); border-color: var(--af-navy); color: #fff; }
.af-pagination { margin-top: 2.5rem; }
.af-pagination .nav-links { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }
.af-pagination .page-numbers { min-width: 2.6rem; height: 2.6rem; padding: 0 0.6rem; display: inline-grid; place-items: center; border-radius: 0.5rem; border: 1px solid var(--af-line); text-decoration: none; font-weight: 700; color: var(--af-ink); }
.af-pagination .current { background: var(--af-navy); color: #fff; border-color: var(--af-navy); }

/* Search, 404 */
.af-search { display: flex; gap: 0.5rem; max-width: 30rem; margin: 1.5rem auto 0; }
.af-notfound { text-align: center; }
.af-notfound__logo { height: 4.5rem; width: auto; margin: 0 auto 1.5rem; }
.af-notfound__links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Footer */
.af-footer { background: var(--af-navy-900); color: rgb(255 255 255 / 0.72); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.98rem; }
.af-footer a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.af-footer a:hover { color: #fff; text-decoration: underline; }
.af-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .af-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.af-footer__logo .af-logo { height: 4.75rem; margin-bottom: 1rem; }
.af-footer__h { font-family: var(--af-serif); font-size: 1.15rem; color: #fff; margin: 0 0 0.9rem; }
.af-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.af-footer__contact li { display: flex; gap: 0.55rem; align-items: flex-start; }
.af-footer__contact svg { margin-top: 0.25rem; color: var(--af-leaf); }
.af-social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-weight: 700; }
.af-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.88rem; }
.af-footer__base p { margin: 0; }
.af-footer__secure { display: inline-flex; align-items: center; gap: 0.35rem; }
.af-footer__policies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* WordPress alignment helpers */
.alignwide { max-width: 64rem; margin-left: auto; margin-right: auto; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image figcaption { font-size: 0.9rem; color: var(--af-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Utility bar: contact + account */
.af-utility { background: var(--af-mist); border-bottom: 1px solid var(--af-line); font-size: 0.86rem; }
.af-utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.4rem; }
.af-utility a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--af-body); text-decoration: none; font-weight: 600; }
.af-utility a:hover { color: var(--af-navy); text-decoration: underline; }
.af-utility__contact, .af-utility__account { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.af-utility__account a:last-child { color: var(--af-leaf-700); }
@media (max-width: 720px) { .af-utility__account { display: none; } .af-utility__contact { justify-content: center; width: 100%; } }
.af-nav__account { display: none; }
@media (max-width: 1180px) { .af-nav__account { display: block; margin: 1.25rem 0 0; font-weight: 700; } .af-nav__account a { text-decoration: none; } }

/* Photo credits */
.af-credit { font-size: 0.78rem; color: var(--af-muted); }
.af-credit a { color: inherit; }
.af-credit--light, .af-credit--light a { color: rgb(255 255 255 / 0.7); }
.af-hero__credit { position: absolute; right: var(--af-gutter); bottom: 0.75rem; margin: 0; z-index: 1; }
.af-page-figure figcaption { padding: 0.5rem 0 0; }
.af-page-figure { aspect-ratio: auto; }
.af-page-figure img { aspect-ratio: 16 / 9; border-radius: var(--af-radius); }
.af-footer__photos { flex-basis: 100%; order: 3; color: rgb(255 255 255 / 0.5); }

/* Narrow column for sign in / sign up */
.af-container--auth { max-width: 30rem; }
