:root {
  --verde: #023721;
  --verde-pista: #0a4a32;
  --verde-oscuro: #011c16;
  --verde-hover: #0a4a32;
  --oro: #ba822e;
  --oro-cta: #d4a84a;
  --oro-oscuro: #8f641f;
  
  --oro-hover: #c4913a;
  --oro-texto: #e4c98a;
  --negro: #0e1612;
  --papel: #f4f2ee;
  --borde: #d9d4c8;
  --gris-medio: #4a4843;
  --blanco: #ffffff;
  --texto: #1c241f;
  --texto-suave: #3d4a42;
  --crema: #f0ebe1;
  --cierre-meta: #cfc6b4;
  --footer-texto: #d5d0c4;
  --rojo: #a32218;
  --rojo-texto: #7d1a12;
  --rojo-fondo: #fdf3f1;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  font-size: 1.125rem;
  line-height: 1.6;
  /* Safari en iOS infla el texto al girar si no se fija. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 200;
  background: var(--oro-cta);
  color: var(--verde);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 4px;
}

.skip-link:focus {
  left: 0.75rem;
}

:target,
section[id],
main[id] {
  scroll-margin-top: 88px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-md { margin-top: 1.15rem; }
.mt-lg { margin-top: 1.75rem; }
.mb-lg { margin-bottom: 2rem; }
.measure { max-width: 36rem; }
.btn-block { width: 100%; }
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.address {
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-title--sub {
  font-size: 1.4rem;
}
.stats-gap {
  margin: 1rem 0 1.5rem;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1.page-title,
h2.section-title {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 3.6vw, 2.15rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--negro);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary,
a.btn-primary {
  background: var(--oro-cta);
  color: var(--verde);
  text-decoration: none;
}

.btn-primary:hover,
a.btn-primary:hover {
  /* Un punto mas oscuro que --oro, para que el hover se note. */
  background: var(--oro-hover);
  color: var(--verde);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--blanco);
}

.btn-outline-light:hover {
  background: var(--blanco);
  color: var(--verde);
}

.btn-dark {
  background: var(--verde);
  color: var(--blanco);
}

.btn-dark:hover {
  background: var(--verde-hover);
}

.btn-outline-dark,
a.btn-outline-dark {
  background: transparent;
  border-color: var(--verde);
  color: var(--verde);
  text-decoration: none;
}

.btn-outline-dark:hover,
a.btn-outline-dark:hover {
  background: var(--verde);
  color: var(--blanco);
}

/* Variante del boton para .cierre: sobre el verde, el claro no se ve. */
.cierre .btn-outline-dark,
.cierre a.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--blanco);
}

.cierre .btn-outline-dark:hover,
.cierre a.btn-outline-dark:hover {
  background: var(--blanco);
  color: var(--verde);
}

.link-more {
  font-weight: 700;
  color: var(--verde);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-more:hover {
  color: var(--verde-hover);
}

.icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--negro);
  color: var(--blanco);
  border-bottom: 3px solid var(--oro);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--blanco);
}

footer .logo img {
  width: 88px;
  height: 88px;
}

.nav-links {
  display: none;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Area tactil: en tableta estos enlaces se tocan con el dedo. */
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--oro-texto);
}

.nav-cta[aria-current="page"] {
  box-shadow: inset 0 0 0 2px var(--verde);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--blanco);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--negro);
}

/* El menu abierto se limita al hueco bajo la barra (68px) y se desplaza dentro:
   en horizontal, lo que sobra por abajo no se alcanzaba. */
.mobile-menu.open {
  display: flex;
  max-height: calc(100vh - 68px);
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu a {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--verde-hover);
}

.mobile-menu a.active {
  color: var(--oro-cta);
}

.mobile-menu .btn {
  margin-top: 0.85rem;
  border-bottom: none;
  justify-content: center;
  text-align: center;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  .nav-cta {
    margin-left: 0;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 1180px) {
  .nav-links {
    gap: 1.2rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--verde-oscuro);
}

/* Banner de las paginas interiores: la misma pista que la portada, vista por
   otro lado. Va en un ::after para no tocar el hero de cada pagina. */
.hero-compact {
  min-height: 0;
  align-items: center;
  background: radial-gradient(85% 170% at 86% 50%, var(--verde-pista) 0%, var(--verde-oscuro) 68%);
}

.hero-compact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../assets/pista-canasta.svg) no-repeat right center;
  /* Alto fijo: asi la canasta mide igual con titular corto o de dos lineas. */
  background-size: auto clamp(10rem, 46vw, 34rem);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.25rem 3rem;
  width: 100%;
}

