/* Shared navigation, logo sizing, and search presentation. */
/* Header and footer logo dimensions are 125% of their deployed 0.7.20 values. */
.bsbs-site .bsbs-header-inner { min-height: 180px; }
.bsbs-site .bsbs-brand { width: 171.875px; flex-basis: 171.875px; height: auto; padding: 4px 0; }
.bsbs-site .bsbs-brand img { width: 171.875px; height: 164.0625px; object-fit: contain; }
.bsbs-site .bsbs-footer-brand > a:first-child img { width: 121.25px; height: 117.5px; object-fit: contain; }
.bsbs-site .bsbs-search-toggle { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; gap: 9px; width: 44px; height: 44px; border: 1px solid #ffffff65; color: #fff; }
.bsbs-site .bsbs-search-toggle:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.bsbs-site .bsbs-search-toggle-label { display: none; }
.bsbs-site .bsbs-main-menu > .bsbs-menu-search-item { display: none; }
body.bsbs-search-open { overflow: hidden; }
.bsbs-site .bsbs-search-dialog { width: min(900px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 35px; border: 1px solid #ac9e61; background: #f6f6f4; color: #222; overflow: auto; }
.bsbs-site .bsbs-search-dialog::backdrop { background: #000c; }
.bsbs-site .bsbs-search-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.bsbs-site .bsbs-search-dialog-top .bsbs-eyebrow { margin: 0; color: #6f632f; }
.bsbs-site .bsbs-search-close { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid #999; background: #fff; color: #222; font-size: 13px; font-weight: 800; }
.bsbs-site .bsbs-search-close span { font-size: 22px; font-weight: 400; }
.bsbs-site .bsbs-search-dialog h2 { font-size: clamp(38px, 5vw, 56px); }
.bsbs-site .bsbs-search-dialog-intro { max-width: 700px; margin-top: 18px; color: #555; font-size: 15px; line-height: 1.8; }
.bsbs-site .bsbs-search-starts { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.bsbs-site .bsbs-search-starts p { margin-bottom: 14px; font-size: 13px; font-weight: 800; }
.bsbs-site .bsbs-search-starts ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bsbs-site .bsbs-search-starts li { list-style: none; margin: 0; padding: 0; }
.bsbs-site .bsbs-search-starts a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #b0b0a9; background: #fff; font-size: 13px; font-weight: 700; }
.bsbs-site .bsbs-search-starts a:hover { background: var(--gold); border-color: var(--gold); color: #111; }

@media screen and (min-width: 1441px) {
  .bsbs-site .bsbs-search-toggle { flex-basis: auto; width: auto; padding-inline: 12px; }
  .bsbs-site .bsbs-search-toggle-label { display: inline; font-size: 12px; font-weight: 700; }
}

@media screen and (min-width: 1121px) and (max-width: 1320px) {
  .bsbs-site .bsbs-main-menu { gap: 18px; }
  .bsbs-site .bsbs-header-inner { gap: 20px; }
}

@media screen and (max-width: 1120px) {
  .bsbs-site .bsbs-header { --bsbs-mobile-header-space: 263px; }
  .bsbs-site .bsbs-header-inner { position: static; min-height: 224px; }
  .bsbs-site .bsbs-brand { width: 214.84375px; flex-basis: 214.84375px; height: auto; padding: 4px 0; }
  .bsbs-site .bsbs-brand img { width: 214.84375px; height: 205.078125px; object-fit: contain; }
  .bsbs-site .bsbs-menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; }
  .bsbs-site .bsbs-search-toggle { order: 2; }
  .bsbs-site .bsbs-main-menu > .bsbs-menu-search-item { display: block; }
  .bsbs-site .bsbs-menu-search-item > a { display: inline-flex; align-items: center; gap: 20px; }
  .bsbs-site .bsbs-menu-search-item > a > span { font-size: 24px; line-height: 1; }
  .bsbs-site .bsbs-nav {
    inset-inline: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }
  .bsbs-site .bsbs-nav.is-open { display: block; }
}

@media screen and (max-width: 960px) {
  .bsbs-site .bsbs-header { --bsbs-mobile-header-space: 234px; }
  .bsbs-site .bsbs-header-inner { min-height: 195px; }
  .bsbs-site .bsbs-search-toggle { margin-left: auto; }
  .bsbs-site .bsbs-menu-toggle { margin-left: 0; }
  .bsbs-site .bsbs-brand { width: 185.546875px; flex-basis: 185.546875px; height: auto; padding: 4px 0; }
  .bsbs-site .bsbs-brand img { width: 185.546875px; height: 175.78125px; object-fit: contain; }
}

@media screen and (max-width: 700px) {
  .bsbs-site .bsbs-header { --bsbs-mobile-header-space: 213px; }
  .bsbs-site .bsbs-header-inner { min-height: 175px; }
  .bsbs-site .bsbs-brand { width: 163.57421875px; flex-basis: 163.57421875px; }
  .bsbs-site .bsbs-brand img { width: 163.57421875px; height: 158.69140625px; }
  .bsbs-site .bsbs-footer-brand > a:first-child img { width: 106.25px; height: 103.75px; }
  .bsbs-site .bsbs-search-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 23px 20px; }
  .bsbs-site .bsbs-search-dialog-top { gap: 14px; }
  .bsbs-site .bsbs-search-dialog-top .bsbs-eyebrow { font-size: 10px; }
}

@media screen and (max-width: 430px) {
  .bsbs-site .bsbs-header-inner { gap: 10px; }
}

/* Landscape links run across the panel directly beneath the complete header. */
@media screen and (max-width: 1120px) and (orientation: landscape) {
  .bsbs-site .bsbs-nav {
    padding: 12px 28px 18px;
    max-height: 60vh;
    max-height: max(88px, calc(100dvh - var(--bsbs-mobile-header-space) - var(--wp-admin--admin-bar--height, 0px)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .bsbs-site .bsbs-main-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px 28px;
    width: 100%;
    max-width: 1296px;
    margin-inline: auto;
  }
  .bsbs-site .bsbs-main-menu > li {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
  }
  .bsbs-site .bsbs-main-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    white-space: normal;
  }
  .bsbs-site .bsbs-main-menu > li > .bsbs-submenu-toggle { flex: 0 0 44px; margin-left: 0; }
  .bsbs-site .bsbs-main-menu .menu-item-has-children > a { width: auto; }
  .bsbs-site .bsbs-main-menu .sub-menu {
    position: static;
    flex-basis: 100%;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 0 0 12px;
    border-left: 1px solid #ffffff40;
  }
  .bsbs-site .bsbs-main-menu .sub-menu a { min-height: 44px; padding: 10px 12px; }
}

