.site-footer.footer-refresh{background:#17392d;color:#f3f7f1;padding:64px 0 24px;--line:#547465;--muted:#ccddd2;--dark:#f3f7f1;--mint:#254c3a;border-top:0}
.footer-refresh .footer-invitation{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;padding-bottom:48px;border-bottom:1px solid var(--line);margin-bottom:48px}.footer-refresh .footer-invitation h2{font-size:clamp(30px,3.5vw,48px);line-height:1.12;font-weight:400;margin:0 0 20px;letter-spacing:-.025em}.footer-refresh p{color:#ccddd2;line-height:1.65}.footer-direct{display:flex;flex-direction:column;gap:16px;align-items:flex-start;min-width:0}.footer-direct>a{color:#f3f7f1;text-decoration:none;overflow-wrap:anywhere}.footer-direct>a:first-child{font-size:clamp(27px,3vw,40px);display:flex;align-items:center;gap:24px}.footer-direct .icon{width:28px;height:28px}.footer-direct>a:last-child{font-size:14px;text-decoration:underline;text-underline-offset:5px}
.footer-refresh .footer-grid{display:grid;grid-template-columns:1fr .85fr 1.1fr 1.2fr;gap:32px;margin:0 0 48px;align-items:start}.footer-refresh .footer-grid>*{min-width:0}.footer-refresh .footer-grid h2{font-size:17px;line-height:1.4;margin:0 0 20px;color:#fff;font-weight:600}.footer-refresh .footer-grid h3{font-size:14px;line-height:1.5;margin:20px 0 8px;color:#e1eee4}.footer-refresh .footer-grid p{font-size:14px;margin:8px 0 16px}.footer-refresh .footer-mark img{display:block;width:112px;height:auto;filter:brightness(0) invert(1);margin-bottom:20px}.footer-refresh .menu{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:0;margin:0;list-style:none}.footer-refresh .menu a{font-size:14px;line-height:1.5;color:#e1eee4;text-decoration:none}.footer-refresh a:hover{text-decoration:underline;text-underline-offset:5px}.footer-refresh .social-links a{color:#f3f7f1;border-color:#547465;background:transparent}.footer-refresh .footer-hours-note{font-size:12px!important}.footer-refresh .institutional-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:32px;padding:24px 0;margin:0}.footer-refresh .institutional-footer p{font-size:12px;margin:0}.footer-refresh .footer-bottom{grid-template-columns:1fr auto;gap:20px;border-top:1px solid var(--line);padding-top:24px}.footer-refresh .footer-bottom>span{font-size:12px}.footer-refresh .footer-legal{justify-content:flex-end;gap:16px}.footer-refresh .footer-policy{border:0;background:transparent;color:#e1eee4;padding:4px 0;border-radius:0;font-size:12px}.footer-refresh .footer-credit{grid-column:1/-1;justify-self:end;color:#ccddd2;font-size:12px}.footer-refresh .footer-newsletter{margin:0 0 40px;background:#254c3a;color:#fff;border-radius:12px}.footer-refresh .footer-newsletter .button{background:#e0efdf;color:#17392d}.footer-refresh a:focus-visible{outline:3px solid #f2d481;outline-offset:5px}
.compact-services{grid-template-columns:1fr;gap:16px}.compact-services>ul{display:flex;flex-direction:column;gap:12px;position:static;visibility:visible;opacity:1;padding:0}
@media(max-width:1000px){.footer-refresh .footer-grid{grid-template-columns:1fr 1fr;gap:36px}.footer-refresh .footer-invitation{gap:28px}}
@media(max-width:600px){.site-footer.footer-refresh{padding-top:40px;padding-bottom:100px}.footer-refresh .footer-invitation{grid-template-columns:1fr;margin-bottom:32px;padding-bottom:32px}.footer-refresh .footer-grid{gap:32px 20px}.footer-refresh .footer-brand,.footer-refresh .footer-hours{grid-column:1/-1}.footer-refresh .footer-brand{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:16px}.footer-refresh .footer-mark img{width:88px;margin:0}.footer-refresh .footer-brand .social-links{grid-column:2}.footer-refresh .footer-grid h2{font-size:16px}.footer-refresh .institutional-footer{flex-direction:column;gap:14px}.footer-refresh .footer-bottom{display:flex;flex-direction:column;align-items:flex-start}.footer-refresh .footer-legal{justify-content:flex-start}.footer-refresh .footer-credit{align-self:flex-start}.footer-refresh .footer-newsletter{padding:24px}}
/* Compact branch list: rows must not stretch to fill the adjacent column. */
#primary-nav .mega-panel{align-items:start;max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}
#primary-nav .mega-panel .mega-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;grid-auto-rows:auto;gap:4px 24px;margin:0;padding:0;list-style:none}
#primary-nav .mega-branches>li{margin:0;min-width:0;padding:0;align-self:start}
#primary-nav .mega-branches>li>a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:48px;padding:10px 8px;font-size:14px;line-height:1.4;white-space:normal;border-radius:6px}
#primary-nav .mega-branches .icon{width:22px;height:22px;flex:0 0 22px}
#primary-nav .mega-branches>li>a:hover{background:var(--mint)}
@media(max-width:1100px){#primary-nav .mega-panel{max-height:none;overflow:visible}}
@media(max-width:600px){#primary-nav .mega-panel .mega-branches{grid-template-columns:minmax(0,1fr);gap:2px}#primary-nav .mega-panel{padding:16px}}
/* Explicit mobile layout replaces the older footer's conflicting column rules. */
@media(max-width:760px){
 .site-footer.footer-refresh .footer-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .site-footer.footer-refresh .footer-grid>*{grid-column:auto;min-width:0;padding:24px 0;border-bottom:1px solid var(--line)}
 .site-footer.footer-refresh .footer-grid>.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:0}
 .site-footer.footer-refresh .footer-brand>p{max-width:none;margin:0}
 .site-footer.footer-refresh .footer-grid nav .menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;width:100%;align-items:start}
 .site-footer.footer-refresh .footer-grid .menu a{display:flex;align-items:center;min-height:44px;padding:8px 0;white-space:normal;overflow-wrap:break-word}
 .site-footer.footer-refresh .footer-invitation{grid-template-columns:1fr;gap:24px;margin-bottom:24px}
 .site-footer.footer-refresh .footer-direct{width:100%;gap:12px}
 .site-footer.footer-refresh .footer-direct a{max-width:100%;min-height:44px;display:flex;align-items:center;font-size:16px;overflow-wrap:anywhere}
 .site-footer.footer-refresh .footer-direct a:first-child{font-size:30px}
 .site-footer.footer-refresh .footer-bottom{display:flex;flex-direction:column;align-items:stretch;gap:16px}
 .site-footer.footer-refresh .footer-legal{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 20px}
 .site-footer.footer-refresh .footer-policy{white-space:normal;text-align:left;justify-content:flex-start;min-height:44px}
 .site-footer.footer-refresh .institutional-footer{display:block}.site-footer.footer-refresh .institutional-footer p+p{margin-top:12px}
 .site-footer.footer-refresh .footer-credit{text-align:left;align-self:flex-start;min-height:44px;display:flex;align-items:center}
 .site-footer.footer-refresh{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
