/* course.css — public single-course page.
   Faithful port of the WordPress course-front design (.ya-course-front-shell,
   .events-hero glassmorphism). The bulk below is the exact CSS from the WP build;
   the top block adds the brand color var + the hero content + video modal that
   on WP came from Bricks elements. */

:root{
  --bricks-color-hedxvx:#811d19;   /* brand wine (CTA + register band) */
  --ya-wine-deep:#5d171d;
}

/* ---- hero content (/about style): kicker breadcrumb + Cinzel Decorative title +
       Cormorant subtitle + 2 white CTAs + animated scroll cue. Sits on the WP
       events-hero chassis below (fixed cover image + blur-on-scroll), centered. ---- */
.events-hero{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 0}
.events-hero__inner{position:relative;z-index:2;width:min(1100px,calc(100vw - 48px));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff}
.crs-kick{margin:0 0 1.1rem;font-family:"Julius Sans One",sans-serif;text-transform:uppercase;letter-spacing:.34em;font-size:.72rem;font-weight:600;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.6)}
.events-hero__inner h1{margin:0;font-family:"Cinzel Decorative",serif;font-weight:700;font-size:clamp(1.9rem,4.6vw,3.6rem);line-height:1.1;color:#fff;text-wrap:balance;text-shadow:0 2px 26px rgba(0,0,0,.5),0 1px 5px rgba(0,0,0,.4)}
.events-hero__inner h2{margin:1.3rem 0 0;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:300;font-size:clamp(1.18rem,2.1vw,1.65rem);line-height:1.5;color:#fff;text-wrap:balance;text-shadow:0 1px 16px rgba(0,0,0,.6)}
.crs-hero-cta{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:2rem}
.events-hero a.crs-cue{position:absolute;left:50%;bottom:2.4%;transform:translateX(-50%);z-index:3;color:#fff;opacity:.85;cursor:pointer}
.crs-cue svg{width:32px;height:auto;animation:crs-bob 2.3s linear infinite}
@keyframes crs-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
@media(max-width:760px){.events-hero a.crs-cue{bottom:84px}}

/* ---- video modal (was the WP .modal) ---- */
.crs-modal{position:fixed;inset:0;background:rgba(20,20,24,.78);display:none;place-items:center;z-index:200;padding:20px}
.crs-modal.open{display:grid}
.crs-modal__box{width:min(980px,calc(100vw - 40px));background:#000;border-radius:18px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.4)}
.crs-modal__box iframe,.crs-modal__box img{display:block;width:100%;aspect-ratio:16/9;border:0;object-fit:contain;background:#000}

/* ---- the single-service light panel that scrolls over the hero ---- */
.single-service{padding:0 0 90px}
.ya-course-front-shell{padding-top:34px}

/* =========================================================================
   WordPress course-front CSS (verbatim from the live build)
   ========================================================================= */
.ya-course-lede p {
    padding-left: 12px;
}

.events-hero {
  position: relative;
  min-height: 100svh;
  overflow: visible;
  background: transparent !important;
  --hero-blur: 0px;
  --hero-overlay: 0.08;
}

.events-hero__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: scale(1.04);
  will-change: transform, filter;
  filter: brightness(0.72) saturate(0.92);
}

.events-hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(var(--hero-blur)) saturate(90%);
  -webkit-backdrop-filter: blur(var(--hero-blur)) saturate(90%);
  background: rgba(16, 13, 12, var(--hero-overlay));
  transition: backdrop-filter 0.2s linear, background-color 0.2s linear;
}

.events-hero > :not(.events-hero__bg) {
  position: relative;
  z-index: 2;
}

.single-service {
  position: relative;
  z-index: 3;
  background: transparent;   /* desktop: dark blurred hero shows through (mobile gets cream below) */
}

@media (max-width: 991px) {
  .events-hero {
    --hero-overlay: 0.18;
  }

  .events-hero__bg {
    position: fixed;
    inset: 0;
    transform: scale(1.02);
    filter: brightness(0.62) saturate(0.88);
  }

  .events-hero::before {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(var(--hero-blur)) saturate(90%);
    -webkit-backdrop-filter: blur(var(--hero-blur)) saturate(90%);
  }

  .single-service {
    background: transparent;   /* mobile too: the fixed blurred hero shows through the card gaps, like the WP build */
  }
}

/* footer sits ABOVE the fixed hero bg/blur (which are positioned, z-index 0/1);
   without position:relative the z-index is ignored and the blurred bg paints over it. */
footer {position: relative; z-index: 123;}

.ya-course-front-shell .ya-course-main-layout {
  position: relative;
  background: transparent;
}

.ya-course-front-shell .ya-course-main-layout::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 0;
  z-index: 0;
  pointer-events: none;

}

.ya-course-front-shell .ya-course-main {
  background: transparent;
  position: relative;
  z-index: 1;
}

.ya-course-front-shell .ya-course-main-inner {
  width: min(850px, 100%);
  position: relative;
  z-index: 1;
}

.ya-course-front-shell .ya-course-section {
  padding: 34px 36px 40px;
  margin-bottom: 24px;
  border: 1px solid rgba(122, 35, 41, .12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(247, 242, 235, .95), rgba(244, 238, 227, .98));
  backdrop-filter: blur(15px) saturate(118%);
  -webkit-backdrop-filter: blur(15px) saturate(118%);
  box-shadow: 0 18px 44px rgba(16, 12, 11, .15);
}

.ya-course-front-shell .ya-course-section:last-child {
  margin-bottom: 0;
}

.ya-course-front-shell .ya-course-section > h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 3.4vw, 60px);
  line-height: .94;
  color: #5d171d;
  font-weight: 600;
}