.hero-kicker {
  display: block;
  color: var(--oro-texto);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

/* Segunda linea del hero, en el mismo oro que el kicker. */
.hero-meta {
  color: var(--oro-texto);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero p.hero-meta {
  margin: 0 0 1.35rem;
}

.hero-compact .hero-inner {
  padding: 2rem 1.25rem;
}

.hero h1 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 3.15rem);
  color: var(--blanco);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero p {
  color: var(--crema);
  max-width: 36rem;
  margin: 0.7rem 0 1.35rem;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Hero de la portada: la pista vista desde arriba con el logo en el centro.
   El circulo central de pista.svg cae sobre .pista-centro, que es el hueco del
   logo, asi que no hay nada que ajustar a mano al cambiar de ancho. */
.hero-pista {
  /* svh mide contra el viewport con la barra de URL desplegada; vh es el respaldo. */
  min-height: clamp(27rem, 76vh, 38rem);
  min-height: clamp(27rem, 76svh, 38rem);
  background: radial-gradient(115% 115% at 50% 42%, var(--verde-pista) 0%, var(--verde-oscuro) 62%);
}

.hero-pista .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.hero-pista .hero-kicker {
  margin-bottom: 1.1rem;
}

.hero-pista h1,
.hero-pista p {
  text-shadow: 0 1px 12px rgba(1, 28, 22, 0.8);
}

.hero-pista p {
  margin-left: auto;
  margin-right: auto;
}

.hero-pista .hero-actions {
  justify-content: center;
}

.pista-centro {
  /* Del ancho del logo salen el circulo y la pista entera (1600 / 300). */
  --logo: clamp(9rem, 26vw, 16rem);
  position: relative;
  width: var(--logo);
  height: var(--logo);
  margin-bottom: 1.9rem;
}

.pista-lineas {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: calc(var(--logo) * 5.333);
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}

.pista-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
}

/* Page header */
.page-header {
  background: var(--papel);
  padding: 2rem 0 1.75rem;
  border-bottom: 1px solid var(--borde);
}

.page-header p {
  color: var(--gris-medio);
  max-width: 38rem;
}

/* Hito */
.hito {
  background: var(--papel);
  color: var(--texto);
  padding: 1.75rem 0;
  border-top: 4px solid var(--oro);
  border-bottom: 1px solid var(--borde);
}

.hito-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.hito-tag {
  display: inline-block;
  color: var(--oro-oscuro);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hito h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  color: var(--negro);
  margin-bottom: 0.35rem;
}

.hito-meta {
  color: var(--gris-medio);
  font-size: 1rem;
}

.hito-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .hito-grid {
    grid-template-columns: 1fr auto;
  }
}

/* Sections */
section {
  padding: 2.75rem 0;
}

section.bg-gris {
  background: var(--papel);
}

/* Fact strip */
.facts {
  display: grid;
  gap: 0;
  border: 1px solid var(--borde);
}

.fact {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--borde);
}

.fact:last-child {
  border-bottom: none;
}

.fact strong {
  display: block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.fact span {
  color: var(--gris-medio);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact {
    border-bottom: 1px solid var(--borde);
    border-right: none;
  }

  .fact:nth-child(odd) {
    border-right: 1px solid var(--borde);
  }

  .fact:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (min-width: 960px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fact,
  .fact:nth-child(odd),
  .fact:nth-last-child(-n + 2) {
    border-bottom: none;
    border-right: 1px solid var(--borde);
  }

  .fact:last-child {
    border-right: none;
  }
}

/* Cards (páginas interiores: contacto, stats de equipo) */
.cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  border: 1px solid var(--borde);
  padding: 1.1rem 1.15rem;
  background: var(--blanco);
}

.card strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.card span {
  color: var(--gris-medio);
  font-size: 1rem;
}

.card a {
  color: var(--verde);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.intent-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

@media (min-width: 768px) {
  .intent-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intent-card {
  display: block;
  height: 100%;
  border: 1px solid var(--borde);
  padding: 1.25rem 1.3rem;
  background: var(--blanco);
  color: inherit;
  text-decoration: none;
}

.intent-card:hover {
  border-color: var(--verde);
}

.intent-card h3 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--negro);
}

.intent-card p {
  color: var(--texto-suave);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.nota-reglas {
  margin: -0.5rem 0 2rem;
  color: #4a4843;
  font-size: 0.92rem;
  max-width: 54ch;
}

/* Recap 2026 */
.recap {
  display: grid;
  gap: 1.5rem;
}

.recap p {
  color: var(--texto-suave);
  margin-bottom: 0.85rem;
  max-width: 42rem;
}

.recap p:last-child {
  margin-bottom: 0;
}

.recap-nums {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.recap-nums > div {
  min-width: 0;
  border-left: 3px solid var(--oro);
  padding-left: 1.1rem;
}

.recap-nums b {
  display: block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--verde);
  white-space: nowrap;
}

.recap-nums span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--gris-medio);
}

