/* Keep the contact row independent of the space reserved for the appointment. */
@media screen and (min-width: 1251px) {
  html body .site-box > header.header > .wrap.nav {
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
    grid-template-areas: "brand contacts contacts" "menu menu cta" !important;
  }

  html body .site-box > header.header > .wrap.nav > nav#mainNav {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    container-type: inline-size;
    flex-flow: row wrap !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 2px clamp(3px, .4vw, 8px) !important;
  }

  html body .site-box > header.header > .wrap.nav > nav#mainNav > .cms-nav-item {
    flex: 0 0 auto !important;
    margin-inline: 0 !important;
  }

  html body .site-box > header.header > .wrap.nav > nav#mainNav > .cms-nav-item > a {
    font-size: clamp(12px, .95vw, 15px) !important;
    font-size: clamp(12px, 1.15cqi, 15px) !important;
    padding-inline: clamp(3px, .4vw, 8px) !important;
  }
}

@media screen and (max-width: 1250px) {
  html body .site-box > header.header > .wrap.nav > nav#mainNav.open {
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-y: auto !important;
  }

  html body .site-box > header.header > .wrap.nav > nav#mainNav > .cms-nav-item > a {
    display: flex !important;
    box-sizing: border-box !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: clamp(13px, 1.8vw, 15px) !important;
  }
}