.ya-course-front-shell .ya-course-lede {
  width: min(850px, 100%);
  font-size: 17px;
  line-height: 1.85;
  color: #3d3531;
}

.ya-course-front-shell .ya-course-lede p {
  margin: 0 0 1.2em;        /* paragraph spacing (shared.css resets p to margin:0) */
}

.ya-course-front-shell .ya-course-lede p:first-child {
  margin-top: 0;
}

.ya-course-front-shell .ya-course-lede p:last-child {
  margin-bottom: 0;
}

/* ---- Bios section (course_bios; photo + copy ported from the WP course-front) ---- */
.ya-course-front-shell .ya-course-bios { display: grid; gap: 2px; }
.ya-course-front-shell .ya-bio { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; align-items: start; padding: 26px 0; border-top: 1px solid rgba(122, 35, 41, .12); }
.ya-course-front-shell .ya-bio:first-child { border-top: 0; padding-top: 4px; }
.ya-course-front-shell .ya-bio:last-child { padding-bottom: 4px; }
.ya-course-front-shell .ya-bio-photo { aspect-ratio: 4 / 3; border-radius: 22px; background: #e7ddd2 center / cover no-repeat; box-shadow: 0 14px 32px rgba(16, 12, 11, .18); }
.ya-course-front-shell .ya-bio-body h3 { margin: 4px 0 12px; font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 2.6vw, 44px); line-height: .96; color: #5d171d; font-weight: 600; }
.ya-course-front-shell .ya-bio-copy { font-size: 17px; line-height: 1.8; color: #3d3531; }
.ya-course-front-shell .ya-bio-copy p { margin: 0; }
.ya-course-front-shell .ya-bio-copy strong { color: #2c2521; font-weight: 700; }
@media (max-width: 760px) {
  .ya-course-front-shell .ya-bio { grid-template-columns: 1fr; gap: 14px; }
  .ya-course-front-shell .ya-bio-photo { width: 100%; max-width: none; border-radius: 18px; }
}

.ya-course-front-shell .ya-course-content-shell  {
  display: grid;
  gap: 22px;
}

.ya-course-front-shell .module {
  border: 1px solid rgba(122, 35, 41, .16);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .34);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
  box-shadow: 0 10px 32px rgba(23, 16, 14, .09);
}

.ya-course-front-shell .module-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
  border-bottom: 1px solid rgba(122, 35, 41, .10);
  align-items: end;
}

.ya-course-front-shell .module-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #3f2926;
}

