/*
 * Main navigation spacing
 *
 * The search control was removed from the main-site header. Center the
 * remaining links with an even, responsive gap on desktop while leaving
 * the mobile navigation untouched.
 */
@media (min-width: 992px) {
  .rd-navbar-static .rd-navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 3.4vw, 52px);
    width: 100%;
    margin: 0 auto;
  }

  .rd-navbar-static .rd-nav-item + .rd-nav-item {
    margin-left: 0;
  }

  /* The template's corporate header rule is more specific than the
   * generic rule above, so override it explicitly as well. */
  .rd-navbar-corporate.rd-navbar-static .rd-nav-item + .rd-nav-item {
    margin-left: 0;
  }

  .rd-navbar-static .rd-nav-item {
    flex: 0 0 auto;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .rd-navbar-static .rd-navbar-nav {
    gap: clamp(20px, 2.5vw, 32px);
  }
}
