/* A course disclosure in the existing header; the identity and scene are untouched. */
.nav-courses { position: relative; }
.site-nav .courses-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b3bac8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.courses-toggle::after { content: ''; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin-top: -3px; }
.courses-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }
.site-nav .courses-toggle:is(:hover, [aria-expanded="true"], .is-current) { color: #fff; }
.courses-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: -18px;
  width: max-content;
  min-width: 260px;
  max-width: calc(100vw - 48px);
  list-style: none;
  margin: 0;
  padding: 8px;
  border: 1px solid #7388b25c;
  background: #080d17fa;
  box-shadow: 0 14px 32px #0006;
}
.courses-menu[hidden] { display: none; }
.site-nav .courses-menu li { list-style: none; margin: 0; padding: 0; }
.site-nav .courses-menu a,
.site-nav .courses-menu a:last-child {
  display: block;
  min-height: 46px;
  padding: 13px 16px;
  border: 0;
  color: #c7d3ec;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.site-nav .courses-menu a::after { display: none; }
.site-nav .courses-menu a:hover { color: #fff; background: #a8bfff12; }
.site-nav .courses-menu a[aria-current] { color: #fff; background: #a8bfff12; }
.site-nav .courses-menu a:focus-visible { outline-offset: -2px; }
html:not(.js) .courses-toggle { display: none; }
@media (min-width: 701px) and (max-width: 1100px) {
  .site-nav .courses-toggle { font-size: 12px; }
}
@media (min-width: 701px) and (max-width: 850px) {
  .site-nav .courses-toggle { font-size: 11px; }
}
@media (max-width: 700px) {
  .site-nav .courses-toggle { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; min-height: 61px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .courses-menu { position: static; width: 100%; min-width: 0; max-width: none; padding: 4px 0 12px 16px; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; background: transparent; }
  .site-nav .courses-menu a,
  .site-nav .courses-menu a:last-child { padding: 13px 0; font-size: 15px; white-space: normal; }
}
