/* Black Friday skin for the course cards on the homepage and the category
 * listing (/category).
 *
 * Activation: every rule is keyed on the header banner itself,
 *   html:has(.banner-spring--blackfriday[data-campaign-phase])
 * so the cards follow exactly the state the banner shows, with no timer or
 * flag of their own:
 *   - banner absent (disabled, not yet visible, or ended): nothing here
 *     matches, the original cards render untouched;
 *   - the banner appears (pre-launch, data-campaign-phase="before", also when
 *     js/timer149.js puts it in place on an open page): skin on, plus a
 *     «به‌زودی» tag on every card (end of this file);
 *   - js/timer149.js flips the phase to "active" at launch: the tag goes, the
 *     skin stays, and js/blackfriday-card-prices.js refreshes the prices in
 *     place once the server has applied the campaign discounts;
 *   - the countdown ends and js/timer149.js swaps the banner out: off (prices
 *     refreshed back the same way).
 * Browsers without :has() keep the original cards.
 *
 * Loaded by header.php on the homepage and the category page only, next to
 * banner-blackfriday.css (and through the takeover template's
 * data-takeover-css when the banner is due to appear later on an open page).
 *
 * Scope: the homepage sections (.Courses--latest, .CourseRail and
 * .special-courses-section) and the category grid
 * (#category-page .LatestCourses__Grid, including cards js/category.js
 * re-renders after filtering/paging, which use the same markup). Other pages
 * that reuse LatestCourseCard (e.g. the teacher page) are not matched.
 *
 * Constraints: colour, background, border colour, shadow and decorative
 * pseudo-elements only. No size, spacing, typography or layout property of an
 * existing element changes. The cards turn black with red accents in both
 * site themes (that is the campaign identity); the surrounding sections keep
 * their own light/dark backgrounds, and only shadow strength differs per theme.
 */

