/* POIGAI shared design system: public navigation, donor wayfinding, footer */
:root{--pg-forest:#09271f;--pg-emerald:#0d4334;--pg-gold:#dab477;--pg-paper:#f8f4e8}html{scroll-padding-top:110px}body.pg-shell{--pg-header-height:76px}body.pg-shell>header:not(#pg-header),body.pg-shell>footer:not(#pg-footer),body.pg-shell>.topline{display:none!important}#pg-header{position:sticky;top:0;z-index:1000;min-height:76px;background:rgba(7,34,27,.98);border-bottom:1px solid #346351;color:#f7f0df;display:flex;align-items:center;gap:28px;padding:9px max(3.5vw,18px);box-shadow:0 10px 30px #0002;font:500 13px system-ui,Arial,sans-serif}#pg-header *{box-sizing:border-box}#pg-header a{color:inherit;text-decoration:none}#pg-header a:hover,#pg-header summary:hover{color:var(--pg-gold)}#pg-header .pg-logo{display:flex;align-items:center;gap:10px;min-width:200px;font:700 23px Georgia,serif;letter-spacing:.06em}#pg-header .pg-logo img{width:41px;height:41px;object-fit:contain}#pg-header .pg-logo small{display:block;font:8px/1.5 system-ui;letter-spacing:.11em;color:#dab477}#pg-header .pg-links{display:flex;gap:clamp(10px,1.6vw,28px);flex:1;align-items:center;justify-content:center;min-width:0}#pg-header .pg-links> a,#pg-header summary{font-size:13px;white-space:nowrap;cursor:pointer;list-style:none}#pg-header summary::-webkit-details-marker{display:none}#pg-header .pg-menu{position:relative}#pg-header .pg-menu summary:after{content:'⌄';font-size:15px;margin-left:5px;color:var(--pg-gold)}#pg-header .pg-menu[open] .pg-dropdown{display:grid}#pg-header .pg-dropdown{position:absolute;top:calc(100% + 18px);left:-16px;min-width:235px;padding:9px;border-radius:12px;border:1px solid #3a6753;background:#09291f;box-shadow:0 18px 36px #0006;display:grid;gap:2px}#pg-header .pg-dropdown a{padding:11px 13px;border-radius:6px;font-size:12px;white-space:nowrap}#pg-header .pg-dropdown a:hover{background:#174638}#pg-header .pg-actions{display:flex;align-items:center;gap:8px;margin-left:auto}#pg-header .pg-login,#pg-header .pg-contact{padding:10px 14px;border-radius:6px;font-weight:700;white-space:nowrap}#pg-header .pg-login{border:1px solid #a4bcae}#pg-header .pg-contact{background:var(--pg-gold);color:#09271f!important}#pg-header .pg-toggle{display:none;background:transparent;color:#fff;border:1px solid #426957;border-radius:7px;padding:7px 11px;font:22px system-ui}#pg-footer{margin-top:70px;background:#061d17;color:#e6eadd;border-top:1px solid #2e5947;padding:48px max(5vw,20px) 25px;font:14px/1.7 system-ui,Arial,sans-serif}#pg-footer *{box-sizing:border-box}#pg-footer .pg-footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:34px;max-width:1400px;margin:auto}#pg-footer .pg-footer-grid div{display:flex;flex-direction:column;gap:10px}#pg-footer h3{font:24px Georgia,serif;color:#f6eddb;margin:0}#pg-footer h4{color:var(--pg-gold);font:700 12px system-ui;letter-spacing:.12em;margin:5px 0}#pg-footer a{color:#d6e5da;text-decoration:none}#pg-footer a:hover{color:var(--pg-gold)}#pg-footer p{max-width:480px;color:#b1c8b9;margin:0}#pg-footer .pg-bottom{max-width:1400px;margin:35px auto 0;padding-top:15px;border-top:1px solid #345343;color:#a6b9ae;font-size:12px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}#pg-float{position:fixed;right:18px;bottom:20px;z-index:800;background:var(--pg-gold);color:#10251a!important;border-radius:35px;padding:11px 18px;box-shadow:0 8px 28px #0006;font:700 12px system-ui,Arial,sans-serif;text-decoration:none}#pg-header .pg-login:focus-visible,#pg-header a:focus-visible,#pg-header summary:focus-visible{outline:3px solid #eac28e;outline-offset:4px}@media(max-width:1100px){#pg-header{flex-wrap:wrap}#pg-header .pg-logo{min-width:0;flex:1}#pg-header .pg-toggle{display:block}#pg-header .pg-links{display:none;flex-basis:100%;order:5;align-items:stretch;flex-direction:column;gap:0;padding:10px 0}#pg-header.pg-open .pg-links{display:flex}#pg-header .pg-links>a,#pg-header summary{padding:12px 4px}#pg-header .pg-dropdown{position:static;box-shadow:none;margin:2px 0 10px;padding:4px}#pg-header .pg-contact{display:none}}@media(max-width:680px){#pg-header .pg-logo{font-size:19px}#pg-header .pg-logo img{width:35px;height:35px}#pg-header .pg-actions{margin-left:0}#pg-header .pg-login{padding:8px}#pg-footer .pg-footer-grid{grid-template-columns:1fr 1fr;gap:25px}#pg-footer .pg-footer-grid>div:first-child{grid-column:1/-1}#pg-float{bottom:12px;right:12px}}@media print{#pg-header,#pg-float{display:none!important}#pg-footer{margin-top:20px}}
/* Fixed global header: resilient against original-page body overflow and cascade */
html{scroll-padding-top:104px!important}body.pg-shell{padding-top:82px!important}body.pg-shell #pg-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:2147483000!important;display:flex!important;visibility:visible!important;opacity:1!important;transform:none!important;min-height:82px!important;max-height:100vh;overflow:visible;background:#06291f!important;isolation:isolate}body.pg-shell #pg-header .pg-links{align-items:center}#pg-header .pg-logo img{width:76px!important;height:52px!important;object-fit:contain!important;flex-shrink:0}#pg-header .pg-logo{min-width:230px!important}#pg-header .pg-dropdown{z-index:2147483001}body.pg-shell>main{position:relative}@media(max-width:1280px){#pg-header{gap:14px!important}#pg-header .pg-logo{min-width:190px!important}#pg-header .pg-links{gap:10px!important}#pg-header .pg-links summary{font-size:12px}}@media(max-width:1100px){body.pg-shell #pg-header{flex-wrap:wrap;align-content:flex-start;overflow-y:auto}body.pg-shell #pg-header .pg-links{display:none!important;align-items:stretch}body.pg-shell #pg-header.pg-open .pg-links{display:flex!important}#pg-header .pg-logo{min-width:0!important}#pg-header .pg-logo img{width:67px!important;height:45px!important}}@media(max-width:680px){body.pg-shell{padding-top:74px!important}body.pg-shell #pg-header{min-height:74px!important}#pg-header .pg-logo img{width:58px!important;height:40px!important}}

/* POIGAI 2026-10-16 stable responsive navigation release */
body.pg-shell #pg-header{height:84px!important;min-height:84px!important;max-height:none!important;overflow:visible!important;padding:10px clamp(16px,3vw,46px)!important;gap:18px!important;align-items:center!important;box-shadow:0 5px 22px rgba(0,0,0,.3)!important}#pg-header .pg-logo{flex:0 0 auto!important;min-width:220px!important;gap:10px!important;font-size:23px!important}#pg-header .pg-logo img{width:72px!important;height:58px!important;object-fit:contain!important}#pg-header .pg-links{display:flex!important;justify-content:center!important;align-items:center!important;flex:1 1 auto!important;gap:clamp(5px,.8vw,16px)!important}#pg-header .pg-menu{flex:0 0 auto!important}#pg-header .pg-menu>summary{display:flex;align-items:center;padding:12px 5px!important;border:0!important;font:600 12px/1.3 system-ui,Arial,sans-serif!important;color:#f4eee0!important}#pg-header .pg-menu[open]>summary{color:#e7be83!important}#pg-header .pg-dropdown{top:100%!important;left:0!important;min-width:240px!important;padding:9px!important;box-shadow:0 18px 36px #0008!important;z-index:2147483500!important}#pg-header .pg-actions{flex:0 0 auto!important;gap:8px!important}#pg-header .pg-login{background:transparent!important;border:1px solid #88aa99!important;color:#f5efdf!important}#pg-header .pg-contact{background:#e3b878!important;color:#0b2b20!important}body.pg-shell{padding-top:84px!important}#pg-header .pg-toggle{display:none!important}@media(max-width:1200px){#pg-header .pg-logo{min-width:190px!important;font-size:20px!important}#pg-header .pg-logo img{width:58px!important;height:48px!important}#pg-header .pg-links{gap:3px!important}#pg-header .pg-menu>summary{font-size:11px!important}}@media(max-width:1040px){body.pg-shell #pg-header{height:auto!important;min-height:76px!important;max-height:100vh!important;overflow-y:auto!important;flex-wrap:wrap!important;align-content:flex-start!important}body.pg-shell{padding-top:76px!important}#pg-header .pg-logo{min-width:0!important;flex:1!important}#pg-header .pg-toggle{display:block!important;order:2!important}#pg-header .pg-actions{order:1!important;margin-left:0!important}#pg-header .pg-contact{display:none!important}#pg-header .pg-links{display:none!important;order:5!important;flex-basis:100%!important;align-items:stretch!important;flex-direction:column!important;gap:0!important;overflow:auto!important;max-height:calc(100vh - 95px)!important}#pg-header.pg-open .pg-links{display:flex!important}#pg-header .pg-menu>summary{font-size:14px!important;padding:12px!important}#pg-header .pg-dropdown{position:static!important;box-shadow:none!important;border-radius:6px!important;min-width:0!important}}@media(max-width:520px){#pg-header .pg-logo img{width:50px!important;height:40px!important}#pg-header .pg-logo{font-size:17px!important}#pg-header .pg-logo small{font-size:6px!important}#pg-header .pg-actions{order:2!important}#pg-header .pg-toggle{order:3!important}#pg-header .pg-login{padding:8px!important}}

/* Center the legal/operational footer disclosure at all viewport sizes. */
#pg-footer .pg-bottom{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;text-align:center!important;padding-bottom:26px!important}
#pg-footer .pg-bottom span{display:block;max-width:100%;text-align:center!important;overflow-wrap:anywhere}

/* Isolate shared header from legacy page-specific nav and figure rules. */
body.pg-shell #pg-header{position:fixed!important;left:0!important;right:0!important;top:0!important;box-sizing:border-box!important;width:100%!important;max-width:100vw!important}body.pg-shell #pg-header .pg-links{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;min-width:0!important}body.pg-shell #pg-header .pg-menu{background:transparent!important;border:0!important;box-shadow:none!important}body.pg-shell #pg-header .pg-dropdown{background:#09291f!important;border:1px solid #3a6753!important}body.pg-shell #pg-header .pg-logo img{max-width:76px!important}body.pg-shell>header:not(#pg-header),body.pg-shell>.topline{display:none!important}

/* Keep shared navigation in the header's layout. Legacy mobile nav rules use
   absolute positioning, which places the links outside the scrollable header
   and clips expanded dropdowns on phones. */
body.pg-shell #pg-header .pg-links{position:static!important;inset:auto!important;width:auto!important;max-width:100%!important}
@media(max-width:1100px){
  body.pg-shell #pg-header{height:auto!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important}
  body.pg-shell #pg-header .pg-toggle{display:block!important;order:3!important}
  body.pg-shell #pg-header .pg-logo{flex:1!important;min-width:0!important}
  body.pg-shell #pg-header .pg-actions{order:2!important}
  body.pg-shell #pg-header .pg-links{flex:0 0 100%!important;align-items:stretch!important;max-height:none!important;overflow:visible!important;padding:8px 0!important}
  body.pg-shell #pg-header .pg-menu{width:100%!important;min-width:0!important}
  body.pg-shell #pg-header .pg-menu>summary{min-height:48px;touch-action:manipulation}
  body.pg-shell #pg-header .pg-dropdown{position:static!important;min-width:0!important;width:100%!important}
  body.pg-shell #pg-header .pg-dropdown a{display:block;min-height:44px;white-space:normal!important;overflow-wrap:anywhere}
}
