/* Shared by the interactive demo, overview, and all local audience pages. */
.bsb-site-header {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid #dddfd7;
  color: #17211d;
  background: #fbfaf8;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.bsb-site-header *,
.bsb-site-header *::before,
.bsb-site-header *::after {
  box-sizing: border-box;
}

.bsb-site-header .bsb-site-header__inner {
  display: flex;
  width: min(calc(100% - 64px), 1216px);
  height: 72px;
  align-items: center;
  margin-inline: auto;
  gap: 44px;
}

.bsb-site-header .brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 11.2px;
  color: #17211d;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.bsb-site-header .brand__mark {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #c76548;
}

.bsb-site-header .brand__mark::before {
  box-sizing: content-box;
  width: 12.48px;
  height: 12.48px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
}

.bsb-site-header .brand__mark span {
  position: absolute;
  bottom: 5.6px;
  width: 6.72px;
  height: 6.72px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #c76548;
  transform: rotate(45deg);
}

.bsb-site-header .preview-navigation {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
  gap: 24px;
}

.bsb-site-header .preview-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 1.6px 2.4px 0;
  border-bottom: 2px solid transparent;
  color: #656e66;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
}

.bsb-site-header .preview-navigation a[hidden] {
  display: none;
}

.bsb-site-header .preview-navigation a:hover,
.bsb-site-header .preview-navigation a[aria-current="page"] {
  border-bottom-color: #214e40;
  color: #214e40;
}

.bsb-site-header .preview-navigation a.preview-navigation__cta {
  justify-content: center;
  padding: 8px 10px 8px 16px;
  border: 1px solid #214e40;
  border-radius: 10.4px;
  color: #fff;
  background: #214e40;
  gap: 8px;
  box-shadow: 0 3px 8px #173d3214;
}

/* Decorative CTA details shared with the overview and material-page buttons. */
.bsb-site-header .cta-emoji,
.preview-button .cta-emoji {
  flex: 0 0 auto;
  font-size: 1.125em;
  line-height: 1;
}

.bsb-site-header .cta-arrow,
.preview-button .cta-arrow {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #ffffff24;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.bsb-site-header .cta-arrow {
  width: 26px;
  height: 26px;
  font-size: 19px;
}

.bsb-site-header .cta-arrow__glyph,
.preview-button .cta-arrow__glyph {
  display: block;
  /* Center the arrow's ink, rather than its font's line box. */
  transform: translateY(-0.15em);
}

.bsb-site-header .preview-navigation a.preview-navigation__cta:hover {
  border-color: #193c32;
  background: #193c32;
}

.bsb-site-header a:focus-visible {
  outline: 3px solid #f4bd3b;
  outline-offset: 3px;
}

@media (width > 42rem) {
  .bsb-site-header .bsb-site-header__inner:has([data-account-guest], .preview-navigation--sections) {
    min-height: 72px;
    height: auto;
  }

  .bsb-site-header .preview-navigation--sections,
  .bsb-site-header .preview-navigation:has([data-account-guest]) {
    min-width: 0;
    flex-shrink: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0;
  }
}

@media (max-width: 42rem) {
  .bsb-site-header .bsb-site-header__inner {
    display: grid;
    width: min(calc(100% - 32px), 1216px);
    min-height: 96px;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 32px auto;
    padding-block: 8px;
    gap: 0;
  }

  .bsb-site-header .brand {
    justify-self: start;
  }

  .bsb-site-header .preview-navigation {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .bsb-site-header .preview-navigation a {
    min-height: 48px;
    font-size: 13px;
  }
}

@media (max-width: 42rem) {
  .bsb-site-header .preview-navigation__cta .cta-emoji,
  .bsb-site-header .preview-navigation__cta .cta-arrow { display:none; }
  .bsb-site-header .preview-navigation a.preview-navigation__cta { padding:8px 10px; }
}

.bsb-site-header .site-language-menu {
  position: relative;
  flex: 0 0 auto;
}

.bsb-site-header .site-language-menu summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding-inline: 8px;
  border: 1px solid #dddfd7;
  border-radius: 8px;
  color: #214e40;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.bsb-site-header .site-language-menu summary::-webkit-details-marker {
  display: none;
}

.bsb-site-header .site-language-menu summary:focus-visible {
  outline: 3px solid #f4bd3b;
  outline-offset: 3px;
}

.bsb-site-header .site-language-menu__choices {
  position: absolute;
  z-index: 3;
  inset-block-start: calc(100% + 4px);
  inset-inline-end: 0;
  min-width: 9rem;
  padding: 4px;
  border: 1px solid #dddfd7;
  border-radius: 8px;
  background: #fbfaf8;
  box-shadow: 0 4px 16px #173d3226;
}

.bsb-site-header .site-language-menu__choices a {
  display: flex;
  padding-inline: 8px;
}

@media (max-width: 42rem) {
  .bsb-site-header .site-language-menu[open] {
    flex-basis: 100%;
  }

  .bsb-site-header .site-language-menu[open] summary {
    width: fit-content;
  }

  .bsb-site-header .site-language-menu[open] .site-language-menu__choices {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: 4px;
  }
}
