/* Matches the homepage header in d478866c (homepage PR #8). */
.site-header {
  --header-gutter: max(20px, 5vw, calc((100vw - 1280px) / 2));
  height: 92px;
  padding: 0 var(--header-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  color: #17191e;
  font-family: Archivo, Arial, sans-serif;
  background: #fff;
}
.site-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.site-brand-name {
  color: #22252a;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.site-brand-tagline {
  display: block;
  margin-top: 3px;
  color: #707780;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1.4px;
}
.site-brand-image {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.site-navigation {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
}
.site-navigation a {
  padding: 12px 0;
  transition: color 0.2s;
}
.site-navigation a:hover { color: #0066ff; }
.site-navigation .site-nav-portal {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 18px;
  border: 1px solid #bfc5ce;
  border-radius: 24px;
  white-space: nowrap;
}
.site-portal-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}
.site-portal-chinese {
  color: #68707c;
  font-size: 10px;
  letter-spacing: 1px;
}
.site-menu-button { display: none; }
@media (max-width: 1100px) {
  .site-navigation { gap: 25px; }
}
@media (max-width: 900px) {
  .site-menu-button {
    display: block;
    background: #fff;
    border: 1px solid #dce0e6;
    border-radius: 24px;
    padding: 10px 15px;
    font-size: 11px;
  }
  .site-navigation {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px var(--header-gutter);
    box-shadow: 0 14px 24px #152c4508;
  }
  .site-navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
  .site-navigation a { padding: 12px 0; }
  .site-navigation .site-nav-portal {
    margin-top: 5px;
    padding: 12px 18px;
  }
}
@media (max-width: 700px) {
  .site-header { height: 76px; }
  .site-brand-name { font-size: 17px; }
  .site-brand-tagline { font-size: 10px; }
}
