/* ==========================================================================
   New Year campaign hero (Python page only). Loaded after xmas.css.

   The hero copy follows the reference (xmas.css) layout; these rules only
   cover the longer campaign headline.
   ========================================================================== */

/* Offer line: same gold foil as the reference price line, but allowed to
   wrap (the reference line was short enough for nowrap) and a step smaller
   so "Flat 70% OFF + Get 1 Course FREE" reads as one strong line on desktop. */
#home .hero-title strong.hero-offer {
  display: block;
  margin-top: 6px;
  font-size: 0.86em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: normal;
}

#home .hero-title strong.hero-offer em {
  white-space: nowrap;
}

/* "Master AI-Powered Python" fills the kicker, so keep "Full Stack
   Development" together on its own line instead of splitting after "Full". */
#home .hero-title > span:not(.hero-kicker) {
  display: block;
}

/* The hero form card keeps an id so it can be linked to; keep it clear of
   the sticky header when it is. */
#hero-form {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

@media (max-width: 767px) {
  #home .hero-title strong.hero-offer {
    font-size: clamp(21px, 5.8vw, 26px);
  }
}
