/* Keep the six primary navigation items on one line above the mobile breakpoint. */
@media (min-width: 1024px) {
  #header .header-nav-main.nav-spacing-xlarge > li {
    margin-right: clamp(5px, 1vw, 15px);
    margin-left: clamp(5px, 1vw, 15px);
  }
  #header .header-nav-main > li > a {
    font-size: clamp(12px, 1.05vw, 14px);
    letter-spacing: 0;
    white-space: nowrap;
  }
}
/* Long labels move into the existing drawer at tablet widths. */
@media (min-width: 850px) and (max-width: 1023px) {
  #header .header-inner > .hide-for-medium { display: none !important; }
  #header .header-inner > .show-for-medium { display: flex !important; flex: 1 1 0; }
  #header .header-inner > .show-for-medium.flex-left { order: 1; justify-content: flex-start; }
  #header .header-inner > #logo { order: 2; margin: 0; text-align: center; }
  #header .header-inner > .show-for-medium.flex-right { order: 3; justify-content: flex-end; }
}
.nav-sidebar.nav-vertical > li > a {
  font-size: 13px;
  letter-spacing: 0;
}
