/* Unified static-page header — matches homepage landing header */
.site-page-header {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.site-page-header .birthday-header-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  width: 100%;
  box-sizing: border-box;
}

.site-page-header .lang-corner {
  justify-self: start;
  display: flex;
  gap: 0;
  align-items: center;
}

.site-page-header .account-corner {
  justify-self: end;
  display: flex;
  align-items: flex-end;
}

.site-page-header .account-corner[hidden] {
  display: none !important;
}

.site-page-header .form-brand {
  justify-self: center;
  display: inline-flex;
  align-items: flex-end;
}

.brand-logo-long {
  height: 28px;
  width: auto;
  display: block;
}

.site-page-header .form-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-page-header .lang-divider {
  width: 1px;
  height: 10px;
  margin: 0 2px;
  background: rgba(200, 160, 110, 0.28);
  flex-shrink: 0;
}

/* Match homepage .birthday-header-nav text-only lang switch (EN | 中文) */
.site-page-header .birthday-header-nav .lang-corner .lang-btn {
  background: none !important;
  border: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 0 1px !important;
  font-size: 10px !important;
  letter-spacing: 0.03em !important;
  cursor: pointer;
  height: auto !important;
  min-height: 0 !important;
  line-height: 16px !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  font-weight: 500;
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Noto Sans SC', sans-serif;
}

.site-page-header .birthday-header-nav .lang-corner .lang-btn.lang-btn--active,
.site-page-header .birthday-header-nav .lang-corner .lang-btn.landing-lang-btn--active {
  color: rgba(200, 160, 110, 0.88) !important;
  border-color: transparent !important;
  background: transparent !important;
}

.site-page-header .birthday-header-nav .lang-corner .lang-btn.lang-btn--inactive {
  color: rgba(200, 160, 110, 0.50) !important;
  border-color: transparent !important;
  background: transparent !important;
}

.site-page-header .landing-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  color: rgba(200, 160, 110, 0.75) !important;
  background: transparent !important;
  border: none !important;
  transition: color 0.2s ease;
}

.site-page-header .landing-account-link:hover {
  color: #E8C9A8;
}

.site-page-header .landing-account-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 560px) {
  .site-page-header {
    margin-bottom: 16px;
  }
}
