/* Special Derby page overrides — shared layout/table styles from /derby/styles.css */

.section-heading {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.schedule-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted, rgba(255, 255, 255, 0.65));
}

.week-schedule-wrap {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.week-schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.week-day {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.35rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.week-day:hover:not(:disabled),
.week-day:focus-visible:not(:disabled) {
  border-color: var(--accent, #7eb8ff);
  background: rgba(126, 184, 255, 0.08);
  outline: none;
}

.week-day:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.week-day.active {
  border-color: var(--accent, #7eb8ff);
  background: rgba(126, 184, 255, 0.12);
}

.week-day__name {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.week-day__derby {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.25;
}

.derby-info {
  width: 100%;
  padding-top: 0.25rem;
}

.derby-info__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.derby-info__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted, rgba(255, 255, 255, 0.75));
  line-height: 1.45;
}

@media (max-width: 900px) {
  .week-schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .week-schedule {
    grid-template-columns: 1fr;
  }
}