@media (min-width: 768px) {
  .recap-nums {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

.foto-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: none;
}

.foto-row li {
  margin: 0;
}

.foto-row picture,
.sede-photo-frame picture {
  display: block;
}

.foto-row img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 35%;
}

.prose .foto-row {
  max-width: none;
  margin: 1.5rem 0 1.25rem;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat-num {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--verde);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gris-medio);
  margin-top: 0.25rem;
}

/* Teams */
.teams-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--borde);
  list-style: none;
}

.teams-grid > li {
  min-width: 0;
}

.team-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--borde);
  font-weight: 600;
  font-size: 1.05rem;
}

.teams-grid > li:last-child .team-card {
  border-bottom: none;
}

.teams-grid .team-card {
  height: 100%;
}

a.team-card:hover {
  background: var(--papel);
}

.team-card small {
  color: var(--gris-medio);
  font-weight: 400;
  font-size: 0.9rem;
}

.team-card-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.team-ini {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--verde);
  color: var(--verde);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--blanco);
}

@media (min-width: 640px) {
  .teams-grid {
    grid-template-columns: 1fr 1fr;
  }

  .teams-grid > li:nth-last-child(2):nth-child(odd) .team-card {
    border-bottom: none;
  }

  .teams-grid > li:nth-child(odd) .team-card {
    border-right: 1px solid var(--borde);
  }
}

.edition-block + .edition-block {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--borde);
}

.convocatoria-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.archivo-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oro-oscuro);
  border: 1px solid var(--borde);
  background: var(--papel);
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.35rem;
}

/* Sede */
.sede-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sede-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .sede-grid .map-embed {
    grid-column: 1 / -1;
  }

}

.sede-photo-frame,
.foto-lado {
  margin: 0;
  overflow: hidden;
}

.sede-photo,
.foto-lado img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 40%;
  margin: 0;
}

.texto-foto {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .texto-foto {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    align-items: start;
  }
}

.map-embed {
  min-height: 280px;
  border: 1px solid var(--borde);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.map-embed iframe[hidden] {
  display: none;
}

.map-fallback {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--papel);
}

.map-fallback p {
  max-width: 36rem;
  color: var(--texto-suave);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 0.75rem;
}

/* Sponsors */
.sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  align-items: center;
  padding: 1.75rem 1.25rem;
  background: var(--papel);
  border-top: 1px solid var(--borde);
  justify-content: center;
  font-size: 1rem;
  color: var(--gris-medio);
}

.sponsors a {
  display: flex;
  align-items: center;
}

.sponsors img {
  display: block;
  width: auto;
  height: 40px;
}

.sponsors a:hover {
  opacity: 0.85;
}

/* Partners */
.partners {
  text-align: center;
}

.partners-kicker {
  color: var(--oro-oscuro);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.partners .section-title {
  margin-bottom: 1.75rem;
}

.partners-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 0;
}

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  padding: 1.35rem 1.5rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  text-decoration: none;
}

.partner-tile img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.partner-tile:hover {
  border-color: var(--oro);
}

.partners-cta {
  margin-top: 1.35rem;
}

@media (min-width: 768px) {
  .partners-grid {
    gap: 1.15rem;
    grid-template-columns: repeat(2, minmax(0, 260px));
  }

  .partner-tile {
    min-height: 140px;
    padding: 1.6rem 1.75rem;
  }
}

