.tw-course-banner {
  position: relative;
  z-index: 50;
  width: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 34% -80%, rgba(99, 102, 241, .34), transparent 52%),
    #151821;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 7px 24px rgba(15, 23, 42, .16);
}

.tw-course-banner *,
.tw-course-banner *::before,
.tw-course-banner *::after { box-sizing: border-box; }

.tw-course-banner__link {
  min-height: 68px;
  padding: 10px 72px 10px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.tw-course-banner__link:hover .tw-course-banner__cta,
.tw-course-banner__link:focus-visible .tw-course-banner__cta { transform: translateX(2px); }

.tw-course-banner__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.tw-course-banner__eyebrow {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font: 700 12px/1.15 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

.tw-course-banner__title {
  min-width: 0;
  font: 800 17px/1.2 Arial, sans-serif;
  white-space: nowrap;
}

.tw-course-banner__cta {
  font: 800 14px/1 Arial, sans-serif;
  white-space: nowrap;
  transition: transform .18s ease;
}

.tw-course-banner__close {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 400 22px/1 Arial, sans-serif;
}

.tw-course-banner__close:hover,
.tw-course-banner__close:focus-visible {
  background: rgba(255, 255, 255, .1);
  outline: none;
}

@media (max-width: 620px) {
  .tw-course-banner__link {
    position: relative;
    min-height: 82px;
    padding: 12px 150px 12px 14px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-content: stretch;
    gap: 3px;
    text-align: left;
  }

  .tw-course-banner__eyebrow {
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    letter-spacing: .055em;
  }

  .tw-course-banner__title {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.22;
  }

  .tw-course-banner__cta {
    position: absolute;
    top: 50%;
    right: 54px;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
  }

  .tw-course-banner__link:hover .tw-course-banner__cta,
  .tw-course-banner__link:focus-visible .tw-course-banner__cta { transform: translate(2px, -50%); }

  .tw-course-banner__close {
    right: 10px;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 430px) {
  .tw-course-banner__link {
    min-height: 78px;
    padding: 11px 140px 11px 12px;
  }
  .tw-course-banner__eyebrow { font-size: 9px; letter-spacing: .045em; }
  .tw-course-banner__title { font-size: 14px; }
  .tw-course-banner__cta { right: 48px; font-size: 10.5px; }
  .tw-course-banner__close { right: 8px; width: 30px; height: 30px; font-size: 20px; }
}

@media (max-width: 350px) {
  .tw-course-banner__link { padding-right: 128px; }
  .tw-course-banner__title { font-size: 13px; }
  .tw-course-banner__cta { right: 44px; font-size: 10px; }
  .tw-course-banner__close { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .tw-course-banner__cta { transition: none; }
}

/* TaskTimer v3.11.28 — isolated admin HTML/CSS banner */
.tw-course-banner--html {
  box-sizing:border-box;display:flex;align-items:stretch;justify-content:stretch;
  min-height:88px;height:88px;width:100%;padding:0 52px 0 0;
  background:#fff;color:#111827;border-bottom:1px solid #e2e8f0;
  box-shadow:0 6px 18px rgba(15,23,42,.09);overflow:hidden;
}
.tw-course-banner--html .tw-course-banner__frame {
  display:block;width:100%;height:100%;min-width:0;border:0;background:transparent;
}
.tw-course-banner--html .tw-course-banner__close {
  right:12px;color:#25385c;border-color:#d9e1ee;background:#f5f7fc;
}
.tw-course-banner--html .tw-course-banner__close:hover,
.tw-course-banner--html .tw-course-banner__close:focus-visible {background:#e4eaf6}
@media(max-width:620px){
 .tw-course-banner--html{height:120px;min-height:120px;padding-right:44px}
 .tw-course-banner--html .tw-course-banner__close{right:6px;top:50%}
}

/* v3.11.30 — compact HTML/CSS banner with no white closing strip */
.tw-course-banner--html{height:56px;min-height:56px;padding:0;background:#202846;border-bottom:0;box-shadow:0 5px 13px rgba(15,23,42,.08)}
.tw-course-banner--html .tw-course-banner__frame{width:100%;height:100%;flex:1;min-width:0;background:#202846}
.tw-course-banner--html .tw-course-banner__close{z-index:3;right:9px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-color:rgba(255,255,255,.25);background:rgba(23,32,64,.72);color:#fff}
.tw-course-banner--html .tw-course-banner__close:hover,.tw-course-banner--html .tw-course-banner__close:focus-visible{background:#374776;color:#fff}
@media(max-width:620px){.tw-course-banner--html{height:100px;min-height:100px;padding:0}.tw-course-banner--html .tw-course-banner__close{right:7px;top:50%;width:30px;height:30px}}
