/* OUTCORA v5.27 — full banner background and one-row desktop navigation.
   All existing hrefs, selectors and JavaScript hooks remain unchanged. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #070A0F;
  background-image: url('./outcora-header-banner.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(1200px, 100vw) auto;
}

.site-header .nav {
  position: relative;
  z-index: 2;
  height: 160px;
  box-sizing: border-box;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 18px;
  padding-bottom: 22px;
}

.site-header .brand {
  flex: 1 1 auto;
  width: auto;
  min-width: 460px;
  min-height: 0;
  align-self: stretch;
  overflow: visible;
}

.site-header .brand img.site-logo {
  opacity: 0;
  pointer-events: none;
}

.site-header .nav-links,
.site-header .nav-right {
  flex: 0 0 auto;
  align-self: flex-end;
  height: 38px;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.site-header .nav-links {
  gap: 18px;
}

.site-header .nav-right {
  gap: 9px;
}

.site-header .nav-links,
.site-header .nav-links a,
.site-header .auth-link,
.site-header .button,
.site-header .lang {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0;
  color: #F7F8FA;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
  border-bottom: 1px solid transparent;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible {
  color: #F7F8FA;
  border-bottom-color: #1557FF;
}

.site-header .auth-link,
.site-header .button,
.site-header .lang {
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  margin: 0;
  border-radius: 9px;
  white-space: nowrap;
}

.site-header .auth-link,
.site-header .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header .auth-link,
.site-header .button-secondary,
.site-header .lang {
  padding: 0 12px;
  color: #F7F8FA;
  background: rgba(7, 10, 15, .78);
  border: 1px solid #2B3542;
}

.site-header .lang {
  padding-right: 26px;
}

.site-header .button-primary {
  padding: 0 14px;
  color: #F7F8FA;
  background: #1557FF;
  border: 1px solid #1557FF;
}

.site-header .auth-link:hover,
.site-header .auth-link:focus-visible,
.site-header .button-secondary:hover,
.site-header .button-secondary:focus-visible,
.site-header .lang:hover,
.site-header .lang:focus-visible {
  color: #F7F8FA;
  background: rgba(7, 10, 15, .92);
  border-color: #1557FF;
}

.site-header .button-primary:hover,
.site-header .button-primary:focus-visible {
  color: #F7F8FA;
  background: #0E49DC;
  border-color: #0E49DC;
}

.market-band {
  top: 160px;
}

/* Below the width needed for all eight controls, switch to the existing
   compact lockup and hamburger menu instead of wrapping the header. */
@media (max-width: 1240px) {
  .site-header {
    background-image: none;
  }

  .site-header .nav {
    height: 106px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
    gap: 9px;
  }

  .site-header .brand {
    flex: 1 1 auto;
    width: min(410px, calc(100% - 150px));
    min-width: 0;
    align-self: center;
  }

  .site-header .brand img.site-logo {
    width: 100%;
    max-width: 410px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .nav-links {
    display: none;
  }

  .site-header .nav-right {
    align-self: center;
    height: 44px;
  }

  .site-header .auth-link,
  .site-header .nav-right > .button {
    display: none;
  }

  .site-header .mobile-toggle {
    display: inline-flex;
  }

  .market-band {
    top: 106px;
  }
}

@media (max-width: 720px) {
  .site-header .nav {
    height: 88px;
    gap: 8px;
  }

  .site-header .brand {
    width: min(320px, calc(100vw - 150px));
  }

  .site-header .brand img.site-logo {
    max-width: 320px;
  }

  .market-band {
    top: 88px;
  }
}

.mobile-menu-inner > a:not(.button) {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
