@media (min-width: 851px) and (max-width: 1180px) {
  nav { gap: 15px; }
  .nav-cta { padding-inline: 14px; }
}

.history-hero {
  min-height: 560px;
  padding: 95px clamp(24px, 7vw, 110px) 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 8vw;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(4, 14, 29, .96) 0%, rgba(7, 23, 46, .82) 52%, rgba(7, 23, 46, .58) 100%), url('assets/matchday/spring-2025-pachuca/pachuca-01.jpeg') center 52% / cover no-repeat;
}
.history-hero::before { content: "2024"; position: absolute; right: -2vw; top: -50px; color: rgba(255, 255, 255, .035); font: 900 360px 'Barlow Condensed'; }
.history-hero > * { position: relative; z-index: 1; }
.history-hero h1 { max-width: 980px; margin: 22px 0 28px; font: 900 clamp(68px, 9vw, 132px) / .77 'Barlow Condensed'; letter-spacing: -.04em; }
.history-hero h1 em { color: #0878f9; font-style: normal; -webkit-text-stroke: 1px #67b3ff; }
.history-hero > div > p:last-child { max-width: 680px; color: #cbd9ea; font-size: 17px; line-height: 1.65; }
.promotion-mark { padding: 28px 0 26px 26px; border-left: 5px solid #0878f9; }
.promotion-mark span { color: #75b9ff; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.promotion-mark strong { display: block; margin: 12px 0; font: 900 68px / .77 'Barlow Condensed'; }
.promotion-mark p { margin: 0; color: #a9bdd4; font-size: 13px; line-height: 1.5; }
.squad-hero { background: linear-gradient(90deg, rgba(4, 14, 29, .96) 0%, rgba(7, 23, 46, .8) 56%, rgba(7, 23, 46, .52) 100%), url('assets/matchday/spring-2025-pachuca/pachuca-04.jpeg') center 48% / cover no-repeat; }
.schedule-hero { background: linear-gradient(90deg, rgba(4, 14, 29, .97) 0%, rgba(7, 23, 46, .88) 54%, rgba(7, 23, 46, .58) 100%), url('assets/matchday/spring-2024-fountain-city/fountain-city-09.jpeg') center 46% / cover no-repeat; }

.history-page { background: #f7f9fc; }
.history-intro { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 8vw; align-items: end; }
.history-intro > p { color: #5e6d7e; font-size: 17px; line-height: 1.7; }
.season-timeline { margin-top: 68px; border-top: 1px solid #cad4df; }
.season-card { min-height: 220px; padding: 32px 26px; display: grid; grid-template-columns: 170px minmax(0, 1fr) 180px; gap: 40px; align-items: center; border-bottom: 1px solid #cad4df; transition: background .2s ease, color .2s ease; }
.season-card:hover { background: #fff; }
.season-year span, .season-year b { display: block; }
.season-year span { color: #0878f9; font: 900 58px / .8 'Barlow Condensed'; }
.season-year b { margin-top: 12px; color: #6a798b; font-size: 12px; letter-spacing: .18em; }
.season-tag { margin: 0 0 8px; color: #0878f9; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.season-story h3 { margin: 0 0 12px; color: #07172e; font: 800 34px / .95 'Barlow Condensed'; }
.season-story > p:last-child { max-width: 680px; margin: 0; color: #637184; font-size: 15px; line-height: 1.65; }
.season-record { text-align: right; }
.season-record span, .season-record small { display: block; color: #7c8b9d; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.season-record strong { display: block; margin: 7px 0; color: #07172e; font: 900 48px 'Barlow Condensed'; }
.schedule-hero .season-record strong { color: #fff; }
.season-card--milestone { margin-inline: -12px; padding-inline: 38px; color: #fff; background: #0878f9; border-bottom: 0; }
.season-card--milestone:hover { background: #0878f9; }
.season-card--milestone .season-year span, .season-card--milestone .season-year b, .season-card--milestone .season-tag, .season-card--milestone .season-story h3, .season-card--milestone .season-record strong { color: #fff; }
.season-card--milestone .season-story > p:last-child, .season-card--milestone .season-record span, .season-card--milestone .season-record small { color: #d8ebff; }

@media (max-width: 850px) {
  .history-hero { grid-template-columns: 1fr; min-height: 620px; gap: 38px; }
  .promotion-mark { max-width: 290px; }
  .history-intro { grid-template-columns: 1fr; gap: 24px; }
  .season-card { grid-template-columns: 130px 1fr; }
  .season-record { grid-column: 2; text-align: left; }
}

@media (max-width: 560px) {
  .history-hero { min-height: auto; padding: 76px 20px 56px; }
  .history-hero::before { font-size: 220px; top: 10px; }
  .history-hero h1 { font-size: clamp(60px, 18vw, 86px); }
  .season-timeline { margin-top: 48px; }
  .season-card { min-height: 0; padding: 28px 14px; grid-template-columns: 1fr; gap: 22px; }
  .season-card--milestone { margin-inline: -6px; padding-inline: 20px; }
  .season-record { grid-column: 1; text-align: left; }
  .season-year span { font-size: 48px; }
}
