:root {
  --night: #031129;
  --navy: #071f49;
  --blue: #0057b8;
  --electric: #26a7ff;
  --ice: #eaf6ff;
  --gold: #ffd23f;
  --red: #b30b45;
  --white: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #d9e4ef;
  --paper: #f3f7fb;
  --shadow: 0 28px 80px rgba(3, 17, 41, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

 .social-card img.social-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(3, 17, 41, 0.96), rgba(7, 31, 73, 0.9));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand span span {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1;
}

.brand span span {
  margin-top: 4px;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 900;
}

.nav a:hover,
.nav a.active {
  color: var(--night);
  background: var(--gold);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  padding: clamp(80px, 10vw, 130px) clamp(18px, 6vw, 86px) 56px;
  color: var(--white);
  overflow: hidden;
  background: var(--night);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 17, 41, 0.96) 0%, rgba(3, 17, 41, 0.68) 44%, rgba(3, 17, 41, 0.12) 100%),
    var(--hero-image, url("../../photos/home/hero-team.jpg")) center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border-left: 5px solid var(--gold);
  padding: 8px 12px;
  color: var(--ice);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 18px;
  color: var(--night);
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 8px;
  color: var(--night);
  font-size: 1.08rem;
}

.hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
}

.button.primary {
  color: var(--night);
  background: var(--gold);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card,
.contact-card {
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 17, 41, 0.78);
}

.hero-card-link {
  display: block;
}

.hero-card-live {
  border-color: rgba(46, 204, 113, 0.72);
  box-shadow: 0 28px 80px rgba(46, 204, 113, 0.18);
}

.hero-card span,
.contact-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card .match-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-card .match-status-live {
  color: #2ecc71;
}

.live-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.72);
  animation: livePulse 1.6s ease-out infinite;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.hero-card-cta {
  display: inline-flex;
  margin-top: 14px;
  border-bottom: 2px solid currentColor;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 86px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head p,
.contact p,
.page-intro p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: var(--navy);
}

.stat-strip div {
  min-height: 132px;
  padding: 28px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.stat-strip span {
  color: var(--ice);
  font-weight: 800;
}

.grid-3,
.gallery-grid,
.sponsor-grid,
.fame-grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sponsor-grid {
  grid-template-columns: repeat(4, 1fr);
}

.fame-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.card-body {
  padding: 20px;
}

.card-top {
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.card-top span {
  display: inline-flex;
  margin-bottom: 24px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--night);
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.card-top strong {
  display: block;
  font-size: 1.35rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-item img,
.fame-grid img,
.sponsor-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: var(--ice);
}

.gallery-item {
  display: block;
  border: 0;
  border-radius: 8px;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  overflow: hidden;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 72px clamp(16px, 4vw, 48px) 32px;
  background: rgba(3, 17, 41, 0.94);
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
  background: var(--night);
  box-shadow: var(--shadow);
}

.gallery-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--night);
  background: var(--gold);
  font-weight: 900;
}

.fame-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fame-card img {
  height: 100%;
  min-height: 180px;
}

.fame-card div {
  padding: 20px;
}

.sponsor-card {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.sponsor-card img {
  max-height: 90px;
  object-fit: contain;
}

.main-sponsor-block {
  display: grid;
  gap: 28px;
}

.main-sponsor-card {
  display: grid;
  grid-template-columns: minmax(320px, 48vw) 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 1000px) {
  .main-sponsor-card {
    grid-template-columns: 1fr;
  }
}

.main-sponsor-image {
  display: grid;
  place-items: center;
  background: var(--ice);
  border-radius: 18px;
  padding: 18px;
}

.main-sponsor-image img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .main-sponsor-image img {
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .main-sponsor-image img {
    max-height: 320px;
  }
}

@media (max-width: 720px) {
  .main-sponsor-image img {
    max-height: 320px;
  }
}

.sponsor-grid {
  display: grid;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.sponsor-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sponsor-card .sponsor-image {
  min-height: 220px;
}

.sponsor-card .sponsor-image img {
  width: auto;
  max-width: 100%;
  max-height: 220px;
}

.sponsor-card .sponsor-image {
  display: grid;
  place-items: center;
  background: var(--ice);
  border-radius: 18px;
  overflow: hidden;
}

.sponsor-card .sponsor-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.main-sponsor-copy {
  display: grid;
  gap: 18px;
}

.main-sponsor-copy span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-sponsor-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.main-sponsor-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.main-sponsor-gallery {
  width: 100%;
  position: relative;
  left: 0;
  transform: none;
  overflow: hidden;
}

.main-sponsor-gallery .sponsor-slides {
  display: flex;
  gap: 20px;
  padding: 0;
  width: auto;
  transform: translateX(0);
  transition: transform 0.4s ease;
}

.sponsor-gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--ice);
  box-shadow: 0 14px 30px rgba(3, 17, 41, 0.08);
  width: 100%;
  max-width: none;
}

