/* ARES global header scale repair.
   Injected by the Worker so generated page snapshots share the same larger nav. */

:root {
  --ares-v4-header-height: 82px;
}

.ares-v4-shell-header {
  grid-template-columns: auto minmax(0, 1fr) minmax(18rem, 24rem) auto auto !important;
  gap: 1.25rem !important;
  min-height: var(--ares-v4-header-height) !important;
  padding: 0.82rem 1.65rem !important;
}

.ares-v4-brand {
  gap: 0.82rem !important;
}

.ares-v4-brand img {
  width: 3rem !important;
  height: 3rem !important;
}

.ares-v4-brand-name {
  font-size: 1.16rem !important;
  letter-spacing: 0.19em !important;
}

.ares-v4-brand-subtitle {
  margin-top: 0.24rem !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.16em !important;
}

.ares-v4-primary-nav {
  gap: 0.24rem !important;
}

.ares-v4-nav-link,
.ares-v4-menu-button {
  min-height: 2.65rem !important;
  padding: 0.6rem 0.78rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.07em !important;
}

.ares-v4-menu-caret {
  font-size: 0.68rem !important;
}

.ares-v4-menu-panel {
  top: calc(var(--ares-v4-header-height) - 1px) !important;
}

.ares-v4-search input {
  min-height: 2.9rem !important;
  padding: 0.68rem 3rem 0.68rem 0.95rem !important;
  font-size: 0.72rem !important;
}

.ares-v4-search-submit {
  right: 0.42rem !important;
  width: 2.18rem !important;
  height: 2.18rem !important;
}

.ares-v4-header-cta {
  min-height: 2.85rem !important;
  padding: 0.68rem 1.05rem !important;
  font-size: 0.68rem !important;
}

.ares-v4-menu-toggle {
  width: 2.9rem !important;
  height: 2.9rem !important;
  font-size: 0.66rem !important;
}

@media (max-width: 82rem) {
  .ares-v4-shell-header {
    grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 18rem) auto !important;
  }

  .ares-v4-nav-link,
  .ares-v4-menu-button {
    padding-inline: 0.58rem !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 68rem) {
  .ares-v4-shell-header {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    padding-inline: 1rem !important;
  }
}

@media (max-width: 42rem) {
  :root {
    --ares-v4-header-height: 72px;
  }

  .ares-v4-shell-header {
    min-height: var(--ares-v4-header-height) !important;
    padding: 0.58rem 0.82rem !important;
  }

  .ares-v4-brand img {
    width: 2.55rem !important;
    height: 2.55rem !important;
  }

  .ares-v4-brand-name {
    font-size: 1rem !important;
  }

  .ares-v4-brand-subtitle {
    font-size: 0.52rem !important;
  }
}