/* Cierre */
.cierre {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  color: var(--blanco);
  padding: 2.25rem 0;
}

.cierre .container {
  position: relative;
  z-index: 1;
}

.cierre h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.cierre p {
  color: var(--crema);
  margin-bottom: 1.1rem;
  max-width: 36rem;
}

.cierre-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.35rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--cierre-meta);
}

/* Enlaces de texto: el relleno vertical les da area tactil sin mover el diseno,
   porque los contenedores separan con gap. */
.cierre-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.35rem;
  color: var(--oro-cta);
  font-weight: 700;
}

.cierre-contact a:hover {
  color: var(--oro-texto);
}

/* Footer */
footer {
  background: var(--verde-oscuro);
  color: var(--footer-texto);
  padding: 2.25rem 0 1.5rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

footer .logo {
  margin-bottom: 0.4rem;
}

footer p {
  max-width: 18rem;
}

footer a:hover {
  color: var(--oro-cta);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  padding-block: 0.35rem;
  color: var(--crema);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:last-child {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-nav a {
  color: var(--crema);
  padding-block: 0.35rem;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--oro-texto);
}

.footer-bottom {
  padding-top: 1.15rem;
  border-top: 1px solid var(--verde-hover);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-partners a {
  display: flex;
  align-items: center;
}

.footer-partners img {
  display: block;
  width: auto;
}

.footer-partners .logo-imdeco {
  height: 46px;
}

.footer-partners .logo-kutxa {
  height: 28px;
}

.footer-legal a {
  margin-right: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: 0.35rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(17rem, 1.25fr) max-content;
    column-gap: 2.5rem;
    align-items: start;
  }
}

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.5rem;
  border: 1px solid var(--verde);
  background: var(--blanco);
}

.tab-btn {
  appearance: none;
  margin: 0;
  padding: 0.85rem 0.4rem;
  min-height: 52px;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--borde);
  border-bottom: 3px solid transparent;
  border-radius: 0;
  cursor: pointer;
  color: var(--verde);
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: var(--papel);
  color: var(--verde);
}

.tab-btn.active {
  background: var(--verde);
  color: var(--blanco);
  border-bottom-color: var(--oro);
}

.tab-btn.active:hover {
  background: var(--verde-hover);
  color: var(--blanco);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block !important;
}

.tab-panel[hidden]:not(.active) {
  display: none !important;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--borde);
  margin-bottom: 1.5rem;
  container-type: inline-size;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

table.standings {
  table-layout: fixed;
  min-width: 40rem;
}

table.standings col.pos { width: 3rem; }
table.standings col.stat { width: 2.6rem; }
table.standings col.points { width: 3.4rem; }
table.standings col.diff { width: 3.6rem; }
table.standings col.pts { width: 3.2rem; }

thead {
  background: var(--verde);
  color: var(--blanco);
}

th,
td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--borde);
}

tbody tr:nth-child(even) {
  background: var(--papel);
}

th.num,
td.num {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

th.pts,
td.pts {
  font-weight: 700;
}

table.standings th.pts,
table.standings td.pts {
  position: sticky;
  right: 0;
  z-index: 1;
  box-shadow: -8px 0 8px -8px rgba(14, 22, 18, 0.35);
}

table.standings thead th.pts {
  background: var(--verde);
}

table.standings tbody td.pts {
  background: var(--blanco);
}

table.standings tbody tr:nth-child(even) td.pts {
  background: var(--papel);
}

table.standings tbody tr.cutoff td {
  background: var(--oro-cta);
  color: var(--verde);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0;
  border-bottom: none;
  line-height: 1.3;
}

table.standings tbody tr.cutoff td span {
  position: sticky;
  left: 0;
  display: block;
  width: 100cqi;
  box-sizing: border-box;
  padding: 0.28rem 0.7rem;
}

table.standings tbody tr.eliminado td {
  background: #e4dfd4;
  color: var(--gris-medio);
}

table.standings tbody tr.eliminado td.pts {
  background: #e4dfd4;
}

table a {
  color: var(--verde);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

table a:visited {
  color: var(--verde);
}

.pdf-soon {
  display: inline-block;
  font-weight: 700;
  color: var(--gris-medio);
  border: 1px dashed var(--borde);
  padding: 0.65rem 1rem;
  border-radius: 4px;
}

.group-title {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.25rem 0 0.5rem;
}

.table-note {
  font-size: 0.95rem;
  color: var(--gris-medio);
  margin: -0.5rem 0 1.25rem;
}

/* Match rows */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--borde);
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "home score"
    "away score"
    "meta meta";
  column-gap: 1rem;
  row-gap: 0.1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--borde);
  font-size: 1.05rem;
  font-weight: 600;
}