.sponsor-gallery-card img {
  width: 100%;
  display: block;
  object-fit: contain;
  height: auto;
}

.sponsor-gallery-card p {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.blue-section {
  color: var(--white);
  background: var(--night);
}

.blue-section h2 {
  color: var(--white);
}

.blue-section .eyebrow {
  color: var(--gold);
}

.blue-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  padding: clamp(70px, 8vw, 110px) clamp(18px, 6vw, 86px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 17, 41, 0.94), rgba(7, 31, 73, 0.72), rgba(3, 17, 41, 0.28)),
    url("../../photos/home/hero-team.jpg") center / cover;
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 9vw, 7rem);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.live-scoring-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.live-scoring-frame {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: var(--white);
}

.live-scoring-empty {
  padding: clamp(24px, 4vw, 52px);
}

.live-scoring-empty p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.live-scoring-empty code {
  border-radius: 6px;
  padding: 3px 6px;
  background: var(--ice);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 14px;
  color: var(--night);
  background: var(--white);
}

.contact-card span {
  color: var(--red);
}

.contact-card a,
.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  outline: none;
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

.contact-instagram {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.social-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.social-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card strong {
  font-size: 1.25rem;
}

.social-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.profile-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ice);
}

.profile-card div {
  padding: 20px;
}

.profile-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sponsor-profile-grid .profile-card img {
  aspect-ratio: 4 / 3;
  padding: 28px;
  object-fit: contain;
}

.outing-list {
  display: grid;
  gap: 26px;
}

.outing-card,
.photo-group-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.outing-photos,
.photo-group-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 210px;
  gap: 8px;
  padding: 8px;
  background: var(--night);
}

.outing-photos img,
.photo-group-grid img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: var(--ice);
}

.outing-photos img:first-child,
.photo-group-grid img:first-child {
  grid-row: span 2;
}

.outing-copy,
.photo-group-copy {
  padding: 24px;
}

.outing-copy span,
.photo-group-copy span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.outing-copy p,
.photo-group-copy p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-group-list {
  display: grid;
  gap: 26px;
}

.hall-section {
  padding-bottom: clamp(28px, 4vw, 52px);
}

.hall-section--compact {
  padding-top: clamp(28px, 4vw, 52px);
}

.hall-scroll {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.hall-scroll--groups {
  grid-auto-columns: 100%;
}

.hall-scroll--individuals {
  grid-auto-columns: calc((100% - 40px) / 3);
}

.hall-card {
  scroll-snap-align: start;
}

.hall-individual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.hall-individual-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--ice);
}

.hall-individual-card div {
  padding: 24px;
}

.hall-individual-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hall-individual-card p,
.hall-empty {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hall-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.hall-controls button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: var(--night);
}

.hall-controls button:hover,
.hall-controls button:focus-visible {
  background: var(--blue);
  outline: none;
}

.ex-player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ex-player-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--ice);
  box-shadow: 0 12px 30px rgba(3, 17, 41, 0.08);
}

.footer {
  display: grid;
  gap: 28px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 6vw, 86px) 26px;
  color: var(--ice);
  background: var(--night);
}

.footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
}

.footer h2 {
  margin-bottom: 0;
  color: var(--white);
}

.footer .eyebrow {
  color: var(--gold);
}

.footer-intro p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
  line-height: 1.7;
}

