/* Keep the approved wide header; fit the navigation before it can clip. */
@media (min-width: 1101px) and (max-width: 1439px) {
  .site-header .header-inner {
    width: calc(100% - 48px) !important;
    padding: 0 !important;
    margin-inline: auto !important;
    gap: 18px !important;
  }
  .site-header .site-logo, .site-header .header-actions { flex-shrink: 0; }
  .site-header .main-nav ul { gap: clamp(8px, calc(6vw - 58px), 26px) !important; }
  .site-header .main-nav a {
    font-size: clamp(14px, calc(1vw + 3px), 17px) !important;
    white-space: nowrap !important;
  }
  .site-header .header-phone { padding-inline: 18px !important; }
}
/* Use the existing menu interaction sooner, instead of squeezing its text. */
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header .header-inner {
    width: calc(100% - 48px) !important;
    padding: 0 !important;
    margin-inline: auto !important;
    gap: 18px !important;
  }
  .site-header .site-logo { margin-right: auto !important; }
  .site-header .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    visibility: hidden;
  }
  .site-header .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-header .main-nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 20px 24px !important;
  }
  .site-header .main-nav li { border-bottom: 1px solid #eee; }
  .site-header .main-nav a {
    display: block !important;
    padding: 16px 0 !important;
    font-size: 17px !important;
    color: #003A6E !important;
    text-shadow: none !important;
  }
  .site-header .main-nav a[aria-current="page"],
  .site-header .main-nav a:hover { color: #0078D6 !important; }
  .site-header .main-nav a::after { display: none; }
  .site-header .nav-toggle { display: flex; flex-shrink: 0; }
  :is(.site-header.is-home, .rb-home-start .site-header):not(.is-scrolled):not(.is-menu-open) .nav-toggle span {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.65);
  }
}
