/* UI Consistency V1: related-page cards, five-column Footer and page-end separation. */
.related-pages-panel{min-width:0}
.related-pages-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));grid-auto-rows:1fr;align-items:stretch;gap:16px}
.related-pages-grid>.cap-card{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:132px;padding:20px;word-break:normal;overflow-wrap:normal;hyphens:none}
.related-pages-grid>.cap-card>h3{margin:0;font-size:18px;line-height:1.4;font-weight:700;word-break:normal;overflow-wrap:normal;hyphens:none}
.related-pages-grid>.cap-card>.text-link{align-self:flex-start;margin-top:auto;font-size:15px;line-height:1.5;white-space:normal}
.dark .related-pages-grid>.cap-card>.text-link{color:#fff;text-decoration:underline;text-underline-offset:4px}
.related-pages-grid>.cap-card>.text-link:focus-visible{outline:3px solid currentColor;outline-offset:4px}
main{padding-bottom:40px;background:var(--paper)}
main>.page-final-section{padding-bottom:clamp(56px,6vw,80px)}
main>.page-final-section.dark{background:var(--dark2)}
.site-footer.ui-consistent-footer{grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,.9fr)) minmax(200px,1.3fr);gap:28px;padding-top:60px;padding-bottom:116px;align-items:start;background:var(--dark)}
.ui-consistent-footer>div{min-width:0}
.ui-consistent-footer .footer-brand{max-width:100%}
.ui-consistent-footer .footer-brand .brand-logo{width:200px;max-width:100%;height:auto}
.ui-consistent-footer .footer-about p{font-size:14px;line-height:1.6;margin:0 0 14px}
.ui-consistent-footer .footer-legal{font-weight:700}
.ui-consistent-footer .footer-summary{max-width:30ch}
.ui-consistent-footer h2{font-size:22px;font-weight:700;color:#fff;line-height:1.35;letter-spacing:0;margin:6px 0 18px}
.site-footer.ui-consistent-footer nav,.site-footer.ui-consistent-footer .footer-contact-list{display:flex;flex-direction:column;align-items:flex-start;gap:13px;font-size:14px;font-weight:400;line-height:1.6;margin:0;font-style:normal}
.site-footer.ui-consistent-footer nav a,.site-footer.ui-consistent-footer .footer-contact-list a{font-size:inherit;font-weight:400;line-height:1.6;max-width:100%;word-break:normal;overflow-wrap:normal}
.site-footer.ui-consistent-footer .footer-contact-list a{overflow-wrap:anywhere}
.ui-consistent-footer a:focus-visible{outline:3px solid #ffe19a;outline-offset:5px}
@media(max-width:1150px){.site-footer.ui-consistent-footer{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}.ui-consistent-footer .footer-about{grid-column:1/-1;max-width:640px}.ui-consistent-footer .footer-summary{max-width:58ch}}
@media(max-width:760px){main{padding-bottom:28px}main>.page-final-section{padding-bottom:52px}.site-footer.ui-consistent-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;padding-top:44px;padding-bottom:116px}.site-footer.ui-consistent-footer nav,.site-footer.ui-consistent-footer .footer-contact-list{font-size:15px;gap:13px}.ui-consistent-footer h2{font-size:22px}.related-pages-grid>.cap-card{padding:18px;min-height:124px}}
@media(max-width:560px){.related-pages-grid{grid-template-columns:1fr}.site-footer.ui-consistent-footer{grid-template-columns:1fr}.ui-consistent-footer .footer-about{grid-column:auto}.ui-consistent-footer .footer-summary{max-width:36ch}}
/* Leave enough room to scroll contact links above the floating controls. */
@media(max-width:1150px){.site-footer.ui-consistent-footer{padding-bottom:calc(152px + env(safe-area-inset-bottom, 0px))}}
