/* ═══════════════════════════════════════════════════════════════════════════
   Course Landing Page (users without access) — PREMIUM REDESIGN
   ---------------------------------------------------------------------------
   Design intent (senior UI/UX):
   - The page canvas is a NEUTRAL deep surface, not a flood of the academy's
     saturated brand color. The brand color is used as an ACCENT only (hero
     glow, CTAs, chips, icons, active states) so it feels premium and on-brand
     without drowning the page in one hue.
   - A single token layer (--lp-*) derives everything from the academy brand
     variables that are actually injected per-tenant:
        --iq-primary-bg     the academy brand color (e.g. #006241)
        --iq-secondary-bg   the academy's dark surface (e.g. #141414)
        --iq-primary        a secondary brand accent (e.g. #075DAA)
        --iq-primary-text   on-brand text color (usually #fff)
        --iq-card-bg        a light surface token
     Legacy rules referenced --iq-brand-color-1/2 which are NOT injected; those
     are re-mapped here to the real tokens so accents pick up the brand.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Token layer (scoped to the landing) ─────────────────────────────────── */
.sw-landing-hero,
.sw-landing-content,
.sw-landing-cta-bar {
  /* Brand accent (kept, but used sparingly) */
  --lp-brand: var(--iq-primary-bg, #0f6f4c);
  --lp-brand-2: var(--iq-primary, #0a84ff);
  --lp-on-brand: var(--iq-primary-text, #ffffff);

  /* Premium canvas — DERIVED FROM THE BRAND, not a fixed dark. We take the
     academy brand color and drive it deep toward black so the page reads as a
     rich, dark "brand-tinted" surface (coherent with the academy) rather than
     a flat saturated fill of the brand hue. Two tiers give subtle depth between
     the hero and the content/cta zones. Fallbacks keep it safe if the brand
     var is missing. */
  --lp-canvas: color-mix(in srgb, var(--iq-primary-bg, #0f6f4c) 16%, #0a0b0d 84%);
  --lp-canvas-2: color-mix(in srgb, var(--iq-primary-bg, #0f6f4c) 12%, #08090b 88%);

  /* Elevated surfaces (cards) — translucent light over the dark canvas. */
  --lp-surface: rgba(255, 255, 255, 0.045);
  --lp-surface-strong: rgba(255, 255, 255, 0.06);
  --lp-hairline: rgba(255, 255, 255, 0.10);
  --lp-hairline-soft: rgba(255, 255, 255, 0.07);

  /* Text ramp */
  --lp-text: rgba(255, 255, 255, 0.94);
  --lp-text-muted: rgba(255, 255, 255, 0.62);
  --lp-text-faint: rgba(255, 255, 255, 0.42);

  --lp-radius: 16px;
  --lp-radius-sm: 11px;
}

/* ─── HERO SECTION ────────────────────────────────────────────────────────── */
.sw-landing-hero {
  position: relative;
  background: var(--lp-canvas);
  padding: 3rem 2rem 2.25rem;
  overflow: hidden;
  isolation: isolate;
}
/* Premium brand glow: a soft accent bloom in the top-left of the hero instead
   of a flat brand fill. This is the ONLY large area where the brand shows. */
.sw-landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 0% -10%,
      color-mix(in srgb, var(--lp-brand) 42%, transparent) 0%,
      transparent 58%),
    radial-gradient(90% 70% at 100% 0%,
      color-mix(in srgb, var(--lp-brand-2) 20%, transparent) 0%,
      transparent 55%);
  pointer-events: none;
}

.sw-landing-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 340px;
  gap: 2.5rem;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

/* Hero media — image with play overlay, transforms to player on click */
.sw-landing-hero__media {
  position: relative;
  border-radius: var(--lp-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 60px -24px rgba(0, 0, 0, 0.75);
  background: #000;
  border: 1px solid var(--lp-hairline-soft);
}

.sw-landing-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-landing-hero__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sw-landing-hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
}
.sw-landing-hero__play i { margin-left: 3px; }

.sw-landing-hero__play:hover {
  background: var(--lp-brand);
  border-color: color-mix(in srgb, var(--lp-on-brand) 55%, transparent);
  transform: translate(-50%, -50%) scale(1.08);
}

/* Hero info */
.sw-landing-hero__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--lp-text);
  padding-top: 0.25rem;
}

.sw-landing-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: color-mix(in srgb, var(--lp-brand) 20%, transparent);
  color: color-mix(in srgb, var(--lp-brand) 42%, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lp-brand) 32%, transparent);
  width: fit-content;
}

.sw-landing-hero__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.sw-landing-hero__desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--lp-text-muted);
  margin: 0;
  max-width: 62ch;
}

