/*
Theme Name: Global Relief Foundation
Theme URI: https://theglobalrelief.org/
Description: Custom theme for Global Relief Foundation, ported from the original Horizons site design.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: grf
*/

/* The subset of Tailwind's preflight reset that the original design was built on. */
*, ::before, ::after { box-sizing: border-box; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
blockquote, dl, dd, h4, h5, h6, hr, pre { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
img, svg, video { display: block; vertical-align: middle; }
button, input, select, textarea { color: inherit; margin: 0; }
button { background-color: transparent; background-image: none; }


  :root {
    --background: 0 0% 100%; --foreground: 218 26% 20%;
    --card: 0 0% 100%; --card-foreground: 218 26% 20%;
    --popover: 0 0% 100%; --popover-foreground: 218 26% 20%;
    --primary: 220 56% 35%; --primary-foreground: 0 0% 100%;
    --secondary: 99 57% 44%; --secondary-foreground: 0 0% 100%;
    --muted: 210 22% 96%; --muted-foreground: 216 12% 42%;
    --accent: 99 57% 44%; --accent-foreground: 0 0% 100%;
    --destructive: 0 62% 39%; --destructive-foreground: 0 0% 100%;
    --border: 215 20% 89%; --input: 215 20% 87%; --ring: 220 56% 35%; --radius: .6rem;
    --blue: #27498C; --green: #55AF30; --green-ink: #39751f; --marigold: #F4A51C;
    --ink: #233448; --body-ink: #536170; --soft-blue: #f3f6fa; --soft-green: #f4f8f1;
    --white: #ffffff; --line: #dfe5eb;
  }
  * { box-sizing: border-box; }
  body { margin: 0; font-family: 'Figtree', sans-serif; color: var(--ink); background: var(--white); overflow-x: clip; }
  h1,h2,h3,p,figure { margin: 0; }
  h1,h2 { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -.035em; }
  h1 em,h2 em { font-weight: 450; color: var(--green-ink); }
  h3 { font-weight: 600; }
  p { color: var(--body-ink); line-height: 1.75; }
  a { text-decoration: none; color: inherit; }
  button,input,select,textarea { font: inherit; }
  button,a { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  img { display: block; max-width: 100%; }
  :focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
  ::selection { background: var(--blue); color: var(--white); }
.wide-rail { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.utility-bar { background: var(--blue); color: var(--white); font-size: 11px; letter-spacing: .02em; }
.utility-bar .wide-rail { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.utility-bar span:last-child { display: flex; gap: 12px; align-items: center; }
.utility-bar i { width: 3px; height: 3px; background: var(--white); opacity: .65; border-radius: 50%; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 25px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--blue); }
.brand img { width: 57px; height: 57px; object-fit: contain; }
.brand > span { font-size: 17px; font-weight: 800; letter-spacing: .015em; line-height: 1.2; }
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .32em; margin-top: 6px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 18px; font-size: 13px; font-weight: 500; }
.desktop-nav a { position: relative; padding-block: 15px; }
.desktop-nav a:hover,.desktop-nav a.active { color: var(--blue); }
.desktop-nav a.active::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 20px; height: 2px; background: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 16px 24px; min-height: 50px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 650; line-height: 1.25; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.donate-button { background: var(--marigold); color: #273546; }
.donate-button:hover { background: #f9b742; }
.header-donate { padding: 13px 22px; min-height: 44px; }
.blue-button { background: var(--blue); color: var(--white); }
.outline-button { background: rgba(255,255,255,.5); border-color: #99a9b9; color: var(--blue); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.mobile-menu,.mobile-nav { display: none; }
.home-hero { position: relative; min-height: 660px; display: flex; align-items: center; background: var(--soft-green); isolation: isolate; }
.hero-photo { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 38%; z-index: -3; }
.hero-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(247,250,247,.98) 0%,rgba(247,250,247,.94) 27%,rgba(247,250,247,.73) 43%,rgba(247,250,247,.12) 63%,transparent 100%); }
.hero-content { padding-block: 83px 96px; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: .18em; color: var(--green-ink); line-height: 1.6; margin-bottom: 23px; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero-content .eyebrow span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.hero-content h1 { font-size: clamp(45px,4.7vw,69px); line-height: 1.14; max-width: 690px; color: var(--blue); }
.hero-content h1 em { white-space: nowrap; }
.hero-content > p { font-size: 16px; max-width: 430px; margin: 25px 0 30px; line-height: 1.8; }
.hero-footnote { display: flex; align-items: center; gap: 10px; color: var(--body-ink); font-size: 11px; margin-top: 30px; }
.hero-footnote svg { color: var(--green-ink); }
.hero-note { position: absolute; bottom: 48px; right: 6%; display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.92); padding: 18px 24px; border-radius: 7px; box-shadow: 0 8px 40px #243b4620; font-size: 12px; line-height: 1.7; }
.hero-note svg { color: var(--green-ink); }
.hero-note strong { color: var(--blue); font-weight: 650; }
.image-credit { font-size: 9px; letter-spacing: .015em; color: var(--body-ink); margin-top: 9px; line-height: 1.5; }
.hero-credit { position: absolute; bottom: 13px; right: 18px; color: var(--white); background: #2334489c; padding: 3px 7px; border-radius: 2px; }
.mission-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.mission-items { display: grid; grid-template-columns: repeat(3,1fr); padding: 30px 0; }
.mission-items > div { display: flex; align-items: center; gap: 18px; padding-inline: 30px; border-right: 1px solid var(--line); }
.mission-items > div:first-child { padding-left: 0; }
.mission-items > div:last-child { border: 0; }
.mission-items svg { width: 32px; height: 32px; color: var(--green-ink); stroke-width: 1.4; flex-shrink: 0; }
.mission-items span { font-size: 14px; font-weight: 650; color: var(--blue); }
.mission-items small { display: block; font-size: 11px; font-weight: 400; color: var(--body-ink); margin-top: 6px; }
.programs-section { padding-block: 94px 72px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 100px; margin-bottom: 42px; }
h2 { font-size: clamp(32px,3.1vw,44px); line-height: 1.2; color: var(--blue); }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading > div:last-child { max-width: 420px; }
.section-heading p { font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-weight: 650; color: var(--blue); font-size: 13px; min-height: 44px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.section-heading .text-link { margin-top: 8px; }
.program-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 15px; }
.program-card { background: var(--soft-blue); border-radius: 7px; padding: 29px 23px 22px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:nth-child(even) { background: var(--soft-green); }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px #27498c0d; }
.program-icon { color: var(--green-ink); margin-bottom: 23px; }
.program-card h3 { color: var(--blue); font-size: 16px; line-height: 1.4; min-height: 45px; }
.program-card p { font-size: 12px; line-height: 1.7; margin-top: 10px; min-height: 61px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 650; color: var(--blue); margin-top: 22px; }
.story-section { padding-block: 48px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.story-section figure { position: relative; }
.story-section figure > img { width: 100%; height: 470px; object-fit: cover; border-radius: 8px; }
.photo-tag { position: absolute; bottom: 52px; left: -18px; background: var(--blue); color: var(--white); padding: 22px 32px; font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.4; border-radius: 5px; }
.photo-tag em { font-weight: 400; }
.story-copy > p { font-size: 14px; margin-top: 21px; }
.story-copy h3 { font-size: 16px; color: var(--blue); margin-top: 24px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 25px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--body-ink); line-height: 1.7; }
.check-list svg { color: var(--green-ink); width: 17px; height: 20px; flex-shrink: 0; }
.callout { background: var(--blue); color: var(--white); padding-block: 54px; }
.callout-inner { display: flex; align-items: center; gap: 30px; }
.callout-inner > svg { color: #b1d6a5; flex-shrink: 0; }
.callout h2 { color: var(--white); font-size: 37px; }
.callout h2 em { color: #c5e0bc; }
.callout .eyebrow { color: #d4e4f9; font-size: 9px; margin-bottom: 11px; }
.callout p { color: #e0e7f1; font-size: 13px; margin-top: 14px; }
.callout-actions { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.light-link { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: 11px; padding: 10px; }
.site-footer { background: var(--soft-blue); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.25fr; gap: 45px; padding-bottom: 47px; }
.footer-brand > span { font-size: 14px; }
.footer-brand small { font-size: 9px; }
.footer-brand img { width: 45px; height: 45px; }
.footer-grid h2 { font-family: 'Figtree',sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0; margin-bottom: 21px; }
.footer-grid p { font-size: 12px; margin-top: 18px; margin-bottom: 13px; }
.footer-grid > div > a:not(.brand) { display: flex; align-items: center; gap: 7px; color: var(--body-ink); font-size: 11px; padding-block: 7px; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.faith { color: var(--green-ink); font-size: 9px; letter-spacing: .16em; font-weight: 650; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; padding-block: 22px; font-size: 10px; color: var(--body-ink); }
.whatsapp-float { position: fixed; right: 25px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 9px; padding: 13px 17px; background: var(--green-ink); color: var(--white); border-radius: 30px; box-shadow: 0 5px 22px #23344825; font-size: 12px; font-weight: 650; }
.whatsapp-float:hover { transform: translateY(-2px); }
.mobile-donate-sticky { display: none; }
.page-intro { background: var(--soft-green); padding: 34px 0 66px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--body-ink); margin-bottom: 41px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.page-intro .eyebrow { margin-bottom: 15px; }
.page-intro h1 { font-size: clamp(40px,4vw,60px); line-height: 1.14; max-width: 960px; color: var(--blue); }
.page-intro > div > p { max-width: 630px; margin-top: 23px; font-size: 15px; }
.page-intro + .story-section { padding-top: 80px; }
.vision-section { padding-block: 65px; background: var(--soft-blue); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.two-column p { margin-top: 24px; font-size: 14px; }
.editorial-section { padding-block: 80px; }
.process-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; }
.process-list > div { border-top: 2px solid var(--green); padding-top: 24px; }
.process-list h3 { color: var(--blue); margin-bottom: 13px; font-size: 20px; }
.process-list p { font-size: 14px; }
.source-note { font-size: 12px; color: var(--body-ink); margin-top: 26px; }
.leadership-section { padding-block: 10px 85px; }
.leadership-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; border-top: 1px solid var(--line); margin-top: 35px; padding-top: 27px; }
.leadership-list img { width: 100%; height: 230px; object-fit: cover; object-position: center top; border-radius: 7px; margin-bottom: 16px; }
.leadership-list h3 { color: var(--blue); font-size: 17px; }
.program-gallery-section { padding-bottom: 70px; }
.program-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.program-gallery img { width: 100%; height: 170px; object-fit: cover; border-radius: 7px; }
.contact-photo { margin-top: 30px; }
.contact-photo img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.leadership-list p,.leadership-list a { font-size: 13px; margin-top: 9px; }
.leadership-list a { display: inline-block; color: var(--blue); }
.work-note { padding-block: 0 80px; max-width: 850px; }
.work-note h2 { font-size: 31px; margin-bottom: 20px; }
.program-detail { padding-bottom: 65px; }
.program-logistics { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 0 75px; align-items: center; }
.program-logistics h2 { font-size: 32px; margin-bottom: 18px; }
.program-logistics p { font-size: 14px; }
.details-panel { padding: 27px 30px; background: var(--soft-blue); border-radius: 7px; }
.details-panel h3 { color: var(--blue); }
dl { margin: 15px 0 0; }
dl > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
dl > div:last-child { border-bottom: 0; }
dt { font-size: 11px; color: var(--body-ink); margin-bottom: 8px; }
dd { margin: 0; font-size: 13px; font-weight: 550; color: var(--blue); }
.related-programs { padding-bottom: 80px; }
.related-programs h2 { font-size: 31px; }
.related-programs > div:last-child { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.related-programs a { display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--blue); padding: 15px 0; margin-right: 20px; border-bottom: 1px solid var(--line); }
.donation-section { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: 110px; padding-block: 85px 100px; }
.donation-copy > p { font-size: 14px; margin-top: 23px; }
.donation-copy > h3 { margin-top: 30px; color: var(--blue); font-size: 18px; }
.transfer-explainer { display: flex; gap: 20px; margin-top: 27px; padding: 24px 0; border-block: 1px solid var(--line); }
.transfer-explainer svg { color: var(--green-ink); flex-shrink: 0; }
.transfer-explainer h3 { color: var(--blue); font-size: 17px; margin-bottom: 10px; }
.transfer-explainer p { font-size: 13px; }
.bank-card { background: var(--soft-blue); border: 1px solid var(--line); border-radius: 9px; padding: 36px; box-shadow: 0 15px 45px #27498c08; }
.bank-card .eyebrow { margin-bottom: 15px; }
.bank-card h2 { font-size: 31px; }
.bank-card > p { font-size: 12px; margin-top: 12px; }
.bank-card dl > div { padding-block: 20px; }
.bank-card dd { font-size: 15px; overflow-wrap: anywhere; }
.copy-value { display: flex; align-items: center; gap: 7px; justify-content: space-between; }
.copy-value span { font-family: 'Figtree',sans-serif; font-weight: 600; letter-spacing: .01em; }
.copy-value button { border: 1px solid var(--line); background: var(--white); border-radius: 5px; color: var(--blue); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bank-card .copy-status { min-height: 36px; font-size: 11px; }
.involvement-section { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; padding-block: 80px 100px; align-items: start; }
.involvement-section figure { position: sticky; top: 120px; }
.involvement-section img { height: 600px; width: 100%; object-fit: cover; object-position: 68% center; border-radius: 8px; }
.involvement-list article { display: flex; gap: 22px; border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 30px; }
.involvement-list article > svg { flex-shrink: 0; color: var(--green-ink); margin-top: 6px; }
.involvement-list h2 { font-size: 29px; }
.involvement-list p { font-size: 14px; margin-top: 16px; }
.involvement-list .source-note { font-size: 12px; }
.contact-section { padding-block: 80px 100px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; }
.contact-details > p { margin-top: 22px; font-size: 14px; max-width: 390px; }
.contact-item { display: flex; gap: 20px; margin-top: 28px; }
.contact-item > svg { flex-shrink: 0; color: var(--green-ink); width: 21px; }
.contact-item h3 { font-size: 14px; color: var(--blue); margin-bottom: 10px; }
.contact-item p,.contact-item a { font-size: 13px; line-height: 1.8; }
.contact-item a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); }
.contact-form-panel { background: var(--soft-blue); padding: 38px; border-radius: 9px; }
.contact-form-panel h2 { font-size: 30px; }
.contact-form-panel form > p:first-of-type { font-size: 13px; margin-top: 12px; margin-bottom: 27px; }
.contact-form-panel label { display: grid; gap: 9px; font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 21px; }
.contact-form-panel label > span { font-weight: 400; }
.contact-form-panel input:not([type=checkbox]),.contact-form-panel select,.contact-form-panel textarea { display: block; width: 100%; background: var(--white); border: 1px solid var(--line); padding: 13px 14px; border-radius: 5px; font-size: 13px; font-weight: 400; color: var(--ink); }
.contact-form-panel textarea { resize: vertical; min-height: 140px; }
.contact-form-panel ::placeholder { color: #73808b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form-panel .consent-label { display: flex; align-items: flex-start; gap: 10px; color: var(--body-ink); line-height: 1.6; font-size: 11px; }
.consent-label input { accent-color: var(--blue); width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0; }
.privacy-note { font-size: 10px; margin-top: 22px; line-height: 1.7; scroll-margin-top: 120px; }
.form-error { color: hsl(var(--destructive)); font-size: 12px; margin-bottom: 18px; }
button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-success { padding-block: 60px; }
.form-success svg { color: var(--green-ink); margin-bottom: 22px; }
.form-success p { margin-block: 22px; font-size: 14px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.not-found { padding-block: 120px; }
.not-found h1 { font-size: 52px; color: var(--blue); }
.not-found p { margin-block: 24px; }
.skip-link { position: fixed; left: 15px; top: -100px; z-index: 60; padding: 14px; background: var(--blue); color: var(--white); }
.skip-link:focus { top: 12px; }

@media(min-width:1500px) { .home-hero { min-height: 750px; } }
@media(max-width:1150px) {
  .wide-rail { width: calc(100% - 72px); }
  .desktop-nav { gap: 20px; margin-right: 0; font-size: 12px; }
  .brand > span { font-size: 14px; }
  .brand small { font-size: 9px; }
  .brand img { width: 48px; height: 48px; }
  .header-inner { gap: 20px; height: 82px; }
  .program-grid { gap: 12px; }
  .program-card { padding: 25px 17px 20px; }
  .program-card h3 { font-size: 14px; }
  .card-link { font-size: 10px; }
  .story-section,.program-logistics,.involvement-section,.contact-section { gap: 50px; }
  .donation-section { gap: 65px; }
  .section-heading { gap: 55px; }
  .footer-grid { gap: 28px; }
  .mission-items > div { padding-inline: 20px; gap: 13px; }
  .mission-items span { font-size: 12px; }
  .callout h2 { font-size: 32px; }
}
@media(max-width:900px) {
  .desktop-nav { display: none; }
  .header-donate { margin-left: auto; }
  .mobile-menu { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--blue); background: none; border: 0; }
  .mobile-nav { display: grid; padding: 8px 36px 24px; background: var(--white); border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 13px 0; font-size: 14px; color: var(--blue); }
  .mobile-nav a.active { color: var(--green-ink); }
  .hero-content h1 { font-size: 53px; }
  .hero-content > p { max-width: 365px; }
  .hero-wash { background: linear-gradient(90deg,rgba(247,250,247,.97),rgba(247,250,247,.85) 38%,rgba(247,250,247,.24) 78%); }
  .hero-note { display: none; }
  .program-grid { grid-template-columns: repeat(3,1fr); }
  .program-card p { min-height: 42px; }
  .program-card h3 { min-height: auto; font-size: 16px; }
  .program-card { min-height: 240px; }
  .program-card:last-child { grid-column: span 2; }
  .story-section { gap: 36px; }
  .story-section figure > img { height: 430px; }
  .mission-items small { font-size: 10px; line-height: 1.6; }
  .mission-items svg { width: 25px; }
  .mission-items > div { gap: 10px; padding-inline: 15px; }
  .callout-inner > svg { display: none; }
  .callout-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .two-column { gap: 50px; }
  .leadership-list { grid-template-columns: 1fr 1fr; }
  .donation-section,.contact-section { gap: 40px; }
  .bank-card,.contact-form-panel { padding: 27px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}
@media(max-width:640px) {
  .wide-rail { width: calc(100% - 40px); }
  .utility-bar .wide-rail { min-height: 28px; justify-content: center; }
  .utility-bar span:first-child { display: none; }
  .utility-bar { font-size: 9px; }
  .utility-bar span:last-child { gap: 9px; }
  .header-inner { height: 74px; gap: 12px; }
  .brand { gap: 7px; }
  .brand img { width: 39px; height: 39px; }
  .brand > span { font-size: 11px; }
  .brand small { font-size: 7px; letter-spacing: .29em; margin-top: 4px; }
  .header-donate { padding: 11px 13px; font-size: 12px; min-height: 42px; gap: 10px; }
  .mobile-menu { width: 35px; }
  .mobile-nav { padding-inline: 20px; }
  .home-hero { min-height: 790px; align-items: flex-start; }
  .hero-photo { height: 46%; top: auto; bottom: 0; object-position: 70% center; }
  .hero-wash { background: linear-gradient(180deg,#f5f8f3 0%,#f5f8f3 52%,rgba(245,248,243,.95) 55%,rgba(245,248,243,.04) 73%); }
  .hero-content { padding-block: 47px; }
  .hero-content h1 { font-size: clamp(39px,10vw,54px); line-height: 1.16; }
  .hero-content h1 em { white-space: normal; }
  .eyebrow { font-size: 9px; margin-bottom: 20px; letter-spacing: .14em; }
  .hero-content > p { font-size: 14px; max-width: 100%; margin-block: 22px 26px; }
  .button-row { gap: 9px; }
  .button { font-size: 12px; padding: 15px 16px; gap: 14px; min-height: 48px; }
  .hero-footnote { margin-top: 21px; font-size: 10px; }
  .hero-credit { bottom: 9px; right: 10px; font-size: 8px; }
  .mission-items { grid-template-columns: 1fr; gap: 21px; padding-block: 26px; }
  .mission-items > div { padding: 0; border: 0; gap: 17px; }
  .mission-items svg { width: 28px; height: 28px; }
  .mission-items span { font-size: 13px; }
  .mission-items small { font-size: 11px; margin-top: 4px; }
  .programs-section { padding-block: 59px 40px; }
  .section-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 28px; }
  h2 { font-size: 34px; }
  .section-heading p { font-size: 13px; }
  .program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .program-card { min-height: 238px; padding: 23px 17px; }
  .program-card h3 { font-size: 15px; min-height: 40px; }
  .program-card p { font-size: 11px; min-height: 50px; }
  .program-card:last-child { grid-column: span 2; min-height: auto; }
  .program-card:last-child h3,.program-card:last-child p { min-height: auto; }
  .program-icon { margin-bottom: 17px; }
  .card-link { font-size: 10px; margin-top: 18px; }
  .story-section { grid-template-columns: 1fr; gap: 39px; padding-block: 30px 64px; }
  .story-section figure > img { height: 365px; }
  .photo-tag { left: -8px; bottom: 40px; font-size: 19px; padding: 19px 24px; }
  .story-copy > p { font-size: 13px; }
  .story-copy h2 { font-size: 33px; }
  .check-list li { font-size: 12px; }
  .callout { padding-block: 43px; }
  .callout-inner { flex-direction: column; align-items: flex-start; gap: 27px; }
  .callout h2 { font-size: 34px; }
  .callout p { font-size: 12px; }
  .callout-actions { margin: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 9px; }
  .light-link { padding-left: 0; }
  .site-footer { padding-top: 43px; padding-bottom: 67px; }
  .footer-grid { gap: 33px 22px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: span 2; }
  .footer-brand > span { font-size: 15px; }
  .footer-brand small { font-size: 10px; }
  .footer-grid h2 { font-size: 12px; }
  .footer-bottom { flex-direction: column; font-size: 10px; gap: 12px; }
  .whatsapp-float { right: 15px; bottom: 77px; padding: 13px; width: 50px; height: 50px; justify-content: center; }
  .whatsapp-float span { display: none; }
  .mobile-donate-sticky { position: fixed; display: flex; align-items: center; justify-content: center; gap: 18px; inset: auto 0 0; min-height: 57px; padding: 17px 20px calc(17px + env(safe-area-inset-bottom)); background: var(--marigold); color: var(--ink); z-index: 35; font-size: 14px; font-weight: 700; box-shadow: 0 -3px 16px #23344812; }
  .page-intro { padding: 26px 0 44px; }
  .breadcrumbs { margin-bottom: 30px; font-size: 10px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro > div > p { font-size: 13px; margin-top: 20px; }
  .page-intro + .story-section { padding-top: 45px; }
  .vision-section { padding-block: 47px; }
  .two-column { grid-template-columns: 1fr; gap: 44px; }
  .two-column p { font-size: 13px; }
  .editorial-section { padding-block: 53px; }
  .process-list { grid-template-columns: 1fr; gap: 27px; }
  .process-list h3 { font-size: 18px; }
  .process-list p { font-size: 13px; }
  .leadership-list { grid-template-columns: 1fr 1fr; gap: 29px 24px; }
  .leadership-list img { height: 200px; }
  .program-gallery { grid-template-columns: 1fr 1fr; }
  .program-gallery img { height: 130px; }
  .leadership-list h3 { font-size: 15px; }
  .leadership-list p,.leadership-list a { font-size: 11px; overflow-wrap: anywhere; }
  .work-note { padding-block: 16px 55px; }
  .work-note p { font-size: 13px; }
  .program-logistics { grid-template-columns: 1fr; gap: 30px; padding-block: 0 53px; }
  .program-logistics h2 { font-size: 29px; }
  .details-panel { padding: 24px; }
  .related-programs { padding-bottom: 55px; }
  .related-programs h2 { font-size: 28px; }
  .related-programs > div:last-child { display: grid; grid-template-columns: 1fr; gap: 0; }
  .related-programs a { margin-right: 0; justify-content: space-between; }
  .donation-section { grid-template-columns: 1fr; gap: 37px; padding-block: 47px 65px; }
  .bank-card { padding: 26px 22px; }
  .bank-card dd { font-size: 13px; }
  .involvement-section { grid-template-columns: 1fr; gap: 35px; padding-block: 45px 40px; }
  .involvement-section figure { position: static; }
  .involvement-section img { height: 360px; }
  .involvement-list article { gap: 18px; }
  .involvement-list h2 { font-size: 28px; }
  .involvement-list p { font-size: 13px; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; padding-block: 46px 65px; }
  .contact-form-panel { padding: 27px 21px; }
  .contact-form-panel h2 { font-size: 29px; }
  .contact-form-panel label { font-size: 12px; }
  .not-found { padding-block: 70px; }
  .not-found h1 { font-size: 39px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* WordPress additions */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-nav[hidden] { display: none !important; }
.form-notice { font-size: 12px; margin-bottom: 18px; color: var(--green-ink); }
.entry-content { padding-block: 70px 90px; max-width: 850px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p, .entry-content li { font-size: 15px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.entry-content h2 { font-size: 31px; margin-top: 1.6em; }
.entry-content h3 { font-size: 19px; color: var(--blue); margin-top: 1.4em; }
.entry-content img { height: auto; border-radius: 8px; }

/* Layouts for the GRF profile content (photos from the client's brochure) */
.leadership-list { grid-template-columns: repeat(3, 1fr); }
.leadership-list img { height: 280px; object-position: center 25%; }
.leadership-list a { display: block; }
.program-gallery { grid-template-columns: repeat(3, 1fr); }
.program-gallery img { height: 240px; }
.work-goals { padding-top: 10px; }
.contact-item p + p { margin-top: 4px; }
.privacy-note a { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .leadership-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .leadership-list { grid-template-columns: 1fr; }
  .leadership-list img { height: 300px; }
  .program-gallery { grid-template-columns: 1fr; }
  .program-gallery img { height: 220px; }
}
