/* Record book page. Builds on the shared history-* styles in creative.css. */
.records-main { padding-top: 0; }
/* Hero follows the homepage hero: photo on the right, navy gradient from the left. */
.hero--records { min-height: 520px; border: 0; background: #03132e; color: #fff; margin-bottom: 40px; }
.hero--records .hero__photo { left: 28%; width: 72%; opacity: 1; object-position: 55% 30%; }
.hero--records .hero__shade { background: linear-gradient(90deg,#03132e 9%,#03132ef2 28%,#03132e8c 45%,#03132e00 66%),linear-gradient(0deg,#03132e85,transparent 40%); }
.hero--records .hero__inner { min-height: 520px; justify-content: center; padding-top: 56px; padding-bottom: 48px; gap: 18px; }
.hero--records .history-back { color: #c9d4ee; margin: 0; width: fit-content; }
.hero--records .hero__pills .mono { font: 600 12px var(--display); letter-spacing: .08em; color: #c9d4ee; }
.hero--records h1 { font-size: clamp(64px, 8vw, 118px); line-height: .88; letter-spacing: -.02em; color: #fff; width: fit-content; }
.hero--records .lede { font-size: 17px; max-width: 400px; line-height: 1.6; color: #dce3f2; margin: 0; }
.pins-photo { margin: 0 0 18px; }
.pins-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.pins-photo figcaption { font-size: 13px; color: #41516b; line-height: 1.5; padding-top: 10px; }
.pins-photo figcaption b { color: #223185; font-weight: 800; }
.records-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 18px; border-top: 1px solid #b8c6db; }
.records-jump a { color: #223185; font-size: 14px; font-weight: 700; padding-block: 8px; text-underline-offset: 4px; }
.records-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #b8c6db; border-bottom: 1px solid #b8c6db; margin-bottom: 20px; }
.records-totals div { display: flex; flex-direction: column; gap: 6px; padding: 26px 20px; }
.records-totals div:first-child { padding-left: 0; }
.records-totals b { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: #223185; font-weight: 900; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.records-totals span { font-size: 13px; color: #41516b; }

.records-block { padding-top: clamp(44px, 6vw, 80px); scroll-margin-top: 20px; }
.records-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.records-head h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: .96; letter-spacing: -.02em; }
.records-head p { color: #41516b; font-size: 15px; max-width: 46ch; margin: 0; }
.records-head sup, .records-main .num sup { color: #223185; font-weight: 800; }

.champ-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px; }
.champ-list li { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #03132e; color: white; }
.champ-list .champ-year { font-size: 40px; font-weight: 900; font-stretch: 75%; line-height: 1; color: #b5c8ff; font-variant-numeric: tabular-nums; }
.champ-list b { font-size: 21px; font-weight: 800; line-height: 1.15; }
.champ-list li > span:last-child { font-size: 13px; color: #c6d3ed; }

.leader-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.leader-board h3 { font-size: 26px; line-height: 1.05; }
.leader-board .mono { color: #4c5c76; font-size: 11px; margin: 6px 0 14px; }
.leader-board ol, .season-list { list-style: none; margin: 0; padding: 0; }
.leader-board li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: baseline; padding-block: 10px; border-bottom: 1px solid #d5deec; }
.leader-board li:first-child { border-top: 2px solid #03132e; }
.leader-board .rank { font-size: 13px; color: #4c5c76; font-variant-numeric: tabular-nums; }
.leader-board b { font-size: 16px; font-weight: 700; }
.records-main .num { font-size: 17px; font-weight: 800; color: #223185; font-variant-numeric: tabular-nums; white-space: nowrap; }

.season-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 45px; }
.season-list li { display: grid; grid-template-columns: 1fr auto 130px; gap: 14px; align-items: center; padding-block: 12px; border-bottom: 1px solid #d5deec; }
.season-list b { font-size: 17px; font-weight: 700; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; justify-self: end; }
.tag--champ { background: #223185; color: white; padding: 5px 9px; }
.tag--final { color: #223185; border: 1px solid #223185; padding: 4px 8px; }

.records-main .history-tools { margin-block: 0 20px; }
#records-count { font-size: 14px; color: #41516b; margin: 0 0 15px; }
.records-year { padding-block: 24px; }
.records-year h3 { font-size: 44px; font-variant-numeric: tabular-nums; color: #223185; line-height: 1; }
.records-year li { flex-direction: column; justify-content: start; gap: 3px; }
.records-year li b { font-size: 18px; font-weight: 750; }
.records-year li span { padding-top: 0; }
.records-year .state-place { font-size: 13px; font-weight: 750; color: #03132e; }
.records-year .is-champ .state-place { color: #223185; }
.records-year .is-champ b::after { content: "★"; color: #223185; margin-left: 8px; font-size: 15px; }
.conf-era { padding-block: 26px 4px; border-top: 2px solid #03132e; }
.conf-era + .records-year { border-top: 0; }
.conf-era h3 { font-size: 26px; }
.conf-era p { font-size: 14px; color: #41516b; margin: 6px 0 0; max-width: 60ch; }
#conference-list .conf-era:not(:first-child) { margin-top: 40px; }
.records-year[hidden], .records-year li[hidden], .conf-era[hidden] { display: none; }
.records-source { grid-template-columns: 1fr; margin-top: 60px; }

@media (max-width: 1100px) {
  .hero--records .hero__photo { left: 20%; width: 80%; }
}
@media (max-width: 759px) {
  .hero--records, .hero--records .hero__inner { min-height: 600px; }
  .hero--records .hero__photo { left: 0; top: 0; width: 100%; height: 72%; object-position: 50% 30%; }
  .hero--records .hero__shade { background: linear-gradient(0deg,#03132e 10%,#03132ee8 33%,#03132e3b 70%,#03132e25 100%); }
  .hero--records .hero__inner { justify-content: flex-end; padding-top: 230px; padding-bottom: 30px; gap: 14px; }
  .hero--records h1 { font-size: clamp(60px, 15vw, 100px); }
  .hero--records .lede { font-size: 15px; }
}
@media (max-width: 900px) {
  .leader-grid { grid-template-columns: 1fr 1fr; }
  .season-list { grid-template-columns: 1fr; }
  .records-year h3 { font-size: 38px; }
}
@media (max-width: 600px) {
  .records-totals { grid-template-columns: 1fr 1fr; }
  .records-totals div { padding: 20px 12px 20px 0; }
  .records-totals div:nth-child(n+3) { border-top: 1px solid #d5deec; }
  .leader-grid { grid-template-columns: 1fr; gap: 34px; }
  .season-list li { grid-template-columns: 1fr auto; }
  .season-list .tag { grid-column: 1 / -1; justify-self: start; }
  .season-list .tag--none { display: none; }
  .champ-list { grid-template-columns: 1fr 1fr; }
  .champ-list li { padding: 16px; }
  .champ-list .champ-year { font-size: 32px; }
  .champ-list b { font-size: 17px; }
  .records-year { padding-block: 20px; }
  .records-year h3 { font-size: 34px; }
}
