/* The two index sections share equal columns within the existing 70% frame.
   These classes deliberately exclude Booking's preserved sizing reference. */
.section-deck .section3-preview .section-stage :is(.balanced-about, .balanced-lessons) {
  --balanced-gap: 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--balanced-gap);
}
/* The text alone sizes the row; the circle follows that exact height. */
.balanced-about .about-portrait { position:relative; align-self:stretch; min-width:0; }
.section-deck .section3-preview .section-stage .balanced-about .photo-placeholder {
  width:auto; height:100%;
}
.balanced-about .portrait-photo {
  position:absolute; top:0; left:50%; transform:translateX(-50%); overflow:hidden;
}
.balanced-about .portrait-photo img {
  position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover;
}
.section-deck .section3-preview .section-stage .balanced-about .about-body {
  align-self: center;
}
.section-deck .section3-preview .section-stage .balanced-lessons {
  grid-template-rows: auto;
  row-gap: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-stack {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-list {
  display: grid;
  /* One intrinsic price track aligns every EUR prefix and sizes the toggle
     from the price text itself, including the inline / lesson label. */
  grid-template-columns: minmax(0, 1fr) max-content;
  /* Equal rows take their shared height from the fullest card. */
  grid-template-rows: repeat(4, 1fr);
  gap: 16px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .vertical-card {
  display: grid;
  grid-column: 1 / -1;
  grid-row: auto;
  grid-template-columns: subgrid;
  /* Shorter descriptions keep their spare space inside the card, while
     every price stays anchored to the same bottom inset. */
  grid-template-rows: max-content minmax(0, 1fr);
  align-items: start;
  gap: 6px 16px;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 12px 24px;
  border-radius: 16px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-title {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: none;
}
/* Solid white borders remain consistent at rest, on hover and on focus. */
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-option {
  border-color: #fff;
}
/* A quiet lilac/rose halo draws attention to the introductory call. */
.section-deck .section3-preview .section-stage .balanced-lessons .featured-option {
  box-shadow:
    0 0 0 1px rgba(239, 211, 244, .42),
    0 0 24px 4px rgba(197, 157, 219, .30),
    0 0 52px 8px rgba(240, 175, 204, .22);
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-description {
  grid-column: 1;
  grid-row: 2;
  line-height: 1.5;
}
.section-deck .section3-preview .section-stage .balanced-lessons .card-foot {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-price {
  text-align: left;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-price small {
  display: inline;
  margin: 0 0 0 6px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .subscription-booking {
  /* Measure the complete price line, even if its grid cell is narrower. */
  width: max-content;
  max-width: none;
  padding: 0;
  border: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lesson-arrow {
  position: absolute;
  top: 12px;
  right: 24px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .frequency-switch {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
  justify-self: end;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, 22px);
  position: relative;
  top: 0;
  z-index: 1;
  min-width: 0;
  box-sizing: border-box;
  width: var(--subscription-price-width, 100%);
  max-width: none;
  margin: 0;
  border-color: #fff;
  border-radius: 16px;
  transform: none;
}
.section-deck .section3-preview .section-stage .balanced-lessons .frequency-switch label {
  padding: 3.5px 3px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .frequency-switch::before {
  inset: 3px 3px 50%;
  border-radius: 12px;
  transition:
    top .7s cubic-bezier(.22, .8, .25, 1),
    bottom .7s cubic-bezier(.45, 0, .2, 1);
}
.section-deck .section3-preview .section-stage .balanced-lessons .frequency-switch:has(#twice-weekly:checked)::before {
  inset: 50% 3px 3px;
  transition-timing-function:
    cubic-bezier(.45, 0, .2, 1),
    cubic-bezier(.22, .8, .25, 1);
}
.section-deck .section3-preview .section-stage .balanced-lessons .subscription-plans,
.section-deck .section3-preview .section-stage .balanced-lessons .subscription-plan {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  min-width: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .subscription-plan .card-foot {
  padding-top: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .yki-block {
  /* Match the other cards' border box so all price baselines coincide. */
  border: 1px solid transparent;
  background: #292929;
}
.section-deck .section3-preview .section-stage .balanced-lessons .yki-block:hover,
.section-deck .section3-preview .section-stage .balanced-lessons .yki-block:focus-visible {
  background: #3a3a3a;
}
.section-deck .section3-preview .section-stage .balanced-lessons .yki-heading {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: nowrap;
}
.section-deck .section3-preview .section-stage .balanced-lessons .yki-description {
  grid-column: 1;
  grid-row: 2;
}
.section-deck .section3-preview .section-stage .balanced-lessons .yki-price {
  justify-content: flex-start;
  text-align: left;
  border: 0;
  margin: 0;
}
.section-deck .section3-preview .section-stage .balanced-lessons .pricing-note {
  margin-top: 12px;
}
.section-deck .section3-preview .section-stage .balanced-lessons .lessons-editorial {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
@media (prefers-reduced-motion: reduce) {
  .section-deck .section3-preview .section-stage .balanced-lessons .frequency-switch::before {
    transition: none;
  }
}

/* Match the index ink without changing notices on other pages. */
body.section3-preview .page-notice {
  color: #292929;
  box-shadow: 0 8px 32px #29292912;
}