.match-row:last-child {
  border-bottom: none;
}

.match-row .team-home {
  grid-area: home;
  text-align: left;
}

.match-row .team-away {
  grid-area: away;
  font-weight: 600;
}

.match-row .score {
  grid-area: score;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  min-width: 4.5rem;
  text-align: right;
  color: var(--verde);
  align-self: center;
}

.match-row .score.pending {
  color: var(--gris-medio);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.match-meta {
  grid-area: meta;
  font-size: 0.9rem;
  color: var(--gris-medio);
  font-weight: 400;
  margin-top: 0.2rem;
}

.match-row a,
.standings a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.standings caption {
  caption-side: top;
  text-align: left;
  padding: 0.65rem 0.75rem 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--negro);
}

.jornada-title {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.15rem 0 0.4rem;
  color: var(--gris-medio);
}

/* Bracket */
.bracket-board {
  margin-top: 0.5rem;
}

.bracket-hint {
  font-size: 1rem;
  color: var(--gris-medio);
  margin-bottom: 1rem;
}

.bracket-list {
  display: block;
}

.bracket-scroll {
  display: none;
}

@media (min-width: 960px) {
  .bracket-list {
    display: none;
  }

  .bracket-scroll {
    display: block;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
}

.bracket-tree {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-width: 920px;
  padding: 1rem 0.5rem 2rem;
}

.bracket-wing {
  display: flex;
  align-items: stretch;
}

.bracket-wing--left {
  flex-direction: row;
}

.bracket-wing--right {
  flex-direction: row-reverse;
}

.bracket-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  min-width: 88px;
  padding: 0 18px;
}

.bracket-col-title {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--gris-medio);
  margin-bottom: 0.75rem;
  min-height: 1rem;
}

.bracket-pair {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0;
}

.bracket-wing--left .bracket-col:not(:last-child) .bracket-pair::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--negro);
  transform: translateY(-50%);
}

.bracket-wing--right .bracket-col:not(:last-child) .bracket-pair::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--negro);
  transform: translateY(-50%);
}

.bracket-wing--left .bracket-col:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: var(--negro);
}

.bracket-wing--right .bracket-col:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: var(--negro);
}

.bracket-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--negro);
  background: var(--blanco);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--negro);
}

a.bracket-slot:hover {
  border-color: var(--oro);
}

.bracket-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.bracket-slot.winner {
  border-color: var(--oro);
  box-shadow: inset 0 0 0 1px var(--oro);
}

.bracket-slot.tbd {
  border-style: dashed;
  border-color: var(--gris-medio);
  background: var(--papel);
  color: var(--gris-medio);
}

.bracket-slot.tbd .bracket-abbr {
  font-size: 1rem;
  font-weight: 400;
}

.bracket-score {
  display: block;
  position: relative;
  z-index: 2;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--verde);
  text-align: center;
  white-space: nowrap;
  background: var(--blanco);
  padding: 4px 0 3px;
  line-height: 1.2;
}

/* Cruce resuelto sin jugarse (incomparecencia) */
.bracket-score--wo {
  color: var(--gris-medio);
  letter-spacing: 0.04em;
}

.bracket-pair.has-score {
  gap: 1px;
}

.bracket-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  min-width: 120px;
}

.bracket-center .bracket-col-title {
  font-size: 0.9rem;
  color: var(--negro);
  margin-bottom: 1rem;
}

.bracket-finals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bracket-finals .bracket-slot {
  width: 64px;
  height: 64px;
  font-size: 0.75rem;
}

.bracket-finals-vs {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.9rem;
  color: var(--gris-medio);
}

.bracket-finals-label {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--verde);
}

.bracket-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--borde);
  font-size: 1rem;
  color: var(--gris-medio);
}

.bracket-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bracket-legend-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--negro);
  flex-shrink: 0;
}

