@font-face {
  font-family: "SBD Navigation";
  src: url("/assets/fonts/VelaSans-GX.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

#school-site-header {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  min-height: 112px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 72px);
  border: 0;
  background: #fffaf3;
  color: #151d3b;
  font: 700 14px/1.3 "SBD Navigation", Arial, sans-serif;
  letter-spacing: normal;
}

#school-site-header * { box-sizing: border-box; }
#school-site-header [hidden] { display: none !important; }
#school-site-header .school-brand {
  display: block;
  flex: 0 0 112px;
  margin: 0;
  padding: 0;
}
#school-site-header .school-brand img {
  display: block;
  width: 112px;
  max-width: 100%;
  height: auto;
}
#school-site-header .school-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
}
#school-site-header .school-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #151d3b;
  font: 700 14px/1.3 "SBD Navigation", Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
#school-site-header .school-nav-link:hover { color: #ad2052; }
#school-site-header .school-nav-link[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
#school-site-header .school-nav-cta {
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  background: #151d3b;
  color: #fffaf3;
  box-shadow: 4px 4px 0 #45c4e6;
}
#school-site-header .school-nav-cta:hover { color: #fffaf3; background: #ad2052; }
#school-site-header .school-menu-toggle {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  margin: 0 0 0 auto;
  border: 1.5px solid #151d3b;
  border-radius: 0;
  background: transparent;
  color: #151d3b;
  font: 650 15px/1.3 "SBD Navigation", Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
}
#school-site-header a:focus-visible,
#school-site-header button:focus-visible {
  outline: 3px solid #ad2052;
  outline-offset: 5px;
}

@media (max-width: 1260px) {
  #school-site-header {
    min-height: 96px;
    padding-block: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }
  #school-site-header .school-brand { flex-basis: 96px; }
  #school-site-header .school-brand img { width: 96px; }
  #school-site-header .school-menu-toggle:not([hidden]) { display: inline-flex; }
  #school-site-header .school-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  #school-site-header[data-ready] .school-nav {
    position: absolute;
    inset: 100% 20px auto;
    width: auto;
    max-height: calc(100svh - 116px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 16px 16px;
    border: 1.5px solid #151d3b;
    background: #fffaf3;
    box-shadow: 4px 4px 0 #ffdce5;
  }
  #school-site-header .school-nav-link {
    min-height: 44px;
    padding: 8px 6px;
    font-size: 16px;
    white-space: normal;
  }
  #school-site-header .school-nav-cta {
    align-self: flex-start;
    min-height: 44px;
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 15px;
  }
}
