/* SHIW production UI consistency fixes */
.site-header{background:#fff!important;border-top:8px solid #2f3d50!important;box-shadow:0 2px 10px rgba(20,24,32,.06)!important;position:sticky!important;top:0!important;z-index:1000!important}
.header-inner{min-height:90px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
.main-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:28px!important;flex-wrap:nowrap!important}
.main-nav a{font-weight:600!important;font-size:.92rem!important;color:var(--ink,#151b28)!important;white-space:nowrap!important;text-decoration:none!important;transition:color .2s ease,background .2s ease!important}
.main-nav a:hover,.main-nav a.active:not(.btn){color:var(--orange,#f77f00)!important}
.main-nav .btn{padding:14px 28px!important;border-radius:10px!important;background:var(--orange,#f77f00)!important;color:#111!important;box-shadow:0 10px 24px rgba(247,127,0,.18)!important}
.main-nav .btn:hover,.main-nav .btn.active{background:#e97400!important;color:#111!important}
@media(max-width:1100px){.main-nav{gap:17px!important}.main-nav a{font-size:.84rem!important}.main-nav .btn{padding:11px 17px!important}}
@media(max-width:860px){.site-header{position:relative!important}.header-inner{align-items:flex-start!important;flex-direction:column!important;padding-top:14px!important;padding-bottom:14px!important}.main-nav{width:100%!important;overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:5px!important;scrollbar-width:thin}.main-nav a{flex:0 0 auto!important}}


/* Global footer: identical across every page */
.global-footer{background:linear-gradient(135deg,#35155b 0%,#4d2176 55%,#2d1648 100%);color:#fff;margin-top:0;position:relative;overflow:hidden}
.global-footer:before{content:"";position:absolute;right:-120px;top:-180px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.035);pointer-events:none}
.global-footer-inner{width:min(1180px,calc(100% - 40px));margin:0 auto;position:relative;z-index:1}
.global-footer-grid{display:grid;grid-template-columns:1.7fr .8fr .9fr 1.35fr;gap:46px;padding:58px 0 42px}
.global-footer-logo{display:flex;align-items:center;gap:13px;margin-bottom:16px}
.global-footer-logo img{width:64px;height:64px;border-radius:0;object-fit:contain;background:transparent}
.global-footer-logo strong{display:block;color:#fff;font-size:1.02rem;letter-spacing:.01em}
.global-footer-logo span{display:block;color:#ff9a28;font-size:.75rem;margin-top:2px}
.global-footer-brand>p{max-width:330px;color:rgba(255,255,255,.68);font-size:.88rem;line-height:1.75;margin:0 0 20px}
.global-footer-socials{display:flex;gap:9px;flex-wrap:wrap}
.global-footer-socials a{width:35px;height:35px;border-radius:9px;background:rgba(255,255,255,.1);display:grid;place-items:center;transition:.2s ease}
.global-footer-socials a:hover{background:#f77f00;transform:translateY(-2px)}
.global-footer-socials svg{width:17px;height:17px;fill:#fff}
.global-footer-col h4{color:#fff;font-size:.93rem;margin:4px 0 18px;font-weight:800}
.global-footer-col>a{display:block;color:rgba(255,255,255,.66);text-decoration:none;font-size:.85rem;margin:0 0 11px;transition:color .2s ease}
.global-footer-col>a:hover,.global-footer-contact a:hover{color:#ff9a28}
.global-footer-contact p{display:grid;grid-template-columns:22px 1fr;gap:8px;color:rgba(255,255,255,.66);font-size:.84rem;line-height:1.55;margin:0 0 13px}
.global-footer-contact p>span{color:#ff9a28;font-size:1rem}
.global-footer-contact a{color:inherit;text-decoration:none}
.global-footer-bottom{border-top:1px solid rgba(255,255,255,.11);min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:rgba(255,255,255,.45);font-size:.78rem}
.global-footer-bottom a{color:rgba(255,255,255,.68);text-decoration:none}
.global-footer-bottom a:hover{color:#ff9a28}
@media(max-width:900px){.global-footer-grid{grid-template-columns:1.2fr 1fr;gap:34px}.global-footer-brand>p{max-width:440px}}
@media(max-width:560px){.global-footer-inner{width:min(100% - 28px,1180px)}.global-footer-grid{grid-template-columns:1fr;padding:42px 0 28px;gap:28px}.global-footer-bottom{padding:16px 0;align-items:flex-start;flex-direction:column;justify-content:center;gap:6px}}

/* Full testimony popup: image on one side, complete story on the other */
.testimony-modal-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(22,15,31,.72);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:28px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}
.testimony-modal-backdrop.active{opacity:1;visibility:visible;pointer-events:auto}
.testimony-modal{width:min(1080px,100%);height:min(720px,90vh);background:#fff;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:minmax(310px,40%) minmax(0,60%);position:relative;box-shadow:0 35px 90px rgba(0,0,0,.28);transform:translateY(20px) scale(.985);transition:transform .28s ease}
.testimony-modal-backdrop.active .testimony-modal{transform:none}
.testimony-modal-close{position:absolute;top:16px;right:16px;z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:#f77f00;color:#fff;font-size:1.65rem;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(247,127,0,.25)}
.testimony-modal-photo{position:relative;min-height:0;background:#3e1c66;overflow:hidden}
.testimony-modal-photo>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top}
.testimony-modal-photo:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(to bottom,transparent,rgba(36,13,59,.96))}
.testimony-person-card{position:absolute;left:28px;right:28px;bottom:28px;z-index:2}
.testimony-person-card strong{display:block;color:#fff;font-size:1.35rem;margin-bottom:4px}
.testimony-person-card span{color:#ff9a28;font-size:.87rem;font-weight:700;line-height:1.45}
.testimony-modal-story{min-width:0;overflow-y:auto;padding:58px 54px 48px;background:#fff}
.testimony-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.11em;font-size:.72rem;font-weight:800;color:#f77f00;margin-bottom:10px}
.testimony-modal-story h2{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.12;color:#421b68;margin:0 0 6px}
.testimony-role{margin:0 0 26px;color:#707784;font-size:.92rem;font-weight:600}
.testimony-story-copy{font-size:1rem;line-height:1.9;color:#343a46}
@media(max-width:760px){.testimony-modal-backdrop{padding:12px}.testimony-modal{height:min(92vh,820px);grid-template-columns:1fr;grid-template-rows:240px minmax(0,1fr);border-radius:16px}.testimony-modal-story{padding:32px 24px 36px}.testimony-person-card{left:20px;bottom:18px}.testimony-modal-close{top:10px;right:10px}.testimony-story-copy{font-size:.94rem;line-height:1.8}}

.testimony-dialog[open]{position:fixed!important;inset:0!important;margin:auto!important;}


/* v12 typography and footer contact consistency */
html,body,button,input,textarea,select{font-family:'Inter','Segoe UI',Roboto,Arial,sans-serif}
.footer-contact-cta{display:inline-flex;margin-top:4px;color:#ff9a28!important;font-weight:750;text-decoration:none;font-size:.86rem}
.footer-contact-cta:hover{color:#fff!important}

/* v13 unified navigation */
.main-nav a.btn.btn-primary{background:#f77f00!important;color:#111!important;padding:15px 24px!important;border-radius:12px!important;box-shadow:0 10px 24px rgba(247,127,0,.16)!important}
.main-nav a.btn.btn-primary:hover{transform:translateY(-1px);background:#e97200!important;color:#111!important}
.main-nav a.active:not(.btn){color:#f77f00!important}
@media(max-width:1100px){.main-nav{gap:14px!important}.main-nav a{font-size:13px!important}.main-nav a.btn.btn-primary{padding:12px 16px!important}}
/* v13 make compact PHP pages use the same header system as the main site */
.hdr{background:#fff!important;border-top:8px solid #2f3d50!important;border-bottom:0!important;box-shadow:0 2px 10px rgba(20,24,32,.06)!important;position:sticky!important;top:0!important;z-index:1000!important}
.hdr .hdrin{max-width:1240px!important;margin:0 auto!important;min-height:90px!important;height:auto!important;display:flex!important;align-items:center!important;gap:24px!important;padding:0 24px!important}
.hdr .hdrin>a{display:flex!important;align-items:center!important;flex:0 0 auto!important}
.hdr .hdrin>a img{width:220px!important;max-width:220px!important;max-height:62px!important;height:auto!important;object-fit:contain!important}
.hdr .nav{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;flex-wrap:nowrap!important}
.hdr .nav a{font-weight:600!important;font-size:13px!important;color:#171b28!important;white-space:nowrap!important;text-decoration:none!important;margin:0!important}
.hdr .nav a:hover,.hdr .nav a.active:not(.cta){color:#f77f00!important}
.hdr .nav .cta{background:#f77f00!important;color:#111!important;padding:12px 16px!important;border-radius:12px!important;box-shadow:0 10px 24px rgba(247,127,0,.16)!important}
.hdr .nav .cta:hover,.hdr .nav .cta.active{background:#e97200!important;color:#111!important}
@media(max-width:950px){.hdr{position:relative!important}.hdr .hdrin{align-items:flex-start!important;flex-direction:column!important;padding-top:14px!important;padding-bottom:14px!important}.hdr .nav{display:flex!important;width:100%!important;overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:5px!important}.hdr .nav a{flex:0 0 auto!important}.hdr .hdrin>a img{width:185px!important}}


/* v22 single canonical header across every public page */
.shiw-site-header{position:sticky!important;top:0!important;z-index:1000!important;width:100%!important;background:#fff!important;border:0!important;border-bottom:1px solid #ece8e3!important;box-shadow:0 2px 10px rgba(20,24,32,.04)!important;font-family:'Inter','Segoe UI',Roboto,Arial,sans-serif!important}
.shiw-header-inner{width:min(1340px,calc(100% - 48px))!important;min-height:102px!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:32px!important}
.shiw-header-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;text-decoration:none!important}
.shiw-header-brand img{display:block!important;width:224px!important;height:64px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
.shiw-main-nav{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:28px!important;flex-wrap:nowrap!important}
.shiw-main-nav>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#171b28!important;text-decoration:none!important;font-family:inherit!important;font-size:15px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;transition:color .18s ease!important}
.shiw-main-nav>a:hover,.shiw-main-nav>a.active:not(.shiw-donate-cta){color:#f77f00!important}
.shiw-main-nav>a.shiw-donate-cta{min-height:62px!important;padding:0 30px!important;border-radius:12px!important;background:#f77f00!important;color:#111!important;font-weight:700!important;box-shadow:0 10px 24px rgba(247,127,0,.15)!important}
.shiw-main-nav>a.shiw-donate-cta:hover,.shiw-main-nav>a.shiw-donate-cta.active{background:#e97300!important;color:#111!important}
@media(max-width:1180px){.shiw-header-inner{width:min(100% - 32px,1340px)!important;gap:20px!important}.shiw-header-brand img{width:190px!important;height:58px!important}.shiw-main-nav{gap:17px!important}.shiw-main-nav>a{font-size:13px!important}.shiw-main-nav>a.shiw-donate-cta{min-height:54px!important;padding:0 20px!important}}
@media(max-width:900px){.shiw-site-header{position:relative!important}.shiw-header-inner{min-height:auto!important;padding:14px 0!important;align-items:flex-start!important;flex-direction:column!important}.shiw-header-brand img{width:185px!important;height:54px!important}.shiw-main-nav{width:100%!important;overflow-x:auto!important;justify-content:flex-start!important;gap:20px!important;padding:2px 0 6px!important;scrollbar-width:thin!important}.shiw-main-nav>a{flex:0 0 auto!important}.shiw-main-nav>a.shiw-donate-cta{min-height:46px!important;padding:0 18px!important}}


/* v26 Career main navigation dropdown */
.shiw-nav-dropdown{position:relative;display:flex!important;align-items:center!important;min-height:44px!important}
.shiw-nav-parent{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:44px!important;color:#171b28!important;text-decoration:none!important;font-size:15px!important;font-weight:600!important;white-space:nowrap!important}
.shiw-nav-caret{font-size:.9em;line-height:1;transform:translateY(-1px)}
.shiw-nav-dropdown:hover>.shiw-nav-parent,.shiw-nav-dropdown:focus-within>.shiw-nav-parent,.shiw-nav-dropdown.active>.shiw-nav-parent{color:#f77f00!important}
.shiw-nav-submenu{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%) translateY(6px);min-width:190px;padding:8px;background:#fff;border:1px solid #ece6df;border-radius:12px;box-shadow:0 18px 45px rgba(31,20,40,.15);opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;z-index:1200}
.shiw-nav-submenu:before{content:"";position:absolute;left:0;right:0;top:-10px;height:12px}
.shiw-nav-dropdown:hover .shiw-nav-submenu,.shiw-nav-dropdown:focus-within .shiw-nav-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.shiw-nav-submenu a{display:block!important;padding:11px 13px!important;border-radius:8px!important;color:#171b28!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;white-space:nowrap!important}
.shiw-nav-submenu a:hover,.shiw-nav-submenu a.active{background:#fff5ea!important;color:#f77f00!important}
@media(max-width:1180px){.shiw-nav-parent{font-size:13px!important}}
@media(max-width:900px){.shiw-nav-dropdown{flex:0 0 auto!important}.shiw-nav-submenu{position:fixed!important;left:16px!important;right:16px!important;top:auto!important;transform:none!important;min-width:0!important}.shiw-nav-dropdown:hover .shiw-nav-submenu,.shiw-nav-dropdown:focus-within .shiw-nav-submenu{transform:none!important}}

/* v31 thinner public header with SHIW purple top rule */
.shiw-site-header{border-top:6px solid #4b1f72!important}
.shiw-header-inner{min-height:88px!important}
.shiw-header-brand img{width:208px!important;height:56px!important}
.shiw-main-nav{gap:26px!important}
.shiw-main-nav>a.shiw-donate-cta{min-height:54px!important;padding:0 27px!important}
@media(max-width:1180px){.shiw-header-inner{min-height:80px!important}.shiw-header-brand img{width:184px!important;height:52px!important}.shiw-main-nav>a.shiw-donate-cta{min-height:48px!important;padding:0 18px!important}}
@media(max-width:900px){.shiw-site-header{border-top-width:4px!important}.shiw-header-inner{padding:10px 0!important}.shiw-header-brand img{width:178px!important;height:50px!important}}
