
.top-nav {
  background: #1d5b91;
  border-top: 4px solid rgba(255,255,255,.75);
  border-bottom: 4px solid rgba(255,255,255,.9);
}
.top-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}
.top-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: clamp(.78rem, 1.7vw, 1.05rem);
  font-weight: 650;
  letter-spacing: .02em;
}
.top-nav a:hover,
.top-nav a.active { background: #087bb9; color: #43e9ef; }

.team-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,94,150,.15), rgba(0,166,200,.05)),
    url("HOME-PAGE-tt-background.jpg") center/cover no-repeat;
}
.team-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,19,27,.86) 0%, rgba(5,19,27,.57) 52%, rgba(5,19,27,.13) 100%);
}
.team-hero-content { position: relative; z-index: 1; color: #fff; padding: 70px 0 58px; }
.team-hero-content h1 { font-size: clamp(3rem, 7vw, 5.6rem); }

.current-seasons { padding: 68px 0 74px; background: #eef3f6; }
.section-heading { max-width: 840px; margin-bottom: 32px; }
.section-heading h2,
.social-grid h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.04em; }
.section-heading > p:last-child { color: #4b626d; line-height: 1.6; }

.current-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.season-card {
  min-height: 205px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,126,152,.12);
  box-shadow: 0 15px 36px rgba(4,20,28,.08);
}
.season-card.featured { color: #fff; background: linear-gradient(135deg, #075e9a, #00a6c8); border-color: transparent; }
.season-top span { display: block; margin-bottom: 8px; color: #007e98; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.season-card.featured .season-top span { color: #c7f7ff; }
.season-top strong { display: block; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; }
.season-card p { color: #526873; line-height: 1.55; }
.season-card.featured p { color: rgba(255,255,255,.9); }
.season-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.season-actions a,
.season-actions button,
.row-actions button {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #087bb9;
  color: #fff;
  font: inherit;
  font-size: .83rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.season-card.featured .season-actions a { background: #fff; color: #075e9a; }
.season-actions .secondary,
.row-actions .secondary { background: #e7f7fa; color: #007e98; }

.archive-section { padding: 70px 0 76px; background: #fff; }
.archive-heading { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.archive-heading > p { margin: 0; }
.archive-table { overflow: hidden; border-radius: 20px; border: 1px solid rgba(0,126,152,.12); box-shadow: 0 18px 42px rgba(4,20,28,.09); }
.archive-head, .archive-row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
.archive-head { padding: 16px 22px; background: linear-gradient(135deg, #075e9a, #00a6c8); color: #fff; font-size: .77rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.archive-row { padding: 15px 22px; border-bottom: 1px solid #e5eef1; }
.archive-row:nth-child(odd) { background: #f8fbfc; }
.archive-row:last-child { border-bottom: 0; }
.archive-row > strong { color: #123a49; }

.social-section { padding: 58px 0; background: #eef8fa; }
.social-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.social-grid p:last-child { color: #4b626d; }
.social-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 999px; background: #1d5b91; color: #fff; font-weight: 850; text-decoration: none; }

.roster-dialog,
.image-dialog {
  width: min(900px, calc(100% - 28px));
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: auto;
  box-shadow: 0 28px 80px rgba(0,30,48,.35);
}
.roster-dialog::backdrop,
.image-dialog::backdrop { background: rgba(4,20,28,.76); backdrop-filter: blur(4px); }
.dialog-content { padding: 32px; background: #fff; }
.dialog-content h2 { margin: 22px 0 24px; font-size: clamp(2rem, 5vw, 3rem); }
.dialog-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 12px 12px -54px 0;
  border: 0;
  border-radius: 50%;
  background: #0b2932;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.roster-banner { display: block; width: 100%; max-height: 390px; object-fit: contain; border-radius: 14px; background: #eef3f6; }
.athlete-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.athlete-grid span { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #f4f9fa; color: #173641; font-weight: 780; }
.athlete-grid small { color: #67808a; font-weight: 650; }
.dialog-note { margin-top: 18px; color: #657984; font-size: .9rem; }
.image-dialog-content img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #eef3f6; border-radius: 12px; }

@media (max-width: 860px) {
  .top-nav-inner { grid-template-columns: repeat(2, 1fr); }
  .top-nav a { border-bottom: 1px solid rgba(255,255,255,.12); }
  .archive-heading { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .current-grid { grid-template-columns: 1fr; }
  .archive-head { display: none; }
  .archive-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .social-grid { grid-template-columns: 1fr; }
  .athlete-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .team-hero { min-height: 360px; }
  .team-hero-content { padding: 54px 0 44px; }
  .dialog-content { padding: 22px; }
}