.bracket-legend-box.winner {
  border-color: var(--oro);
}

.bracket-legend-box.tbd {
  border-style: dashed;
  border-color: var(--gris-medio);
}

/* Forms */
.form-card {
  max-width: 36rem;
  border: 1px solid var(--borde);
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--blanco);
}

.form-block .form-card,
.form-block .form-success {
  max-width: 36rem;
}

.inscripcion-layout {
  display: grid;
  gap: 1.75rem;
}

/* min-width:auto en un hijo de grid: el ancho minimo del widget inflaba la
   columna y sacaba scroll horizontal por debajo de 360px. */
.inscripcion-layout > * {
  min-width: 0;
}

.inscripcion-layout .form-card,
.inscripcion-layout .form-success {
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 960px) {
  .inscripcion-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.inscripcion-aside {
  border: 1px solid var(--borde);
  background: var(--papel);
  padding: 1.35rem 1.4rem;
}

.inscripcion-aside h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.inscripcion-aside ul {
  margin: 0 0 1rem 1.1rem;
  color: var(--texto-suave);
}

.inscripcion-aside li {
  margin-bottom: 0.45rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--negro);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--blanco);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--oro);
  outline-offset: 0;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-hint {
  font-size: 0.95rem;
  color: var(--gris-medio);
  margin-top: 0.3rem;
}

.form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 1rem;
}

.form-check input {
  margin-top: 0.25rem;
  width: auto;
}

.form-badge {
  display: inline-block;
  background: var(--papel);
  border: 1px solid var(--borde);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  margin-bottom: 1rem;
}

.form-players {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.form-players legend {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.form-success {
  display: none;
  max-width: 36rem;
  border: 1px solid var(--verde);
  padding: 1.5rem;
  background: var(--papel);
}

.form-success.is-visible {
  display: block;
}

.form-success h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Aviso de error dentro del formulario */
.form-error {
  border: 1px solid var(--rojo);
  border-left-width: 4px;
  background: var(--rojo-fondo);
  color: var(--rojo-texto);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.1rem;
}

/* El widget solo se pinta si hace falta comprobar algo, asi que el hueco no
   reserva altura; cuando aparece, el :has() le devuelve el margen. */
.turnstile {
  margin-bottom: 0;
  overflow-x: hidden;
}

.turnstile:has(iframe) {
  margin-bottom: 1.1rem;
}

/* Texto corrido */
.container.prose {
  max-width: var(--max);
}

.prose p,
.prose ul,
.prose .lema {
  max-width: 40rem;
}

.section-lead {
  color: var(--texto-suave);
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.prose p {
  margin-bottom: 0.9rem;
  color: var(--texto-suave);
}

.prose a:not(.btn),
.faq-item a,
.section-lead a {
  color: var(--verde);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a.btn {
  text-decoration: none;
}

.prose ul {
  margin: 0 0 1rem 1.2rem;
  color: var(--texto-suave);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose h2 {
  margin-top: 1.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.breadcrumb {
  margin-bottom: 1rem;
}

.prose h3 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--negro);
}

.lema {
  font-size: 1.15rem;
  color: var(--verde);
  font-weight: 600;
  border-left: 3px solid var(--oro);
  padding-left: 0.9rem;
  margin: 1.25rem 0 1.5rem;
}

.faq-item {
  border-top: 1px solid var(--borde);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--borde);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--verde);
  border-bottom: 2px solid var(--verde);
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.faq-item summary:hover {
  color: var(--verde);
}

.faq-item p {
  color: var(--gris-medio);
  font-size: 1.05rem;
  padding: 0 0 1rem;
  margin: 0;
}

.banner-info {
  background: var(--oro);
  color: var(--verde-oscuro);
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}

.banner-info a {
  color: var(--verde-oscuro);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.team-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  align-items: center;
}

.team-header .page-title {
  margin-bottom: 0.2rem;
}

.team-badge {
  width: 64px;
  height: 64px;
  background: var(--blanco);
  border: 1px solid var(--negro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--verde);
}

.dl-format {
  border-top: 1px solid var(--borde);
}

.dl-format div {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--borde);
  font-size: 0.95rem;
}

.dl-format dt {
  font-weight: 700;
}

.dl-format dd {
  color: var(--texto-suave);
}

@media (max-width: 640px) {
  .dl-format div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* RRSS: plantilla de post */
.page-rrss {
  background: var(--papel);
}

.rrss-intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.rrss-intro p {
  color: var(--texto-suave);
}

.rrss-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
}

/* min-width:auto en los items de flex: se quedaban en los 540px del marco y
   sacaban scroll horizontal en movil. */
.rrss-item {
  min-width: 0;
  max-width: 100%;
}

.rrss-item h3 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--negro);
}

