/* Mobile schedule: keep every row inside the viewport and use the same columns
   for the date/title and format/price pairs. */
@media (max-width: 767px) {
  html body .schedule-section-mobile .schedule-section {
    box-sizing: border-box !important;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  html body .schedule-section-mobile .schedule-main-classes {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(104px, 1fr) minmax(0, 1.5fr) 32px !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body .schedule-section-mobile .schedule-main-classes .date-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  html body .schedule-section-mobile .schedule-main-classes .schedule-course-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }

  html body .schedule-section-mobile .schedule-main-classes .schedule-toggle {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: start !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  html body .schedule-section-mobile .schedule-main-classes .div-block-40 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
  }

  html body .schedule-section-mobile .schedule-main-classes .div-block-67,
  html body .schedule-section-mobile .schedule-main-classes .price-pill {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
  }

  html body .schedule-section-mobile .schedule-main-classes .schedule-course-price {
    white-space: nowrap !important;
  }

  /* The Webflow export assigns the toggle an area beyond the third column. */
  html body .schedule-section-mobile #w-node-aba6df65-1ca3-b153-c3cc-17f29f83d795-28fbad14 {
    grid-area: auto !important;
    order: initial !important;
    place-self: auto !important;
  }
}
