footer:has(.footer-compact-grid){padding:0!important}
footer .footer-compact-grid{width:min(1380px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0 12px}
footer .footer-compact-brand{display:flex;align-items:center;gap:12px;min-width:0}
footer .footer-compact-brand img{object-fit:contain;flex:none}
footer .footer-compact-brand div{display:flex;flex-direction:column;gap:2px}
footer .footer-compact-brand strong{font:400 16px/1.4 Lato,Arial,sans-serif;color:#efd5a7}
footer .footer-compact-brand span{font:400 13px/1.3 Lato,Arial,sans-serif;color:#ccd5dc}
footer .footer-compact-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 27px}
footer .footer-compact-links a,footer .footer-compact-bottom a{color:#e6e7e9;font:400 14px/1.5 Lato,Arial,sans-serif;text-decoration:none}
footer .footer-compact-links a:hover,footer .footer-compact-bottom a:hover{text-decoration:underline;text-underline-offset:3px;color:#f3d59c}
footer .footer-compact-bottom{border-top:1px solid #ffffff22;padding:10px 0 12px!important;gap:14px;min-height:0!important}
footer .footer-compact-bottom span{font-size:12px}
@media(max-width:660px){footer .footer-compact-grid{width:calc(100% - 32px);padding:16px 0 12px;align-items:flex-start;flex-direction:column;gap:14px}footer .footer-compact-links{justify-content:flex-start;gap:10px 18px}footer .footer-compact-links a{font-size:13px}footer .footer-compact-bottom{gap:9px;padding:10px 0!important;justify-content:space-between}footer .footer-compact-bottom a,footer .footer-compact-bottom span{font-size:12px}}
#complete-sitemap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0 55px}
#complete-sitemap .sitemap-group{min-width:0;padding:21px;border:1px solid var(--line,#ddd1c2);border-top:3px solid var(--gold,#9b712e);border-radius:10px;background:var(--card-bg,#fff)}
#complete-sitemap .sitemap-group h2{font:400 21px/1.4 Lato,Arial,sans-serif;margin:0 0 12px}
#complete-sitemap .sitemap-group ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
#complete-sitemap .sitemap-group a{font:400 16px/1.4 Lato,Arial,sans-serif;color:var(--ink);overflow-wrap:anywhere}
html[data-theme=dark] #complete-sitemap .sitemap-group a{color:#e7ebee}
@media(max-width:850px){#complete-sitemap{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:540px){#complete-sitemap{grid-template-columns:1fr;gap:12px;margin:18px 0 35px}#complete-sitemap .sitemap-group{padding:17px}#complete-sitemap .sitemap-group h2{font-size:19px}}
/* Short interior pages: position the footer at the viewport bottom, not mid-screen. */
body:has(>main.content-page):has(>footer .footer-compact-grid){
 display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;
}
body:has(>main.content-page):has(>footer .footer-compact-grid)>main.content-page{
 flex:1 0 auto;width:100%;
}
body:has(>main.content-page):has(>footer .footer-compact-grid)>footer{flex:0 0 auto}
/* Light mode has a pale footer: gold-beige and icy grey are illegible there. */
html:not([data-theme="dark"]) body:not(.account-page) footer .footer-compact-brand strong{color:#654a2e}
html:not([data-theme="dark"]) body:not(.account-page) footer .footer-compact-brand span{color:#5b6266}
html:not([data-theme="dark"]) body:not(.account-page) footer .footer-compact-brand img{filter:brightness(.66) saturate(1.3)}