/* Instructor inline */
.sw-landing-hero__instructor {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.sw-landing-hero__instructor-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lp-hairline);
}

.sw-landing-hero__instructor-info {
  display: flex;
  flex-direction: column;
}

.sw-landing-hero__instructor-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lp-text);
}

.sw-landing-hero__instructor-academy {
  font-size: 0.75rem;
  color: var(--lp-text-faint);
}

/* Meta badges */
.sw-landing-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.sw-landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  background: var(--lp-surface);
  padding: 0.4rem 0.7rem;
  border-radius: 9px;
  border: 1px solid var(--lp-hairline-soft);
}

.sw-landing-hero__badge i {
  color: color-mix(in srgb, var(--lp-brand) 55%, #ffffff);
  font-size: 0.72rem;
}

/* ─── Purchase Card ───────────────────────────────────────────────────────── */
.sw-landing-hero__card {
  position: relative;
  background:
    linear-gradient(180deg, var(--lp-surface-strong), var(--lp-surface));
  border: 1px solid var(--lp-hairline);
  border-radius: var(--lp-radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
/* Accent hairline at the very top of the card */
.sw-landing-hero__card::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--lp-brand) 70%, transparent),
    transparent);
}

.sw-landing-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.sw-landing-card__price-sub {
  font-size: 0.8rem;
  color: var(--lp-text-faint);
  margin-top: -0.15rem;
  text-align: center;
}

.sw-landing-card__free {
  font-size: 1.15rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--lp-brand) 45%, #ffffff);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.sw-landing-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--lp-brand);
  color: var(--lp-on-brand);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--lp-brand) 75%, transparent);
}

.sw-landing-card__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--lp-on-brand);
  text-decoration: none;
  box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--lp-brand) 85%, transparent);
}

.sw-landing-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: color-mix(in srgb, #f59e0b 70%, #ffffff) !important;
  border: 1px dashed color-mix(in srgb, #f59e0b 55%, transparent);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sw-landing-card__preview i { color: color-mix(in srgb, #f59e0b 70%, #ffffff); }
.sw-landing-card__preview:hover {
  background: color-mix(in srgb, #f59e0b 12%, transparent);
  transform: translateY(-1px);
  color: color-mix(in srgb, #f59e0b 80%, #ffffff) !important;
  text-decoration: none;
}

.sw-landing-card__trailer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--lp-text);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 12px;
  border: 1px solid var(--lp-hairline);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sw-landing-card__trailer:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: color-mix(in srgb, var(--lp-brand) 45%, var(--lp-hairline));
  color: #fff;
}

/* Perks list in card */
.sw-landing-card__perks {
  list-style: none;
  padding: 0.9rem 0 0;
  margin: 0.35rem 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--lp-hairline-soft);
}

.sw-landing-card__perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--lp-text-muted);
}

.sw-landing-card__perks li i {
  color: color-mix(in srgb, var(--lp-brand) 55%, #ffffff);
  width: 16px;
  text-align: center;
  font-size: 0.75rem;
}


/* ─── CONTENT SECTION ─────────────────────────────────────────────────────── */
.sw-landing-content {
  background: var(--lp-canvas-2);
  padding: 2.75rem 2rem 0.5rem;
}

.sw-landing-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.5rem;
  max-width: 1360px;
  margin: 0 auto;
}
/* Grid children must be allowed to shrink below their content's intrinsic size
   (nowrap lesson titles + fixed thumbs) — otherwise they force horizontal
   overflow on narrow screens. */
.sw-landing-modules,
.sw-landing-sidebar { min-width: 0; }

.sw-landing-section__title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 auto 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 1360px;
}