.ya-course-front-shell .module-count {
  font-size: 12px;
  color: #7d726b;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  white-space: nowrap;
}

.ya-course-front-shell .lessons {
  display: grid;
}

.ya-course-front-shell .lesson {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid rgba(122, 35, 41, .08);
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
}

.ya-course-front-shell .lesson:first-child {
  border-top: none;
}

.ya-course-front-shell .thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .28));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.ya-course-front-shell .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ya-course-front-shell .thumb.audio {
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .42));
}

.ya-course-front-shell .thumb.file {
  background: linear-gradient(180deg, rgba(102, 69, 46, .08), rgba(102, 69, 46, .14)), linear-gradient(135deg, #f8f4ee, #eee3d1);
}

/* lesson thumbnail overlay — same language as /app (ya-mood.css): white play in a
   dark glass circle (center), expand glyph top-right, compact duration/type pill
   bottom-left. All three always visible; the row hover only zooms the poster. */
.ya-course-front-shell .thumb .les-play2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.ya-course-front-shell .thumb .les-play2 svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

.ya-course-front-shell .thumb .les-expand {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.ya-course-front-shell .thumb .les-expand svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: currentColor;
  transform: rotate(45deg);
}

.ya-course-front-shell .thumb .les-badge {
  position: absolute;
  left: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.5;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.ya-course-front-shell .lesson-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  color: #8c7266;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.ya-course-front-shell .lesson-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: #2f2926;
  margin: 0 0 8px;
}

.ya-course-front-shell .lesson-meta {
  font-size: 13px;
  color: #7d726b;
  line-height: 1.6;
}

.ya-course-front-shell .ya-course-bios-grid {
  display: grid;
  gap: 26px;
}

.ya-course-front-shell .bio {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(122, 35, 41, .10);
}

.ya-course-front-shell .bio:first-child {
  border-top: none;
  padding-top: 4px;
}

.ya-course-front-shell .bio-photo {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(55, 35, 27, .12);
}

.ya-course-front-shell .bio h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  line-height: .92;
  color: #5d171d;
  font-weight: 600;
}

.ya-course-front-shell .bio-role {
  margin: 0 0 14px;
  font-size: 14px;
  color: #8a776b;
}

.ya-course-front-shell .bio-copy {
  font-size: 16px;
  line-height: 1.8;
  color: #403834;
}

.ya-course-front-shell .ya-course-register-shell {
  width: 100%;
}

.ya-course-front-shell .register-band {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 18px;
  background: var(--bricks-color-hedxvx);
  color: #fff;
  box-shadow: 0 18px 30px rgba(108, 30, 36, .24);
  font-size: clamp(24px, 2.2vw, 34px);
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  margin-bottom: 22px;
}

.ya-course-front-shell .register-note {
  width: min(850px, 100%);
  font-size: 16px;
  line-height: 1.9;
  color: #403834;
  padding-left:12px;
}

@media (max-width: 920px) {
  .ya-course-front-shell .ya-course-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .ya-course-front-shell .ya-course-main-layout::before {
    inset: -70px 0 0 0;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.16) 8%, rgba(0,0,0,.40) 18%, rgba(0,0,0,.72) 28%, #000 40%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.16) 8%, rgba(0,0,0,.40) 18%, rgba(0,0,0,.72) 28%, #000 40%, #000 100%);
  }

  .ya-course-front-shell .ya-course-sidebar {
    order: 1;
  }

  .ya-course-front-shell .ya-course-main {
    order: 2;
    padding: 26px 18px 70px;
  }

  .ya-course-front-shell .ya-course-main-inner {
    width: 100%;
    max-width: 100%;
  }

  .ya-course-front-shell .ya-course-section {
    padding: 26px 22px 30px;
  }

  .ya-course-front-shell .ya-course-lede {
    width: 100%;
  }

  .ya-course-front-shell .bio {
    grid-template-columns: 1fr;
  }

  .ya-course-front-shell .module-head,
  .ya-course-front-shell .lesson {
    grid-template-columns: 1fr;
  }

  .ya-course-front-shell .thumb {
    width: 100%;
    max-width: none;
  }
}

