footer .footer-main-nav,.reference-site .rf-editorial-footer .footer-main-nav{display:grid;grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;justify-content:stretch;min-width:0;margin:0;padding:0}
footer .footer-main-nav a{display:flex;align-items:center;min-width:0;min-height:48px;margin:0;padding:10px 0;border-bottom:1px solid #d7d9da;color:inherit;font-size:14px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
footer .footer-main-nav a:hover,footer .footer-main-nav a[aria-current="page"]{color:#c71937}
footer .footer-main-nav a:focus-visible{outline:2px solid #c71937;outline-offset:3px}
@media(max-width:800px){footer .footer-main-nav,.reference-site .rf-editorial-footer .footer-main-nav{gap:0 20px}footer .footer-main-nav a{min-height:48px}}

.desktop-footer{display:none}
@media(min-width:651px){
 footer:has(>.desktop-footer){padding:0!important;background:#f5f4f2;color:#333}
 footer:has(>.desktop-footer)>:not(.desktop-footer){display:none!important}
 footer .desktop-footer{display:block;width:min(1280px,calc(100% - 64px));margin-inline:auto;padding:42px 0 22px}
 footer .desktop-footer-grid{display:grid;grid-template-columns:1.25fr .85fr 1fr 1.1fr;gap:clamp(22px,3vw,50px)}
 footer .desktop-footer h2{font-size:14px;font-weight:500;line-height:1.6;margin:0 0 15px;color:#252525;letter-spacing:.02em}
 footer .desktop-footer a{color:inherit;text-decoration:none;border:0;overflow-wrap:anywhere}
 footer .desktop-footer a:hover,footer .desktop-footer a:focus-visible{color:#c71937}
 footer .desktop-footer a:focus-visible{outline:2px solid #c71937;outline-offset:4px}
 footer .desktop-footer nav>a{display:block;font-size:13px;line-height:1.6;padding:5px 0}
 footer .desktop-footer .site-logo{width:195px;max-width:100%;margin:0 0 19px}
 footer .desktop-footer-brand p{max-width:270px;font-size:13px;line-height:1.8;margin:0 0 11px;color:#65615e}
 footer .desktop-footer-brand .desktop-footer-city{font-size:12px;margin-bottom:0}
 footer .desktop-footer address{font-style:normal;min-width:0}
 footer .desktop-footer-contact-entry{display:flex;align-items:center;gap:11px;font-size:13px;line-height:1.7;margin:0 0 17px}
 footer .desktop-footer-contact-entry>span[aria-hidden],footer .desktop-footer-contact-entry>svg{width:20px;height:20px;flex:none;font-size:21px;color:#8c7770}
 footer .desktop-footer-contact-entry>svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
 footer .desktop-footer-contact-entry small{display:block;font-size:11px;letter-spacing:.03em;color:#746f6b;margin-bottom:2px}
 footer .desktop-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dcd8d4;margin-top:26px;padding-top:17px}
 footer .desktop-footer-bottom p{font-size:11px;line-height:1.6;margin:0;color:#6e6864}
 footer .desktop-footer-bottom .desktop-footer-legal{font-size:10px;color:#827b75;margin-top:4px}
 footer .desktop-footer-bottom nav{display:flex;align-items:center;gap:13px;flex:none}
 footer .desktop-footer-bottom nav>a{font-size:11px;padding:0;line-height:1.6}
 .reference-site footer .desktop-footer-grid>nav,footer .desktop-footer-grid>nav{display:block;grid-template-columns:none;gap:0}
 .reference-site footer .desktop-footer h2{font-size:14px;line-height:1.6;margin:0 0 15px}
 .reference-site footer .desktop-footer-brand p{font-size:13px;line-height:1.8;margin:0 0 11px}
 .reference-site footer .desktop-footer-brand .desktop-footer-city{font-size:12px;margin-bottom:0}
 .reference-site footer .desktop-footer-bottom p{font-size:11px;line-height:1.6;margin:0}
 .reference-site footer .desktop-footer-bottom .desktop-footer-legal{font-size:10px;margin-top:4px}
 .reference-site footer .desktop-footer-bottom nav,footer .desktop-footer .desktop-footer-bottom nav{display:flex;grid-template-columns:none;align-items:center;gap:13px}
 footer .desktop-footer-bottom{box-sizing:border-box;padding-inline-end:180px;flex-wrap:wrap}
}

/* Shared desktop width and readable columns, aligned with the contact page. */
@media(min-width:1001px){
 footer .desktop-footer{box-sizing:border-box;width:min(1320px,calc(100% - 80px));padding:38px 0 22px}
 footer .desktop-footer-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.75fr) minmax(0,.9fr) minmax(0,1.25fr);gap:clamp(28px,2.5vw,40px)}
 footer .desktop-footer-grid>*{min-width:0}
 footer .desktop-footer h2,.reference-site footer .desktop-footer h2{font-size:16px;line-height:1.5;margin-bottom:14px;overflow-wrap:anywhere}
 footer .desktop-footer nav>a{font-size:14px;line-height:1.6;padding-block:5px}
 footer .desktop-footer-brand p,.reference-site footer .desktop-footer-brand p{max-width:300px;font-size:14px;line-height:1.75}
 footer .desktop-footer-contact-entry{font-size:14px;line-height:1.7;margin-bottom:16px}
 footer .desktop-footer-contact-entry>span:not([aria-hidden]){min-width:0;overflow-wrap:anywhere}
 footer .desktop-footer-contact-entry small{font-size:12px}
}
/* Keep the existing phone footer; let tablet columns wrap before they crowd. */
@media(min-width:651px) and (max-width:1000px){
 footer .desktop-footer{box-sizing:border-box;width:calc(100% - 40px)}
 footer .desktop-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
 .reference-site footer .desktop-footer-grid>nav,footer .desktop-footer-grid>nav{grid-column:auto}
 footer .desktop-footer-grid>*{min-width:0}
 footer .desktop-footer-contact-entry>span:not([aria-hidden]){min-width:0;overflow-wrap:anywhere}
}

.mf-footer{display:none}
/* Approved phone reference; the existing desktop view is preserved. */
@media(max-width:650px){
 footer:has(>.mf-footer){padding-block:32px!important;border-top:0!important;background:#f3f4f5!important;color:#282a2c!important}
 footer:has(>.mf-footer)>:not(.mf-footer){display:none!important}
 footer>.mf-footer{display:block;width:calc(100% - 36px);margin-inline:auto}
 footer:has(>.mf-footer) .mf-footer .mf-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:24px}
 footer:has(>.mf-footer) .mf-footer .mf-brand .site-logo{width:205px;min-width:0;flex:0 1 205px}
 footer:has(>.mf-footer) .mf-footer .mf-brand .rf-footer-contact-link{display:inline-flex;flex:none;color:#c71937;text-decoration:none;font-size:12px;min-height:44px;align-items:center;white-space:nowrap}
 footer:has(>.mf-footer) .mf-footer .mf-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0;justify-content:stretch}
 footer:has(>.mf-footer) .mf-footer .mf-nav>a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:8px 0;border-bottom:1px solid #d7d9da;font-size:14px;font-weight:400;line-height:1.5;color:#282a2c;text-decoration:none}
 footer:has(>.mf-footer) .mf-footer .mf-nav>a::after,footer:has(>.mf-footer) .mf-footer .mf-chevron{content:"";display:block;width:6px;height:6px;flex:none;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);margin-inline-end:3px;color:#62676a}
 footer:has(>.mf-footer) .mf-footer .mf-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
 footer:has(>.mf-footer) .mf-footer .mf-channel{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;border-radius:8px;background:#fff;color:#111;font-size:14px;font-weight:400;line-height:1.4;text-decoration:none}
 footer:has(>.mf-footer) .mf-footer .mf-channel .mf-chevron{margin-inline-start:auto}
 footer:has(>.mf-footer) .mf-footer .mf-icon{display:block;width:24px;height:24px;flex:none}
 footer:has(>.mf-footer) .mf-footer .mf-contact{display:grid;gap:4px;margin-top:12px;font-style:normal}
 footer:has(>.mf-footer) .mf-footer .mf-contact>a{display:flex;align-items:center;gap:12px;min-height:40px;color:#3d4143;text-decoration:none}
 footer:has(>.mf-footer) .mf-footer .mf-phone{font-size:16px;font-weight:400;line-height:1.5}
 footer:has(>.mf-footer) .mf-footer .mf-address{font-size:12px;font-weight:400;line-height:1.6}
 footer:has(>.mf-footer) .mf-footer .mf-address>span:first-of-type{min-width:0;flex:1;overflow-wrap:anywhere}
 footer:has(>.mf-footer) .mf-footer .mf-bottom{border-top:1px solid #d7d9da;margin-top:16px;padding-top:16px}
 footer:has(>.mf-footer) .mf-footer .mf-bottom p{font-size:11px;line-height:1.6;color:#666;margin:0}
 footer:has(>.mf-footer) .mf-footer .mf-legal{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:4px;font-size:11px;line-height:1.5;color:#666}
 footer:has(>.mf-footer) .mf-footer .mf-legal>a{display:flex;align-items:center;min-height:28px;text-decoration:none}
 footer:has(>.mf-footer) .mf-footer .mf-legal>a+a::before{content:"|";margin-inline-end:12px;color:#aaa}
 footer:has(>.mf-footer) .mf-footer a:focus-visible{outline:2px solid #c71937;outline-offset:3px}
}