.footer-social-grid {
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

@media (max-width: 1000px) {
  .hero-content,
  .section-head,
  .footer-intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .gallery-grid,
  .sponsor-grid,
  .profile-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outing-photos,
  .photo-group-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hall-scroll--individuals {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .ex-player-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .menu {
    display: block;
  }

  .nav {
    position: absolute;
    top: 84px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    padding: 8px;
    background: var(--night);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  h1 {
    font-size: 4.2rem;
  }

  .grid-3,
  .gallery-grid,
  .sponsor-grid,
  .profile-grid,
  .social-grid,
  .fame-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .fame-card {
    grid-template-columns: 1fr;
  }

  .outing-photos,
  .photo-group-grid,
  .ex-player-grid {
    grid-template-columns: 1fr;
  }

  .hall-scroll--individuals {
    grid-auto-columns: 100%;
  }

  .outing-photos img:first-child,
  .photo-group-grid img:first-child {
    grid-row: span 1;
  }

 
}
.recent-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(3, 17, 41, 0.09);
}

.recent-slide {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
}

.recent-slide.active {
  display: grid;
}

.recent-slide {
  cursor: zoom-in;
}

.recent-slide:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.recent-image {
  height: 420px;
}

.recent-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
}

.recent-content span {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-content h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.recent-content p {
  color: var(--muted);
  line-height: 1.8;
}

.recent-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.recent-controls button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: var(--night);
}

.recent-controls button:hover {
  background: var(--blue);
}

.recent-lightbox-open {
  overflow: hidden;
}

.recent-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 17, 41, 0.94);
}

.recent-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  width: min(1240px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.recent-lightbox-image {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: var(--night);
}

.recent-lightbox-image img {
  max-width: 100%;
  max-height: calc(100vh - 32px);
  object-fit: contain;
}

.recent-lightbox-copy {
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
}

.recent-lightbox-copy span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-lightbox-copy h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.recent-lightbox-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.recent-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--night);
  background: var(--gold);
  font-weight: 900;
}

.sponsor-hero {
  position: relative;
  padding: clamp(70px, 8vw, 110px) clamp(18px, 6vw, 86px);
  border-radius: 24px;
  color: var(--white);
  background-color: var(--night);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sponsor-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 17, 41, 0.92), rgba(3, 17, 41, 0.35));
}

.sponsor-hero .kicker,
.sponsor-hero h1,
.sponsor-hero p,
.sponsor-hero .hero-actions {
  position: relative;
  z-index: 1;
}

.sponsor-hero h1 {
  font-size: clamp(3.8rem, 8vw, 6rem);
  line-height: 0.96;
  max-width: 10ch;
}

.sponsor-hero p {
  max-width: 740px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.sponsor-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
}

.other-sponsor-panel {
  display: grid;
  grid-template-columns: minmax(320px, 45%) minmax(320px, 55%);
  gap: 40px;
  align-items: center;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0;
}

.other-sponsor-image {
  height: min(520px, 55vh);
  border-radius: 24px;
  overflow: hidden;
  background: var(--ice);
}

.other-sponsor-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--ice);
}

.other-sponsor-details {
  display: grid;
  gap: 20px;
}

.other-sponsor-details span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 900;
  font-size: 0.85rem;
}

.other-sponsor-details h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.other-sponsor-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .other-sponsor-panel {
    grid-template-columns: 1fr;
  }

  .other-sponsor-image {
    height: auto;
    min-height: 360px;
  }
}

.sponsor-slides {
  min-height: 320px;
}

.sponsor-slide {
  display: none;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.sponsor-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sponsor-slide-main-gallery:not(.active) {
  display: grid;
  grid-template-columns: 1fr;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  opacity: 0.28;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  transform: scale(0.78);
  filter: grayscale(40%);
  z-index: 0;
}

.sponsor-slide-main-gallery.active {
  display: grid;
  grid-template-columns: 1fr;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  opacity: 1;
  transform: scale(1.1);
  filter: none;
  z-index: 2;
}

.sponsor-slide-ex.active {
  display: block;
}

.sponsor-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
}

.sponsor-image img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 18px;
  background: var(--ice);
}

.sponsor-copy {
  display: grid;
  gap: 18px;
}

.sponsor-copy span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.sponsor-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.sponsor-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.sponsor-controls button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: var(--night);
}

.sponsor-controls button:hover {
  background: var(--blue);
}

