/* Shared footer layout for every public server-rendered page. */
footer .foot{display:grid!important;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:32px!important;align-items:start;max-width:1180px;margin:0 auto}
footer .foot>div{min-width:0}
footer .foot a.brand{display:block!important;width:240px!important;max-width:100%!important;height:auto!important;margin:0 0 16px!important}
footer .foot a.brand img{display:block!important;width:240px!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1536 / 641!important;object-fit:contain!important;object-position:left center!important}
footer .foot h4{font-size:1rem;line-height:1.4;margin:0 0 14px;color:var(--navy,#003b7a)}
footer .foot p,footer .foot a:not(.brand){display:block;font-size:.95rem;line-height:1.6;color:var(--muted,#5c7087);margin:7px 0;overflow-wrap:anywhere;text-decoration:none}
footer .foot a:hover,footer .legal-footer a:hover{text-decoration:underline}
footer .footer-social{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px}
footer .legal-footer{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px;font-size:.95rem}
footer .copyright{margin-top:30px;padding-top:20px;border-top:1px solid var(--line,#d8e5ee);color:var(--muted,#5c7087);font-size:.875rem;line-height:1.5}
footer:has(.foot){padding:36px 0 24px;border-top:1px solid var(--line,#d8e5ee)}
footer:has(.foot)>.wrap{width:min(1180px,calc(100% - 40px));margin-left:auto;margin-right:auto}
@media(max-width:900px){footer .foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px!important}}
@media(max-width:600px){footer .foot{grid-template-columns:minmax(0,1fr);gap:24px!important}footer .foot a.brand,footer .foot a.brand img{width:220px!important}footer:has(.foot)>.wrap{width:calc(100% - 36px)}}
