.schedule-page {
  min-width: 320px;
  background: #fff;
  color: #161616;
  font-family: var(--t-text-font);
}

.schedule-page .wc-header { background: #fff; }

.schedule-board:focus-visible { outline: 3px solid #e21c2a; outline-offset: -3px; }
.schedule-archive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px clamp(20px, 3vw, 52px);
  border-bottom: 1px solid #d7d7d7;
  background: #f3f3f3;
  font-size: 14px;
  line-height: 1.5;
}
.schedule-archive p { margin: 0; }
.schedule-archive strong { display: block; }
.schedule-archive a { color: #c81624; font-weight: var(--weight-bold); }
.schedule-page .schedule-event--cancelled { background: #fafafa; color: #777; }
.schedule-page--archive .schedule-event { height: auto; min-height: 138px; }
.schedule-event__badge {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 6px;
  border-radius: 3px;
  background: #e4e4e4;
  color: #555;
  font-size: 9px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.schedule-main { padding-block: clamp(24px, 3vw, 48px); }

.schedule-heading { margin-bottom: clamp(24px, 4vw, 52px); }

.schedule-heading h1,
.schedule-frame-heading h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: var(--type-h1);
  font-style: italic;
  font-weight: var(--weight-display);
  line-height: var(--line-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.schedule-heading h1 span {
  display: block;
  margin-top: .18em;
  color: #e21c2a;
  font-size: .5em;
  letter-spacing: 0;
}

.schedule-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-block: 1px solid #d8d8d8;
}

.schedule-status__note { margin: 0; font-size: var(--type-body); font-weight: var(--weight-medium); line-height: var(--line-body); }

.schedule-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.schedule-filters button {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #b8b8b8;
  border-radius: 999px;
  background: #fff;
  color: #161616;
  font: var(--weight-bold) var(--type-button)/var(--line-ui) var(--t-text-font);
  cursor: pointer;
}

.schedule-filters button:hover,
.schedule-filters button:focus-visible,
.schedule-filters button.is-active {
  border-color: #e21c2a;
  background: #e21c2a;
  color: #fff;
}

.schedule-filters button:focus-visible,
.schedule-frame-heading__link:focus-visible,
.schedule-frame__help a:focus-visible { outline: 3px solid rgba(226, 28, 42, .28); outline-offset: 3px; }

.schedule-swipe-note { display: none; }

.schedule-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.schedule-day {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f3;
}

.schedule-day > header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px;
  background: #171717;
  color: #fff;
}

.schedule-day > header span { color: #ef2735; font-weight: var(--weight-bold); }
.schedule-day > header h2 { margin: 0; font-family: var(--t-text-font); font-size: var(--type-body); font-weight: var(--weight-bold); line-height: var(--line-ui); }
.schedule-day__events { display: grid; gap: 8px; padding: 8px; }

.schedule-event {
  position: relative;
  min-width: 0;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.schedule-event time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: #e21c2a;
  font-size: var(--type-lead);
  font-weight: var(--weight-bold);
  line-height: var(--line-ui);
}

.schedule-event time svg,
.schedule-event__place svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.schedule-event h3 { margin: 0 0 10px; font-family: var(--t-text-font); font-size: var(--type-body); font-weight: var(--weight-bold); line-height: var(--line-heading); overflow-wrap: anywhere; }
.schedule-event__coach { margin: 0 0 8px; color: #555; font-size: var(--type-small); line-height: var(--line-body); }
.schedule-event__place { display: flex; min-width: 0; gap: 5px; margin: 0; color: #555; font-size: 12px; line-height: var(--line-body); overflow-wrap: anywhere; }
.schedule-event--kids { border-top: 4px solid #f1a51c; }
.schedule-day__empty { margin: 8px; color: #666; font-size: 13px; }

.schedule-footnotes { display: grid; gap: 8px; margin-top: 28px; padding: 20px; border-radius: 16px; background: #f5f5f3; }
.schedule-footnotes p { margin: 0; font-size: var(--type-small); line-height: var(--line-body); }

.schedule-faq {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: clamp(36px, 8vw, 120px);
  margin-top: clamp(64px, 9vw, 130px);
  padding-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid #d8d8d8;
}

.schedule-faq__intro h2 { margin: 12px 0 20px; font-family: var(--t-headline-font); font-size: var(--type-h2); font-style: italic; font-weight: var(--weight-display); line-height: var(--line-display); letter-spacing: 0; text-transform: uppercase; }
.schedule-faq__intro > p:last-child { max-width: 340px; color: #5f5f5f; font-size: var(--type-body); line-height: var(--line-body); }
.schedule-faq__eyebrow { margin: 0; color: #e21c2a; font-size: var(--type-small); font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; }
.schedule-faq__list details { border-top: 1px solid #cfcfcf; }
.schedule-faq__list details:last-child { border-bottom: 1px solid #cfcfcf; }
.schedule-faq__list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--t-text-font); font-size: var(--type-lead); font-weight: var(--weight-medium); line-height: var(--line-ui); cursor: pointer; list-style: none; }
.schedule-faq__list summary::-webkit-details-marker { display: none; }
.schedule-faq__list summary span::before { content: '+'; display: block; color: #e21c2a; font-size: 28px; line-height: .7; }
.schedule-faq__list details[open] summary span::before { content: '−'; }
.schedule-faq__list details p { max-width: 720px; margin: -6px 0 24px; color: #555; font-size: var(--type-body); line-height: var(--line-body); }

.schedule-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.schedule-frame-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.schedule-frame-heading__eyebrow { margin: 0 0 10px; color: #e21c2a; font-size: var(--type-small); font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; }
.schedule-frame-heading h1 { font-size: var(--type-h1); }
.schedule-frame-heading__link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 52px; padding: 14px 24px; border-radius: var(--radius-sm); background: #e21c2a; color: #fff; font: var(--weight-bold) var(--type-button)/var(--line-ui) var(--t-text-font); text-decoration: none; }
.schedule-frame { overflow: hidden; border: 1px solid #d8d8d8; border-radius: 18px; }

.schedule-frame iframe {
  display: block;
  width: 100%;
  height: max(800px, 82vh);
  border: 0;
  background: #fff;
}

.schedule-frame__help { margin: 0; padding: 14px 18px; border-top: 1px solid #d8d8d8; background: #f5f5f3; color: #555; font-size: var(--type-small); line-height: var(--line-body); text-align: center; }
.schedule-frame__help a { color: #c81624; font-weight: var(--weight-bold); }

@media (max-width: 700px) {
  .schedule-main { padding-block: 16px 28px; }
  .schedule-heading h1,
  .schedule-frame-heading h1 { font-size: clamp(44px, 14vw, 64px); }
  .schedule-status { align-items: flex-start; flex-direction: column; }
  .schedule-filters { width: 100%; }
  .schedule-filters button { flex: 1 1 auto; padding-inline: 12px; }
  .schedule-swipe-note { display: block; margin: 18px 0 8px; color: #777; font-size: 12px; text-align: center; }
  .schedule-board { display: flex; gap: 10px; margin-top: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .schedule-day { min-width: min(84vw, 330px); scroll-snap-align: start; }
  .schedule-faq { grid-template-columns: 1fr; gap: 24px; }
  .schedule-faq__intro h2 { margin-bottom: 12px; }
  .schedule-frame-heading { align-items: flex-start; flex-direction: column; }
  .schedule-frame iframe { height: max(720px, 84vh); }
  .schedule-frame__help { text-align: left; }
}

/* Reference layout: a precise, print-like seven-day timetable. */
.schedule-masthead {
  position: relative;
  display: grid;
  min-height: clamp(92px, 8vw, 132px);
  place-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, #ee1827 0 67%, #f46c76 67% 78%, #e91322 78% 100%);
}
.schedule-masthead::before,
.schedule-masthead::after { position: absolute; inset-block: 0; content: ''; transform: skewX(-38deg); }
.schedule-masthead::before { right: 19%; width: 10%; background: rgba(255, 255, 255, .12); }
.schedule-masthead::after { right: 2%; width: 18%; background: rgba(255, 255, 255, .05); }
.schedule-masthead a { position: relative; z-index: 1; display: block; width: clamp(190px, 17vw, 290px); text-decoration: none; }
.schedule-masthead img { display: block; width: 100%; height: auto; }
.schedule-masthead a span { display: block; margin-top: -2px; color: #fff; font-size: clamp(11px, .9vw, 15px); font-weight: var(--weight-bold); letter-spacing: .28em; text-align: center; }
.schedule-main { padding: 0 0 clamp(44px, 5vw, 80px); }
.schedule-sheet { width: 100%; }
.schedule-heading { margin: 0; padding: clamp(20px, 2.2vw, 38px) 20px 16px; background: #f3f3f3; text-align: center; }
.schedule-heading h1 {
  max-width: none;
  margin: 0 auto;
  font-family: var(--t-text-font);
  font-size: clamp(30px, 3vw, 53px);
  font-style: normal;
  font-weight: var(--weight-bold);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.schedule-heading h1 span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  color: #d66a72;
  font-size: .72em;
  font-weight: var(--weight-light);
  letter-spacing: .01em;
  text-transform: none;
}
.schedule-heading h1 span::before,
.schedule-heading h1 span::after { width: min(25vw, 320px); height: 2px; background: #e21c2a; content: ''; }
.schedule-board { gap: 0; margin-top: 0; border-bottom: 1px solid #d7d7d7; }
.schedule-day { border: 0; border-right: 1px solid #d7d7d7; border-radius: 0; background: #fff; }
.schedule-day:first-child { border-left: 1px solid #d7d7d7; }
.schedule-day > header {
  justify-content: center;
  gap: 0;
  min-height: 45px;
  padding: 11px 8px;
  background: linear-gradient(180deg, #ed1424, #d80717);
}
.schedule-day > header span { display: none; }
.schedule-day > header h2 { font-size: 14px; line-height: 1; text-transform: uppercase; }
.schedule-day__events { gap: 0; padding: 0; }
.schedule-event {
  box-sizing: border-box;
  height: 138px;
  min-height: 122px;
  padding: 13px 15px 10px;
  border-bottom: 1px solid #d7d7d7;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.schedule-event time { margin-bottom: 8px; color: #d8535e; font-size: 18px; font-weight: var(--weight-medium); }
.schedule-event time svg,
.schedule-event__place svg { width: 14px; height: 14px; }
.schedule-event h3 { margin-bottom: 4px; font-size: 14px; line-height: 1.22; }
.schedule-event__coach { margin-bottom: 7px; color: #333; font-size: 13px; line-height: 1.2; }
.schedule-event__place { color: #b4b4b4; font-size: 11px; font-weight: var(--weight-bold); line-height: 1.25; }
.schedule-event--kids { border-top: 0; }
.schedule-footnotes { gap: 7px; margin: 0; padding: 34px clamp(24px, 3vw, 52px) 28px; border-radius: 0; background: #fff; }
.schedule-footnotes p { color: #666; font-size: 13px; line-height: 1.35; }
.schedule-footnotes strong { color: #222; }

@media (max-width: 1100px) {
  .schedule-swipe-note { display: block; margin: 18px 0 8px; color: #777; font-size: 12px; text-align: center; }
  .schedule-board { display: flex; gap: 0; margin-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .schedule-day { flex: 0 0 min(42vw, 270px); min-width: min(42vw, 270px); border-left: 0; scroll-snap-align: start; }
  .schedule-day:first-child { border-left: 1px solid #d7d7d7; }
  .schedule-event { height: auto; min-height: 138px; }
}

@media (max-width: 700px) {
  .schedule-main { padding-block: 0 28px; }
  .schedule-masthead { min-height: 78px; }
  .schedule-heading h1 { font-size: clamp(28px, 8vw, 42px); }
  .schedule-heading h1 span { gap: 9px; font-size: .72em; }
  .schedule-heading h1 span::before,
  .schedule-heading h1 span::after { width: 16vw; }
  .schedule-board { gap: 0; margin-top: 0; }
  .schedule-day { min-width: min(82vw, 330px); border-left: 0; }
  .schedule-day:first-child { border-left: 1px solid #d7d7d7; }
  .schedule-event { height: auto; min-height: 122px; }
}

/* Club schedule wrapper follows the shared World Class type system. */
.schedule-frame-page .schedule-main {
  padding-block: var(--section-m) var(--section-l);
}
.schedule-frame-page .schedule-frame-heading {
  align-items: flex-end;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.schedule-frame-page .schedule-frame-heading__eyebrow {
  margin-bottom: 12px;
  color: var(--brand-red);
  font-family: var(--t-text-font);
  font-size: var(--type-small);
  font-style: normal;
  font-weight: var(--weight-bold);
  line-height: var(--line-ui);
  letter-spacing: .06em;
}
.schedule-frame-page .schedule-frame-heading h1 {
  max-width: 980px;
  font: italic var(--weight-display) var(--type-h1)/var(--line-display) var(--t-headline-font);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
.schedule-frame-page .schedule-frame-heading__link {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: var(--brand-red);
  font: var(--weight-bold) var(--type-button)/var(--line-ui) var(--t-text-font);
}
.schedule-frame-page .schedule-frame__help {
  font: var(--weight-regular) var(--type-small)/var(--line-body) var(--t-text-font);
}
.schedule-frame-page .schedule-frame__help a { font-weight: var(--weight-bold); }

@media (max-width: 700px) {
  .schedule-frame-page .schedule-main { padding-block: var(--section-s) var(--section-m); }
  .schedule-frame-page .schedule-frame-heading { align-items: flex-start; }
  .schedule-frame-page .schedule-frame-heading h1 { font-size: clamp(44px, 14vw, 64px); }
}
