/* =========================================================
   Game Prep — Weather
   Save as styles/football-game-prep-weather.css
   ========================================================= */

.weather-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );
  gap: 11px;
  margin-bottom: 13px;
}

.weather-summary-card {
  min-width: 0;
  padding: 15px 16px;
  background: #ffffff;
  border:
    1px solid
    rgba(
      15,
      35,
      64,
      0.1
    );
  border-top:
    4px solid
    var(--wruf-orange);
  border-radius: 13px;
  box-shadow:
    0 10px 22px
    rgba(
      15,
      23,
      42,
      0.05
    );
}

.weather-summary-card span,
.weather-summary-card strong {
  display: block;
}

.weather-summary-card span {
  color: var(--wruf-orange);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weather-summary-card strong {
  margin-top: 5px;
  color: var(--wruf-blue);
  font-size: 1.02rem;
  line-height: 1.25;
}

.weather-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border:
    1px solid
    rgba(
      15,
      35,
      64,
      0.1
    );
  border-radius: 15px;
  box-shadow:
    0 12px 28px
    rgba(
      15,
      23,
      42,
      0.06
    );
}

.weather-game-table {
  width: 100%;
  min-width: 850px;
  margin: 0;
  border-collapse: collapse;
}

.weather-game-table thead {
  color: #ffffff;
  background: var(--wruf-blue);
}

.weather-game-table th,
.weather-game-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom:
    1px solid
    rgba(
      15,
      35,
      64,
      0.08
    );
}

.weather-game-table thead th {
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.weather-game-table tbody th {
  min-width: 115px;
  color: var(--wruf-blue);
  background: #fff7f2;
}

.weather-game-table tbody th span,
.weather-game-table tbody th strong {
  display: block;
}

.weather-game-table tbody th span {
  color: var(--wruf-orange);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weather-game-table tbody th strong {
  margin-top: 3px;
  font-size: 0.9rem;
}

.weather-game-table td {
  color: var(--wruf-blue);
  font-size: 0.83rem;
  font-weight: 750;
  white-space: nowrap;
}

.weather-game-table tr:last-child th,
.weather-game-table tr:last-child td {
  border-bottom: none;
}

.weather-source-note {
  margin: 12px 0 2rem;
  padding: 13px 15px;
  color: var(--wruf-muted);
  background: #f8fafc;
  border-left:
    4px solid
    var(--wruf-blue);
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.weather-source-note strong {
  color: var(--wruf-blue);
}

.weather-pending-card {
  margin-bottom: 2rem;
  padding: 17px;
  color: var(--wruf-muted);
  background: #ffffff;
  border:
    1px solid
    rgba(
      15,
      35,
      64,
      0.1
    );
  border-left:
    5px solid
    var(--wruf-orange);
  border-radius: 13px;
}

@media (max-width: 850px) {
  .weather-summary-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }
}

@media (max-width: 520px) {
  .weather-summary-grid {
    grid-template-columns: 1fr;
  }
}
