/* Top course CTA — timer units + spacing */

.course-top-cta--flush-bottom {
  margin-bottom: 0;
}

.course-top-cta__shell {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
}

.course-top-cta__row {
  gap: clamp(1.35rem, 3vw, 2rem);
}

@media (min-width: 1024px) {
  .course-top-cta__row {
    gap: clamp(1.75rem, 3.5vw, 2.5rem);
  }
}

/* Countdown timer */
.course-top-cta__timer {
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
}

.course-top-cta__unit {
  display: flex;
  min-width: clamp(3.5rem, 8vw, 4.25rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(0.7rem, 1.6vw, 1rem);
  border-radius: 12px;
  border: 1px solid rgba(51, 122, 183, 0.32);
  background: rgba(10, 21, 40, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.course-top-cta__unit--active {
  border-color: rgba(126, 200, 239, 0.55);
  background: rgba(51, 122, 183, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(51, 122, 183, 0.2);
}

.course-top-cta__unit-value {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.course-top-cta__unit-label {
  margin-top: 0.5rem;
  font-size: clamp(0.58rem, 1.1vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ec8ef;
}

.course-top-cta__unit--active .course-top-cta__unit-label {
  color: rgba(255, 255, 255, 0.92);
}

.course-top-cta__sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.1rem);
  padding-inline: 0.15rem;
  user-select: none;
}

.course-top-cta__sep-dot {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.42);
}

/* Lead copy — centered on mobile, aligned to inline-start on desktop (LTR left / RTL right) */
.course-top-cta__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .course-top-cta__copy {
    text-align: start;
  }
}

.course-top-cta__title {
  margin: 0;
  text-align: inherit;
  line-height: 1.35;
}

.course-top-cta__sub {
  text-align: inherit;
}

.course-top-cta__label,
.course-top-cta__course-name {
  display: inline;
}

.course-top-cta__course-name {
  color: #7ec8ef;
}

/* Price + enroll box */
.course-top-cta__price {
  text-align: center;
}

.course-top-cta__price-row {
  justify-content: center;
}

@media (min-width: 640px) {
  .course-top-cta__price {
    text-align: start;
  }

  .course-top-cta__price-row {
    justify-content: flex-start;
  }
}

.course-top-cta__perk {
  display: flex;
  min-width: clamp(7.5rem, 18vw, 9.5rem);
  max-width: 11rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: clamp(0.75rem, 1.6vw, 1rem) clamp(0.85rem, 1.8vw, 1.15rem);
  border-radius: 12px;
  border: 1px solid rgba(51, 122, 183, 0.28);
  background: rgba(10, 21, 40, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.course-top-cta__perk--active {
  border-color: rgba(126, 200, 239, 0.55);
  background: rgba(51, 122, 183, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(51, 122, 183, 0.2);
}

.course-top-cta__perk-label {
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #7ec8ef;
}

.course-top-cta__perk--active .course-top-cta__perk-label {
  color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .course-top-cta a {
    transition: none !important;
  }

  .course-top-cta a:hover {
    transform: none !important;
  }
}
