/* ============================================================
   WEEKLY CLASS SCHEDULE
   Scoped to .sched-* so nothing here can collide with the
   Webflow-generated stylesheets.
   ============================================================ */

.sched-section {
  background-color: var(--neutral-800, #141414);
  padding: 90px 0;
  /* Keep the heading clear of the fixed Webflow header on #schedule links. */
  scroll-margin-top: 110px;
}

.sched-head {
  max-width: 720px;
  margin: 0 0 44px;
}

.sched-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--lime-green, #70b444);
}

.sched-title {
  margin: 0 0 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.15;
  color: var(--neutral-100, #fff);
}

.sched-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--neutral-500, #bdbdbd);
}

.sched-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

/* Day label in its own column, classes stacked beside it. A day can hold more
   than one class, so the right-hand side is a column rather than a single row. */
.sched-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #2b2b2b;
}
.sched-row:first-child { border-top: 1px solid #2b2b2b; }

.sched-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: var(--lime-green, #70b444);
  color: var(--neutral-800, #141414);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Rest days keep the column rhythm but drop the green so the eye skips them. */
.sched-row--rest .sched-day {
  background-color: transparent;
  border: 1px solid #3a3a3a;
  color: var(--neutral-500, #bdbdbd);
}

.sched-classes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.sched-class {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 20px;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  background-color: #1b1b1b;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
a.sched-class:hover {
  border-color: var(--lime-green, #70b444);
  transform: translateX(4px);
}

.sched-name {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--neutral-100, #fff);
}

.sched-time {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .6px;
  color: var(--lime-green, #70b444);
  white-space: nowrap;
}

.sched-rest {
  padding: 14px 0;
  font-size: 15px;
  color: var(--neutral-600, #626262);
}

.sched-foot {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--neutral-500, #bdbdbd);
}
.sched-foot a { color: var(--lime-green, #70b444); text-decoration: underline; }
.sched-foot strong { color: var(--neutral-100, #fff); font-weight: 700; }

@media (max-width: 700px) {
  .sched-section { padding: 64px 0; }
  .sched-title { font-size: 32px; }
  .sched-row { grid-template-columns: 1fr; gap: 10px; }
  .sched-day { align-self: start; }
  /* Name above time once the row can no longer hold both comfortably. */
  .sched-class { flex-direction: column; align-items: flex-start; }
}