.sw-landing-section__title i {
  color: color-mix(in srgb, var(--lp-brand) 55%, #ffffff);
  font-size: 0.95rem;
}


/* ─── MODULES ─────────────────────────────────────────────────────────────── */
.sw-landing-modules {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sw-landing-module {
  border: 1px solid var(--lp-hairline-soft);
  border-radius: var(--lp-radius-sm);
  overflow: hidden;
  background: var(--lp-surface);
  transition: border-color 0.2s ease;
}
.sw-landing-module:hover { border-color: var(--lp-hairline); }

.sw-landing-module__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.sw-landing-module__header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sw-landing-module__thumb {
  width: 58px;
  height: 44px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--lp-hairline-soft);
}

.sw-landing-module__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-landing-module__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sw-landing-module__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--lp-brand) 42%, #ffffff);
}

.sw-landing-module__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sw-landing-module__meta {
  font-size: 0.77rem;
  color: var(--lp-text-faint);
}

.sw-landing-module__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sw-landing-module__lock {
  color: var(--lp-text-faint);
  font-size: 0.8rem;
}

.sw-landing-module__toggle {
  background: none;
  border: none;
  color: var(--lp-text-muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.2s ease;
}
.sw-landing-module__toggle:hover { background: rgba(255, 255, 255, 0.06); }

.sw-landing-module__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Module lessons */
.sw-landing-module__lessons {
  display: none;
  border-top: 1px solid var(--lp-hairline-soft);
  padding: 0.35rem 0;
}

.sw-landing-module__lessons--open {
  display: block;
}

.sw-landing-lesson {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.25rem;
  transition: background 0.2s ease;
}

.sw-landing-lesson:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sw-landing-lesson__thumb {
  width: 66px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hairline-soft);
}

.sw-landing-lesson__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-landing-lesson__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sw-landing-lesson__title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sw-landing-lesson__desc {
  font-size: 0.75rem;
  color: var(--lp-text-faint);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sw-landing-lesson__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.sw-landing-lesson__duration {
  font-size: 0.77rem;
  color: var(--lp-text-faint);
  white-space: nowrap;
}

.sw-landing-lesson__lock-icon {
  color: color-mix(in srgb, var(--lp-brand) 40%, var(--lp-text-faint));
  font-size: 0.72rem;
}


/* ─── SIDEBAR ─────────────────────────────────────────────────────────────── */
.sw-landing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sw-landing-sidebar__card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-hairline-soft);
  border-radius: var(--lp-radius);
  padding: 1.4rem;
}

.sw-landing-sidebar__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sw-landing-sidebar__title i {
  color: color-mix(in srgb, var(--lp-brand) 55%, #ffffff);
  font-size: 0.85rem;
}

.sw-landing-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sw-landing-sidebar__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--lp-text-muted);
  line-height: 1.45;
}

.sw-landing-sidebar__list li i {
  color: color-mix(in srgb, var(--lp-brand) 55%, #ffffff);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.sw-landing-sidebar__list--materials li i {
  color: var(--lp-text-faint);
}

/* Instructor card in sidebar */
.sw-landing-sidebar__card--instructor {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--lp-brand) 12%, var(--lp-surface)),
      var(--lp-surface));
  border-color: color-mix(in srgb, var(--lp-brand) 22%, var(--lp-hairline-soft));
}

.sw-landing-instructor-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sw-landing-instructor-card__img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--lp-brand) 35%, var(--lp-hairline));
}

.sw-landing-instructor-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sw-landing-instructor-card__info strong {
  font-size: 0.92rem;
  color: #fff;
}

.sw-landing-instructor-card__info span {
  font-size: 0.78rem;
  color: var(--lp-text-faint);
}


/* ─── BOTTOM CTA BAR ──────────────────────────────────────────────────────── */
.sw-landing-cta-bar {
  position: relative;
  background: var(--lp-canvas-2);
  padding: 2rem;
  border-top: 1px solid var(--lp-hairline-soft);
  overflow: hidden;
  isolation: isolate;
}
.sw-landing-cta-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 160% at 100% 50%,
    color-mix(in srgb, var(--lp-brand) 18%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.sw-landing-cta-bar__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sw-landing-cta-bar__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sw-landing-cta-bar__text strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.sw-landing-cta-bar__text span {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
}

.sw-landing-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--lp-brand);
  color: var(--lp-on-brand);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--lp-brand) 80%, transparent);
}

