.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e1e5de;
  background: #fff;
}

.site-header-inner {
  width: min(var(--header-width), calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a[aria-current="page"] {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  box-shadow: none;
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 64px;
    flex-wrap: nowrap;
    gap: clamp(4px, 2vw, 8px);
    padding: 0;
  }

  .site-brand {
    flex: 0 0 auto;
    font-size: clamp(18px, 5vw, 20px);
    white-space: nowrap;
  }

  .site-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(0px, 0.5vw, 2px);
    font-size: clamp(11px, 3.2vw, 13px);
    white-space: nowrap;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 clamp(2px, 1vw, 5px);
  }
}