/* ======================================================================
   Latest / popular / presell cards (.LatestCourseCard)
   ====================================================================== */

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard {
  /* Re-point the card's own tokens so every nested rule follows. */
  --course-accent: #ff4d58;
  --course-accent-rgb: 225, 29, 42;
  --latest-surface: #0d0d10;
  --latest-surface-soft: rgba(255, 255, 255, .03);
  --latest-ink: #f5f5f7;
  --latest-muted: #a6a6ad;
  --latest-border: rgba(255, 255, 255, .08);
  border-color: rgba(225, 29, 42, .3);
  border-top-color: #e11d2a;
  background: linear-gradient(180deg, #141417 0%, #0a0a0c 100%);
  box-shadow: 0 1.4rem 3.6rem rgba(0, 0, 0, .32), 0 .4rem 1.8rem rgba(225, 29, 42, .1);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard:hover {
  border-color: rgba(225, 29, 42, .55);
  border-top-color: #e11d2a;
  background: linear-gradient(180deg, #161619 0%, #0b0b0d 100%);
  box-shadow: 0 1.8rem 4.4rem rgba(0, 0, 0, .38), 0 .6rem 2.6rem rgba(225, 29, 42, .2);
}

html[data-theme="light"]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard {
  box-shadow: 0 1.4rem 3.4rem rgba(11, 11, 12, .16), 0 .4rem 1.6rem rgba(215, 20, 31, .08);
}

html[data-theme="light"]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard:hover {
  box-shadow: 0 1.8rem 4.2rem rgba(11, 11, 12, .22), 0 .6rem 2.4rem rgba(215, 20, 31, .16);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media {
  background: #0a0a0c;
}

/* BLACK|FRIDAY wordmark, the banner's logo in miniature, on the image's free
   (left) corner. Decorative: hidden from assistive tech where supported. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media::before,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media::after {
  position: absolute;
  z-index: 2;
  top: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  padding-left: .14em; /* balances the trailing letter-spacing */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
  white-space: nowrap;
  direction: ltr;
  box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .35);
  pointer-events: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media::before {
  content: "BLACK";
  content: "BLACK" / "";
  left: 1.3rem;
  width: 6em;
  border-radius: .45rem 0 0 .45rem;
  color: #0b0b0c;
  background: #ffffff;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media::after {
  content: "FRIDAY";
  content: "FRIDAY" / "";
  left: calc(1.3rem + 6em);
  width: 6.8em;
  border-radius: 0 .45rem .45rem 0;
  color: #ffffff;
  background: #e11d2a;
}

/* Category pill on the image: dark glass instead of white. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Category {
  border-color: rgba(255, 255, 255, .16);
  color: #f5f5f7;
  background: rgba(7, 7, 8, .82);
  box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .3);
}

/* Body: transparent over the black card, with a red hairline under the image
   (the banner's accent line). */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Body {
  position: relative;
  background: radial-gradient(26rem 12rem at 100% 0, rgba(225, 29, 42, .1), transparent 70%);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Body::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 42, .85), transparent);
  content: "";
  pointer-events: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__MetaItem {
  border-color: rgba(255, 255, 255, .07) !important;
  color: #b4b4bc !important;
  background: rgba(255, 255, 255, .035);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) a.LatestCourseCard__MetaItem:hover {
  color: #ff5d68 !important;
}

/* Price panel: charcoal with a faint red wash; sale percentage as a solid
   red tag, struck-through price crossed in red. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Pricing {
  border-color: rgba(225, 29, 42, .28);
  background: linear-gradient(135deg, rgba(225, 29, 42, .12), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price + .LatestCourseCard__Price::before {
  background: rgba(255, 255, 255, .1);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price > span,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price small,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Features span {
  color: #a6a6ad;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price--final strong {
  color: #ffffff;
}

/* The category page colours the <bdi> inside prices directly
   (css/category-filters.css); let the numbers follow the skin instead. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price bdi {
  color: inherit;
  text-decoration-color: inherit;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price--original s {
  color: #8e8e96;
  text-decoration-color: #e11d2a;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price--discount:not(.is-disabled) {
  border-color: transparent;
  background: linear-gradient(145deg, #e11d2a, #b5121d);
  box-shadow: 0 .5rem 1.4rem rgba(225, 29, 42, .3);
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price--discount:not(.is-disabled) > span,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Price--discount:not(.is-disabled) strong {
  color: #ffffff;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Features {
  border-color: rgba(225, 29, 42, .2);
  background: rgba(255, 255, 255, .025);
}

/* "مشاهده دوره": the banner's CTA on a black surface — white, black text,
   red icon, sitting on a red accent line; flips to campaign red on hover. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta {
  border-color: #ffffff;
  color: #0b0b0c !important;
  background: #ffffff;
  box-shadow: inset 0 -3px 0 #e11d2a, 0 .7rem 1.8rem rgba(0, 0, 0, .35);
  filter: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta i {
  color: #e11d2a;
  transition: color 180ms ease;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta:hover {
  border-color: #e11d2a;
  color: #ffffff !important;
  background: #e11d2a;
  box-shadow: inset 0 -3px 0 #8f0f18, 0 1rem 2.4rem rgba(225, 29, 42, .35);
  filter: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta:hover i {
  color: #ffffff;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard :is(a, .LatestCourseCard__Cta):focus-visible {
  outline-color: rgba(255, 93, 104, .7);
}

/* ======================================================================
   Featured paths (.special-course-card) — already dark; re-tint to the
   campaign. The original rules use !important, so these must as well.
   ====================================================================== */

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card {
  --sc-accent: #e11d2a;
  --sc-accent-2: #a50f1a;
  --sc-rgb: 225, 29, 42;
  border-color: rgba(225, 29, 42, .5) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 29, 42, .16), transparent 34%),
    linear-gradient(180deg, #141417, #09090b) !important;
  box-shadow: 0 26px 62px rgba(0, 0, 0, .42), 0 0 48px rgba(225, 29, 42, .12), inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card:hover {
  border-color: rgba(225, 29, 42, .85) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 29, 42, .2), transparent 34%),
    linear-gradient(180deg, #161619, #0a0a0c) !important;
  box-shadow: 0 34px 72px rgba(0, 0, 0, .5), 0 0 60px rgba(225, 29, 42, .2) !important;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container::before,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container::after {
  position: absolute;
  z-index: 3;
  top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  padding-left: .14em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
  white-space: nowrap;
  direction: ltr;
  box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .4);
  pointer-events: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container::before {
  content: "BLACK";
  content: "BLACK" / "";
  left: 1.1rem;
  width: 6em;
  border-radius: .45rem 0 0 .45rem;
  color: #0b0b0c;
  background: #ffffff;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container::after {
  content: "FRIDAY";
  content: "FRIDAY" / "";
  left: calc(1.1rem + 6em);
  width: 6.8em;
  border-radius: 0 .45rem .45rem 0;
  color: #ffffff;
  background: #e11d2a;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container {
  background: #0a0a0c;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-purchase {
  background: linear-gradient(145deg, rgba(225, 29, 42, .12), rgba(10, 10, 12, .96) 48%, rgba(225, 29, 42, .06));
}

/* Technology chips: neutral charcoal with a red edge (five solid red chips
   per card would compete with the banner). */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .tech-item {
  border-color: rgba(225, 29, 42, .4) !important;
  color: #f5f5f7 !important;
  background: rgba(255, 255, 255, .05) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card .course-btn {
  border-color: #ffffff !important;
  color: #0b0b0c !important;
  background: #ffffff !important;
  box-shadow: inset 0 -3px 0 #e11d2a, 0 15px 34px rgba(0, 0, 0, .4), 0 0 30px rgba(225, 29, 42, .14) !important;
  filter: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card .course-btn i {
  color: #e11d2a;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card .course-btn:hover {
  border-color: rgba(255, 255, 255, .2) !important;
  color: #ffffff !important;
  background: linear-gradient(105deg, #e11d2a, #b5121d) !important;
  box-shadow: inset 0 -3px 0 #7a0b13, 0 16px 34px rgba(225, 29, 42, .34) !important;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .special-course-card .course-btn:hover i {
  color: #ffffff;
}

/* ======================================================================
   Pre-launch: «به‌زودی» tag under the BLACK|FRIDAY wordmark, on every card
   while the banner counts down to the start. It disappears the moment
   js/timer149.js switches the banner to "active". Same red/black language as
   the wordmark and the banner's COMING SOON chip; decorative overlay on the
   image, so no card dimension changes.
   ====================================================================== */

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase="before"]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__ImageLink::after,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase="before"]) #home-main .special-courses-section .course-image-shade::after {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-right: 1.1em; /* room for the dot (RTL: before the word) */
  border: 1px solid #e11d2a;
  border-radius: .45rem;
  color: #ffffff;
  background:
    radial-gradient(circle at calc(100% - .95em) 50%, #ff2b38 0 .3em, rgba(255, 43, 56, .35) .32em .55em, transparent .58em),
    rgba(8, 8, 9, .9);
  box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .35), 0 0 1.2rem rgba(225, 29, 42, .35);
  font-family: Peyda, iransansweb, Tahoma, sans-serif;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  direction: rtl;
  content: "\0628\0647\200C\0632\0648\062F\06CC";
  pointer-events: none;
}

/* Wordmark: top 1.55rem, 2.5em tall and 12.8em wide at 1.05rem. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase="before"]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__ImageLink::after {
  top: calc(1.55rem + 2.625rem + .5rem);
  left: 1.3rem;
  width: 13.44rem;
  height: 2.5rem;
  font-size: 1.25rem;
}

/* Featured paths: wordmark top 1.1rem, 2.5em tall and 12.8em wide at 1.15rem. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase="before"]) #home-main .special-courses-section .course-image-shade::after {
  top: calc(1.1rem + 2.875rem + .5rem);
  left: 1.1rem;
  width: 14.72rem;
  height: 2.7rem;
  font-size: 1.35rem;
}

/* ======================================================================
   Typing reveal of the BLACK|FRIDAY wordmark (homepage cards only).
   js/blackfriday-typing.js (loaded on the homepage) adds an aria-hidden
   .bf-type layer inside each card image: the same font, size and box
   geometry as the wordmark above, transparent, with every character already
   in its final place (hidden). The wordmark keeps its boxes and only its own
   text turns transparent while the layer is there, so position, size and
   typography are unchanged and nothing shifts as letters appear. The reveal
   itself (timing, cursor, reduced motion) is css/blackfriday-typing.css,
   shared with the /off hero. The layer shows only under the banner selector,
   so it comes and goes with the wordmark.
   ====================================================================== */

#home-main .bf-type {
  display: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media > .bf-type,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container > .bf-type {
  position: absolute;
  z-index: 3; /* above the wordmark boxes (2) */
  top: 1.55rem;
  left: 1.3rem;
  display: flex;
  height: 2.5em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
  white-space: nowrap;
  direction: ltr;
  pointer-events: none;
}

html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container > .bf-type {
  z-index: 4; /* featured wordmark boxes are 3 */
  top: 1.1rem;
  left: 1.1rem;
  font-size: 1.15rem;
}

/* The wordmark's own letters give way to the layer while it is there. */
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media:has(> .bf-type)::before,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Media:has(> .bf-type)::after,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container:has(> .bf-type)::before,
html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main .special-courses-section .course-image-container:has(> .bf-type)::after {
  color: transparent;
}

/* Same boxes as the wordmark (border-box, .14em balancing padding). */
#home-main .bf-type__word {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  padding-left: .14em;
}

#home-main .bf-type__word--black {
  width: 6em;
  color: #0b0b0c;
}

#home-main .bf-type__word--friday {
  width: 6.8em;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta,
  html[data-theme]:has(.banner-spring--blackfriday[data-campaign-phase]) #home-main :is(.Courses--latest, .CourseRail, #category-page .LatestCourses__Grid) .LatestCourseCard__Cta i {
    transition: none;
  }
}
