.c-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; display: flex; flex-direction: column; gap: 4px; padding: 19px var(--gutter) 19px; background: var(--c-header); transition: background-color .2s ease; }
.c-header--course { padding-bottom: 0; }
.c-header__search-row { display: flex; justify-content: flex-end; min-height: 33px; }
.c-header__search { display: flex; align-items: center; justify-content: flex-end; width: 189px; height: 33px; }
.c-header__search input { display: none; width: 100%; min-width: 0; height: 30px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--r-xl); outline: none; background: transparent; color: var(--c-white); font: 14px/20px var(--font-ui); }
.c-header__search.is-open input { display: block; }
.c-header__search-toggle { display: grid; flex: 0 0 33px; width: 33px; height: 33px; place-items: center; padding: 0; border: 0; background: transparent; opacity: .7; cursor: pointer; }
.c-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 41px; }
.c-header__logo { position: relative; display: grid; flex: 0 0 129px; width: 129px; height: 41px; place-items: center; }
.c-header__logo-img { width: 123px; height: auto; }
.c-nav { display: flex; align-items: center; margin-left: auto; }
.c-nav__list, .c-nav__list ul { margin: 0; padding: 0; list-style: none; }
.c-nav__list { display: flex; align-items: center; gap: 3px; }
.c-nav__list li { position: relative; }
.c-nav__list a { display: block; padding: 5px 10px; color: #fff; font-size: 14px; font-weight: 500; line-height: 21px; text-decoration: none; white-space: nowrap; }
.c-nav__list .menu-item-has-children { display: flex; align-items: center; justify-content: center; width: 147px; }
.c-nav__list .menu-item-has-children > a { padding-right: 2px; }
.c-nav__toggle { display: flex; width: 22px; height: 31px; align-items: center; justify-content: flex-start; padding: 0; border: 0; background: transparent; cursor: pointer; }
.c-nav__toggle img { width: 12px; height: auto; }
.c-nav__list .sub-menu { position: absolute; top: 100%; left: 0; display: none; min-width: 100%; padding: 0 0 5px; background: rgba(4,7,8,.9); }
.c-nav__list .menu-item-has-children > .c-nav__toggle[aria-expanded="true"] ~ .sub-menu { display: block; }
.c-nav__list .sub-menu a { padding: 10px 10px 10px 6px; color: #f5f5f5; font-weight: 400; white-space: normal; }
.c-header__cta { margin-left: 40px; }
.c-header__burger { display: none; }
.c-header__course { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding: 5px 10px; background: rgba(129,20,45,.8); text-align: center; font-size: 14px; font-weight: 500; line-height: 21px; }
@media (hover: hover) and (min-width: 1024px) {
  .c-header:hover, .c-header:focus-within { background: rgb(4, 7, 8); }
}
.c-header__course { color: #fff; }
/* Floats transparent over a .c-hero-bg section; keeps the normal hover/open backgrounds. */
.c-header--overlay { background: transparent; }
.c-header--overlay.is-scrolled, .c-header--overlay.is-open { background: var(--c-header); }
@media (max-width: 1439px) and (min-width: 1024px) { .c-header { padding-inline: clamp(24px, 5vw, 72px); } .c-header__course { width: calc(100% + 2 * clamp(24px, 5vw, 72px)); margin-inline: calc(-1 * clamp(24px, 5vw, 72px)); } }
@media (max-width: 1023px) {
  .c-header { padding: 12px 20px; }
  .c-header__search-row { display: none; }
  .c-header__row { min-height: 41px; }
  .c-header__burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-left: 12px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
  .c-header__burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; }
  .c-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 65px); overflow-y: auto; padding: 8px 20px 20px; background: rgba(4,7,8,.96); }
  .c-header.is-open .c-nav { display: block; }
  .c-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .c-nav__list li { width: 100%; }
  .c-nav__list a { padding: 10px; }
  .c-nav__list .menu-item-has-children { flex-wrap: wrap; justify-content: flex-start; width: 100%; }
  .c-nav__list .menu-item-has-children > a { flex: 1; padding-right: 10px; }
  .c-nav__toggle { width: 44px; height: 41px; justify-content: center; }
  .c-nav__list .sub-menu { position: static; flex: 0 0 100%; padding: 0 0 0 12px; }
  .c-nav { flex-direction: column; align-items: stretch; }
  .c-nav .c-header__cta { align-self: flex-start; margin: 12px 10px 0; }
  .c-header__course { width: calc(100% + 40px); margin: 0 -20px; }
}
@media (max-width: 420px) { .c-header { padding-inline: 20px; } }