.ya-course-front-shell .ya-course-lede > .brxe-shortcode {
  display: block;
}

.ya-course-front-shell .ya-course-content-shell > .brxe-shortcode {
  display: grid;
  gap: 22px;
}

.ya-course-front-shell .ya-course-bios-grid > .brxe-shortcode {
  display: grid;
  gap: 26px;
}

.ya-course-front-shell .ya-course-register-shell > .brxe-shortcode {
  display: block;
}
.ya-course-front-shell .lesson {
  cursor: pointer;
  border: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.ya-course-front-shell .lesson:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.70));
  box-shadow: inset 0 0 0 1px rgba(122,35,41,.06);
}

.ya-course-front-shell .ya-course-sidebar {
  color: #fff;
  z-index: 1;
}

.ya-course-front-shell .ya-course-rail-card {
  background: rgba(42, 39, 43, 0.26);
  backdrop-filter: blur(16px) saturate(116%);
  -webkit-backdrop-filter: blur(16px) saturate(116%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.ya-course-front-shell .ya-course-rail-card:last-child {
  margin-bottom: 0;
}

/* preview card is pure frosted glass (no dark tint), like the WP build */
.ya-course-front-shell .ya-course-rail-card:has(.ya-course-preview-wrap) {
  background: transparent;
}

.ya-course-front-shell .ya-course-preview-wrap {
  padding: 0;
}

.ya-course-front-shell .preview-open {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.ya-course-front-shell .preview-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(18, 20, 27, 0.42);
  box-shadow: 0 18px 40px rgba(55, 35, 27, 0.12);
}

.ya-course-front-shell .preview-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.ya-course-front-shell .preview-media.has-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(10, 15, 27, 0.78);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.ya-course-front-shell .preview-media.has-video::before {
  content: "";
  position: absolute;
  left: calc(50% + 4px);
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255, 255, 255, 0.95);
}

.ya-course-front-shell .ya-course-rail-card-body {
  padding: 20px 18px;
  width: 100%;
  box-sizing: border-box;
}

.ya-course-front-shell .ya-course-rail-label {
  margin: 0 0 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.ya-course-front-shell .fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
  font-size: 14px;
}

.ya-course-front-shell .fact:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ya-course-front-shell .fact-meta,
.ya-course-front-shell .fact-title,
.ya-course-front-shell .fact-icon {
  color: #fff;
}

.ya-course-front-shell .fact-title {
  font-weight: 700;
}

.ya-course-front-shell .fact strong,
.ya-course-front-shell .fact .meta,
.ya-course-front-shell .fact a {
  color: #fff;
  font-weight: 400;
}


.ya-course-front-shell .fact a:hover {
  text-decoration: underline;
}

.ya-course-front-shell .ya-course-cta.bricks-button {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 22px 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(118deg, #ffd9a0, #f0a04d 55%, #e8742c);
  color: #1d1006;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(201, 81, 34, .7);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ya-course-front-shell .ya-course-cta.bricks-button:hover {
  color: #1d1006;
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -10px rgba(201, 81, 34, .85);
}

.ya-course-front-shell .ya-course-cta.bricks-button > span {
  white-space: nowrap;
}

.ya-course-front-shell .ya-course-cta.bricks-button > svg {
  width: 28px;
  height: 12px;
  flex: 0 0 28px;
  display: block;
}

.ya-course-front-shell .ya-course-cta.bricks-button > svg path {
  fill: currentColor !important;
}

.ya-course-front-shell .ya-course-microcopy {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.ya-course-front-shell .ya-course-jump-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.ya-course-front-shell .ya-course-jump-link {
  display: flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  font-size: 13px;
  letter-spacing: .02em;
}

.ya-course-front-shell .ya-course-jump-link:hover,
.ya-course-front-shell .ya-course-jump-link.active {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateX(3px);
}

.ya-course-front-shell .ya-course-jump-link small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ya-course-front-shell .ya-course-rail-card--jump .brxe-code {
  width: 100%;
}

@media (max-width: 920px) {
  .brxe-container.single-service__inner.ya-course-main-layout.ya-course-wide {
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }

  .ya-course-front-shell .ya-course-sidebar {
    order: 1;
  }

  /* stacked sidebar: breathe between the preview and the Essential Info card */
  .ya-course-front-shell .ya-course-sidebar > .ya-course-rail-card {
    margin-bottom: 22px;
  }

  .ya-course-front-shell .ya-course-main {
    order: 2;
  }
}


@media (min-width: 921px) {
  .brxe-container.single-service__inner.ya-course-main-layout.ya-course-wide {
    width: min(1450px, calc(100vw - 48px)) !important;
    max-width: 1450px !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 420px minmax(0, 1fr) !important;
    column-gap: 40px !important;
    align-items: start !important;
  }

  .brxe-container.single-service__inner.ya-course-main-layout.ya-course-wide > .ya-course-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .brxe-container.single-service__inner.ya-course-main-layout.ya-course-wide > .ya-course-main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .ya-course-front-shell .ya-course-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ya-course-front-shell .ya-course-main-inner {
    width: 100% !important;
    max-width: none !important;
  }

  .ya-course-front-shell .ya-course-sidebar {
    position: sticky;
    top: 22px;
    align-self: start;
  }

  .ya-course-front-shell .ya-course-sidebar > .ya-course-rail-card {
    margin-bottom: 22px;
  }
}


@media (max-width: 920px) {
  .ya-course-front-shell .module-title {
    font-size: 15px;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .ya-course-front-shell .lesson-title {
    font-size: 16px;
    line-height: 1.32;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .ya-course-front-shell .module-count {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .ya-course-front-shell .lesson-kicker {
    font-size: 10px;
    letter-spacing: 0.16em;
    display: none;
  }

  .ya-course-front-shell .lesson-meta {
    font-size: 15px;
    line-height: 1.55;
  }

  .ya-course-front-shell .lesson {
    gap: 8px;
    padding: 18px 16px;
  }

  .ya-course-front-shell .thumb {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .ya-course-front-shell .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ya-course-front-shell .register-band {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: clamp(18px, 6vw, 28px);
    line-height: 1.12;
    padding: 18px 20px;
  }

  .ya-course-front-shell .register-note {
    width: 100%;
    font-size: 15px;
    line-height: 1.75;
    padding-left: 8px;
  }
}


@media (max-width: 920px) {
.ya-course-lede p {
    padding-left: 8px;
}

  .ya-course-front-shell .module-head {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2px;
    align-items: start;
  }

  .ya-course-front-shell .module-title {
    width: 100%;
  }

  .ya-course-front-shell .module-count {
    width: 100%;
    text-align: left;
    justify-self: end;
  }

  .ya-course-front-shell .lesson-title {
    width: 100%;
  }
  .ya-course-front-shell .ya-course-lede
  {
    font-size: 15px;
  }
}


.ya-course-front-shell .fact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 1;
}
.ya-course-front-shell .fact-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ya-course-front-shell .fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.ya-course-front-shell .fact-title {
  display: inline-block;
}

.ya-course-front-shell .bio {
  align-items: center;
}

.ya-course-front-shell .bio h3 {
  margin: 0 0 14px;
  font-size: clamp(42px, 4vw, 64px);
}

.ya-course-front-shell .bio-copy {
  width: min(850px, 100%);
  font-size: 17px;
  line-height: 1.8;
}

.ya-course-front-shell .preview-media,
.ya-course-front-shell .thumb {
  position: relative;
  overflow: hidden;
}

.ya-course-front-shell .preview-media img,
.ya-course-front-shell .thumb img {
  width: 100%;
  transition: transform .5s ease;
  transform: scale(1);
}

.ya-course-front-shell .preview-media:hover img,
.ya-course-front-shell .thumb:hover img {
  transform: scale(1.08);
}
.ya-course-front-shell .bio-photo {
  position: relative;
  overflow: hidden;
}

/* =========================================================================
   Public deltas — hero is /about-style; the body keeps the light WP build.
   ========================================================================= */

/* lessons are clickable (scroll to #register for now) */
.ya-course-front-shell .lesson { color: inherit; text-decoration: none; }

/* register CTA = fit-content gradient pill inside the full-width cream card */
.ya-course-front-shell .ya-course-register-cta { width: auto; display: inline-flex; margin-top: 0; margin-bottom: 18px; }
.crs-register-login { margin-top: 18px; padding-left: 12px; color: #7d726b; font-size: .92rem; }
.crs-register-login a { color: var(--bricks-color-hedxvx); text-decoration: none; font-weight: 600; }
.crs-register-login a:hover { text-decoration: underline; }

/* anchor offset for the fixed header */
#content, #register { scroll-margin-top: 96px; }

/* mobile sticky enroll bar */
.crs-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: center; gap: 14px; padding: 11px 16px; background: rgba(8,7,11,.92); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); border-top: 1px solid rgba(255,255,255,.1); }
.crs-sticky__price { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.12rem; white-space: nowrap; }
.crs-sticky .btn { flex: 1 1 auto; width: 100%; }
@media (max-width: 760px) { .crs-sticky { display: flex; } .single-service { padding-bottom: 92px; } }

/* =========================================================================
   /courses/<slug>/full — every lesson expanded inline (video + all its blocks)
   ========================================================================= */
.ya-course-front-shell .lessons--full { display: block; }

.ya-course-front-shell .lesson--full {
  display: block;
  padding: 24px 22px 26px;
  border-top: 1px solid rgba(122, 35, 41, .10);
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
}
.ya-course-front-shell .lesson--full:first-child { border-top: none; }

.ya-course-front-shell .lesson-full-head { margin-bottom: 14px; }
.ya-course-front-shell .lesson--full .lesson-kicker { margin: 0 0 6px; }
.ya-course-front-shell .lesson--full .lesson-title { margin: 0; font-size: 19px; }

/* clickable lesson video -> opens the shared popup player */
.ya-course-front-shell .crs-vid {
  all: unset;
  display: block;
  width: min(640px, 100%);
  margin: 0 0 16px;
  cursor: pointer;
}
.ya-course-front-shell .crs-vid .thumb {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ya-course-front-shell .crs-vid:hover .thumb { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(16, 12, 11, .22); }

/* rendered content blocks (course_blocks: html_snapshot / text / accordion / …) */
.ya-course-front-shell .lesson-full-body { width: 100%; }
.ya-course-front-shell .lesson-full-body .lb { margin: 0 0 16px; }
.ya-course-front-shell .lesson-full-body .lb:last-child { margin-bottom: 0; }
.ya-course-front-shell .lesson-full-body p { margin: 0 0 1em; }
.ya-course-front-shell .lesson-full-body p:last-child { margin-bottom: 0; }
.ya-course-front-shell .lesson-full-body img,
.ya-course-front-shell .lesson-full-body iframe,
.ya-course-front-shell .lesson-full-body video,
.ya-course-front-shell .lesson-full-body .ya-video-player { max-width: 100%; }
.ya-course-front-shell .lesson-full-body .lb-video { width: min(640px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.ya-course-front-shell .lesson-full-body .lb-acc {
  border: 1px solid rgba(122, 35, 41, .16);
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .42);
}
.ya-course-front-shell .lesson-full-body .lb-acc summary { cursor: pointer; font-weight: 700; color: #3f2926; }
.ya-course-front-shell .lesson-full-body a { color: var(--bricks-color-hedxvx); }
