.site-footer .footer-top {
  grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr));
  gap: 30px clamp(18px, 3vw, 38px);
}
.site-footer .footer-top > * { min-width: 0; }
.site-footer .footer-brand img { max-width: 100%; }
.site-footer .footer-brand p,
.site-footer .footer-brand span,
.site-footer .footer-col a,
.site-footer .footer-col b,
.site-footer .footer-bottom span { overflow-wrap: anywhere; }
.site-footer .footer-col a:focus-visible,
.site-header .mega a:focus-visible { outline: 2px solid #ff9800; outline-offset: 3px; }
.site-header .mega-col { min-width: 0; }
.site-header .mega a { overflow-wrap: anywhere; }
@media (min-width: 921px) {
  .site-header .mega {
    width: min(1160px, calc(100vw - 48px));
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 22px 16px 24px;
  }
  .site-header .mega-col { padding: 0 14px; }
  .site-header .nav-item:focus-within .mega {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, 0);
  }
}
@media (max-width: 1120px) and (min-width: 921px) {
  .site-header .mega-col { padding: 0 9px; }
}
@media (max-width: 920px) {
  .site-header .main-nav {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header .mega { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .nav-item .mega,
  .site-header .nav-item:hover .mega,
  .site-header .nav-item.open:hover .mega { transform: none; }
  .site-footer .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header .mega { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