.rrss-item > p {
  font-size: 0.9rem;
  color: var(--gris-medio);
  margin-bottom: 0.65rem;
}

.rrss-frame {
  overflow: hidden;
  border: 1px solid var(--borde);
  background: var(--verde-pista);
}

.rrss-frame--feed {
  width: 540px;
  height: 540px;
}

.rrss-frame--story {
  width: 360px;
  height: 640px;
}

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--blanco);
  background: var(--verde-pista) url("court.svg") center / cover no-repeat;
  overflow: hidden;
  transform-origin: top left;
}

.post--feed {
  width: 1080px;
  height: 1080px;
  padding: 64px 72px 56px;
  transform: scale(0.5);
}

.post--story {
  width: 1080px;
  height: 1920px;
  padding: 96px 80px 80px;
  transform: scale(0.3333);
}

.post-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--oro);
}

.post-bar--top {
  top: 0;
}

.post-bar--bottom {
  bottom: 0;
}

.post-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

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

.post--story .post-brand img {
  width: 128px;
  height: 128px;
}

.post-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-kicker {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blanco);
  line-height: 1.1;
}

.post--story .post-kicker {
  font-size: 36px;
}

.post-edition {
  font-size: 20px;
  font-weight: 700;
  color: var(--oro-texto);
}

.post-rule {
  width: 120px;
  height: 4px;
  background: var(--oro);
  margin: 0 0 40px;
}

.post-label {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro-cta);
  margin-bottom: 20px;
}

.post--story .post-label {
  font-size: 32px;
  margin-bottom: 28px;
}

.post-title {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--blanco);
  margin-bottom: 28px;
}

.post--story .post-title {
  font-size: 96px;
  margin-bottom: 36px;
}

.post-match {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.post-team {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.post--story .post-team {
  font-size: 92px;
}

.post-vs {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--oro);
  margin: 10px 0;
}

.post-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 32px;
  align-items: center;
  margin-bottom: 36px;
}

.post-score {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  color: var(--blanco);
  font-variant-numeric: tabular-nums;
}

.post-score.is-win {
  color: var(--oro-cta);
}

.post-when {
  font-size: 28px;
  font-weight: 700;
  color: var(--crema);
  margin-top: auto;
}

.post--story .post-when {
  font-size: 34px;
}

.post-where {
  font-size: 22px;
  color: var(--oro-texto);
  margin-top: 8px;
}

.post-stat {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 180px;
  line-height: 0.85;
  color: var(--blanco);
  margin: 8px 0 12px;
}

.post--story .post-stat {
  font-size: 220px;
}

.post-stat-label {
  font-size: 32px;
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .rrss-frame--feed {
    width: 100%;
    max-width: 540px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .rrss-frame--story {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

@media print {
  .nav,
  .skip-link,
  .cierre,
  footer,
  .banner-info,
  .tabs,
  .menu-toggle,
  .pista-lineas {
    display: none !important;
  }

  .hero {
    background: none !important;
  }

  .hero-compact::after {
    content: none;
  }

  .hero {
    min-height: 0;
    color: #000;
  }

  .hero h1,
  .hero p {
    color: #000;
    text-shadow: none;
  }

  .tab-panel,
  .tab-panel[hidden] {
    display: block !important;
  }

  .bracket-list {
    display: block !important;
  }

  .bracket-scroll {
    display: none !important;
  }

  .page-rrss .nav,
  .page-rrss .page-header,
  .page-rrss .rrss-item h3,
  .page-rrss .rrss-item > p,
  .page-rrss footer,
  .page-rrss .skip-link {
    display: none !important;
  }

  .rrss-grid {
    display: block;
  }

  .rrss-item {
    break-after: page;
  }

  .rrss-frame,
  .rrss-frame--feed,
  .rrss-frame--story {
    border: 0;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .post--feed,
  .post--story {
    transform: none;
  }
}
