/* ============================================================
   YLHS MUSTANGS FOOTBALL — SCHEDULE / RESULTS / STANDINGS
   Page-specific layout. Enqueued by page ID (see functions.php).
   Game-card + schedule-grid styles are shared (component.css).
   ============================================================ */

/* ---------- 1. Hero controls ---------- */
.page-schedule .schedule-hero__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 26px;
}
.page-schedule .schedule-hero__controls .hero__badges {
  margin-top: 0;
}
.page-schedule .season-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-schedule .season-select__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver-light);
}
.page-schedule .season-select select {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
}
.page-schedule .season-select select option {
  color: var(--text-body);
}

/* ---------- 2. Consolidated schedule ---------- */
.page-schedule .sched-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}
.page-schedule .sched-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 22px;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.page-schedule .sched-tab:hover {
  color: var(--crimson);
}
.page-schedule .sched-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--crimson);
}
.page-schedule .sched-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.page-schedule .sched-panel {
  display: none;
}
.page-schedule .sched-panel.is-active {
  display: block;
}

/* ---------- 3. Standings ---------- */
.page-schedule .standings-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.page-schedule .standings {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.page-schedule .standings th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--crimson);
  text-align: center;
  padding: 16px;
  border-bottom: 2px solid var(--border-mid);
  white-space: nowrap;
}
.page-schedule .standings th:nth-child(2) {
  text-align: left;
}
.page-schedule .standings td {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  text-align: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border-light);
}
.page-schedule .standings tbody tr:last-child td {
  border-bottom: 0;
}
.page-schedule .standings__rank {
  width: 48px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.page-schedule .standings__team {
  text-align: left !important;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-heading);
}
.page-schedule .standings tbody tr:hover {
  background: var(--bg-surface);
}
.page-schedule .standings .is-ylhs {
  background: var(--crimson-dim);
}
.page-schedule .standings .is-ylhs:hover {
  background: var(--crimson-dim);
}
.page-schedule .standings .is-ylhs .standings__team {
  color: var(--crimson);
}
.page-schedule .standings .is-ylhs .standings__rank {
  color: var(--crimson);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .page-schedule .sched-tab {
    padding: 12px 16px;
    font-size: 14px;
  }
}
