/* Home-only header proportions. Shared review headers are intentionally untouched. */
#root {
  min-width: 0;
}

.site-header-inner {
  min-height: 82px;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-header-inner > a:first-child {
  flex: 0 0 auto;
  width: clamp(220px, 23vw, 280px);
}

.site-header-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.site-header-inner > nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: clamp(9px, 1.15vw, 16px);
}

.site-header-inner > nav a {
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1120px) {
  .site-header-inner > a:first-child {
    width: 210px;
  }

  .site-header-inner > nav {
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 1023px) {
  .site-header-inner {
    min-height: 72px;
  }

  .site-header-inner > a:first-child {
    width: min(240px, calc(100vw - 92px));
  }

  .site-header-logo {
    max-height: 58px;
  }
}

@media (max-width: 430px) {
  .site-header-inner {
    min-height: 66px;
  }

  .site-header-inner > a:first-child {
    width: min(210px, calc(100vw - 82px));
  }

  .site-header-logo {
    max-height: 52px;
  }
}
