.classes-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(216,69,13,.14), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(215,223,0,.13), transparent 28rem),
    linear-gradient(rgba(242,239,233,.9), rgba(242,239,233,.97)),
    url("../../assets/mural/bg-final.png") center 105px / min(1800px, 120vw) auto no-repeat fixed;
}

.classes-header { position: relative; background-color: rgba(246,244,239,.95); }
.classes-header .main-nav a[aria-current="page"] { color: var(--orange); border-color: var(--orange); }

.classes-main { width: min(1380px, calc(100% - 64px)); margin: 0 auto; padding: 42px 0 78px; }
.classes-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: 34px; padding: clamp(28px, 4vw, 52px); overflow: hidden; border: 1px solid rgba(6,43,64,.17); border-radius: 28px; background: linear-gradient(104deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.84) 58%, rgba(232,239,219,.74) 100%); box-shadow: 0 20px 50px rgba(6,43,64,.08); }
.classes-intro::before { content: "JAZDA"; position: absolute; right: 28%; bottom: -30px; color: rgba(6,43,64,.045); font: italic 900 clamp(90px, 15vw, 220px)/.7 Impact, "Arial Black", sans-serif; letter-spacing: -.07em; transform: rotate(-5deg); pointer-events: none; }
.classes-intro::after { content: ""; position: absolute; left: -22px; top: 25px; width: 8px; height: 70%; border-radius: 9px; background: var(--orange); transform: skewY(-17deg); }
.classes-intro__copy, .classes-help { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 8px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.classes-intro h1 { display: flex; flex-wrap: wrap; gap: 0 .2em; margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-size: clamp(48px, 5.1vw, 80px); font-weight: 900; line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.classes-intro h1 span { font-style: normal; }
.classes-intro h1 em { position: relative; color: var(--orange); font-style: normal; }
.classes-intro h1 em::after { content: ""; position: absolute; left: 3%; right: 2%; bottom: -.1em; height: .09em; border-radius: 99px; background: var(--lime); transform: rotate(-2deg); }
.classes-intro__copy > p:last-child { max-width: 680px; margin: 18px 0 0; color: #3f5c6a; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.55; }

.classes-help { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px 20px; align-items: center; padding: 17px 22px; color: white; background: var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.classes-help::before { content: "?"; grid-row: 1 / 3; color: var(--orange); font: italic 800 52px/.8 Impact, sans-serif; transform: rotate(8deg); }
.classes-help strong { font-size: 17px; text-transform: uppercase; }
.classes-help p { grid-column: 2; margin: -9px 0 0; font-size: 13px; opacity: .82; }
.classes-help a { grid-column: 3; grid-row: 1 / 3; display: inline-flex; gap: 20px; align-items: center; padding-bottom: 5px; color: var(--lime); border-bottom: 1px solid currentColor; text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }

.schedule { padding: clamp(22px, 2.5vw, 36px); border: 1px solid rgba(6,43,64,.22); border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: 0 24px 70px rgba(6,43,64,.1); backdrop-filter: blur(12px); }
.schedule__heading { display: grid; grid-template-columns: 1fr minmax(280px, 460px); align-items: end; gap: 40px; }
.schedule__heading h2 { margin: 0; font-size: clamp(32px, 3vw, 46px); letter-spacing: -.035em; text-transform: uppercase; }
.schedule__heading > p { margin: 0 0 5px; line-height: 1.5; color: #3b5665; }

.class-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin: 22px 0 14px; padding: 14px; border-radius: 18px; background: #e7e4dd; }
.class-filters label { display: grid; gap: 7px; }
.class-filters label > span { padding-left: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.class-filters select { width: 100%; min-height: 52px; padding: 0 42px 0 15px; border: 1px solid rgba(6,43,64,.35); border-radius: 10px; color: var(--ink); background: white; font: 700 15px inherit; }
.class-filters button, .schedule-empty button { min-height: 52px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 10px; color: var(--ink); background: transparent; font-weight: 800; cursor: pointer; }
.class-filters button:hover, .class-filters button:focus-visible, .schedule-empty button:hover, .schedule-empty button:focus-visible { color: white; background: var(--ink); }
.schedule-view-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 18px 4px 10px; }
.schedule-view-switcher { display: inline-flex; padding: 4px; border: 1px solid rgba(6,43,64,.18); border-radius: 999px; background: white; }
.schedule-view-switcher button { padding: 9px 14px; border: 0; border-radius: 999px; color: #526b79; background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.schedule-view-switcher button[aria-selected="true"] { color: white; background: var(--ink); }
.schedule-view-switcher button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.schedule-view-bar > p { margin: 0; color: #627883; font-size: 12px; font-weight: 700; }
.schedule-view-bar > p span { color: var(--orange); font-size: 15px; vertical-align: -1px; }
.schedule__summary { min-height: 24px; margin: 0 4px 16px; color: #506673; font-size: 13px; font-weight: 700; }

.schedule-calendar { margin-top: 6px; padding: 20px; border: 1px solid rgba(6,43,64,.18); border-radius: 19px; background: rgba(255,255,255,.7); }
.schedule-calendar__header { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 18px; }
.schedule-calendar__header h3 { min-width: 210px; margin: 0; text-align: center; font-size: 21px; text-transform: capitalize; }
.schedule-calendar__header button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(6,43,64,.35); border-radius: 50%; color: var(--ink); background: white; font-size: 20px; cursor: pointer; }
.schedule-calendar__header button:hover, .schedule-calendar__header button:focus-visible { color: white; background: var(--orange); }
.schedule-calendar__weekdays, .schedule-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.schedule-calendar__weekdays { gap: 5px; margin-bottom: 5px; color: #637984; font-size: 11px; font-weight: 900; text-align: center; text-transform: uppercase; }
.schedule-calendar__day { min-height: 132px; padding: 8px; border-top: 1px solid rgba(6,43,64,.17); border-left: 1px solid rgba(6,43,64,.12); background: rgba(255,255,255,.5); }
.schedule-calendar__day:nth-child(7n + 1) { border-left: 0; }
.schedule-calendar__day > span { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 5px; border-radius: 50%; color: #637984; font-size: 11px; font-weight: 900; }
.schedule-calendar__day.is-today > span { color: white; background: var(--orange); }
.schedule-calendar__day > div { display: grid; gap: 4px; }
.schedule-calendar__day--empty { background: rgba(6,43,64,.025); }
.calendar-event { display: grid; grid-template-columns: auto 1fr; gap: 3px 5px; width: 100%; padding: 5px; overflow: hidden; border: 0; border-left: 3px solid var(--ink); border-radius: 4px; color: var(--ink); background: #e6f1f3; font: inherit; text-align: left; cursor: pointer; }
.calendar-event time { color: #48636f; font-size: 10px; font-weight: 900; }
.calendar-event b { overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event small { grid-column: 1 / -1; color: #8b2f0c; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.calendar-event:hover, .calendar-event:focus-visible { color: white; background: var(--ink); outline: none; }
.calendar-event:hover time, .calendar-event:focus-visible time { color: var(--lime); }
.calendar-event--cancelled { border-left-color: #8f2530; color: #70212a; background: #f9e4e6; }
.calendar-event--rescheduled, .calendar-event--rescheduled-from { border-left-color: var(--orange); background: #fff0e8; }
.calendar-event--rescheduled-from { opacity: .7; }

.schedule__days { display: grid; gap: 22px; }
.schedule__days[hidden], .schedule-calendar[hidden] { display: none; }
.schedule-day { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
.schedule-day > header { padding: 21px 0 0; border-top: 4px solid var(--ink); }
.schedule-day > header span { display: none; }
.schedule-day > header h3 { margin: 0; font-size: 17px; text-transform: uppercase; }
.schedule-day > div { display: grid; gap: 10px; }

.group-card { display: grid; grid-template-columns: 104px minmax(0, 1fr) 190px; min-height: 166px; overflow: visible; border: 1px solid rgba(6,43,64,.35); border-radius: 18px; background: rgba(255,255,255,.78); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.group-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6,43,64,.1); }
.group-card__time { display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; background: var(--ink); }
.group-card__time strong { font-size: 30px; }
.group-card__time span { margin-top: 4px; font-size: 11px; opacity: .66; }
.group-card__main { padding: 20px 24px; }
.group-card__topline { min-height: 25px; display: flex; align-items: center; gap: 10px; color: #657783; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.group-card__topline > span:last-child { margin-left: auto; }
.group-card__badges, .class-dialog__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.group-status { padding: 5px 9px; border-radius: 99px; }
.group-status--positive { color: #195c42; background: #d9eee3; }
.group-status--waiting { color: #754714; background: #f4e4bd; }
.group-status--neutral { color: #40535e; background: #e4e8ea; }
.group-timing { padding: 5px 9px; border-radius: 99px; }
.group-timing--upcoming { color: #87320f; background: #ffe0cb; }
.group-timing--active { color: #195c42; background: #d9eee3; }
.group-timing--ended { color: #5e6870; background: #e4e8ea; }
.places-badge { padding: 5px 9px; border-radius: 99px; }
.places-badge--available { color: #195c42; background: #d9eee3; }
.places-badge--limited { color: #735613; background: #f6ebbc; }
.places-badge--last { color: #8b2f0c; background: #f8d7ca; }
.places-badge--full { color: white; background: #7b2930; }
.group-card h3 { margin: 9px 0 15px; font-size: clamp(20px, 1.65vw, 27px); line-height: 1.1; }
.group-card h3 button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: 800; line-height: inherit; text-align: left; cursor: pointer; }
.group-card h3 button:hover, .group-card h3 button:focus-visible { color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.group-card__details { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.group-card__details li { display: grid; grid-template-columns: auto auto; column-gap: 7px; align-items: baseline; }
.group-card__details li > span { color: #6c7d86; font-size: 11px; text-transform: uppercase; }
.group-card__details strong { font-size: 13px; }
.group-card__details small { grid-column: 2; margin-top: 3px; color: #60737e; font-size: 11px; }
.schedule-exceptions { margin-top: 15px; }
.schedule-exceptions > strong { display: block; margin-bottom: 7px; color: #8b2f0c; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.schedule-exceptions ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.schedule-exception { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; padding: 10px 12px; border-left: 4px solid var(--orange); color: #6d2b11; background: #fff0e8; }
.schedule-exception > span { margin-top: 1px; padding: 3px 6px; border-radius: 99px; color: white; background: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.schedule-exception p { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.45; }
.schedule-exception--cancelled { border-left-color: #8f2530; color: #70212a; background: #f9e4e6; }
.schedule-exception--cancelled > span { background: #8f2530; }
.schedule-exceptions--dialog { margin: 0 0 26px; }
.schedule-exceptions--dialog .schedule-exception { padding: 14px 16px; }
.schedule-exceptions--dialog .schedule-exception p { font-size: 14px; }
.group-card__more { margin-top: 14px; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; color: var(--orange); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.group-card__more span { margin-left: 7px; }
.group-card__cta { display: flex; justify-content: space-between; align-items: center; align-self: stretch; padding: 24px; border-left: 1px solid rgba(6,43,64,.18); color: var(--ink); background: rgba(255,255,255,.42); cursor: pointer; text-decoration: none; font-weight: 800; }
.group-card__cta b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--orange); font-size: 23px; }
.group-card__cta:hover, .group-card__cta:focus-visible { color: white; background: var(--orange); }
.group-card__cta:hover b, .group-card__cta:focus-visible b { color: var(--orange); background: white; }

.schedule-empty { padding: 50px 20px; text-align: center; }
.schedule-empty strong { display: block; font-size: 23px; }
.schedule-empty p { margin: 10px 0 22px; }
.classes-note { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 26px auto 0; }
.classes-note > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); font-weight: 900; }
.classes-note p { margin: 0; line-height: 1.45; }

.class-locations { margin-top: 48px; padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(6,43,64,.16); border-radius: 22px; background: linear-gradient(135deg, #f9fcfd, #eef6f1); scroll-margin-top: 24px; }
.class-locations__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); gap: 8px 32px; align-items: end; }
.class-locations__heading .eyebrow { grid-column: 1; margin: 0 0 3px; }
.class-locations__heading h2 { grid-column: 1; margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.03em; }
.class-locations__heading > p:last-child { grid-column: 2; grid-row: 1 / 3; margin: 0; color: #526b79; line-height: 1.5; }
.class-locations__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 28px; }
.class-location-card { display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 19px; border: 1px solid rgba(6,43,64,.14); border-radius: 15px; background: white; }
.class-location-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--orange); background: #fff0e8; font-size: 24px; }
.class-location-card h3 { margin: 0; font-size: 18px; }
.class-location-card p { margin: 4px 0 0; color: #526b79; font-size: 13px; line-height: 1.35; }
.class-location-card small { display: block; margin-top: 7px; color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.class-location-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.class-location-card a b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: white; background: var(--orange); font-size: 16px; }
.class-location-card a:hover, .class-location-card a:focus-visible { color: var(--orange); }

.class-dialog { width: min(760px, calc(100% - 32px)); max-height: min(820px, calc(100vh - 32px)); padding: 0; overflow: visible; border: 0; border-radius: 24px; color: var(--ink); background: transparent; }
.class-dialog::backdrop { background: rgba(2,22,33,.72); backdrop-filter: blur(4px); }
.class-dialog__frame { position: relative; max-height: min(820px, calc(100vh - 32px)); overflow: auto; padding: clamp(26px, 5vw, 52px); border-radius: 24px; background: var(--paper); box-shadow: 12px 12px 0 var(--lime); }
.class-dialog__close { position: absolute; z-index: 2; right: 18px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
.class-dialog__close:hover, .class-dialog__close:focus-visible { color: white; background: var(--ink); }
.class-dialog__header { padding-right: 45px; }
.class-dialog__header > p { margin: 0 0 9px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.class-dialog__header h2 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 54px); line-height: .98; letter-spacing: -.03em; }
.class-dialog__badges { margin-bottom: 26px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.class-dialog__description { margin: 0 0 28px; font-size: 17px; line-height: 1.55; }
.class-dialog__facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid rgba(6,43,64,.25); }
.class-dialog__facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 15px 10px 15px 0; border-bottom: 1px solid rgba(6,43,64,.18); }
.class-dialog__facts > div:nth-child(odd) { margin-right: 24px; }
.class-dialog__facts dt { color: #647781; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.class-dialog__facts dd { margin: 0; font-weight: 800; }
.class-dialog__facts small { display: block; margin-top: 4px; color: #647781; font-weight: 400; }
.class-dialog__notes { margin-top: 28px; padding: 20px 22px; background: white; }
.class-dialog__notes h3 { margin: 0 0 12px; font-size: 17px; text-transform: uppercase; }
.class-dialog__notes ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; line-height: 1.4; }
.class-dialog__footer { display: flex; justify-content: flex-end; margin-top: 28px; }
.class-dialog__footer a { min-width: 220px; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: white; background: var(--orange); text-decoration: none; font-weight: 800; }
.class-dialog__footer a span { font-size: 24px; }

@media (min-width: 681px) and (max-height: 850px) {
  .class-dialog { width: min(940px, calc(100% - 28px)); max-height: calc(100vh - 20px); }
  .class-dialog__frame { max-height: calc(100vh - 20px); padding: 28px 42px 26px; }
  .class-dialog__header h2 { margin-bottom: 12px; font-size: clamp(36px, 4vw, 46px); }
  .class-dialog__badges { margin-bottom: 17px; }
  .class-dialog__description { margin-bottom: 17px; font-size: 15px; line-height: 1.45; }
  .schedule-exceptions--dialog { margin-bottom: 17px; }
  .schedule-exceptions--dialog .schedule-exception { padding: 10px 13px; }
  .schedule-exceptions--dialog .schedule-exception p { font-size: 12px; }
  .class-dialog__facts > div { padding-top: 10px; padding-bottom: 10px; }
  .class-dialog__notes { margin-top: 17px; padding: 13px 18px; }
  .class-dialog__notes h3 { margin-bottom: 7px; font-size: 15px; }
  .class-dialog__notes ul { gap: 4px; font-size: 13px; }
  .class-dialog__footer { margin-top: 17px; }
  .class-dialog__footer a { padding-top: 12px; padding-bottom: 12px; }
}

@media (max-width: 1050px) {
  .classes-main { width: min(100% - 38px, 900px); padding-top: 32px; }
  .classes-intro { grid-template-columns: 1fr; gap: 22px; }
  .classes-help { width: min(100%, 620px); }
  .schedule__heading { grid-template-columns: 1fr; gap: 12px; }
  .class-filters { grid-template-columns: 1fr 1fr; }
  .schedule-view-bar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .class-locations__heading { grid-template-columns: 1fr; }
  .class-locations__heading > p:last-child { grid-column: 1; grid-row: auto; max-width: 540px; }
  .class-locations__grid { grid-template-columns: 1fr; }
  .schedule-day { grid-template-columns: 82px minmax(0, 1fr); }
  .group-card { grid-template-columns: 90px minmax(0, 1fr); }
  .group-card__cta { grid-column: 2; min-height: 64px; border-top: 1px solid rgba(6,43,64,.18); border-left: 0; padding: 12px 22px; }
}

@media (max-width: 680px) {
  .classes-page { background-position: 58% 80px, 85% 22%, center, 61% 72px; background-size: auto, auto, auto, 1000px auto; }
  .classes-main { width: calc(100% - 24px); padding: 24px 0 60px; }
  .classes-intro { gap: 17px; margin-bottom: 25px; padding: 29px 22px 27px; border-radius: 21px; }
  .classes-intro::before { right: -18px; bottom: -8px; font-size: 120px; }
  .classes-intro::after { left: -17px; top: 17px; width: 6px; }
  .classes-intro h1 { font-size: clamp(43px, 13vw, 62px); }
  .classes-intro__copy > p:last-child { margin-top: 12px; font-size: 15px; }
  .classes-help { grid-template-columns: auto 1fr; gap: 7px 14px; padding: 15px 17px; box-shadow: 5px 5px 0 var(--lime); }
  .classes-help::before { font-size: 45px; }
  .classes-help a { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 5px; }
  .schedule { padding: 26px 12px; border-radius: 20px; }
  .schedule__heading { padding: 0 6px; }
  .schedule__heading h2 { font-size: 34px; }
  .schedule__heading > p { display: none; }
  .class-filters { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; padding: 10px; }
  .class-filters select, .class-filters button { min-height: 46px; padding-left: 10px; font-size: 13px; }
  .class-filters label > span { font-size: 10px; }
  .schedule__summary { margin-bottom: 8px; }
  .schedule-view-bar { margin-top: 15px; }
  .schedule-view-bar > p { font-size: 11px; }
  .schedule-view-switcher { width: 100%; }
  .schedule-view-switcher button { flex: 1; padding: 9px 7px; font-size: 11px; }
  .schedule-calendar { padding: 12px 6px; border-radius: 14px; }
  .schedule-calendar__header { margin-bottom: 13px; }
  .schedule-calendar__header h3 { min-width: 170px; font-size: 18px; }
  .schedule-calendar__weekdays { font-size: 9px; }
  .schedule-calendar__day { min-height: 85px; padding: 4px 2px; }
  .schedule-calendar__day > span { width: 20px; height: 20px; margin-bottom: 3px; font-size: 9px; }
  .calendar-event { display: block; padding: 3px; border-left-width: 2px; }
  .calendar-event time, .calendar-event b { display: block; font-size: 8px; }
  .calendar-event small { display: none; }
  .schedule-day { display: block; }
  .schedule-day > header { display: flex; align-items: center; gap: 10px; padding: 14px 5px 9px; border-top-width: 2px; }
  .schedule-day > header span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; }
  .group-card { grid-template-columns: 76px minmax(0, 1fr); min-height: 0; border-radius: 14px; }
  .group-card__time strong { font-size: 23px; }
  .group-card__main { padding: 16px 14px; }
  .group-card__topline { align-items: flex-start; flex-direction: column; gap: 6px; }
  .group-card__topline > span:last-child { margin-left: 0; }
  .group-card h3 { margin-top: 12px; font-size: 21px; }
  .group-card__details { display: grid; gap: 9px; }
  .group-card__details li { grid-template-columns: 66px 1fr; }
  .schedule-exception { grid-template-columns: 1fr; }
  .schedule-exception > span { justify-self: start; }
  .group-card__cta { grid-column: 1 / -1; }
  .classes-note { align-items: flex-start; padding: 0 8px; font-size: 14px; }
  .class-locations { margin-top: 32px; padding: 25px 18px; border-radius: 18px; }
  .class-locations__grid { margin-top: 22px; }
  .class-location-card { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 16px; }
  .class-location-card a { grid-column: 1 / -1; justify-content: space-between; padding-top: 11px; border-top: 1px solid rgba(6,43,64,.12); }
  .class-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); border-radius: 17px; }
  .class-dialog__frame { max-height: calc(100vh - 18px); padding: 25px 18px; border-radius: 17px; box-shadow: 6px 6px 0 var(--lime); }
  .class-dialog__close { right: 12px; top: 12px; width: 38px; height: 38px; }
  .class-dialog__header { padding-right: 38px; }
  .class-dialog__header h2 { font-size: 34px; }
  .class-dialog__description { font-size: 15px; }
  .class-dialog__facts { grid-template-columns: 1fr; }
  .class-dialog__facts > div:nth-child(odd) { margin-right: 0; }
  .class-dialog__footer a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .group-card { transition: none; }
}
