/* Mobile footer: paired navigation groups, full-width brand, readable wrapping. */
@media(max-width:640px){
  html body .footer.premium-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 16px!important}
  html body .footer.premium-footer .footer-main>.footer-brand-card{grid-column:1/-1!important}
  .footer.premium-footer .footer-col{min-width:0!important}
  .footer.premium-footer .footer-col>strong{font-size:.875rem!important;line-height:1.4;flex-wrap:wrap}
  .footer.premium-footer .footer-col>a{font-size:.875rem!important;min-height:44px;line-height:1.5!important;white-space:normal;overflow-wrap:anywhere}
  .footer.premium-footer .footer-col>a::before{flex-shrink:0}
}

/* Desktop navigation: use the existing mobile SVG glyphs without icon fonts or JS. */
@media(min-width:1261px){
 html body .header>#mm-header-navigation.container.nav{width:min(calc(100% - 32px),1760px)!important;max-width:1760px!important;gap:clamp(4px,.55vw,10px)!important}
 html body .header .main-menu{gap:clamp(1px,.25vw,5px)!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:nowrap!important;align-items:center!important}
 html body .header .main-menu>.menu-item,html body .header .main-menu>.mm-service-nav{flex:0 0 auto!important;min-width:0!important}
 html body .header .main-menu>a,html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{display:inline-flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:48px!important;padding:4px 5px!important;white-space:nowrap!important;font-size:clamp(10px,.82vw,13px)!important;line-height:1.2!important;letter-spacing:0!important;position:relative;flex-shrink:0}
 html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{padding-inline-end:12px!important}
 html body .header .main-menu>.menu-item>a::after,html body .header .main-menu>.mm-service-nav>summary::after{position:absolute;inset-inline-end:4px;inset-block-start:calc(50% + 6px);margin:0!important;width:4px!important;height:4px!important;flex:none;transform:rotate(45deg) translateY(-1px)}
 .main-menu .mm-desktop-icon{display:block;width:17px;height:17px;flex:0 0 17px;line-height:0;color:inherit;pointer-events:none}
 .main-menu .mm-desktop-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .main-menu .mm-desktop-label{display:block;white-space:nowrap;line-height:1.2;pointer-events:none}
 .main-menu>.mm-knowledge-nav[aria-current=page],.main-menu>.mm-knowledge-nav[data-mm-current]{color:var(--blue,#087da8);background:#eefbff}
}
@media(min-width:1600px){
 html body .header .main-menu>a,html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{flex-direction:row;gap:5px!important;padding-inline:7px!important;min-height:44px!important}
 html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{padding-inline-end:16px!important}
 html body .header .main-menu>.menu-item>a::after,html body .header .main-menu>.mm-service-nav>summary::after{inset-block-start:calc(50% - 2px);inset-inline-end:6px}
}
@media(min-width:1261px) and (max-width:1439px){
 html body .header .main-menu>a,html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{padding-inline:3px!important;font-size:10.5px!important}
 html body .header .main-menu>.menu-item>a,html body .header .main-menu>.mm-service-nav>summary{padding-inline-end:10px!important}
}
