/* Typefaces, self-hosted (no external font service): Inter for text, Plus Jakarta Sans for headings. Both SIL OFL 1.1. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');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:'Plus Jakarta Sans';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/plusjakartasans-latin-ext.woff2) format('woff2');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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/plusjakartasans-latin.woff2) format('woff2');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}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,.display-1,.display-2,.display-3,.display-4,.display-5,.display-6{font-family:var(--ycab-heading-font)}
/* Colour and type tokens: the JCDC design system (names and values follow jcdc public.css). Dark is the default theme; [data-bs-theme=dark] flips the tokens, components only read them. */
:root{--shell-page:#181b21;--shell-panel:#181b21;--shell-raised:#242830;--shell-line:#434953;--jcdc-blue:#0d7aa8;--jcdc-blue-text:#0a6a94;--jcdc-deep:#133e57;--jcdc-orange:#ed9740;
--ink:var(--jcdc-deep);--text:#526572;--muted:#547380;--paper:#fff;--surface:#eff7f9;--line:#d3e3ea;--accent:var(--jcdc-orange);--on-accent:#133e57;
--btn-bg:#0d7aa8;--btn-hover:#0a6590;--on-btn:#fff;--band-bg:#e1f0f6;--danger:#b42318;
--hero-bg:#143c50;--shade-rgb:18 57 81;--on-deep:#fff;--on-deep-muted:#d9eff8;--on-deep-eyebrow:#ace4f8;
--header-bg:var(--paper);--footer-bg:#eff7f9;--footer-text:#547380;--footer-link:var(--jcdc-blue-text);--footer-line:rgb(171 203 214 / 33%);
--brand-red:var(--btn-bg);
--bs-primary:#0d7aa8;--bs-primary-rgb:13,122,168;--bs-link-color:#0a6a94;--bs-link-color-rgb:10,106,148;--bs-link-hover-color:#0a6590;--bs-link-hover-color-rgb:10,101,144;
--bs-body-font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--ycab-heading-font:"Plus Jakarta Sans",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--bs-body-bg:var(--paper);--bs-body-color:var(--text);--bs-secondary-color:var(--muted);--bs-border-color:var(--line)}
[data-bs-theme=dark]{--shell-page:var(--dark-page);--shell-panel:var(--dark-panel);--shell-raised:var(--dark-raised);--shell-line:var(--dark-border);--dark-page:#191a1b;--dark-panel:#1d1e1f;--dark-raised:#212223;--dark-border:#3a3b3d;--dark-control-border:#707377;--jcdc-blue:#38bdf8;--jcdc-blue-text:#7dd3fc;--jcdc-deep:#d9eff8;
--text:#cbd5e1;--muted:#94a3b8;--paper:var(--dark-page);--surface:var(--dark-panel);--line:rgb(255 255 255 / 12%);--btn-bg:#0369a1;--btn-hover:#075985;--band-bg:var(--dark-panel);--danger:#f97066;
--header-bg:var(--dark-page);--footer-bg:var(--dark-page);--footer-text:#94a3b8;--footer-link:#7dd3fc;--footer-line:rgb(255 255 255 / 10%);
--bs-primary:#38bdf8;--bs-primary-rgb:56,189,248;--bs-link-color:#38bdf8;--bs-link-color-rgb:56,189,248;--bs-link-hover-color:#7dd3fc;--bs-link-hover-color-rgb:125,211,252}
.custom-page{background:var(--paper);color:var(--text)}body{font-size:17px;line-height:1.65;background:var(--paper);color:var(--text)}h1,h2,h3,h4,h5,h6{color:var(--ink);font-weight:700;line-height:1.12;letter-spacing:-.035em}a{color:inherit;text-decoration:none}a:hover{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}img{max-width:100%;height:auto}.container{max-width:1280px;padding-left:28px;padding-right:28px}.custom-page--standard .container{max-width:1200px}.section{padding:70px 0}.eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.lead{font-size:1.1rem;line-height:1.8;color:var(--muted)}.site-header{background:var(--header-bg);border-bottom:1px solid var(--line);position:relative;z-index:20}.navbar{min-height:94px}.navbar-brand{display:flex;align-items:center;gap:5px}.navbar-brand img{width:95px;height:64px;object-fit:contain}.brand-light{display:none}[data-bs-theme=dark] .brand-light{display:block}[data-bs-theme=dark] .brand-dark{display:none}.brand-wordmark{max-width:175px;font-size:.87rem;font-weight:700;line-height:1.2;white-space:normal}.brand-wordmark small{display:block;font-size:.62rem;font-weight:400;color:var(--muted);margin-top:5px}.navbar-nav{gap:10px}.navbar .nav-link{color:var(--ink);font-size:.84rem}.navbar .nav-link{font-weight:650}.navbar .nav-link:hover{color:var(--jcdc-blue)}.nav-tools{display:flex;align-items:center;gap:14px;margin-left:18px;padding-left:18px;border-left:1px solid var(--line);font-size:.8rem}.nav-tools button{background:none;border:0;color:var(--ink);font-size:1.4rem}.navbar-nav .dropdown>ul{display:none;position:absolute;background:var(--paper);padding:18px;min-width:210px;box-shadow:0 10px 30px #0002}.navbar-nav .dropdown:hover>ul,.navbar-nav .dropdown:focus-within>ul{display:block}.public-nav-more[hidden]{display:none!important}.hero{position:relative;background:var(--hero-bg);color:var(--on-deep)}.hero .carousel-item{min-height:460px;height:min(560px,48vw)}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgb(var(--shade-rgb) / 87%),rgb(var(--shade-rgb) / 53%) 60%,rgb(var(--shade-rgb) / 13%))}.hero-content{position:relative;padding-top:110px;padding-bottom:100px}.hero h1,.hero h2{max-width:720px;font-size:clamp(2.7rem,5.2vw,4.7rem);color:var(--on-deep)}.hero .eyebrow{margin-bottom:24px}.hero-content>p:not(.eyebrow){max-width:550px;margin:25px 0;font-size:1.1rem;color:var(--on-deep-muted)}.button,.btn-3{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:15px 23px;background:var(--btn-bg);border:1px solid var(--btn-bg);border-radius:8px;color:var(--on-btn);font-size:.9rem;font-weight:650}.button:hover,.btn-3:hover{background:var(--btn-hover);border-color:var(--btn-hover);color:var(--on-btn)}.button span{font-size:1.2rem}.hero-controls{position:absolute;bottom:25px;right:35px;display:flex;align-items:center;gap:20px;font-size:.8rem}.hero-controls button{border:1px solid #ffffff80;border-radius:50%;background:transparent;color:#fff;width:42px;height:42px}.custom-hero{min-height:540px}.custom-hero--plain{min-height:0;background:var(--surface);color:var(--ink)}.custom-hero--plain:after{display:none}.custom-hero--plain .custom-hero-copy{padding:20px 0}.custom-hero--plain h1{color:var(--ink)}.custom-hero--plain .lead{color:var(--muted)}.custom-hero .lead{color:var(--on-deep-muted)}.custom-hero--plain .lead{color:var(--muted)}.custom-block{padding:75px 0}.custom-block:nth-of-type(even):not(.custom-hero):not(.custom-cta):not(.custom-contact_panel){background:var(--surface)}.custom-split .image-link{border-radius:20px;overflow:hidden;background:#fff}.custom-split .image-link img{display:block;width:100%;height:auto;max-height:600px;object-fit:contain}.custom-split--text{display:block;max-width:840px}.custom-copy{color:var(--muted);line-height:1.85}.custom-copy+.button{margin-top:25px}.custom-items article{background:var(--paper);border-color:var(--line);border-top-color:var(--accent)}.custom-items article h3{font-size:1.17rem;line-height:1.4}.custom-items p{color:var(--muted)}.custom-action h2{font-size:2.35rem;max-width:690px}.custom-action .button{flex-shrink:0}.custom-cta{background:var(--hero-bg)}.custom-cta .lead{color:var(--on-deep-muted)}.custom-prose{margin:auto}.custom-block h2{font-size:clamp(1.9rem,3.5vw,2.8rem)}.donation-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:65px;align-items:center}.bank-card{background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--accent);padding:26px;border-radius:12px;margin-top:25px}.bank-card strong{display:block;font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:.04em;overflow-wrap:anywhere}.bank-card p{margin:8px 0 0}.donation-qr img{display:block;max-height:540px;object-fit:contain;width:100%;background:#fff;border-radius:12px}.contact-strip{background:var(--band-bg);color:var(--ink);padding:60px 0}.contact-strip .container{display:flex;align-items:center;justify-content:space-between;gap:35px}.contact-strip h2{max-width:620px;font-size:2.3rem;margin:0}.site-footer{background:var(--footer-bg);color:var(--footer-text);border-top:1px solid var(--footer-line);padding:65px 0 25px}.footer-grid{display:grid;grid-template-columns:1fr 1.2fr .6fr;gap:60px}.footer-grid img{width:145px;height:90px;object-fit:contain}.footer-grid h2{font-size:1.05rem;letter-spacing:0;line-height:1.5;color:var(--ink)}.footer-grid p{font-size:.9rem;color:var(--footer-text)}.footer-grid a{font-size:.9rem;color:var(--footer-link)}.footer-grid a:hover{color:var(--ink)}.footer-grid nav{display:flex;flex-direction:column;gap:10px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--footer-line);margin-top:45px;padding-top:25px;font-size:.73rem;color:var(--footer-text)}.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:70px}.contact-grid iframe{width:100%;height:270px;border:0;margin-top:25px;border-radius:14px}.map-consent{margin-top:25px;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.map-consent p{margin:0 0 16px;color:var(--muted);font-size:.9rem}.contact-grid form{padding:35px;background:var(--surface);border-radius:18px}.contact-grid address{margin:25px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-grid label{font-size:.85rem;margin-bottom:7px}.contact-grid textarea{margin:8px 0 20px}.contact-grid .form-control,.project-form .form-control{padding:12px;border-color:var(--line);background:var(--paper);color:var(--ink)}
[data-bs-theme=dark] .contact-grid .form-control,[data-bs-theme=dark] .project-form .form-control,[data-bs-theme=dark] .contact-grid .form-select,[data-bs-theme=dark] .project-form .form-select{background-color:var(--dark-raised);border-color:var(--dark-control-border)}.form-note{font-size:.8rem;color:var(--muted);margin:18px 0}.form-result{font-size:.9rem;margin-top:20px}.is-error{color:var(--danger)}.text-link{display:inline-block;padding:8px 0;border-bottom:1px solid currentColor;font-weight:600;font-size:.9rem}.project-form{max-width:960px;margin:auto}.project-fieldset{margin-bottom:30px}.project-fieldset legend{font-size:1.3rem;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:22px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}/* Floating WhatsApp: the same round icon button as the parent company's site (48 px, WhatsApp green, one squared corner). */
.whatsapp-link{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:1040;display:grid;place-items:center;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:50% 50% 50% 12%;background:#128c4a;color:#fff;line-height:1;box-shadow:0 4px 14px rgb(0 0 0 / 22%)}
.whatsapp-link:hover,.whatsapp-link:focus-visible{background:#096b37;color:#fff}
.whatsapp-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.whatsapp-link__icon{width:28px;height:28px;fill:currentColor}.skip-link{position:fixed;left:12px;top:-100px;color:var(--on-accent);background:var(--accent);padding:12px;z-index:1000}.skip-link:focus{top:10px}dialog{border:0;padding:20px;max-width:min(1100px,94vw);background:var(--paper);color:var(--ink);border-radius:15px}dialog::backdrop{background:#000c}dialog img{max-height:78vh;display:block;object-fit:contain;margin:auto}.dialog-close{display:block;margin-left:auto;background:none;border:0;color:var(--ink);font-size:2rem}dialog p{margin:15px 0 0}.custom-gallery{color:var(--ink)}.custom-gallery figure{background:var(--paper)}
@media(max-width:1100px){.navbar-nav{gap:5px}.brand-wordmark{max-width:140px;font-size:.76rem}.nav-tools{margin-left:8px;padding-left:12px}.navbar .nav-link{font-size:.79rem}}
@media(max-width:991px){.navbar-collapse{padding:20px 0}.navbar-nav{gap:8px}.navbar .nav-link{font-size:1rem}.nav-tools{border-left:0;border-top:1px solid var(--line);margin:15px 0 0;padding:15px 0 0}.navbar-nav .dropdown>ul{position:static}.hero-content{padding-top:90px}.footer-grid{gap:30px}.custom-split{gap:35px}.brand-wordmark{max-width:180px;font-size:.85rem}}
@media(max-width:767px){.container{padding-left:22px;padding-right:22px}.hero .carousel-item{min-height:590px;height:660px}.hero h1,.hero h2{font-size:2.8rem}.hero-content{padding-top:70px}.hero-controls{right:22px}.hero-shade{background:rgb(var(--shade-rgb) / 72%)}.section,.custom-block{padding-top:52px;padding-bottom:52px}.custom-split,.donation-grid,.contact-grid,.footer-grid{grid-template-columns:1fr;gap:32px}.contact-strip .container{display:block}.contact-strip h2{margin-bottom:25px;font-size:2rem}.footer-bottom{display:block}.footer-bottom>span{display:block;margin-top:10px}.form-grid{grid-template-columns:1fr}.contact-grid form{padding:24px}.custom-hero{min-height:470px}.custom-hero--plain{min-height:0}.custom-hero h1{font-size:2.8rem}.custom-action h2{font-size:2rem}.donation-qr img{max-height:490px}.navbar-brand img{width:78px;height:56px}.brand-wordmark{max-width:180px;font-size:.77rem}}


.navbar-nav>.dropdown{display:flex;align-items:center;flex-wrap:wrap}.submenu-toggle{width:28px;height:28px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);line-height:1}.navbar-nav>.dropdown>ul{top:100%;left:0;z-index:25}.navbar-nav>.nav-submenu-open>ul{display:block}@media(max-width:991.98px){.navbar-nav>.dropdown>ul{position:static;flex-basis:100%;box-shadow:none}.navbar-nav>.dropdown:not(.nav-submenu-open)>ul{display:none}}
/* An unbroken word, URL or pasted ID wraps inside its box instead of spilling over the layout (IR-07). */
body { overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6, p, dt, dd, blockquote, figcaption, legend { overflow-wrap: anywhere; }

/* Brand token used by the shared interaction standards (problem dialog, wait card); white text stays readable on it in both themes. */


/* Photo preview (blueprint §4.10): inset over a dark, blurred backdrop on wide screens, full screen on phones. */
#image-dialog { position: fixed; padding: 14px 18px 20px; overflow: hidden; overscroll-behavior: contain; }
#image-dialog::backdrop { background: rgb(10 14 11 / 84%); backdrop-filter: blur(6px); }
.image-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.image-dialog__count { font-size: .85rem; letter-spacing: .06em; color: var(--muted); }
#image-dialog .dialog-close { min-width: 44px; min-height: 44px; line-height: 1; }
.image-dialog__figure { margin: 0; }
#image-dialog img { max-height: 76vh; max-height: 76dvh; }
#image-dialog figcaption { margin-top: 12px; text-align: center; color: var(--ink); }
.image-dialog__step { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.3rem; box-shadow: 0 6px 20px #0003; }
.image-dialog__step:hover, .image-dialog__step:focus-visible { background: var(--accent); color: var(--on-accent); }
.image-dialog__step--prev { left: 12px; }
.image-dialog__step--next { right: 12px; }
.image-dialog__step[hidden] { display: none; }
@media (max-width: 575.98px) {
    #image-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 10px 12px 16px; }
    #image-dialog img { max-height: calc(100dvh - 150px); }
    .image-dialog__step { top: auto; bottom: 14px; transform: none; }
}

/* The floating WhatsApp button never covers the last line of the footer. */
.site-footer { padding-bottom: max(1.6rem, 5.75rem) !important; }

/* Skip links, the brand wordmark and the menu icon stay readable in the dark theme. */

[data-bs-theme="dark"] .brand-wordmark, [data-bs-theme="dark"] .navbar-brand { color: var(--ink); }
[data-bs-theme="dark"] .navbar-brand .brand-light{background:#fff;border-radius:8px;padding:3px 7px;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.footer-grid img{width:145px;height:90px;object-fit:contain;background:#fff;border-radius:8px;padding:6px 12px;border:1px solid var(--line)}
[data-bs-theme="dark"] .navbar-toggler-icon { filter: invert(1); }

/* The eyebrow above a page title follows the text colour (it was a near-white grey on the light page heading). */
.page-heading .eyebrow { color: var(--ink); }

/* Content-height slides retain the full title and action at enlarged text. */
.hero .carousel-item{height:auto;max-height:none}.hero-copy,.hero-content{min-width:0;max-width:100%;height:auto}.hero h1,.hero h2,.hero .eyebrow,.hero-copy p,.hero-content p{overflow-wrap:anywhere}.hero-controls{position:relative;bottom:auto;right:auto;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:18px;padding:20px 28px}.hero-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;width:auto;height:auto;padding:.4em;line-height:1}.hero .btn,.hero .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:991px){.hero .carousel-item{height:auto;max-height:none;min-height:0}.hero-image{display:block;position:static;width:100%;height:clamp(180px,45vw,320px);object-fit:cover}.hero-shade{display:none}.hero-copy,.hero-content{padding-top:32px;padding-bottom:32px}.hero-controls{position:relative;bottom:auto;right:auto;padding:20px 24px}.hero h1,.hero h2{max-width:100%;overflow-wrap:anywhere}}

@media(max-width:991px){.hero-controls>span{min-width:0;overflow-wrap:anywhere}}
/* Phones keep the floating WhatsApp button (it was turned into a stray inline button below the footer); 44px tap target. */


/* Grid tracks and long labels stay within the viewport when text is enlarged. */
.intro-grid>*,.story-grid>*,.service-grid>*,.project-grid>*,.contact-grid>*,.footer-grid>*,.form-grid>*{min-width:0}
.service-card,.project-grid article,.footer-grid,.contact-strip,.section-heading,.page-heading{overflow-wrap:anywhere}
.button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px){.intro-grid,.story-grid,.contact-grid,.footer-grid,.service-grid,.project-grid,.form-grid{grid-template-columns:minmax(0,1fr)}.footer-grid nav{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading .text-link,.contact-strip .button{white-space:normal}.button{gap:1em}}

.navbar-brand{min-width:0;max-width:calc(100% - 58px);white-space:normal}.brand-wordmark{min-width:0;overflow-wrap:anywhere}.navbar-brand img{flex:0 0 auto}

.intro-grid,.story-grid,.checkpoints,.section-title{overflow-wrap:anywhere}

/* Home slider controls: edge arrows, clickable dots and a pause button. */
.hero{overflow:hidden}
.hero-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgb(255 255 255 / 55%);border-radius:50%;background:rgb(var(--shade-rgb) / 55%);color:#fff;backdrop-filter:blur(4px);transition:background .2s,transform .2s}
.hero-arrow--prev{left:16px}
.hero-arrow--next{right:16px}
.hero-arrow:hover,.hero-arrow:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.hero-arrow:focus-visible,.hero-dots button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hero-nav{position:absolute;z-index:3;left:0;right:0;bottom:22px;display:flex;align-items:center;justify-content:center;gap:6px;pointer-events:none}
.hero-nav>*{pointer-events:auto}
.hero .hero-dots{position:static;display:flex;margin:0;padding:0;gap:0}
.hero .hero-dots button{box-sizing:border-box;flex:none;width:32px;height:32px;margin:0;padding:0;border:0;background:none;opacity:1;text-indent:0;position:relative}
.hero .hero-dots button::before{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:5px;background:rgb(255 255 255 / 60%);transform:translate(-50%,-50%);transition:width .25s,background .25s}
.hero .hero-dots button.active::before{width:28px;background:var(--accent)}
.hero .hero-dots button:hover::before{background:#fff}
@media(min-width:992px){.hero-content{padding-bottom:84px}.hero .hero-content{max-width:1320px;padding-inline:clamp(30px,calc(84px - (100vw - 1320px)/2),84px)}}
@media(max-width:991px){
 .hero-arrow{top:calc(clamp(180px,45vw,320px)/2);width:40px;height:40px}
 .hero-arrow--prev{left:10px}.hero-arrow--next{right:10px}
 .hero-nav{position:static;padding:0 24px 20px;background:var(--hero-bg)}
 .hero-content{padding-bottom:12px}
}

/* The home slider follows the header and content width (Bootstrap container) instead of the viewport. */
.hero-wrap{padding-top:24px}
.hero-wrap>.hero{border-radius:22px}
@media(max-width:767px){.hero-wrap{padding-top:12px}.hero-wrap>.hero{border-radius:16px}}
/* Keep the slide text clear of the prev/next arrows now that the slider is container-wide. */
@media(min-width:768px){.hero-wrap .hero-copy,.hero-wrap .hero-content{padding-left:84px;padding-right:84px}}

/* ---- Public frame and page composition (blueprint §4.2, §4.3, §9) ---- */
/* One heading scale, one measure, one spacing rhythm (24/32/48/64 px). */
:root{--h1:clamp(2rem,5vw,3.25rem);--h2:clamp(1.55rem,3vw,2.15rem);--h3:1.2rem;--measure:68ch;--space-s:24px;--space-m:32px;--space-l:48px;--space-xl:64px}
body{font-size:1.0625rem;line-height:1.6}
.custom-page .custom-hero h1,.page-heading h1{font-size:var(--h1);line-height:1.1}
.custom-page .custom-block h2,.custom-page .custom-action h2,.hero h2{font-size:var(--h2);line-height:1.2}
.hero h1{font-size:var(--h1)}
.custom-items article h3,.custom-page h3{font-size:var(--h3)}
.custom-copy,.custom-prose,.custom-hero .lead,.custom-action .lead,.custom-split>div{max-width:var(--measure)}
.custom-page p{font-size:1.0625rem}
.custom-block{padding:var(--space-xl) 0}
@media(max-width:767px){.custom-block{padding:var(--space-l) 0}}

/* Header: logo home, five destinations, a visible support link and the primary donation button. */
.navbar{min-height:80px}
.navbar-brand{max-width:calc(100% - 110px)}
.navbar-toggler{display:inline-flex;align-items:center;gap:10px;min-height:44px;min-width:44px;padding:6px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-weight:600;font-size:.95rem}
.navbar-toggler:focus{box-shadow:none}
.navbar-toggler:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.navbar-toggler-icon{width:1.3em;height:1.3em}
.nav-actions{display:flex;align-items:center;gap:12px;margin-left:16px}
.nav-support{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--ink);border-radius:8px;font-size:.88rem;font-weight:600;white-space:nowrap}
.nav-support:hover,.nav-support.is-current{background:var(--surface)}
.nav-donate{min-height:44px;padding:8px 18px;gap:0;font-size:.88rem;white-space:nowrap}
.navbar .nav-link{padding:12px 8px}
.navbar .nav-link[aria-current=page]{font-weight:700;border-bottom:2px solid var(--accent)}
.nav-lang,.nav-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 6px}
@media(min-width:992px) and (max-width:1199.98px){.brand-wordmark{display:none}.nav-actions{margin-left:10px}.nav-tools{margin-left:8px;padding-left:8px}.navbar .nav-link{font-size:.8rem;padding:12px 5px}}
@media(max-width:991.98px){
 .navbar-collapse{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
 .navbar-nav{gap:0}.navbar .nav-link{padding:12px 4px;min-height:44px}
 .nav-actions{flex-direction:column;align-items:stretch;margin:16px 0 0}
 .nav-support,.nav-donate{justify-content:center;width:100%}
 .nav-tools{margin-top:12px}
}

/* Heroes follow their content: text and photograph are separate on phones, no text sits on the image there. */
.custom-hero{min-height:0}
@media(min-width:992px){.custom-hero:not(.custom-hero--plain){min-height:clamp(340px,52vh,520px)}}
.custom-block.custom-hero--plain{padding:var(--space-l) 0 var(--space-m)}
.custom-hero--plain .custom-hero-copy{padding:0}
.custom-hero--plain .eyebrow{color:var(--ink)}
.custom-hero-copy{padding-bottom:var(--space-l)}
.custom-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:var(--space-s)}
.custom-actions:empty{display:none}
.button{min-height:44px}
.button-light{background:#fff;border-color:#fff;color:var(--jcdc-deep);font-weight:650}
.button-light:hover,.button-light:focus-visible{background:#e1f0f6;border-color:#e1f0f6;color:var(--jcdc-deep)}
.button-secondary{background:transparent;border-color:currentColor;color:inherit}
.button-secondary:hover{background:var(--surface);color:var(--ink)}
.custom-hero:not(.custom-hero--plain) .button-secondary,.custom-cta .button-secondary,.custom-contact_panel .button-secondary{color:#fff}
.custom-hero:not(.custom-hero--plain) .button-secondary:hover,.custom-cta .button-secondary:hover,.custom-contact_panel .button-secondary:hover{background:#ffffff26;color:#fff}
@media(max-width:991.98px){
 .custom-hero:not(.custom-hero--plain){display:block;background:var(--hero-bg)}
 .custom-hero:not(.custom-hero--plain)>img{position:static;display:block;width:100%;height:clamp(180px,45vw,320px);opacity:1}
 .custom-hero:not(.custom-hero--plain)::after{display:none}
 .custom-hero:not(.custom-hero--plain) .custom-hero-copy{padding:var(--space-m) 0}
}
.custom-contact_panel{background:var(--hero-bg);color:var(--on-deep);border-top:1px solid rgb(255 255 255 / 8%);border-bottom:1px solid rgb(255 255 255 / 8%)}
.custom-contact_panel .lead{color:var(--on-deep-muted)}
.custom-contact_panel .button{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.custom-contact_panel .button:hover{background:#f0a354;border-color:#f0a354;color:var(--on-accent)}
.custom-action .custom-actions{margin:0;flex-shrink:0}

/* Photographs: logos and small rasters keep their size on a white surface; nothing is enlarged or cropped. */
.custom-split .image-link{border-radius:20px;overflow:hidden;background:transparent;display:block}
.custom-split .image-link:not(.image-link--small) img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:20px}
.custom-split .image-link.image-link--small{width:fit-content;max-width:100%;padding:16px;border:1px solid var(--line);background:#fff}
.custom-split .image-link--small img{width:auto;max-width:100%;height:auto;max-height:none}
@media(min-width:768px){.custom-block:nth-of-type(odd) .custom-split>:first-child{order:2}}
.custom-items article{position:relative;background:var(--paper);border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:18px;padding:28px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.custom-items article:hover{border-color:var(--accent);box-shadow:0 10px 28px rgba(0,0,0,.08);transform:translateY(-2px)}
.custom-items article h3{font-size:1.17rem;line-height:1.35;margin-bottom:12px}
.custom-items article h3 a{color:var(--ink);text-decoration:none;border-bottom:none}
.custom-items article h3 a::after{content:"";position:absolute;inset:0}
.custom-items article:hover h3 a{color:var(--jcdc-blue-text)}
.custom-items p{color:var(--muted);font-size:1rem;line-height:1.6}
.custom-gallery{color:var(--ink)}
.custom-gallery figure{margin:0;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.custom-gallery figure:hover{border-color:var(--jcdc-blue);box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
.custom-gallery figcaption{padding:18px 20px;display:grid;gap:8px;flex:1 1 auto}
.custom-gallery figcaption strong{font-size:1.12rem;color:var(--ink);line-height:1.3}
.custom-gallery figcaption span{font-weight:400;font-size:.92rem;color:var(--muted);line-height:1.55}
.custom-gallery .gallery-meta{font-size:.82rem;font-weight:600;color:var(--jcdc-blue-text);letter-spacing:.02em;text-transform:uppercase}
.custom-gallery img{object-fit:cover;width:100%;aspect-ratio:4/3;display:block}

/* The donation invitation before the footer is a quiet band, not a second hero. */
.contact-strip{padding:var(--space-m) 0}
.contact-strip h2{font-size:1.35rem;line-height:1.3}
.contact-strip .container{align-items:center}

/* Contact: the general enquiry and the assistance request are distinct before anyone types. */
.assistance-note{margin:var(--space-s) 0;padding:20px;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:12px;background:var(--surface)}
.assistance-note h2{font-size:1.15rem;margin:0 0 8px;line-height:1.3}
.assistance-note p{margin:0 0 12px}.assistance-note p:last-child{margin-bottom:0}
.container.section{padding-left:28px;padding-right:28px}@media(max-width:767px){.container.section{padding-left:22px;padding-right:22px}}

/* The floating WhatsApp link steps aside while a form is on screen, so it never covers fields or consent. */
.whatsapp-link{transition:opacity .2s}
.whatsapp-link.is-tucked{opacity:0;visibility:hidden;pointer-events:none}
.hero-wrap{padding-bottom:24px}
@media(max-width:767px){.hero-wrap{padding-bottom:12px}}


/* Eyebrows follow the JCDC treatment: brand blue on the page, light blue over the deep hero. */
.eyebrow{color:var(--jcdc-blue-text)}
.hero .eyebrow,.custom-hero:not(.custom-hero--plain) .eyebrow,.custom-cta .eyebrow,.custom-contact_panel .eyebrow{color:var(--on-deep-eyebrow)}

/* Select fields follow the same tokens as text fields (Bootstrap's own select is hard-coded white). */
.contact-grid .form-select,.project-form .form-select{padding:12px 2.25rem 12px 12px;border-color:var(--line);background-color:var(--paper);color:var(--text)}
[data-bs-theme=dark] .contact-grid .form-select,[data-bs-theme=dark] .project-form .form-select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}

/* Headings are deep blue (dark: pale blue) except on the deep hero, call-to-action and contact panels. */
.custom-hero:not(.custom-hero--plain) :is(h1,h2,h3),.custom-cta :is(h1,h2,h3),.custom-contact_panel :is(h1,h2,h3){color:var(--on-deep)}

/* Touch targets (WCAG 2.5.8): footer navigation links are at least 24 by 24 CSS pixels. */
.footer-grid nav a{display:inline-flex;align-items:center;min-height:24px;min-width:24px;align-self:flex-start}

/* The administration's responsive preview (an iframe showing this page) uses the same inset accent scrollbar as the administration. */
html.preview-frame::-webkit-scrollbar { width: 12px; }
html.preview-frame::-webkit-scrollbar-track { background: transparent; }
html.preview-frame::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: color-mix(in srgb, #0d7aa8 55%, transparent) content-box; }
html.preview-frame::-webkit-scrollbar-thumb:hover, html.preview-frame::-webkit-scrollbar-thumb:active { background: #0d7aa8 content-box; }
@supports not selector(::-webkit-scrollbar) { html.preview-frame { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, #0d7aa8 55%, transparent) transparent; } }

/* ==========================================================================
   Button shadow (public site)
   Every visually button-styled control carries the same soft two-layer shadow: rest, lifted on hover/keyboard focus, flat
   when pressed, none when disabled. Transitions always run. Excluded: link-styled buttons (.btn-link, .text-link), menu
   rows and tabs. The carousel arrows keep their vertical centring (shadow only, no lift) and the lightbox arrows keep their
   own stronger shadow.
   ========================================================================== */
:root, [data-bs-theme="light"] {
    --btn-shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 4px 10px rgb(16 24 40 / 8%);
    --btn-shadow-hover: 0 2px 4px rgb(16 24 40 / 8%), 0 8px 16px rgb(16 24 40 / 12%);
    --btn-shadow-active: 0 1px 1px rgb(16 24 40 / 8%);
}
[data-bs-theme="dark"] {
    --btn-shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 4px 10px rgb(0 0 0 / 25%);
    --btn-shadow-hover: 0 2px 4px rgb(0 0 0 / 40%), 0 8px 16px rgb(0 0 0 / 32%);
    --btn-shadow-active: 0 1px 1px rgb(0 0 0 / 40%);
}
/* Framework buttons: the framework composes its rest, pressed and focus-ring shadows from these variables, so the ring stays layered on top. */
.btn:not(.btn-link):not(.btn-close) {
    --bs-btn-box-shadow: var(--btn-shadow);
    --bs-btn-active-shadow: var(--btn-shadow-active);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease, transform .15s ease;
}
/* The standalone framework sheet (sign-in and public pages) only applies the variable on focus, so rest states it here. */
.btn:not(.btn-link):not(.btn-close):not(:disabled):not(.disabled) { box-shadow: var(--bs-btn-box-shadow); }
.btn:not(.btn-link):not(.btn-close):not(:disabled):not(.disabled):hover { box-shadow: var(--btn-shadow-hover); transform: translateY(-1px); }
.btn:not(.btn-link):not(.btn-close):not(:disabled):not(.disabled):focus-visible { box-shadow: var(--btn-shadow-hover), var(--bs-btn-focus-box-shadow); transform: translateY(-1px); }
.btn:not(.btn-link):not(.btn-close):not(:disabled):not(.disabled):active { box-shadow: var(--btn-shadow-active); transform: none; }
.btn:not(.btn-link):not(.btn-close):not(:disabled):not(.disabled):active:focus-visible { box-shadow: var(--btn-shadow-active), var(--bs-btn-focus-box-shadow); }
.btn:disabled, .btn.disabled, .btn[aria-disabled="true"], fieldset:disabled .btn { box-shadow: none; transform: none; }
/* Project button classes and native button inputs. The selectors use :where() so their specificity stays at the state pseudo-class only: a component that carries its own glow or focus ring keeps it. */
:where(.button, .btn-3, .submenu-toggle, .navbar-toggler, .hero-arrow, .gallery-filter-tag, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]:not(.card, article)) { transition: border-color .2s, background-color .2s, color .2s, box-shadow .15s ease, transform .15s ease; }
:where(.button, .btn-3, .submenu-toggle, .navbar-toggler, .hero-arrow, .gallery-filter-tag, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]:not(.card, article)):where(:not(.btn, .btn-link, .btn-close, .nav-link, .dropdown-item, [role="menuitem"], [role="tab"], :disabled, [disabled], .disabled, [aria-disabled="true"], [hidden])) { box-shadow: var(--btn-shadow); }
:where(.button, .btn-3, .submenu-toggle, .navbar-toggler, .hero-arrow, .gallery-filter-tag, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]:not(.card, article)):where(:not(.btn, .btn-link, .btn-close, .nav-link, .dropdown-item, [role="menuitem"], [role="tab"], :disabled, [disabled], .disabled, [aria-disabled="true"], [hidden])):is(:hover, :focus-visible) { box-shadow: var(--btn-shadow-hover); transform: translateY(-1px); }
:where(.button, .btn-3, .submenu-toggle, .navbar-toggler, .hero-arrow, .gallery-filter-tag, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]:not(.card, article)):where(:not(.btn, .btn-link, .btn-close, .nav-link, .dropdown-item, [role="menuitem"], [role="tab"], :disabled, [disabled], .disabled, [aria-disabled="true"], [hidden])):active { box-shadow: var(--btn-shadow-active); transform: none; }
input[type="file"]::file-selector-button { box-shadow: var(--btn-shadow); transition: box-shadow .15s ease, transform .15s ease; }
input[type="file"]:disabled::file-selector-button { box-shadow: none; }
input[type="file"]:not(:disabled):hover::file-selector-button { box-shadow: var(--btn-shadow-hover); }
.hero-arrow:is(:hover, :focus-visible, :active) { transform: translateY(-50%); }

/* Alkitab reference: local real-colour SVG flags, stable in both themes. */
.flag { width: 20px; height: 14.4px; border-radius: 2px; vertical-align: -.1em; outline: 1px solid rgba(127,127,127,.35); outline-offset: -1px; overflow: hidden; flex: none; }
.flag-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-lang, .nav-tools button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 2.6rem; min-height: 2.6rem; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--btn-shadow); transition: border-color .2s, background-color .2s, color .2s, box-shadow .15s ease, transform .15s ease; }
.nav-lang:hover, .nav-lang:focus-visible, .nav-tools button:hover, .nav-tools button:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--ink); box-shadow: var(--btn-shadow-hover); transform: translateY(-1px); }
.nav-lang:active, .nav-tools button:active { box-shadow: var(--btn-shadow-active); transform: none; }
.nav-lang:focus-visible, .nav-tools button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-lang span, .nav-language-code { font: 750 .8rem/1 var(--bs-body-font-family, sans-serif); letter-spacing: .02em; text-transform: uppercase; }
.nav-tools button { font-size: 1.15rem; padding: .3rem .6rem; }

/* A field hint inside the contact grid sits right under its field (linked by aria-describedby). */
.form-grid .form-note{display:block;margin:6px 0 0}
