
.course-holiday-card { position: relative; }
.course-holiday-card:has([data-course-holiday]:not([hidden])) {
  margin-top: 43px;
  border-color: #b79756;
  box-shadow: 0 0 24px #ebc3691a;
}
.course-holiday-card:has([data-course-holiday]:not([hidden])) > .eyebrow {
  color: #ffe094;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: normal;
  margin-bottom: 5px;
}
.course-holiday-card.bundle-card > p[data-course-offer-deadline] {
  color: #f7edc9;
  font-size: clamp(.9rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.course-holiday-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.course-holiday-card [hidden] { display: none; }
.course-holiday-hat {
  position: absolute;
  z-index: 1;
  top: -40px;
  right: 12px;
  width: 66px;
  height: 44px;
  transform: rotate(14deg);
  border-radius: 65% 75% 22% 16%;
  background: linear-gradient(120deg, #f85862, #b91936 78%);
  box-shadow: 0 2px 7px #00102788;
}
.course-holiday-hat::before, .course-holiday-hat::after {
  content: "";
  position: absolute;
  background: #fff4e7;
}
.course-holiday-hat::before {
  inset: auto -3px -2px -3px;
  height: 11px;
  border-radius: 6px;
}
.course-holiday-hat::after {
  width: 16px;
  height: 16px;
  right: -5px;
  top: 1px;
  border-radius: 50%;
}

.course-holiday-lights {
  position: absolute;
  inset: 0;
  display: block;
}
.course-holiday-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #779179;
  stroke-width: 1.25;
}
.course-holiday-lights i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(var(--angle));
  border-radius: 32% 32% 65% 65%;
  color: #ffdc84;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}
.course-holiday-lights i:nth-of-type(4n+2) { color: #6bebae; }
.course-holiday-lights i:nth-of-type(4n+3) { color: #ff798b; }
.course-holiday-lights i:nth-of-type(4n+4) { color: #a2cbff; }
