/* One footer line; narrow screens can scroll the complete row horizontally. */
.footer-surface{background:#eeebe4;color:#173244}
.footer-surface .site-footer.footer-expanded{--footer-text-size:11px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:40px;min-height:76px;padding:20px 0;background:transparent;color:#173244;border-top:1px solid #17324422;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#9ca8b180 transparent}
.footer-brand-row{display:flex;flex-direction:row;align-items:center;gap:14px;flex:0 0 auto}
.site-footer.footer-expanded .footer-wordmark{display:flex;align-items:center;align-self:center;line-height:0;transform:translateY(-2px)}
.footer-surface .site-footer.footer-expanded .footer-wordmark img{display:block;width:115px;height:auto}
.footer-surface .site-footer.footer-expanded .copyright{margin:0;transform:none;order:0;width:auto;color:#52636e;font-size:var(--footer-text-size);line-height:1.5;white-space:nowrap}
.footer-links-column{display:flex;flex-direction:row;align-items:center;gap:18px;flex:1 0 auto;min-width:max-content}
.site-footer.footer-expanded nav{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:18px;width:auto;margin:0;flex:0 0 auto;color:inherit}
.site-footer.footer-expanded nav>a,.site-footer.footer-expanded nav>button{font-size:var(--footer-text-size);line-height:1.5;min-height:36px;padding:8px 0;transform:none;white-space:nowrap}
.site-footer.footer-expanded .back-top{font-size:22px;min-width:22px;margin-left:0;justify-content:center}
.site-footer .footer-social-links{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto}
.site-footer.footer-expanded .footer-social-links{margin-left:auto}
.site-footer .footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:27px;min-height:36px;padding:0;color:inherit;line-height:0;text-decoration:none}
.site-footer .footer-social-link img{display:block;height:18px;width:auto;max-width:none;object-fit:contain}
.site-footer .footer-social-link:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.entry-shell>.site-footer.footer-compact{background:transparent}
.footer-compact .footer-social-links{margin-left:auto}
@media(min-width:761px) and (max-width:1350px){.footer-surface .site-footer.footer-expanded{--footer-text-size:10px;gap:32px}}
@media(max-width:760px){.footer-surface .site-footer.footer-expanded{gap:24px;min-height:76px;padding-block:16px}.site-footer .footer-social-link{width:40px;min-height:44px}.site-footer.footer-expanded nav>a,.site-footer.footer-expanded nav>button{min-height:44px}.footer-surface .site-footer.footer-expanded .footer-wordmark img{width:105px}}

/* On the law homepage, continue the light contact surface behind the transparent footer. */
.law-page:has(.home-conversation) .contact-and-footer{background:#eeebe4;color:#173244}
.law-page.high-contrast:has(.home-conversation) .contact-and-footer{background:#fff;color:#071b2b}
.high-contrast .footer-surface{background:#fff;color:#071b2b}
.high-contrast .footer-surface .site-footer.footer-expanded,.high-contrast .footer-surface .site-footer.footer-expanded .copyright{color:#071b2b}

/* Keep hover and keyboard feedback legible on each transparent footer surface. */
.site-footer{--footer-hover:#071b2b}
.site-footer.footer-expanded nav>a:focus-visible,.site-footer.footer-expanded nav>button:focus-visible,.site-footer.footer-compact nav>a:focus-visible,.site-footer.footer-compact nav>button:focus-visible{color:var(--footer-hover);text-decoration:underline;text-underline-offset:4px}
