/* Class cards and their final width are present in the built HTML. */
html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .mindbody-wrapper {
  align-items: stretch;
}
html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .mindbody-wrapper > .tabs.w-tabs,
html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .tabs_menu,
html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .tabs-content {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

/* Match both explanation intervals to the responsive class-card gap. */
html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list { --sb-class-description-gap: var(--sb-space-content, 24px); }
html[data-wf-page="67e8f54e49800e847a80c072"] body .classes-list .tabs_menu {
  margin-bottom: 0 !important;
  padding-bottom: var(--sb-class-description-gap) !important;
}
.sb-class-level-description {
  color: #0a031f;
  font: 400 16px/1.5 Inter, Arial, sans-serif;
}

html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .sb-class-level-description {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto var(--sb-class-description-gap) !important;
  padding: 0;
  text-align: center;
}

@media(max-width:767px) {
  html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list { --sb-class-description-gap: 16px; }
}

/* Native panels reveal one complete explanation in the shared neutral body ink. */
.sb-class-level-copy {
  min-width: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.w--tab-active > .sb-class-level-description .sb-class-level-copy {
  animation: sb-class-level-reveal 280ms cubic-bezier(.23, 1, .32, 1) both;
}
@keyframes sb-class-level-reveal {
  from { opacity: .35; filter: blur(3px); }
  to { opacity: 1; filter: blur(0); }
}
/* Keyboard navigation resolves immediately with the complete text visible. */
.tabs:has(.tabs_tab:focus-visible) .sb-class-level-copy {
  animation-duration: 0s;
  animation-delay: 0s;
}
@media(max-width:767px) {
  .sb-class-level-description { font-size: 14px; }
  html[data-wf-page="67e8f54e49800e847a80c072"] .classes-list .sb-class-level-description { padding: 0; text-align: left; }
  .classes-list .sb-class-level-copy { text-wrap: pretty; }
  .classes-list .sb-class-level-copy br { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  .w--tab-active > .sb-class-level-description .sb-class-level-copy { animation: none; }
}

/* Existing class-card surface and compact Schedule component. */
.classes-list .sb-class-card { min-width: 0; }
.classes-list .sb-class-card .hc_header { display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin:0 0 8px; padding:0; }
.classes-list .sb-class-card .class_name { margin:0 !important; font:700 20px/1.5 Inter,Arial,sans-serif !important; text-transform:none !important; color:#0a031f; }
.classes-list .sb-class-card .class_description { margin:0 0 20px; font:400 16px/1.5 Inter,Arial,sans-serif; text-transform:none; color:#424242; opacity:1; }
.classes-list .sb-class-card .class_offered_link { padding:0; }
.classes-list .sb-class-card .sb-button--schedule { font-family:Inter,Arial,sans-serif; }

/* Native tabs select immediately. Incoming cards rise and gently straighten.
   Only opacity and transform change, so the final grid never moves.
   @starting-style bridges display:none without hiding the readable fallback. */
.classes-list .sb-class-card {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  transform-origin: 50% 100%;
  transition: opacity 280ms cubic-bezier(.23, 1, .32, 1), transform 280ms cubic-bezier(.23, 1, .32, 1);
}
.classes-list .sb-class-card:nth-child(2) { transition-delay: 120ms; }
.classes-list .sb-class-card:nth-child(3) { transition-delay: 240ms; }
.classes-list .sb-class-card:nth-child(4) { transition-delay: 360ms; }
.classes-list .sb-class-card:nth-child(5) { transition-delay: 480ms; }
.classes-list .sb-class-card:nth-child(6) { transition-delay: 600ms; }
.classes-list .sb-class-card:nth-child(7) { transition-delay: 720ms; }
.classes-list .sb-class-card:nth-child(8) { transition-delay: 840ms; }
.classes-list .sb-class-card:nth-child(9) { transition-delay: 960ms; }
.classes-list .sb-class-card:nth-child(10) { transition-delay: 1080ms; }
.classes-list .sb-class-card:nth-child(11) { transition-delay: 1200ms; }
@starting-style {
  .classes-list .w--tab-active .sb-class-card { opacity: 0; transform: translateY(24px) rotate(-1.5deg); }
  .classes-list .w--tab-active .sb-class-card:nth-child(even) { transform: translateY(24px) rotate(1.5deg); }
}
.classes-list .tabs:has(.tabs_tab:focus-visible) .sb-class-card { transition: none; }
@media(max-width:767px) {
  .classes-list .sb-class-card {
    transition-duration:650ms;
    transition-timing-function:cubic-bezier(.25,.46,.45,.94);
  }
  @starting-style {
    .classes-list .w--tab-active .sb-class-card,
    .classes-list .w--tab-active .sb-class-card:nth-child(even) { opacity:0; transform:translateY(12px); }
  }
  .w--tab-active > .sb-class-level-description .sb-class-level-copy {
    animation:sb-mobile-class-copy 500ms cubic-bezier(.25,.46,.45,.94) both;
  }
  @keyframes sb-mobile-class-copy {
    from { opacity:.35; }
    to { opacity:1; }
  }
}
@media(prefers-reduced-motion:reduce) {
  .classes-list .sb-class-card { transition: none; }
  .w--tab-active > .sb-class-level-description .sb-class-level-copy { animation:none; }
}

@media (max-width: 767px) {
  /* The mobile schedule is the active surface while its overlay is visible. */
  body:has(#hcPopup.open) :is(.elfsight-app-ed46556e-e917-4816-a43b-4f49e2df1151, .eapps-instagram-chat-ed46556e-e917-4816-a43b-4f49e2df1151-custom-css-root) {
    display: none !important;
  }
}
