.site-header { font-family: Arial, Helvetica, sans-serif; color: #191919; font-synthesis: none; }

.site-header, .site-header * { box-sizing: border-box; }

.site-header { width: 100%; }
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  background: #2e4ebf;
  color: #fff;
}
.topbar-left, .topbar-right { display: flex; align-items: center; min-width: 0; }
.topbar-right { justify-content: flex-end; gap: 16px; }
.header-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  transition: opacity .2s ease, transform .2s ease;
}
.header-control:hover { opacity: .75; transform: translateY(-1px); }
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -5px; }
.hamburger::after { top: 5px; }
.brand { display: flex; align-items: center; justify-content: center; transition: transform .25s ease, opacity .25s ease; }
.brand:hover { transform: translateY(-2px); opacity: .9; }
.brand img { display: block; width: 223px; height: 28px; max-width: 100%; }
.account-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  background: #fff;
  color: #2e4ebf;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.account-label:hover { background: #233b90; color: #fff; transform: translateY(-1px); }
.signin-label { font-size: 13px; font-weight: 700; white-space: nowrap; transition: opacity .2s ease; }
.signin-label:hover { opacity: .7; }

.secondary-nav { overflow: hidden; border-bottom: 1px solid #d7d7d7; background: #fff; }
.secondary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  max-width: 100%;
  min-height: 52px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}
.secondary-nav li { flex: none; }
.secondary-nav span {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}
.secondary-nav span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: #2e4ebf;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.secondary-nav li:hover span { color: #2e4ebf; }
.secondary-nav li:hover span::after { transform: scaleX(1); }

@media (max-width: 767px) {
  .topbar { padding: 0 12px; }
  .control-label, .account-label { display: none; }
  .header-control { width: 38px; justify-content: center; }
  .brand img { width: min(52vw, 190px); height: auto; }
  .signin-label { font-size: 12px; }
  .secondary-nav ul { min-height: 44px; gap: 20px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-header *::before, .site-header *::after { transition-duration: 0.01ms !important; }
}
