/* Only the requested header changes; the original page styling stays intact. */
.topbar .site-nav {
  gap: clamp(18px, 2.2vw, 34px);
  flex-wrap: nowrap;
}
.topbar .site-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}
.topbar .site-nav a:not(.button) {
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar .site-nav .button-ghost {
  margin-left: 0;
}
/* Collapse the header before its single-line labels would overflow. */
@media (min-width: 761px) and (max-width: 1100px) {
  .topbar { flex-wrap: wrap; }
  .topbar-actions { flex-wrap: wrap; width: 100%; justify-content: flex-end; }
  .topbar .menu-toggle { display: inline-flex; }
  .topbar .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 6px; order: 3; }
  .topbar .site-nav.is-open { display: flex; }
}
@media (max-width: 1100px) {
  .topbar .site-nav { gap: 16px; }
  .topbar .site-nav a:not(.button) { padding-top: 6px; padding-bottom: 6px; }
}

/* Parent-site home link and Advocate identity share the same transparent header. */
.header-brands {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  flex: 0 0 auto;
}
.defensive-home { display: inline-flex; align-items: center; flex: 0 0 auto; }
.defensive-home img { display: block; width: 180px; height: auto; }
.header-brands .brand-mark { width: 200px; height: auto; }
.defensive-home:focus-visible, .header-brands .brand:focus-visible {
  outline: 2px solid #78dbe7;
  outline-offset: 6px;
  border-radius: 3px;
}
@media (max-width: 760px) {
  .header-brands { width: 100%; justify-content: space-between; gap: 18px; }
  .defensive-home img { width: clamp(120px, 38vw, 180px); }
  .header-brands .brand-mark { width: clamp(130px, 40vw, 200px); }
}
/* Center Advocate in the space between the parent brand and desktop navigation. */
@media (min-width: 1101px) {
  .topbar { gap: 0; }
  .header-brands { flex: 1 1 auto; min-width: 0; gap: 0; }
  .header-brands .brand { flex: 1 1 auto; justify-content: center; }
  .header-brands .brand-mark { width: 230px; }
  .topbar-actions { flex: 0 0 auto; margin-left: 0; }
}
@media (max-width: 1100px) {
  .header-brands .brand-mark { width: clamp(140px, 44vw, 230px); }
}
