@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d60819;
  --red-dark: #990816;
  --ink: #111318;
  --muted: #626874;
  --line: #e7e9ee;
  --soft: #f4f6f8;
  --green: #168f53;
  --blue: #2f80ed;
  --shadow: 0 18px 45px rgba(17, 19, 24, .14);
}

.html-preview-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}

.html-preview-dialog::backdrop {
  background: rgba(7,11,18,.58);
}

.html-preview-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.html-preview-body {
  padding: clamp(18px, 4vw, 42px);
  background: #fff;
}

@media (max-width: 1050px) {
  .shop-catalog,
  .shop-product-detail,
  .store-admin-page {
    grid-template-columns: 1fr;
  }

  .store-admin-sidebar {
    position: static;
    height: auto;
  }

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

@media (max-width: 680px) {
  .shop-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 22px;
  }

  .shop-catalog,
  .shop-product-detail {
    padding-left: 22px;
    padding-right: 22px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-image {
    min-height: 320px;
  }

  .store-admin-shell {
    margin: 16px;
    padding: 18px;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; }

.topbar {
  height: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
  padding: 0 5vw;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar a { text-decoration: none; }

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-tabs {
  display: flex;
  gap: 4px;
  margin: 8px 0 18px;
  border-bottom: 1px solid var(--line);
}

.language-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-tabs button.active {
  border-bottom-color: var(--red);
  color: var(--ink);
}

.language-panel { display: none; }
.language-panel.active { display: grid; gap: 16px; }

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-success {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #eef9f3;
  color: #0a6539;
  font-weight: 700;
}

.ai-translation-note {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.language-switcher a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  opacity: .72;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.active {
  border-color: #fff;
  opacity: 1;
}

.shop-header .language-switcher a:hover,
.shop-header .language-switcher a:focus-visible,
.shop-header .language-switcher a.active {
  border-color: var(--red);
}

.language-flag {
  display: block;
  width: 20px;
  height: 13px;
  border: 1px solid rgba(0,0,0,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag-va {
  background:
    linear-gradient(to right, #005eb8 0 24%, transparent 24%),
    repeating-linear-gradient(to bottom, #f4d000 0 11.11%, #d71920 11.11% 22.22%);
}

.flag-en {
  background:
    linear-gradient(33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(-33deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(to right, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(to bottom, transparent 37%, #fff 37% 44%, #c8102e 44% 56%, #fff 56% 63%, transparent 63%),
    #012169;
}

.social-link {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.topbar-socials,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials {
  margin-top: 18px;
}

.footer-socials .social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  color: #fff;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.footer-socials .social-link:hover,
.footer-socials .social-link:focus-visible {
  border-color: #fff;
  background: var(--red);
  transform: translateY(-2px);
}

.footer-socials .social-link svg {
  width: 18px;
  height: 18px;
}

.site-header {
  min-height: 106px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 10;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-marks {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
}

.brand-marks img {
  object-fit: contain;
}

.brand-marks .brand-club-logo {
  width: 72px;
  height: 84px;
}

.brand-marks .brand-asobal-logo {
  width: 50px;
  height: 72px;
}

.brand-marks .brand-anniversary {
  width: 66px;
  height: 66px;
}

.brand-name {
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  line-height: .92;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 42px 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown > a {
  display: block;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 22px);
  left: 50%;
  z-index: 20;
  min-width: 170px;
  display: none;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  padding: 13px 16px;
  color: var(--ink);
}

.nav-dropdown-menu a:hover {
  color: var(--red);
  background: #fff4f5;
}

.main-nav a[href="/aficion"] {
  display: none;
}

.main-nav a.active {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 3px;
  background: var(--red);
}

.hero,
.hero-slide {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: 58px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.80), rgba(0,0,0,.48) 42%, rgba(255,255,255,.05)),
    url("/assets/photos/hero-match.jpg") center/cover;
}

.hero-carousel {
  position: relative;
  min-height: 520px;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  background-position: center;
  background-size: cover;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .9;
  letter-spacing: .01em;
}

.hero p,
.page-hero p {
  max-width: 580px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.5;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.btn.red {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.btn.green {
  color: var(--green);
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.match-card {
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.sports-carousel {
  width: 360px;
  min-width: 0;
  justify-self: end;
}

.sports-panels {
  display: grid;
}

.sports-panel {
  grid-area: 1 / 1;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.sports-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.sports-panel .match-actions {
  margin-top: auto;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 25px;
  font-weight: 950;
  white-space: nowrap;
}

.match-score b {
  color: var(--muted);
  font-size: 17px;
}

.sports-dots {
  height: 28px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 9px;
}

.sports-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.sports-dot.active {
  border-color: var(--red);
  background: var(--red);
}

.standings-card {
  background: #f2f3f5;
}

.standings-list {
  display: grid;
  padding: 17px;
  gap: 5px;
}

.standing-row {
  min-height: 47px;
  display: grid;
  grid-template-columns: 27px 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  background: #fff;
  font-size: 12px;
}

.standing-row img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.standing-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.standing-position,
.standing-points {
  text-align: center;
}

.standing-row.club {
  background: var(--ink);
  color: #fff;
}

.standing-row.club .standing-position,
.standing-row.club .standing-points {
  color: #ffdd00;
}

.match-card h2 {
  margin: 0;
  padding: 16px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 21px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.match-body { padding: 23px; text-align: center; }
.match-league { margin-bottom: 20px; color: var(--muted); font-size: 13px; }

.versus {
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  gap: 12px;
  align-items: center;
}

.versus > div:not(.vs) {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.versus img {
  width: 76px;
  height: 76px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.versus strong {
  max-width: 132px;
  display: block;
  margin: 0 auto;
  text-align: center;
  line-height: 1.16;
}

.vs { font-size: 18px; font-weight: 900; }

.match-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.match-meta div {
  padding: 16px;
  border-right: 1px solid var(--line);
  font-size: 12px;
}

.match-meta div:last-child { border-right: 0; }

.match-actions {
  display: flex;
  gap: 10px;
  padding: 18px 20px 22px;
}

.match-actions .btn {
  flex: 1;
  color: var(--red);
}

.match-actions .btn.red { color: #fff; }

.section {
  padding: 42px 5vw;
}

.section.soft { background: var(--soft); }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
  color: var(--red);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
  text-transform: none;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.home-grid.home-news-only {
  grid-template-columns: minmax(0, 1fr);
}

.news-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.news-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
}

.date { color: var(--muted); font-size: 11px; }
.tag { color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.tag.green { color: var(--green); }

.news-card h3,
.article-card h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  line-height: 1.12;
}

.news-card h3 {
  font-size: 16px;
}

.news-card:hover h3,
.article-card:hover h3 {
  color: var(--red);
}

.home-store-promo {
  padding: 0 5vw 52px;
}

.home-store-promo-link {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .72) 34%, rgba(5, 6, 8, .12) 65%),
    url('/assets/photos/home-store-errea-75-v2.png');
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.home-store-promo-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 7px;
  background: var(--red);
  content: "";
  transition: width .25s ease;
}

.home-store-promo-link:hover::after {
  width: 100%;
}

.home-store-promo-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(480px, 46%);
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
}

.home-store-promo-kicker {
  margin-bottom: 12px;
  color: #ff2638;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-store-promo-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 4.4vw, 72px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.home-store-promo-copy {
  max-width: 390px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.45;
}

.home-store-promo-button {
  pointer-events: none;
}

@media (max-width: 760px) {
  .home-store-promo {
    padding: 0 22px 36px;
  }

  .home-store-promo-link {
    min-height: 420px;
    align-items: flex-end;
    background-image:
      linear-gradient(0deg, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .78) 38%, rgba(5, 6, 8, .08) 72%),
      url('/assets/photos/home-store-errea-75-v2.png');
    background-position: 67% center;
  }

  .home-store-promo-content {
    width: 100%;
    padding: 28px;
  }

  .home-store-promo-title {
    font-size: 42px;
  }

  .home-store-promo-copy {
    margin: 12px 0 20px;
    font-size: 15px;
  }
}

.feature {
  min-height: 240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 30px;
  background: var(--soft);
  min-width: 0;
}

.feature img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  border-radius: 3px;
}

.feature h3 {
  margin: 8px 0;
  font-size: 27px;
  line-height: 1.1;
}

.feature p,
.panel p,
.article-card p {
  color: var(--muted);
  line-height: 1.5;
}

.sponsor-strip {
  padding: 30px 5vw 38px;
  background: #f7f8fa;
  text-align: center;
}

.sponsor-strip h2 {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
  align-items: center;
}

.home-sponsor-logos {
  width: min(980px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.logos img {
  width: 100%;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  filter: grayscale(1) contrast(.9);
  opacity: .70;
}

.home-sponsor-logos img {
  height: 68px;
  padding: 12px 18px;
  filter: grayscale(1) contrast(.95);
  opacity: .78;
}

.logos.color img {
  filter: none;
  opacity: 1;
}

.page-hero {
  min-height: 295px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: end;
  padding: 54px 5vw;
  background: linear-gradient(115deg, var(--ink), #2c1117 54%, var(--red));
  color: #fff;
}

.page-hero.light {
  background: linear-gradient(115deg, #fff, #f7f8fa 58%, #fee8eb);
  color: var(--ink);
}

.page-hero.light p { color: var(--muted); }

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

.stat-box {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}

.light .stat-box {
  border-color: var(--line);
  background: #fff;
}

.stat-box strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-top: 8px;
  color: inherit;
  opacity: .75;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.club-history {
  width: min(1120px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 70px 0 86px;
}

.club-history-intro {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.club-history-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.club-history-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.eyebrow,
.history-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px auto 28px;
  padding-bottom: 6px;
  overflow-x: auto;
}

.history-tab {
  min-width: 116px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.history-tab.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.history-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px clamp(24px, 5vw, 68px);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f7f8fa);
  box-shadow: 0 18px 50px rgba(17, 19, 24, .08);
}

.history-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.history-panel p {
  margin: 0;
  color: #363b44;
  font-size: 17px;
  line-height: 1.8;
}

.history-panel p + p {
  margin-top: 18px;
}

.history-media {
  margin: 0 0 28px;
}

.history-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(17, 19, 24, .16);
}

.history-media figcaption,
.history-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.history-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.history-gallery figure {
  margin: 0;
  min-width: 0;
}

.history-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  background: var(--soft);
}

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

.panel,
.article-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel { padding: 26px; }
.panel.red { border-color: transparent; background: var(--red); color: #fff; }
.panel.red p { color: rgba(255,255,255,.84); }
.panel h2, .panel h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.12; }

.article-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 22px;
}

.article-card { overflow: hidden; }
.article-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(17, 19, 24, .10);
}
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-card:first-child img { height: 275px; }
.article-card div { padding: 20px; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  color: var(--muted);
  font-weight: 800;
}

.team-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(17, 19, 24, .10);
}

.team-card img { width: 100%; height: 165px; object-fit: cover; }
.team-card img.placeholder { padding: 12px; box-sizing: border-box; object-fit: contain; background: #eef1f5; }
.team-card div { padding: 18px; }
.team-card h3 { margin: 0 0 8px; font-size: 22px; }
.team-card p { margin: 0; color: var(--muted); }

.team-detail-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 520px;
  padding: 260px 6vw 64px;
  overflow: hidden;
  background: #14171d;
  color: #fff;
}

.team-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 10, 15, .82), rgba(8, 10, 15, .30) 60%, rgba(8, 10, 15, .08));
}

.team-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-detail-hero > div {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.team-detail-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .94;
}

.team-detail-hero p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 20px;
  line-height: 1.5;
}

.roster-section {
  padding-top: 58px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}

.player-card {
  position: relative;
  display: grid;
  grid-template-rows: 380px auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.player-photo {
  position: relative;
  height: 380px;
  min-height: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  background: #fff;
}

.player-photo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 18px;
  z-index: 0;
  background: #eef1f5;
  border-bottom: 1px solid var(--line);
}

.player-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 24px 18px 0;
  box-sizing: border-box;
  object-fit: contain;
  object-position: bottom center;
}

.player-meta {
  padding: 16px 18px 18px;
  background: #fff;
}

.player-meta strong {
  display: block;
  color: var(--red);
  font-size: 32px;
  line-height: 1;
}

.player-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-meta h3 {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.05;
}

.staff-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.staff-card {
  min-height: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table th {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.health-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}

.health-main {
  min-height: 360px;
  padding: 36px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.73)),
    url("/assets/photos/team-action.jpg") center/cover;
}

.health-item {
  padding: 22px;
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-width: 0;
}

.contact-card.wide {
  grid-column: 1 / -1;
}

.contact-card span,
.map-head span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card h2,
.map-head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
}

.contact-card h2.email {
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.24;
}

.contact-card a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card p,
.map-head p {
  color: var(--muted);
}

.contact-card .actions {
  margin-top: 20px;
}

.contact-map-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 19, 24, .08);
}

.map-head {
  padding: 28px 28px 20px;
}

.google-map {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  border-top: 1px solid var(--line);
}

.map-link {
  display: block;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.map-box {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214,8,25,.88), rgba(17,19,24,.78)),
    url("/assets/photos/hero-match.jpg") center/cover;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 0;
  background: var(--ink);
  color: #fff;
}

.map-consent-placeholder {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 36px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.map-consent-placeholder strong {
  font-size: clamp(20px, 2vw, 28px);
}

.map-consent-placeholder p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.4fr 1fr;
  gap: clamp(38px, 5vw, 84px);
  padding: 48px 5vw 42px;
}

.footer-brand-marks {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-marks img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.site-footer h2 {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-brand-marks .footer-anniversary-logo {
  width: 84px;
  height: 84px;
}

.footer-brand h2 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 17px;
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

.site-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
}

.footer-nav-columns > div,
.footer-contact address {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-nav-columns a,
.footer-contact a,
.footer-contact span {
  font-size: 13px;
  line-height: 1.35;
}

.footer-nav-columns .footer-sub-link {
  padding-left: 11px;
  border-left: 2px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.62);
}

.footer-contact address {
  color: rgba(255,255,255,.78);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 14px 5vw;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-legal-links a,
.footer-legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible,
.footer-legal-links button:hover,
.footer-legal-links button:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.legal-hero {
  min-height: 250px;
}

.legal-document {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 82px) 0;
}

.legal-document section + section {
  margin-top: 42px;
}

.legal-document h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.2;
}

.legal-document p,
.legal-document li {
  color: #3f4652;
  font-size: 16px;
  line-height: 1.75;
}

.legal-document ul {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.legal-document a {
  color: var(--red-dark);
  font-weight: 700;
}

.legal-updated,
.legal-note {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.legal-updated {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.legal-table th {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 22px 5vw;
  border-top: 4px solid var(--red);
  background: #fff;
  box-shadow: 0 -16px 42px rgba(17,19,24,.18);
}

.cookie-banner h2 {
  margin: 0 0 7px;
  font-size: 20px;
}

.cookie-banner p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner p a,
.cookie-modal-actions a {
  color: var(--red-dark);
  font-weight: 800;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner-actions form {
  margin: 0;
}

.cookie-btn-secondary {
  border-color: #737984;
  background: #fff;
  color: var(--ink);
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7,11,18,.72);
  cursor: default;
}

.cookie-modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.cookie-modal-head,
.cookie-category,
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-modal-head h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 4vw, 34px);
}

.cookie-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-category {
  margin-top: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.cookie-category strong {
  font-size: 16px;
}

.cookie-category p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-category input[type="checkbox"] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  accent-color: var(--red);
}

.cookie-always {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-modal-actions {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 22px;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .cookie-banner-actions,
  .cookie-banner-actions form,
  .cookie-banner-actions .btn {
    width: 100%;
  }

  .cookie-modal-head,
  .cookie-category,
  .cookie-modal-actions {
    align-items: flex-start;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions .btn {
    width: 100%;
  }

  .legal-document {
    width: min(100% - 36px, 920px);
  }
}

.news-detail-hero {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 520px);
  gap: 44px;
  align-items: end;
  padding: 54px 5vw;
  background: linear-gradient(115deg, #fff, #f7f8fa 58%, #fee8eb);
}

.news-detail-hero h1 {
  margin: 10px 0 16px;
  max-width: 850px;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: .92;
}

.news-detail-hero p {
  margin: 0 0 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.news-detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 44px;
  align-items: start;
  padding: 44px 5vw 60px;
}

.news-detail-layout.single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.news-content {
  font-size: 17px;
  line-height: 1.72;
}

.news-content p {
  margin: 0 0 20px;
}

.news-content img {
  max-width: 100%;
  height: auto;
  margin: 0 0 24px;
  border-radius: 8px;
}

.news-content strong {
  color: var(--ink);
}

.admin-login-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(17,19,24,.76), rgba(17,19,24,.46) 45%, rgba(214,8,25,.72)),
    url("/assets/photos/news-action.jpg") center/cover;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  background: #f3f5f7;
  color: #17202a;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #18202b;
  color: #fff;
}

.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.admin-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.admin-sidebar nav a,
.admin-sidebar .admin-nav-link {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 800;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.admin-sidebar nav a:hover,
.admin-sidebar .admin-nav-link:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.admin-main {
  min-width: 0;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.admin-login-card {
  width: min(460px, 100%);
  display: grid;
  justify-items: stretch;
  padding: 36px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.admin-login-card img {
  justify-self: center;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.admin-login-card h1,
.admin-head h1 {
  margin: 10px 0;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 48px;
  line-height: .92;
}

.admin-login-card label,
.admin-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.admin-login-card input,
.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.admin-login-card .btn {
  width: 100%;
}

.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.btn:disabled,
.btn.is-loading {
  cursor: progress;
  opacity: .72;
}

.admin-error {
  margin: 14px 0;
  padding: 12px;
  border-left: 4px solid var(--red);
  background: #fff0f2;
  color: var(--red-dark);
  font-weight: 800;
}

.admin-shell {
  padding: 34px;
  background: transparent;
  min-height: 70vh;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
}

.admin-head.inline {
  margin-bottom: 12px;
}

.admin-head p {
  margin: 0;
  color: var(--muted);
}

.admin-table-wrap,
.admin-form {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 25, 38, .07);
}

.sports-sync-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  border-left: 4px solid var(--red);
}

.sports-sync-admin h2 {
  margin: 7px 0 6px;
}

.sports-sync-admin p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sports-sync-admin .btn {
  flex: 0 0 auto;
}

.admin-datagrid {
  width: 100%;
  border-collapse: collapse;
}

.admin-datagrid th,
.admin-datagrid td {
  min-width: 150px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-datagrid th {
  color: #42526b;
  font-size: 11px;
  text-transform: uppercase;
}

.admin-datagrid input,
.admin-datagrid textarea {
  min-width: 180px;
}

.admin-datagrid.compact input {
  min-width: auto;
}

.admin-datagrid .col-order,
.slides-grid .col-order input {
  width: 72px;
  min-width: 72px;
}

.slides-grid .slide-language-editor {
  width: min(520px, 72vw);
  min-width: 420px;
}

.slides-grid .slide-language-editor .language-panel {
  grid-template-columns: 1fr 1fr;
}

.slides-grid .slide-language-editor textarea {
  min-height: 92px;
  resize: vertical;
}

.slides-grid .slide-language-editor input,
.slides-grid .slide-language-editor textarea {
  width: 100%;
  min-width: 0;
}

.slides-grid .slide-language-editor > .btn {
  margin-top: 14px;
}

.admin-preview {
  width: 130px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-preview.logo {
  object-fit: contain;
  padding: 8px;
}

.admin-scroll {
  overflow-x: auto;
}

.admin-table td {
  vertical-align: middle;
}

.admin-thumb {
  width: 96px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-actions.left {
  justify-content: flex-start;
}

.admin-actions form {
  margin: 0;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.html-editor {
  min-height: 320px;
  font-family: Consolas, "Courier New", monospace;
}

.admin-current-image {
  min-height: 120px;
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-current-image img {
  max-width: 220px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-fieldset {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-fieldset legend {
  padding: 0 8px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.editor-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -8px 0 18px;
}

.file-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.file-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.file-list a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.file-list span {
  color: var(--muted);
  font-size: 12px;
}

.transparency-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.transparency-section h2 {
  margin: 0 0 16px;
  color: var(--red);
}

.transparency-page {
  display: grid;
  justify-items: center;
}

.transparency-content {
  width: min(100%, 900px);
}

.transparency-content a {
  color: var(--red);
  font-weight: 900;
}

.transparency-content table {
  width: 100% !important;
  min-width: 640px;
  margin: 22px 0;
  border-collapse: collapse !important;
}

.transparency-content td,
.transparency-content th {
  padding: 10px;
  border: 1px solid var(--line) !important;
  vertical-align: top;
}

.transparency-content {
  overflow-x: auto;
}

.sponsor-content {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 28px 34px;
  align-items: center;
}

.sponsor-content .sponsor-directory {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  min-width: 0;
}

.sponsor-directory .sponsor-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.sponsor-directory .sponsor-entry:first-child {
  grid-column: 1 / -1;
}

.sponsor-content .sponsor-directory img {
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: none;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.sponsor-content .partner-website-link {
  display: grid;
  width: 100%;
  place-items: center;
  border-radius: 4px;
  transition: opacity 160ms ease;
}

.sponsor-content .partner-website-link:hover {
  opacity: 0.78;
}

.sponsor-content .partner-website-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.sponsor-content .sponsor-entry:first-child img {
  max-width: 720px;
}

.sponsor-content .collaborator-directory .sponsor-entry:first-child {
  grid-column: auto;
}

.sponsor-content .collaborator-directory .sponsor-entry:first-child img {
  max-width: 360px;
}

.sponsor-content .collaborator-entry-02 img {
  max-width: 520px;
}

.sponsor-content .collaborator-entry-01 img,
.sponsor-content .collaborator-entry-04 img,
.sponsor-content .collaborator-entry-25 img {
  max-width: 520px;
}

.sponsor-content .collaborator-entry-19 img {
  max-width: 520px;
}

@media (max-width: 900px) {
  .sponsor-content .sponsor-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .sponsor-content .sponsor-directory {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.sponsor-content .row {
  display: contents;
}

.sponsor-content [class*="col-"] {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.sponsor-content .col-12,
.sponsor-content .col-md-12,
.sponsor-content .col-lg-12,
.sponsor-content h1,
.sponsor-content h2,
.sponsor-content p {
  grid-column: 1 / -1;
}

.sponsor-content .col-lg-12 {
  display: contents;
}

.sponsor-content img {
  display: block;
  max-width: min(100%, 360px);
  max-height: 135px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-content .col-12 img,
.sponsor-content .col-md-12 img {
  max-width: min(100%, 520px);
  max-height: 170px;
}

.sponsor-content p {
  margin: 0;
}

.sponsor-content p:empty {
  display: none;
}

.sponsor-content br {
  display: none;
}

.sponsor-content .col-md-4 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sponsor-content h2 {
  margin: 52px 0 8px;
  color: var(--red);
  text-align: center;
}

.sponsor-content h1 {
  margin: 0 0 8px;
  color: var(--ink);
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
}

.archive-content {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.archive-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.archive-card {
  display: block;
  content-visibility: auto;
  contain-intrinsic-size: auto 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 19, 24, .06);
}

.archive-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.archive-card-link:hover {
  border-color: rgba(209, 0, 26, .34);
  box-shadow: 0 18px 42px rgba(17, 19, 24, .1);
  transform: translateY(-3px);
}

.archive-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.archive-card div {
  padding: 18px 20px 20px;
}

.archive-card span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.archive-card h2 {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.archive-season-detail {
  display: grid;
  gap: 30px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.archive-season-meta {
  display: grid;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.archive-season-meta span {
  color: var(--red);
  font-weight: 900;
}

.archive-season-meta strong {
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
}

.archive-season-meta small {
  color: var(--muted);
}

.archive-season-photo {
  margin: 0 auto;
  width: min(100%, 1040px);
}

.archive-season-photo img {
  display: block;
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 16px 42px rgba(17, 19, 24, .08);
}

.archive-season-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 19, 24, .06);
}

.archive-season-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.archive-season-table th {
  padding: 16px 18px;
  background: var(--red);
  color: #fff;
  text-align: left;
  text-transform: uppercase;
}

.archive-season-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.archive-season-table tr:last-child td {
  border-bottom: 0;
}

.archive-season-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.archive-season-table td span {
  display: inline-flex;
  min-width: 136px;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(209, 0, 26, .2);
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pase-archive {
  display: grid;
  gap: 34px;
}

.pase-archive-heading {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.pase-archive-heading h2 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.pase-archive-heading p {
  margin: 0;
  color: var(--muted);
}

.pase-season {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 19, 24, .06);
}

.pase-season-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.pase-season-title h3 {
  margin: 0;
  color: var(--red);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.pase-season-title span {
  color: var(--muted);
  font-weight: 800;
}

.pase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.pase-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: #f7f7f7;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pase-card:hover {
  border-color: rgba(209, 0, 26, .38);
  box-shadow: 0 16px 34px rgba(17, 19, 24, .12);
  transform: translateY(-3px);
}

.pase-cover {
  display: block;
  aspect-ratio: 3 / 4;
  background: #ececec;
}

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

.pase-card-body {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 13px 14px 15px;
  background: #fff;
}

.pase-card-body strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.pase-card-body small {
  color: var(--muted);
  font-weight: 700;
}

.checkline {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
}

.checkline input {
  width: auto;
}

.grid-2 .wide {
  grid-column: 1 / -1;
}

.admin-nested-form {
  margin-top: 20px;
}

.admin-team-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.admin-team-tabs a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #222;
  font-weight: 900;
  text-decoration: none;
}

.admin-team-tabs a.active {
  border-color: var(--red);
  background: #fff0f2;
  color: var(--red);
}

.admin-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.admin-player-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-player-preview {
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-player-preview img {
  width: 100%;
  height: 100%;
  padding: 14px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: bottom center;
}

.stats-admin {
  display: grid;
  gap: 22px;
}

.stats-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  background: #f47f82;
  color: #fff;
}

.stats-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.86);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
}

.stats-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: .95;
}

.stats-hero p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.stats-hero .btn {
  background: #fff;
  color: #d60819;
}

.stats-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.stats-kpis article,
.stats-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats-kpis article {
  padding: 18px;
}

.stats-kpis span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-kpis strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.stats-panel {
  min-width: 0;
  padding: 22px;
}

.stats-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stats-bars {
  min-height: 230px;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 10px;
  align-items: end;
}

.stats-day {
  display: grid;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

.stats-bar-wrap {
  height: 150px;
  display: grid;
  align-items: end;
  border-radius: 5px;
  background: #f3f5f7;
  overflow: hidden;
}

.stats-bar-wrap span {
  display: block;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #f47f82, var(--red));
}

.stats-day strong {
  font-size: 12px;
}

.stats-day small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.stats-dashboard {
  margin: -24px;
  padding: 18px;
  background: #eef0f2;
  color: #1f2933;
  font-family: Montserrat, Arial, sans-serif;
}

.stats-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px 22px;
  border: 1px solid #d7dde3;
  border-radius: 6px;
  background: #fff;
}

.stats-toolbar h1 {
  margin: 0;
  font-size: 28px;
}

.stats-toolbar p {
  margin: 3px 0 0;
  color: #667085;
  font-size: 13px;
}

.stats-toolbar-actions,
.stats-date-filter { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.stats-toolbar-actions { justify-content: flex-end; }
.stats-date-filter label { display: grid; gap: 4px; color: #475467; font-size: 11px; font-weight: 800; }
.stats-date-filter input { min-height: 42px; padding: 7px 9px; }
.stats-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stats-kpis span { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #d7dde3; border-radius: 6px; background: #fff; color: #667085; font-size: 12px; }
.stats-kpis strong { color: #101828; font-size: 25px; }
.stats-report-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.stats-sync-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px 22px;
  border: 1px solid #d7dde3;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: #fff;
}

.stats-sync-panel h2,
.stats-sync-panel p { margin: 3px 0; }
.stats-sync-panel h2 { font-size: 20px; }
.stats-sync-panel p { color: #667085; font-size: 13px; }
.stats-sync-actions,
.stats-sync-actions form { display: flex; gap: 10px; align-items: end; }
.stats-sync-actions label { color: #475467; font-size: 11px; font-weight: 800; }
.stats-sync-actions input { width: 76px; min-height: 42px; padding: 8px; }
.stats-sync-summary { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats-sync-summary span { padding: 10px 12px; background: #f5f7f9; font-size: 12px; }
.stats-sync-note,
.stats-sync-error,
.stats-sync-success { grid-column: 1 / -1; padding: 10px 12px; }
.stats-sync-error { background: #fff0f0; color: #a40000 !important; }
.stats-sync-success { background: #e9f8ef; color: #087347 !important; }

.stats-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(330px, 31%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.stats-sidebar,
.stats-main {
  display: grid;
  gap: 18px;
}

.stats-widget {
  min-width: 0;
  border: 1px solid #d7dde3;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.stats-widget summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-bottom: 1px solid #e4e8ed;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 900;
}

.stats-widget summary::-webkit-details-marker {
  display: none;
}

.stats-widget summary b {
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

.stats-widget-body {
  padding: 22px;
  overflow-x: auto;
}

.stats-online {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid #8ac9b3;
  border-radius: 4px;
  background: #e7f6ef;
  color: #087347;
  font-size: 13px;
  font-weight: 700;
}

.stats-mini-table,
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.stats-mini-table th,
.stats-mini-table td,
.stats-table th,
.stats-table td {
  padding: 12px 10px;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.stats-mini-table th,
.stats-table th {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.stats-mini-table tbody tr:nth-child(even),
.stats-table tbody tr:nth-child(even) {
  background: #f7f8fa;
}

.stats-mini-table td:last-child,
.stats-mini-table th:last-child,
.stats-table td:last-child,
.stats-table th:last-child {
  text-align: right;
}

.stats-table a,
.stats-mini-table a {
  color: #304ffe;
  text-decoration: none;
}

.stats-pie-wrap {
  display: grid;
  grid-template-columns: 145px minmax(180px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 300px;
}

.stats-pie {
  width: min(310px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
}

.stats-pie-legend {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #667085;
  font-size: 12px;
}

.stats-pie-legend li {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.stats-pie-legend span {
  width: 28px;
  height: 8px;
  flex: 0 0 auto;
}

.stats-line-chart {
  width: 100%;
  height: 310px;
  display: block;
}

.stats-line-chart .grid line {
  stroke: #dce2e8;
  stroke-width: 1;
}

.stats-line-chart .area {
  opacity: .38;
}

.stats-line-chart .area.visits {
  fill: #90caf9;
}

.stats-line-chart .area.visitors {
  fill: #f6a5bd;
}

.stats-line-chart .line {
  fill: none;
  stroke-width: 2.4;
}

.stats-line-chart .line.visits {
  stroke: #42a5f5;
}

.stats-line-chart .line.visitors {
  stroke: #ec7ea2;
}

.stats-axis {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 8px;
  margin-top: -20px;
  color: #667085;
  font-size: 11px;
}

.stats-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
  color: #667085;
  font-size: 12px;
}

.stats-legend span::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 10px;
  margin-right: 6px;
  border: 1px solid currentColor;
  vertical-align: middle;
}

.stats-legend .visitors::before {
  background: #f6a5bd;
  color: #ec7ea2;
}

.stats-legend .visits::before {
  background: #90caf9;
  color: #42a5f5;
}

.stats-legend.multi {
  flex-wrap: wrap;
}

.stats-legend.multi span::before {
  background: var(--swatch);
  color: var(--swatch);
}

.stats-footer-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #111827;
  font-size: 12px;
}

.stats-footer-link a {
  color: #304ffe;
  text-decoration: none;
}

.stats-empty,
.stats-empty-chart {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #667085;
  font-size: 13px;
}

.stats-empty-chart.has-data {
  display: block;
  min-height: 240px;
}

.stats-horizontal-bars {
  display: grid;
  gap: 12px;
  padding: 20px 0;
}

.stats-horizontal-bars label {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #667085;
  font-size: 12px;
}

.stats-horizontal-bars span {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 0 12px 12px 0;
  background: #d6bee6;
  color: #5b3473;
  font-weight: 900;
}

.browser-dot {
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #9ca3af;
  vertical-align: -2px;
}

.browser-dot.chrome {
  background: radial-gradient(circle at 50% 50%, #1e88e5 0 26%, #fff 27% 33%, #43a047 34% 55%, #fdd835 56% 76%, #e53935 77%);
}

.browser-dot.firefox {
  background: linear-gradient(135deg, #ff7043, #ffb300 55%, #7e57c2);
}

.browser-dot.safari,
.browser-dot.edge {
  background: linear-gradient(135deg, #29b6f6, #26a69a);
}

.shop-page {
  min-height: 100vh;
  background: #f5f6f8;
  color: #10151f;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

.shop-header {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.shop-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #10151f;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.shop-header nav {
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-header nav a {
  text-decoration: none;
}

.shop-hero {
  min-height: 340px;
  display: grid;
  align-items: end;
  padding: 54px 5vw;
  background:
    linear-gradient(90deg, rgba(16,21,31,.86), rgba(16,21,31,.44)),
    url("/assets/photos/hero-match.jpg") center/cover;
  color: #fff;
}

.shop-hero > div {
  max-width: 760px;
}

.shop-hero span,
.shop-card span,
.shop-product-info > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .9;
}

.shop-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.55;
}

.shop-catalog {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 36px 5vw 70px;
}

.shop-filters,
.shop-card,
.shop-product-info,
.shop-checkout,
.store-admin-shell {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.shop-filters {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 20px;
}

.shop-filters h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.shop-filters a {
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.shop-filters a.active,
.shop-filters a:hover {
  background: #fff0f2;
  color: var(--red);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.shop-card {
  position: relative;
  overflow: hidden;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 1 / .82;
  display: block;
  object-fit: cover;
  background: #eef0f2;
}

.shop-card div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.shop-card h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.05;
}

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

.shop-card strong,
.shop-product-info > strong,
.shop-total strong {
  font-size: 24px;
}

.shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff !important;
}

.shop-product-detail {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .65fr);
  gap: 34px;
  padding: 42px 5vw 70px;
}

.shop-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #eef0f2;
}

.shop-product-media {
  display: grid;
  gap: 14px;
  align-self: start;
}

.shop-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shop-product-gallery-block {
  display: grid;
  gap: 12px;
}

.shop-product-gallery-block h2 {
  margin: 4px 0 0;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--red);
}

.shop-product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f0e7;
}

.shop-product-info {
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 30px;
}

.shop-product-info h1 {
  margin: 0;
  font-size: 42px;
  line-height: .98;
}

.shop-product-info form,
.shop-form {
  display: grid;
  gap: 16px;
}

.shop-product-info label,
.shop-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.language-flag-image {
  display: block;
  width: 22px;
  height: 15px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, .2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.rich-text-shell {
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 8px;
}

.rich-text-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px;
  border-bottom: 1px solid var(--line);
  background: #f5f6f8;
}

.rich-text-button {
  width: 38px;
  min-width: 38px;
  height: 34px;
  border: 1px solid #cfd3da;
  background: #fff;
  color: #15171b;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.rich-text-button:hover,
.rich-text-button:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.rich-text-editor {
  min-height: 360px;
  padding: 20px;
  color: #181a1f;
  line-height: 1.7;
  overflow-wrap: anywhere;
  outline: none;
}

.rich-text-editor:focus {
  box-shadow: inset 0 0 0 2px rgba(218, 0, 29, .18);
}

.rich-text-editor img {
  max-width: 100%;
  height: auto;
}

.rich-text-source {
  display: none;
  width: 100%;
  min-height: 360px;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-family: Consolas, monospace;
  font-size: .88rem;
}

.rich-text-source.is-visible {
  display: block;
}

.news-assets-admin {
  margin-top: 22px;
}

.news-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.news-asset-item {
  min-width: 0;
  overflow: hidden;
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.news-asset-item img {
  display: block;
  width: 100%;
  height: 170px;
  min-height: 170px;
  max-height: 170px;
  object-fit: contain;
  object-position: center;
  background: #f3f4f6;
}

.news-asset-name {
  min-width: 0;
  min-height: 2.8em;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.4;
}

.news-asset-item code {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
  font-size: .75rem;
}

.news-asset-item .actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.news-asset-item .actions .btn {
  min-width: 0;
  padding-inline: 14px;
  white-space: normal;
  text-align: center;
}

.news-filters {
  justify-content: flex-end;
  align-items: center;
}

.news-filters .btn {
  min-height: 42px;
  white-space: normal;
  text-align: center;
}

.news-inline-image {
  width: min(100%, 960px);
  margin: 28px auto;
}

.news-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-inline-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 640px) {
  .rich-text-editor,
  .rich-text-source {
    min-height: 280px;
  }

  .news-asset-grid {
    grid-template-columns: 1fr;
  }

  .news-asset-item .actions {
    grid-template-columns: 1fr;
  }

  .news-filters {
    justify-content: flex-start;
  }

  .news-filters .btn {
    flex: 1 1 180px;
  }
}

.shop-form .field-validation-error,
.shop-form .validation-summary-errors {
    color: #c90019;
    font-size: 0.82rem;
    font-weight: 700;
}

.shop-form .validation-summary-valid,
.shop-form .field-validation-valid {
    display: none;
}

.shop-product-info input,
.shop-product-info select,
.shop-form input,
.shop-form textarea,
.store-product-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}

.shop-checkout {
  width: min(980px, calc(100% - 44px));
  margin: 42px auto 70px;
  padding: 30px;
}

.shop-table {
  width: 100%;
  border-collapse: collapse;
}

.shop-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}

.shop-table img {
  width: 74px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.shop-total {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin: 22px 0;
  align-items: baseline;
}

@media (max-width: 640px) {
  .shop-checkout {
    width: calc(100% - 24px);
    margin: 24px auto 48px;
    padding: 18px;
    overflow: hidden;
  }

  .shop-table,
  .shop-table tbody {
    display: block;
    width: 100%;
  }

  .shop-cart-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .shop-table .shop-cart-row td {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .shop-cart-image {
    grid-row: 1 / 4;
  }

  .shop-table .shop-cart-image img {
    width: 78px;
    height: 88px;
  }

  .shop-cart-product {
    grid-column: 2 / 4;
    overflow-wrap: anywhere;
  }

  .shop-cart-quantity {
    grid-column: 2;
  }

  .shop-cart-price {
    grid-column: 3;
    font-weight: 800;
    white-space: nowrap;
  }

  .shop-cart-remove {
    grid-column: 2 / 4;
  }

  .shop-cart-remove form,
  .shop-cart-remove .btn {
    width: 100%;
    max-width: 100%;
  }

  .shop-total {
    justify-content: space-between;
  }
}

.store-admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
  background: #f3f5f7;
}

.store-admin-sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 22px;
  background: #10151f;
  color: #fff;
}

.store-admin-sidebar .shop-brand {
  color: #fff;
}

.store-admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.store-admin-sidebar nav a,
.store-admin-sidebar .admin-nav-link {
  padding: 12px 14px;
  border-radius: 5px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 900;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.store-admin-sidebar nav a:hover,
.store-admin-sidebar .admin-nav-link:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.store-admin-main {
  min-width: 0;
}

.store-admin-shell {
  margin: 34px;
  padding: 28px;
}

.store-product-form {
  display: grid;
  gap: 18px;
}

.store-products-table td {
  vertical-align: middle;
}

.store-products-table {
  width: 100%;
  table-layout: fixed;
}

.store-products-table th,
.store-products-table td {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.store-products-table th:nth-child(1),
.store-products-table td:nth-child(1) {
  width: 86px;
}

.store-products-table th:nth-child(2),
.store-products-table td:nth-child(2) {
  width: 24%;
}

.store-products-table th:nth-child(3),
.store-products-table td:nth-child(3) {
  width: 126px;
}

.store-products-table th:nth-child(4),
.store-products-table td:nth-child(4) {
  width: 92px;
}

.store-products-table th:nth-child(5),
.store-products-table td:nth-child(5) {
  width: 74px;
}

.store-products-table th:nth-child(6),
.store-products-table td:nth-child(6) {
  width: 58px;
}

.store-products-table th:nth-child(7),
.store-products-table td:nth-child(7) {
  width: 92px;
}

.store-products-table th:nth-child(8),
.store-products-table td:nth-child(8) {
  width: 118px;
}

.store-product-actions {
  display: grid;
  gap: 8px;
  justify-content: stretch;
}

.store-product-actions .btn,
.store-product-actions button {
  width: 100%;
  min-width: 0;
  padding-inline: 8px;
  text-align: center;
}

.store-orders-table td {
  vertical-align: middle;
}

.order-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status.paid {
  background: #dcfce7;
  color: #166534;
}

.order-status.preparing {
  background: #fef3c7;
  color: #92400e;
}

.order-status.shipped {
  background: #dbeafe;
  color: #1d4ed8;
}

.order-status.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 18px;
}

.admin-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.admin-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 900;
}

.admin-alert.success {
  border: 1px solid #86efac;
  background: #dcfce7;
  color: #166534;
}

.order-status-form {
  display: grid;
  gap: 14px;
}

.order-status-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-status-form select,
.order-status-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  text-transform: none;
}

.order-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-timeline li {
  position: relative;
  padding-left: 28px;
}

.order-timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: #fff;
}

.order-timeline strong,
.order-timeline span {
  display: block;
}

.order-timeline span {
  color: var(--muted);
  font-size: 13px;
}

.order-timeline p {
  margin: 6px 0 0;
}

.inline-delete {
  display: block;
  margin: 0;
}

.store-admin-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6f0e7;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.admin-pagination a {
  min-width: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #111;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.admin-pagination a.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn.danger {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fff;
}

.btn.danger:hover {
  background: #b91c1c;
  color: #fff;
}

.store-product-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
}

.store-product-fields {
  display: grid;
  gap: 18px;
}

.store-product-fields-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-product-fields small,
.store-gallery-upload p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.store-image-preview {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f0e7;
  color: var(--muted);
  font-weight: 900;
}

.store-image-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.store-stock-grid,
.store-master-grid {
  display: grid;
  gap: 10px;
  align-items: center;
}

.store-stock-grid {
  grid-template-columns: 80px minmax(80px, 160px) minmax(90px, 160px);
}

.store-master-grid.category-grid {
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) 90px 120px 110px;
}

.store-master-grid.size-grid {
  grid-template-columns: 1fr 120px 150px 110px;
}

.store-stock-head,
.store-master-grid strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-stock-grid input[readonly] {
  background: #f3f5f7;
  font-weight: 900;
}

.shop-product-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.shop-product-meta dt,
.shop-product-meta dd {
  margin: 0;
}

.shop-product-meta dt {
  color: var(--muted);
  font-weight: 900;
}

.shop-product-meta dd {
  text-align: right;
  font-weight: 900;
}

.shop-product-meta a {
  color: var(--red);
}

.store-master-active {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.store-gallery-admin {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.store-gallery-existing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.store-gallery-thumb {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
}

.store-gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6f0e7;
}

.store-gallery-thumb span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.store-gallery-upload {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-gallery-upload p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .site-header,
  .hero,
  .hero-slide,
  .home-grid,
  .page-hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .article-grid,
  .health-layout,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .footer-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .news-detail-hero,
  .news-detail-layout,
  .admin-head,
  .stats-dashboard-grid,
  .stats-grid,
  .stats-hero {
    grid-template-columns: 1fr;
  }

  .stats-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-toolbar-actions { justify-content: flex-start; }
  .stats-kpis,
  .stats-report-pair { grid-template-columns: 1fr 1fr; }

  .stats-sync-panel { grid-template-columns: 1fr; }
  .stats-sync-actions,
  .stats-sync-actions form { align-items: stretch; flex-wrap: wrap; }
  .stats-sync-summary { grid-template-columns: 1fr 1fr; }

  .admin-head {
    display: grid;
    align-items: start;
  }

  .sports-sync-admin {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav { justify-content: flex-start; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .hero,
  .hero-slide {
    align-content: center;
    gap: 28px;
    min-height: auto;
  }
  .hero-slide .match-card {
    width: min(100%, 430px);
    justify-self: center;
  }
  .hero-slide .sports-carousel {
    width: min(100%, 430px);
    justify-self: center;
  }
  .hero-slide .match-card h2 {
    padding: 13px 16px;
    font-size: 18px;
  }
  .hero-slide .match-body {
    padding: 18px;
  }
  .hero-slide .match-league {
    margin-bottom: 14px;
  }
  .hero-slide .versus img {
    width: 58px;
    height: 58px;
  }
  .hero-slide .versus strong {
    max-width: 112px;
    font-size: 14px;
    line-height: 1.18;
  }
  .hero-slide .match-meta div {
    padding: 13px 14px;
  }
  .hero-slide .match-actions {
    padding: 14px 16px 18px;
  }
  .sponsor-content {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
  .club-history { width: min(100% - 44px, 920px); }
  .history-tabs { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .topbar {
    display: flex;
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 14px;
    padding: 7px 12px;
  }
  .topbar > a { flex: 1 1 auto; text-align: right; }
  .topbar .language-switcher { flex: 0 0 auto; gap: 4px; }
  .topbar-socials {
    flex: 1 0 100%;
    justify-content: center;
    gap: 14px;
  }
  .site-header { position: static; padding: 16px 22px 18px; }
  .brand { gap: 11px; }
  .brand-marks { gap: 5px; }
  .brand-marks .brand-asobal-logo { width: 34px; height: 52px; }
  .brand-marks .brand-club-logo { width: 58px; height: 68px; }
  .brand-marks .brand-anniversary { width: 52px; height: 52px; }
  .brand-name { font-size: 23px; }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 18px;
    overflow: visible;
    white-space: normal;
    font-size: 11px;
    line-height: 1.1;
  }
  .main-nav a {
    padding: 12px 0;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    display: none;
    transform: none;
    box-shadow: none;
  }
  .nav-dropdown-menu a {
    padding: 10px 0;
  }
  .main-nav a.active::after {
    bottom: 4px;
  }
  .hero,
  .hero-slide,
  .page-hero,
  .section,
  .sponsor-strip,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 40px 22px 34px;
  }

  .footer-navigation {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-contact {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-nav-columns {
    gap: 14px 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 22px;
    padding-left: 22px;
    text-align: left;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
  .page-hero,
  .page-hero > div {
    min-width: 0;
    max-width: 100%;
  }
  .page-hero h1 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 40px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  .page-hero p {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
  .google-map {
    height: 340px;
  }
  .map-head,
  .map-link {
    padding-left: 20px;
    padding-right: 20px;
  }
  .sponsor-page,
  .transparency-page,
  .sponsor-content,
  .transparency-content {
    min-width: 0;
    max-width: 100%;
  }
  .sponsor-content h1,
  .sponsor-content h2,
  .sponsor-content h3,
  .transparency-content h1,
  .transparency-content h2,
  .transparency-content h3,
  .transparency-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .store-admin-page {
    display: block;
  }
  .store-admin-sidebar {
    position: static;
    width: auto;
  }
  .store-admin-main {
    width: 100%;
  }
  .store-admin-shell {
    margin: 16px;
    padding: 18px;
  }
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
  .admin-panel {
    padding: 16px;
  }
  .match-meta,
  .news-card {
    grid-template-columns: 1fr;
  }

  .hero-slide .versus {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    gap: 8px;
  }

  .hero-slide .match-card {
    width: 100%;
  }

  .hero-slide .sports-carousel {
    width: 100%;
  }

  .sports-panel {
    min-height: 370px;
  }

  .standing-row {
    grid-template-columns: 24px 34px minmax(0, 1fr) 27px;
    gap: 7px;
    padding: 5px 7px;
  }

  .home-sponsor-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-sponsor-logos img {
    height: 58px;
    padding: 10px 12px;
  }

  .hero-slide .match-actions {
    display: grid;
  }

  .sponsor-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sponsor-content [class*="col-"] {
    min-height: 104px;
    padding: 6px 0;
  }

  .sponsor-content img,
  .sponsor-content .col-12 img,
  .sponsor-content .col-md-12 img {
    max-width: min(100%, 320px);
    max-height: 132px;
  }

  .news-card img {
    height: 180px;
  }

  .club-history {
    width: calc(100% - 44px);
    padding: 44px 0 58px;
  }

  .club-history-intro {
    text-align: left;
  }

  .history-panel {
    padding: 28px 20px;
  }

  .history-tab {
    min-width: 104px;
    padding: 0 14px;
  }

  .history-gallery {
    grid-template-columns: 1fr;
  }

  .history-media img {
    max-height: 360px;
  }

  .stats-bars {
    grid-template-columns: repeat(7, 1fr);
  }

  .stats-panel {
    padding: 16px;
  }

  .stats-dashboard {
    margin: -14px;
    padding: 10px;
  }

  .stats-widget-body {
    padding: 14px;
  }

  .stats-pie-wrap {
    grid-template-columns: 1fr;
  }

  .stats-line-chart {
    height: 220px;
  }

  .stats-axis {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .stats-axis span:nth-child(odd) {
    display: none;
  }

  .archive-season-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .archive-season-table {
    display: block;
    min-width: 0;
  }

  .archive-season-table thead {
    display: none;
  }

  .archive-season-table tbody {
    display: grid;
    gap: 10px;
  }

  .archive-season-table tr,
  .archive-season-table tbody tr:nth-child(even) {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 19, 24, .05);
  }

  .archive-season-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .archive-season-table td span {
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
    padding: 5px 9px;
    border-radius: 5px;
    white-space: normal;
    text-align: left;
  }

  .archive-season-table td:last-child {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
  }
}

@media (max-width: 420px) {
  .page-hero h1 {
    font-size: 34px;
  }
}

/* Tienda deportiva independiente */
.shop-storefront {
  --shop-red: #d4061c;
  --shop-black: #111111;
  --shop-ink: #171717;
  --shop-paper: #f6f0e7;
  --shop-card: #fbf8f2;
  --shop-line: rgba(17, 17, 17, .14);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 6, 28, .08), transparent 34%),
    linear-gradient(180deg, #fbf7ef 0%, #f2eadf 100%);
  color: var(--shop-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.shop-topline {
  height: 42px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  padding: 0 34px;
  background: #111;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
}

.shop-storefront .shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 22px 40px;
  background: rgba(249, 244, 236, .96);
  border-bottom: 1px solid var(--shop-line);
  box-shadow: 0 14px 40px rgba(17, 17, 17, .05);
  backdrop-filter: blur(12px);
}

.shop-brand-full {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-brand-full img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: transparent;
}

.shop-brand-full span {
  display: grid;
  line-height: .92;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-brand-full strong {
  color: var(--shop-red);
}

.shop-header-errea {
  width: 150px !important;
  height: 66px !important;
  object-fit: contain;
  padding-left: 22px;
  border-left: 1px solid rgba(17,17,17,.16);
  mix-blend-mode: multiply;
}

.shop-storefront .shop-header nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  min-width: 0;
  overflow: visible;
}

.shop-storefront .shop-header nav a,
.shop-actions a {
  position: relative;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.shop-storefront .shop-header nav a.active,
.shop-storefront .shop-header nav a:hover {
  color: var(--shop-red);
}

.shop-storefront .shop-header nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--shop-red);
}

.shop-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.shop-actions strong {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--shop-red);
  color: #fff;
  font-size: 11px;
}

.shop-storefront .shop-hero {
  min-height: 425px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 72px min(8vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.04) 100%),
    url("/assets/shop/generated/shop-hero-75-final.png") center / cover no-repeat;
  color: #fff;
}

.shop-hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.shop-hero-copy span,
.shop-section-title span {
  color: var(--shop-red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-hero-copy h1 {
  max-width: 610px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  text-transform: uppercase;
}

.shop-hero-copy p {
  max-width: 460px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.55;
}

.shop-cta,
.shop-outline-cta,
.shop-newsletter button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--shop-red);
  border-radius: 4px;
  background: var(--shop-red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 26px min(8vw, 86px);
  background: #faf6ef;
  border-bottom: 1px solid var(--shop-line);
}

.shop-benefits article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 5px 18px;
  align-items: center;
  padding: 12px 24px;
  border-right: 1px dashed rgba(17,17,17,.24);
}

.shop-benefits article:last-child {
  border-right: 0;
}

.shop-benefit-icon {
  grid-row: span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid #111;
  border-radius: 50%;
  color: #111;
  background: rgba(255,255,255,.32);
}

.shop-benefit-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-benefit-errea {
  width: 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shop-benefit-errea img {
  width: 70px;
  height: 42px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
}

.shop-benefits strong {
  text-transform: uppercase;
}

.shop-benefits small {
  color: #555;
}

.shop-featured {
  padding: 58px min(8vw, 86px) 36px;
}

.shop-section-title {
  display: grid;
  justify-items: center;
  margin-bottom: 26px;
}

.shop-section-title h2 {
  margin: 0;
  font-size: 31px;
  text-align: center;
  text-transform: uppercase;
}

.shop-section-title h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--shop-red);
}

.shop-storefront .shop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.shop-storefront .shop-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--shop-line);
  border-radius: 7px;
  background: var(--shop-card);
  box-shadow: none;
}

.shop-card-media {
  display: block;
  background: #efe7db;
}

.shop-storefront .shop-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  padding: 0;
  border-radius: 0;
}

.shop-storefront .shop-card div {
  padding: 16px;
}

.shop-storefront .shop-card span {
  color: #757575;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.shop-storefront .shop-card h2 {
  min-height: 42px;
  margin: 7px 0 11px;
  color: #111;
  font-size: 16px;
  line-height: 1.25;
}

.shop-storefront .shop-card strong {
  color: #111;
  font-size: 18px;
}

.shop-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  font-size: 22px;
}

.shop-outline-cta {
  width: fit-content;
  margin: 22px auto 0;
  background: transparent;
  color: var(--shop-red);
}

.shop-reviews {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 58px;
  padding: 34px 42px;
  border: 1px solid #c8a977;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.05), transparent 24%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(90,61,29,.08) 26px),
    #ead3a6;
  box-shadow: 0 18px 36px rgba(88,58,22,.18);
}

.shop-reviews-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
}

.shop-reviews h2 {
  margin: 0;
  font-size: 38px;
  text-transform: uppercase;
}

.shop-reviews em {
  color: var(--shop-red);
  font-family: Georgia, serif;
  font-size: .8em;
  text-transform: none;
}

.shop-reviews a {
  padding: 12px 18px;
  border: 1px solid var(--shop-red);
  color: var(--shop-red);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.shop-review-grid article {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(80,49,16,.35);
  background: rgba(255,248,229,.65);
}

.shop-review-grid p {
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.shop-review-grid strong {
  color: #111;
}

.shop-newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 30px;
  align-items: center;
  padding: 28px min(8vw, 86px);
  background: linear-gradient(90deg, #9e0715, var(--shop-red));
  color: #fff;
}

.shop-newsletter div {
  display: grid;
  gap: 4px;
}

.shop-newsletter strong {
  font-size: 22px;
  text-transform: uppercase;
}

.shop-newsletter form {
  display: grid;
  grid-template-columns: 1fr 180px;
}

.shop-newsletter input {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px 0 0 4px;
  font: inherit;
}

.shop-newsletter button {
  border-color: #111;
  border-radius: 0 4px 4px 0;
  background: #111;
}

.shop-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 42px min(8vw, 86px);
  background: #111;
  color: rgba(255,255,255,.78);
}

.shop-footer img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.shop-footer-brand img {
  filter: none;
}

.shop-footer-errea {
  width: 110px !important;
  height: auto !important;
  padding: 8px 10px;
  border-radius: 5px;
  background: #fff;
}

.shop-footer div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.shop-footer strong {
  color: #fff;
  text-transform: uppercase;
}

.shop-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.shop-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px min(8vw, 86px);
  border-top: 1px solid rgba(255,255,255,.12);
  background: #0b0d11;
  color: rgba(255,255,255,.64);
  font-size: 11px;
}

.shop-legal-bar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.shop-legal-bar a,
.shop-legal-bar button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.76);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.shop-legal-bar a:hover,
.shop-legal-bar a:focus-visible,
.shop-legal-bar button:hover,
.shop-legal-bar button:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1150px) {
  .shop-storefront .shop-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shop-storefront .shop-header nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

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

  .shop-benefits,
  .shop-review-grid,
  .shop-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-topline {
    grid-template-columns: 1fr;
    height: auto;
    gap: 5px;
    padding: 10px 18px;
    text-align: center;
  }

  .shop-storefront .shop-header {
    padding: 18px 22px;
  }

  .shop-brand-full {
    flex-wrap: wrap;
  }

  .shop-brand-full img:first-child {
    width: 54px;
    height: 54px;
  }

  .shop-brand-full span {
    font-size: 20px;
  }

  .shop-header-errea {
    width: 120px !important;
    height: 52px !important;
    padding-left: 12px;
  }

  .shop-storefront .shop-header nav {
    font-size: 12px;
    line-height: 1.1;
  }

  .shop-actions {
    justify-content: flex-start;
  }

  .shop-legal-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 22px;
  }

  .shop-legal-bar nav {
    justify-content: flex-start;
  }

  .shop-storefront .shop-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 24px;
  }

  .shop-benefits,
  .shop-storefront .shop-grid,
  .shop-reviews-head,
  .shop-review-grid,
  .shop-newsletter,
  .shop-footer,
  .store-product-editor,
  .store-product-fields-2,
  .shop-product-detail,
  .store-stock-grid,
  .store-master-grid.category-grid,
  .store-master-grid.size-grid {
    grid-template-columns: 1fr;
  }

  .store-gallery-existing,
  .store-gallery-upload {
    grid-template-columns: 1fr;
  }

  .shop-product-gallery {
    grid-template-columns: 1fr;
  }

  .shop-benefits article {
    border-right: 0;
    border-bottom: 1px dashed rgba(17,17,17,.24);
  }

  .shop-newsletter form {
    grid-template-columns: 1fr;
  }

  .shop-newsletter input,
  .shop-newsletter button {
    border-radius: 4px;
  }
}
/* Subscription campaign */
.subscription-hero {
  min-height: min(760px, 82vh);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #7e0715;
}

.subscription-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 13, 18, .9) 0%, rgba(16, 13, 18, .18) 68%);
}

.subscription-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.subscription-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 64px;
  color: #fff;
}

.subscription-hero-content h1 {
  max-width: 760px;
  margin: 12px 0;
  font-size: 5rem;
  line-height: .95;
}

.subscription-hero-content p {
  max-width: 660px;
  font-size: 1.2rem;
}

.subscription-intro {
  max-width: 920px;
  text-align: center;
}

.subscription-intro h2,
.subscription-copy h2,
.subscription-details h2 {
  margin: 12px 0 18px;
  font-size: 2.5rem;
}

.subscription-intro p {
  font-size: 1.14rem;
  line-height: 1.8;
}

.subscription-band {
  padding: 72px 20px;
  background: #f3f4f6;
}

.subscription-band.alternate {
  background: #fff;
}

.subscription-band.support {
  background: #151922;
  color: #fff;
}

.subscription-band-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: center;
  gap: 64px;
}

.subscription-band-inner > img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 20px 50px rgba(22, 26, 35, .14);
}

.subscription-copy p {
  margin-bottom: 28px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.subscription-details > div:first-child {
  max-width: 760px;
  margin-bottom: 32px;
}

.subscription-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.subscription-image-grid img {
  width: 100%;
  max-height: 820px;
  object-fit: cover;
  object-position: top;
}

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

@media (max-width: 1450px) and (min-width: 1051px) {
  .site-header {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 2vw;
  }

  .brand { gap: 10px; }
  .brand-marks { gap: 4px; }
  .brand-marks .brand-asobal-logo { width: 42px; height: 62px; }
  .brand-marks .brand-club-logo { width: 58px; height: 72px; }
  .brand-marks .brand-anniversary { width: 52px; height: 52px; }
  .brand-name { font-size: 23px; }
  .main-nav { gap: 10px; font-size: 10px; }
}

@media (max-width: 760px) {
  .subscription-hero { min-height: 72vh; }
  .subscription-hero-content { width: min(100% - 28px, 1180px); padding-bottom: 36px; }
  .subscription-hero-content h1 { font-size: 3.2rem; }
  .subscription-band { padding: 48px 16px; }
  .subscription-band-inner,
  .subscription-image-grid { grid-template-columns: 1fr; }
  .subscription-band-inner { gap: 30px; }
  .subscription-band.alternate .subscription-band-inner > img { order: 2; }
  .subscription-band-inner > img { max-height: none; }
  .subscription-actions .btn { width: 100%; overflow-wrap: anywhere; }
}
