:root { --tw-course-promo-height: 0px; }
html.tw-course-promo-visible { --tw-course-promo-height: 64px; }
.course-promo {
  display:none; position:relative; z-index:140; height:var(--tw-course-promo-height);
  min-height:var(--tw-course-promo-height); overflow:hidden; color:#fff;
  background:linear-gradient(105deg,#102c56 0%,#1f6feb 58%,#2449a8 100%);
  border-bottom:1px solid rgba(255,255,255,.16); box-shadow:0 8px 28px rgba(23,32,51,.14);
}
html.tw-course-promo-visible .course-promo{display:block}
.course-promo.is-closing{opacity:0;transition:opacity .2s ease}
.course-promo__inner{width:100%;height:100%;padding:0 68px 0 20px;display:flex;align-items:center;justify-content:center;position:relative}
.course-promo__link{width:min(1120px,100%);height:100%;min-width:0;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}
.course-promo__badge{padding:5px 10px;border:1px solid rgba(255,255,255,.26);border-radius:999px;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.course-promo__title{min-width:0;font-size:17px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-promo__cta{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:1;font-weight:800;white-space:nowrap}
.course-promo__link:hover .course-promo__cta{transform:translateX(2px)}
.course-promo__close{position:absolute;top:50%;right:max(12px,calc((100% - 1280px)/2));transform:translateY(-50%);width:38px;height:38px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;background:transparent;cursor:pointer}
.course-promo__close:hover{background:rgba(255,255,255,.12)}
.course-promo__close svg{width:17px;height:17px;display:block}
.course-promo__link:focus-visible,.course-promo__close:focus-visible{outline:3px solid #facc15;outline-offset:-3px}
@media(max-width:760px){
 html.tw-course-promo-visible{--tw-course-promo-height:88px}
 .course-promo__inner{padding:0 58px 0 18px;justify-content:stretch}
 .course-promo__link{width:100%;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:max-content max-content;align-content:center;justify-content:stretch;column-gap:14px;row-gap:4px;text-align:left}
 .course-promo__badge{grid-column:1;grid-row:1;justify-self:start;padding:4px 8px;font-size:10px}
 .course-promo__title{grid-column:1;grid-row:2;font-size:17px}
 .course-promo__cta{grid-column:2;grid-row:1/3;align-self:center;font-size:13px}
 .course-promo__close{right:9px;width:40px;height:40px}
}
@media(max-width:430px){
 html.tw-course-promo-visible{--tw-course-promo-height:86px}
 .course-promo__inner{padding-left:14px;padding-right:52px}
 .course-promo__link{column-gap:9px}
 .course-promo__badge{max-width:100%;font-size:9px;overflow:hidden;text-overflow:ellipsis}
 .course-promo__title{font-size:15px;white-space:normal;line-height:1.15}
 .course-promo__cta{font-size:11px}
 .course-promo__close{right:6px;width:38px;height:38px}
}
@media(max-width:350px){
 html.tw-course-promo-visible{--tw-course-promo-height:96px}
 .course-promo__link{row-gap:3px}
 .course-promo__badge{font-size:8px;padding-inline:6px}
 .course-promo__title{font-size:14px}
 .course-promo__cta{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.course-promo,.course-promo__cta,.course-promo__close{transition:none}}