.sw-landing-cta-bar__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--lp-on-brand);
  text-decoration: none;
  box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--lp-brand) 90%, transparent);
}


/* ─── FOOTER GAP FIX ──────────────────────────────────────────────────────── */
/* Kill the footer's top margin (mt-5) so it sits flush against the last landing
   section — no white strip between the CTA bar and the footer. */
.main-content:has(.sw-landing-hero) ~ .footer-main,
.main-content:has(.sw-landing-hero) ~ footer {
  margin-top: 0 !important;
}

/* Paint the whole page shell with the brand-derived canvas so that ANY area
   below the footer (short pages, elastic/overscroll) is on-brand, never a bare
   white body. The brand-derived color is computed here directly (the --lp-*
   tokens are scoped to the landing sections and aren't in scope on html/body). */
html:has(.sw-landing-hero),
body:has(.sw-landing-hero) {
  background: color-mix(in srgb, var(--iq-primary-bg, #0f6f4c) 12%, #08090b 88%) !important;
}

.main-content:has(.sw-landing-hero) {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  background: color-mix(in srgb, var(--iq-primary-bg, #0f6f4c) 12%, #08090b 88%);
}

.main-content:has(.sw-landing-hero) > .container-fluid {
  padding: 0 !important;
}

.sw-landing-footer-fix {
  margin-top: 0 !important;
}


/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .sw-landing-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .sw-landing-hero__card {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 1.35rem;
    gap: 1rem;
  }
  .sw-landing-hero__card::before { left: 24px; right: 24px; }

  .sw-landing-card__price,
  .sw-landing-card__free { flex-basis: 100%; }

  .sw-landing-card__perks {
    flex-direction: row;
    flex-wrap: wrap;
    border-top: none;
    padding-top: 0;
    gap: 0.75rem 1.25rem;
    width: auto;
  }

  .sw-landing-card__cta,
  .sw-landing-card__trailer {
    width: auto;
    flex: 1;
    min-width: 190px;
  }

  .sw-landing-content__grid {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 992px) {
  .sw-landing-content__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-landing-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .sw-landing-hero {
    padding: 1.75rem 1rem 1.5rem;
  }

  .sw-landing-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .sw-landing-hero__info { min-width: 0; }

  .sw-landing-hero__title {
    font-size: 1.5rem;
    overflow-wrap: anywhere;
  }

  .sw-landing-hero__card {
    flex-direction: column;
    align-items: stretch;
  }
  .sw-landing-card__perks { flex-direction: column; width: 100%; }
  .sw-landing-card__cta,
  .sw-landing-card__trailer { width: 100%; }

  .sw-landing-content {
    padding: 1.75rem 1rem 0.5rem;
  }

  .sw-landing-sidebar {
    grid-template-columns: 1fr;
  }

  .sw-landing-cta-bar {
    padding: 1.5rem 1rem;
  }
  .sw-landing-cta-bar__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .sw-landing-cta-bar__btn {
    width: 100%;
    justify-content: center;
  }

  .sw-landing-lesson {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .sw-landing-lesson__thumb {
    width: 52px;
    height: 36px;
  }
}

/* ─── GUEST / PARTICIPANT TEACHERS (instructor card) ──────────────────────── */
.sw-landing-guests {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lp-hairline-soft);
}
.sw-landing-guests__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lp-text-faint);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.sw-landing-guests__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.sw-landing-guests__item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sw-landing-guests__names {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
/* Name link readable on the dark instructor card; override global anchor color. */
.sw-landing-sidebar__card--instructor .sw-landing-guests__names,
.sw-landing-sidebar__card--instructor a.sw-landing-guests__names {
  color: #ffffff !important;
  text-decoration: none;
}
.sw-landing-sidebar__card--instructor a.sw-landing-guests__names:hover,
.sw-landing-sidebar__card--instructor a.sw-landing-guests__names:focus {
  color: color-mix(in srgb, var(--lp-brand, #6366f1) 55%, #ffffff) !important;
  text-decoration: underline;
}
.sw-landing-sidebar__card--instructor .sw-landing-guests__label {
  color: rgba(255, 255, 255, 0.72) !important;
}
.sw-landing-guests__lesson {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--lp-text-faint);
}
.sw-landing-guests__lesson i { font-size: 0.55rem; }
