html.has-enrollment-banner {
  scroll-padding-top: calc(var(--enrollment-header-height, 136px) + 16px);
}

.enrollment-site-top { position: sticky; top: 0; z-index: 50; }
.enrollment-site-top .site-header { position: relative; top: auto; }

.enrollment-banner {
  color: #fff;
  background: linear-gradient(110deg, #c2410c, #cf4409 60%, #b9380b);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.enrollment-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.enrollment-banner__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
}

.enrollment-banner__icon svg { width: 22px; height: 22px; }

.enrollment-banner__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.enrollment-banner__text strong { font-weight: 800; }

.enrollment-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 24px;
  color: #9a3412;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(124, 45, 18, .16);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  transition: background .18s ease, box-shadow .18s ease;
}

.enrollment-banner__button:hover {
  background: #fff7ed;
  box-shadow: 0 6px 18px rgba(124, 45, 18, .24);
}

.enrollment-banner__button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.has-enrollment-banner .demand-toast {
  top: calc(var(--enrollment-header-height, 136px) + 16px);
}

@media (max-width: 1023px) {
  .enrollment-site-top .nav {
    position: absolute;
    top: 100%;
    max-height: calc(100vh - var(--enrollment-header-height, 164px));
    max-height: calc(100dvh - var(--enrollment-header-height, 164px));
    overscroll-behavior: contain;
  }
}

@media (max-width: 767px) {
  .enrollment-banner__inner { gap: 12px; min-height: 0; padding-top: 6px; padding-bottom: 6px; }
  .enrollment-banner__icon { display: none; }
  .enrollment-banner__text { font-size: 12px; line-height: 1.45; }
  .enrollment-banner__button { padding: 10px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html.has-enrollment-banner { scroll-behavior: auto; }
  .enrollment-banner__button { transition: none; }
}
