/* Unified site header based on recommended-agencies.html. */
.site-header-unified .topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 500;
}
.site-header-unified .topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 18px;
}
.site-header-unified .topbar .tb-left { display: flex; gap: 24px; align-items: center; }
.site-header-unified .topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.site-header-unified .header { background: rgba(255, 255, 255, .96); }
.site-header-unified .header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.site-header-unified .header .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-header-unified .header .logo img {
  display: block;
  width: auto;
  height: 44px;
  margin: 0;
}
.site-header-unified .nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-header-unified .nav > li > a,
.site-header-unified .nav > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.site-header-unified .nav > li > a:hover,
.site-header-unified .nav > li > button:hover,
.site-header-unified .nav > li.open > button {
  color: var(--navy);
  background: var(--bg-1);
}
.site-header-unified .nav .chev { width: 15px; height: 15px; }
.site-header-unified .nav .chev svg { display: block; width: 100%; height: 100%; }
.site-header-unified .header-cta.tb-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 38px;
  margin-left: 8px;
  padding: 10px 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.site-header-unified .header-cta.tb-login:hover {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: #fff;
}
.site-header-unified .header-cta svg { display: none; }
.site-header-unified .mega.mega-list {
  display: flex;
  width: min(300px, 90vw);
  padding: 12px;
  flex-direction: column;
  gap: 2px;
}
.site-header-unified .mega-list .mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--black);
  font-size: 14.5px;
  font-weight: 500;
}
.site-header-unified .mega-list .mega-link::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  flex: 0 0 auto;
  opacity: .5;
}
.site-header-unified .mega-list .mega-link:hover { background: var(--bg-1); color: var(--navy); }
.site-header-unified .mobile-top img { width: auto; height: 36px; }
.site-header-unified .mobile-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.site-header-unified .mobile-group-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.site-header-unified .mobile-group-toggle .chev { width: 18px; height: 18px; transition: transform .25s; }
.site-header-unified .mobile-group-toggle .chev svg { width: 100%; height: 100%; }
.site-header-unified .mobile-group.open .mobile-group-toggle .chev { transform: rotate(180deg); }
.site-header-unified .mobile-subnav { display: none; padding-top: 6px; }
.site-header-unified .mobile-group.open .mobile-subnav { display: block; }
.site-header-unified .mobile-group a { padding: 11px 8px 11px 18px; border-bottom: 0; font-size: 15px; }
.site-header-unified .mobile-agent-login { width: 100%; }
@media (max-width: 1080px) {
  .site-header-unified .nav { display: none; }
  .site-header-unified .burger {
    display: flex !important;
    margin-left: auto;
    color: var(--navy);
    background: var(--bg-1);
  }
  .site-header-unified .header-cta.tb-login { display: none; }
}
@media (max-width: 600px) {
  .site-header-unified .topbar { display: none; }
}
