/* Schedule pages — editorial YOGO calendar and class descriptions */
.schedule-hero { position: relative; min-height: min(76svh, 760px); display: grid; align-items: end; overflow: hidden; color: var(--white); }
.schedule-hero__image, .schedule-hero__image.site-image { position: absolute; inset: 0; }
.site-image--schedule-hero { background-image: url("../images/photography/hero-carousel-2.jpg"); background-position: center 45%; }
.schedule-hero__inner { position: relative; z-index: 1; width: min(calc(100% - (2 * var(--gutter))), 1440px); margin-inline: auto; padding: 12rem 0 clamp(4.5rem,9vh,7rem); }
.schedule-hero h1 { max-width: 950px; }
.schedule-hero__inner > p:not(.eyebrow) { max-width: 620px; margin: 2rem 0 0; font-size: clamp(1.12rem,1.8vw,1.45rem); line-height: 1.55; }
.schedule-hero__inner > .button { margin-top: 1.75rem; }
.schedule-section-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); align-items: end; gap: clamp(2rem,6vw,6rem); margin-bottom: clamp(2.5rem,5vw,4.5rem); }
.schedule-section-heading > p { max-width: 450px; margin: 0 0 .65rem auto; color: var(--ink-soft); }
.schedule-calendar-panel { position: relative; padding: clamp(1rem,3vw,2.5rem); overflow: hidden; border: 1px solid var(--line); border-radius: clamp(1.5rem,3vw,2.75rem); background: var(--white); box-shadow: 0 24px 70px rgba(62,42,33,.08); }
.schedule-calendar-panel .yogo-calendar { min-height: 360px; }
.schedule-class-list { border-top: 1px solid var(--line); }
.schedule-class { border-bottom: 1px solid var(--line); }
.schedule-class summary { position: relative; display: grid; grid-template-columns: 80px minmax(0,1fr) 46px; align-items: center; gap: 1rem; padding: clamp(1.6rem,3vw,2.5rem) 0; cursor: pointer; list-style: none; }
.schedule-class summary::-webkit-details-marker { display: none; }
.schedule-class__number { align-self: start; padding-top: .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; }
.schedule-class__title { font-family: var(--display); font-size: clamp(1.8rem,3.5vw,3.35rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.schedule-class__toggle { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; }
.schedule-class__toggle::before, .schedule-class__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%,-50%); transition: transform .25s ease; }
.schedule-class__toggle::after { transform: translate(-50%,-50%) rotate(90deg); }
.schedule-class[open] .schedule-class__toggle::after { transform: translate(-50%,-50%) rotate(0); }
.schedule-class__content { display: grid; grid-template-columns: 80px minmax(0,800px) 1fr; gap: 1rem; padding: 0 0 clamp(3rem,6vw,5rem); }
.schedule-class__content .editorial-prose { grid-column: 2; }
.schedule-class__image { grid-column: 2; margin-bottom: 1.75rem; border-radius: 16px; overflow: hidden; }
.schedule-class__image img { display: block; width: 100%; height: auto; }
.schedule-class__content h4 { margin: 0 0 1.35rem; font-family: var(--display); font-size: clamp(1.45rem,2.2vw,2rem); font-weight: 500; line-height: 1.2; }
.schedule-class__content p, .schedule-class__content li { color: var(--ink-soft); }
.schedule-class__content ul, .schedule-class__content ol { margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.schedule-class__content li { position: relative; padding: .6rem 0 .6rem 1.75rem; border-bottom: 1px solid rgba(37,31,29,.1); }
.schedule-class__content li::before { content: "✓"; position: absolute; left: 0; color: var(--wine); font-weight: 600; }
.schedule-class__content a { color: var(--wine); text-underline-offset: .18em; }
.cta-panel-maroon { color: var(--white); background: var(--wine-dark); padding-block: 50px; }
.cta-panel-maroon__grid { display: grid; grid-template-columns: minmax(0,1.5fr) auto; align-items: end; gap: 3rem; }
.cta-panel-maroon__grid h2 { max-width: 850px; font-size: clamp(2.6rem,5vw,5rem); }
.cta-panel-maroon__grid p:not(.eyebrow) { max-width: 650px; margin-top: 1.75rem; color: rgba(255,255,255,.74); }
.cta-panel-maroon__grid .button-row { justify-content: flex-end; }
.cta-panel-maroon__grid .button--text { color: var(--white); }
@media (max-width: 980px) {
  .schedule-section-heading, .cta-panel-maroon__grid { grid-template-columns: 1fr; align-items: start; }
  .schedule-section-heading > p { margin-left: 0; }
  .cta-panel-maroon__grid .button-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .schedule-hero { min-height: 620px; }
  .schedule-class summary { grid-template-columns: 44px minmax(0,1fr) 38px; gap: .65rem; }
  .schedule-class__toggle { width: 36px; height: 36px; }
  .schedule-class__content { grid-template-columns: 44px minmax(0,1fr); gap: .65rem; }
  .schedule-class__content .editorial-prose { grid-column: 2; }
  .schedule-class__image { grid-column: 2; }
  .schedule-calendar-panel { margin-inline: calc(var(--gutter) * -.35); padding: .65rem; border-radius: 1.25rem; }
}
