.schedule-hero {
  padding-top: var(--space-20);
}

.schedule-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-10);
  align-items: center;
}

.schedule-hero__lead {
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.schedule-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.schedule-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  font-size: var(--font-size-sm);
}

.schedule-hero__meta dt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.schedule-hero__meta dd {
  font-weight: 600;
}

.schedule-hero__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 260px;
}

.schedule-filters__form {
  margin-top: var(--space-6);
}

.schedule-filters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.schedule-filters__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.schedule-section-header {
  max-width: 720px;
  margin: 0 auto var(--space-6);
}

.schedule-section-header--row {
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.schedule-overview__cta {
  flex-shrink: 0;
}

.schedule-table-wrapper {
  margin-top: var(--space-4);
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.schedule-table thead {
  background: linear-gradient(90deg, rgba(255, 33, 85, 0.14), rgba(20, 20, 31, 0.9));
}

.schedule-table th,
.schedule-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: var(--font-size-sm);
}

.schedule-table th {
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.schedule-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

.schedule-table tbody tr:hover {
  background-color: rgba(255, 33, 85, 0.06);
}

.schedule-table__actions-col {
  text-align: right;
}

.schedule-table__actions {
  text-align: right;
}

.schedule-spot {
  font-weight: 600;
}

.schedule-spot--available {
  color: var(--color-success);
}

.schedule-spot--limited {
  color: var(--color-warning);
}

.schedule-spot--full {
  color: var(--color-danger);
}

.schedule-notice {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
}

.schedule-group-classes__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.schedule-group-classes__list li + li {
  margin-top: var(--space-4);
}

.schedule-group-classes__cta {
  margin-top: var(--space-6);
}

.schedule-group-classes__side-card {
  align-self: stretch;
}

.schedule-trainers__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.schedule-trainers__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.schedule-trainers__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
}

.schedule-trainers__note {
  margin-top: 0;
}

.schedule-descriptions__intro {
  margin: 0 auto var(--space-8);
}

.schedule-descriptions__grid {
  gap: var(--space-6);
}

.schedule-highlights__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.schedule-highlights__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.schedule-highlights__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
}

.schedule-highlights__note {
  margin-top: 0;
}

.schedule-preparation__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.schedule-preparation__list {
  counter-reset: prep-counter;
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}

.schedule-preparation__list > li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: var(--space-4);
}

.schedule-preparation__list > li::before {
  counter-increment: prep-counter;
  content: counter(prep-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.schedule-preparation__card {
  align-self: stretch;
}

.schedule-preparation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.schedule-faq__intro {
  margin: 0 auto var(--space-6);
}

.schedule-faq__grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.schedule-faq__item {
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  padding: var(--space-4);
}

.schedule-faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-weight: 600;
}

.schedule-faq__item summary::-webkit-details-marker {
  display: none;
}

.schedule-faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.schedule-faq__content {
  margin-top: var(--space-3);
}

.schedule-support__grid {
  align-items: stretch;
  gap: var(--space-10);
}

.schedule-support__list li + li {
  margin-top: var(--space-2);
}

.schedule-support__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--font-size-xs);
}

@media (max-width: 1024px) {
  .schedule-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-hero__media {
    order: -1;
  }

  .schedule-hero {
    padding-top: var(--space-16);
  }

  .schedule-section-header--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 960px) {
  .schedule-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .schedule-hero__meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-filters__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-table {
    min-width: 640px;
  }

  .schedule-support__actions {
    flex-direction: column;
  }
}
