/* Shared site header component styles. */
#site-header {
  display: contents;
}

#site-header .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

#site-header .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  min-height: 0;
  padding: 0;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(16, 43, 80, 0.08);
  backdrop-filter: blur(18px);
}

#site-header .header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#site-header .brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

#site-header .brand img {
  width: auto;
  height: 70px;
}

#site-header .site-nav {
  display: flex;
  flex: 0 1 auto;
  width: auto;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.2vw, 30px);
  color: #102b50;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
}

#site-header .site-nav a {
  text-decoration: none;
}

#site-header .site-nav a:not(.nav-cta):hover {
  color: #a6740d;
}

#site-header .nav-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: #102b50;
  box-shadow: 0 10px 24px rgba(16, 43, 80, 0.18);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

#site-header .nav-cta:hover {
  transform: translateY(-2px);
}

@media (max-width: 899px) {
  #site-header .site-nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 560px) {
  #site-header .container {
    width: min(100% - 28px, 1180px);
  }

  #site-header .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  #site-header .brand img {
    height: 58px;
    max-width: 190px;
    object-fit: contain;
  }

  #site-header .nav-cta {
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
  }
}
