/* // ==========================================================================
// Schedule / programme grid
// ========================================================================== */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #c2b9a9;
  padding: 0.45rem 0.85rem;
}

.schedule-table thead th {
  background: var(--plum);
  color: #fff;
  border-color: var(--dark-plum);
  font-family: var(--font-ui);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.schedule-table td {
  vertical-align: middle;
  text-align: center;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--warm-white);
}

.schedule-table tr:first-child td,
.schedule-table tr:last-child td {
  font-weight: 600;
}

/* One table per day, side by side on wide screens and stacked with a gap on
   narrow ones. Scales to any number of days without extra CSS. */
.schedule-columns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.schedule-columns .schedule-table {
  /* flex-basis 0 so the columns share the width evenly regardless of how long
     the names inside them are; min-width 0 lets them shrink below content. */
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .schedule-columns {
    flex-direction: column;
  }

  .schedule-table {
    font-size: 0.8rem;
  }
}