@media (max-width: 900px) {

  .recent-slide,
  .recent-slide.active {
    grid-template-columns: 1fr;
  }

  .recent-lightbox-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .recent-lightbox-image {
    min-height: 260px;
  }

  .recent-lightbox-image img {
    max-height: 56vh;
  }

  .recent-image {
    height: 260px;
  }

  .main-sponsor-card {
    grid-template-columns: 1fr;
  }

  .main-sponsor-gallery {
    padding-top: 16px;
  }

  .sponsor-slide.active,
  .sponsor-slide-main-gallery.active {
    grid-template-columns: 1fr;
  }

  .sponsor-slide-main-gallery {
    flex: 0 0 100%;
    min-width: 100%;
    transform: scale(1);
    opacity: 0.8;
  }

  .sponsor-slide-main-gallery.active {
    transform: scale(1);
    opacity: 1;
  }
}

  /* ═══════════════════════════════════════════════════════════════════════════
     AVAILABILITY PAGE
     ═══════════════════════════════════════════════════════════════════════════ */

  /* Notice bar */
  .availability-notice {
    position: sticky;
    top: 92px;
    z-index: 5;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid #b9dcff;
    border-radius: 10px;
    background: #f4faff;
    color: var(--night);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .availability-notice a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
    border: 1px solid var(--blue);
    color: var(--white);
    background: var(--blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .availability-notice a:hover {
    background: var(--navy);
    border-color: var(--navy);
  }

  /* Panels (OTP steps + edit form) */
  .availability-panel {
    margin-bottom: 32px;
    padding: 28px 32px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(3, 17, 41, 0.08);
    max-width: 480px;
  }

  .availability-panel h3 {
    margin-bottom: 6px;
    color: var(--night);
    font-size: 1.1rem;
  }

  .availability-panel-desc {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .availability-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
  }

  .availability-form-row label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--night);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .availability-form-row select,
  .availability-form-row input[type="text"] {
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
  }

  .availability-form-row select:focus,
  .availability-form-row input[type="text"]:focus {
    border-color: var(--blue);
    background: var(--white);
  }

  .availability-form-row input.input-error {
    border-color: var(--red);
  }

  .availability-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Status / error messages inside panels */
  .availability-send-status,
  .availability-save-status {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    background: var(--ice);
    color: var(--night);
  }

  .availability-send-status.error,
  .availability-save-status.error {
    background: #fff0f3;
    color: var(--red);
  }

  .availability-auth-error {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #fff0f3;
    color: var(--red);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .availability-auth-error a {
    display: inline-block;
    margin-top: 6px;
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
  }

  /* Edit form checkboxes */
  .availability-edit-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .availability-edit-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .availability-edit-tab {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    background: #f3f7fd;
    color: var(--night);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .availability-edit-tab.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
  }

  .availability-tab-panels {
    margin-bottom: 8px;
  }

  .availability-tab-panel {
    display: none;
  }

  .availability-tab-panel.is-active {
    display: block;
  }

  .availability-bulk-controls {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fbff;
    display: grid;
    gap: 8px;
  }

  .availability-bulk-title {
    margin: 0 0 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--night);
  }

  .availability-checkbox-row--bulk {
    font-weight: 700;
  }

  .availability-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--ink);
  }

  .availability-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
    flex-shrink: 0;
  }

  .availability-month-nav {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .availability-month-label {
    min-width: 170px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--night);
  }

  .availability-filters {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
  }

  .availability-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1 1 200px;
  }

  .availability-filter-field--player {
    min-width: 220px;
    flex: 1 1 260px;
  }

  .availability-filter-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--night);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .availability-filter-field select,
  .availability-filter-field input[type="text"] {
    padding: 9px 12px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
  }

  .availability-filter-field select:focus,
  .availability-filter-field input[type="text"]:focus {
    border-color: var(--blue);
    background: var(--white);
  }

  .availability-filter-clear {
    margin-left: auto;
    white-space: nowrap;
  }

  .availability-toggle-saturdays {
    white-space: nowrap;
  }

  .availability-legend {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .availability-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--night);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  /* Table */
  .availability-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .availability-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(3, 17, 41, 0.08);
  }

  .availability-table thead {
    background: var(--navy);
    color: var(--white);
  }

  .availability-table thead th {
    padding: 10px 8px;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1.2;
  }

  .availability-table thead th:first-child {
    text-align: left;
    min-width: 108px;
    white-space: nowrap;
  }

  .availability-month-group-row th {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .availability-day-group-row th {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .availability-day-group {
    text-align: center;
    background: #0a2452;
    color: #dbeafe;
  }

  .availability-month-group {
    text-align: center;
  }

  .availability-month-group--current {
    background: #0b2a5f;
    color: #dbeafe;
  }

  .availability-month-group--next {
    background: #0b2a5f;
    color: #dbeafe;
  }

  .availability-date-header--current {
    background: #123a79;
    color: #dbeafe;
  }

  .availability-date-header--next {
    background: #123a79;
    color: #dbeafe;
  }

  .availability-table tbody tr:nth-child(even) {
    background: var(--paper);
  }

  .availability-table tbody tr:hover {
    background: var(--ice);
  }

  .availability-table td {
    padding: 8px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .availability-player-name {
    font-weight: 700;
    color: var(--night);
    white-space: nowrap;
  }

  .availability-player-name--available {
    background: transparent;
    color: var(--night);
    font-weight: 800;
  }

  .availability-cell {
    text-align: center;
  }

  .availability-cell--current {
    background: #f4f8ff;
  }

  .availability-cell--next {
    background: #f4f8ff;
  }

  .availability-column-boundary {
    border-left: 2px solid #b9cbe6;
  }

  .availability-date-highlighted,
  .availability-cell--highlighted {
    position: relative;
    z-index: 1;
    box-shadow:
      inset 2px 0 0 #f59e0b,
      inset -2px 0 0 #f59e0b;
  }

  .availability-date-highlighted {
    box-shadow:
      inset 2px 0 0 #f59e0b,
      inset -2px 0 0 #f59e0b,
      inset 0 2px 0 #f59e0b;
  }

  .availability-table tbody tr:last-child .availability-cell--highlighted {
    box-shadow:
      inset 2px 0 0 #f59e0b,
      inset -2px 0 0 #f59e0b,
      inset 0 -2px 0 #f59e0b;
  }

  .availability-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 2px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: transparent;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    user-select: none;
  }

  .availability-marker--available {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #000000;
  }

  .availability-marker--unavailable {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
  }

  .availability-marker--tentative {
    background-color: #062871;
    border-color: #062871;
    color: #ffffff;
  }

  .availability-marker--unknown {
    background-color: var(--white);
    border-color: var(--line);
  }

  .availability-practice-vote-row {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dbe7fb;
    border-radius: 10px;
    background: #ffffff;
  }

  .availability-practice-vote-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--night);
  }

  .availability-practice-vote-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .availability-practice-vote-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #d8e3f4;
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  }

  .availability-practice-vote-option:hover {
    border-color: #adc2e5;
  }

  .availability-practice-vote-option.is-selected {
    border-color: #0b2a5f;
    background: #eef4ff;
    box-shadow: 0 0 0 1px rgba(11, 42, 95, 0.12);
  }

  .availability-practice-vote-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .availability-practice-vote-option-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
  }

  .availability-practice-vote-option input[type="radio"]:checked + .availability-marker {
    box-shadow: 0 0 0 2px rgba(11, 42, 95, 0.2);
  }

  .availability-practice-vote-option input[type="radio"]:checked ~ .availability-practice-vote-option-text {
    color: var(--night);
  }

  .availability-day-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .availability-day-columns--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .availability-day-column {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f8fbff;
    display: grid;
    gap: 8px;
    align-content: start;
  }

  .availability-day-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--night);
  }

  .availability-table tbody tr:hover .availability-cell--current {
    background: #eaf2ff;
  }

  .availability-table tbody tr:hover .availability-cell--next {
    background: #eaf2ff;
  }

  .availability-table tbody tr:hover .availability-cell--highlighted {
    box-shadow:
      inset 2px 0 0 #f59e0b,
      inset -2px 0 0 #f59e0b;
  }

  .availability-table tbody tr:last-child:hover .availability-cell--highlighted {
    box-shadow:
      inset 2px 0 0 #f59e0b,
      inset -2px 0 0 #f59e0b,
      inset 0 -2px 0 #f59e0b;
  }

  .availability-loading,
  .availability-empty {
    padding: 32px 0;
    color: var(--muted);
    font-size: 0.95rem;
  }

  /* Responsive adjustments */
  @media (max-width: 640px) {
    .availability-panel {
      padding: 20px 18px;
      max-width: 100%;
    }

    .availability-month-nav {
      justify-content: space-between;
    }

    .availability-month-label {
      min-width: auto;
      width: 100%;
      order: -1;
    }

    .availability-filters {
      padding: 12px;
      align-items: stretch;
    }

    .availability-notice {
      position: static;
      margin-bottom: 12px;
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
    }

    .availability-notice a {
      width: 100%;
    }

    .availability-filter-field,
    .availability-filter-field--player {
      min-width: 100%;
      flex: 1 1 100%;
    }

    .availability-filter-clear {
      width: 100%;
      margin-left: 0;
    }

    .availability-toggle-saturdays {
      width: 100%;
    }

    .availability-legend {
      gap: 10px;
      padding: 10px;
    }

    .availability-legend-item {
      width: 100%;
    }

    .availability-table thead th,
    .availability-table td {
      padding: 8px 6px;
    }

    .availability-day-columns {
      grid-template-columns: 1fr;
    }
  }
