/* ==========================================================================
   COMPONENTS — BEM | FC Bayern Fan Club CDMX
   Valores pixel-perfect extraídos del audit Figma (revisión 2)
   ========================================================================== */

/* ==========================================================================
   HEADER
   Mobile: 366×91  |  Desktop: 1576×161
   border-radius: solo esquinas inferiores = 12px (Figma: TL=0 TR=0 BR=12 BL=12)
   ========================================================================== */
.ghost{
  display: flex;
  max-width: 0px;
  max-height: 0px;
  opacity: 0;
}

.next-game_border{
border: 1px solid var(--color-primary);


}

.header {
  position:         sticky;
  top:              0;
  z-index:          100;
  width:            100%;
  height:           var(--header-height);
  background-color: var(--color-bundesliga);
  border-top: 5px solid var(--color-primary);
}

.header__inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          100%;
  padding:          0px;
  gap:             12px;
}

.header__logo {
  display:     block;
  width:       112px;
  height:      41px;
  flex-shrink: 0;
}

.header__logo img {
  width:      100%;
  height:     100%;
  object-fit: contain;
  
}

/* Nav desktop — oculto en mobile */
.header__nav {
  display: none;
  height: 100%;
}

.header__nav-list {
  display:     flex;
  align-items: stretch;
  height:      100%;
}

.header__nav-list > li {
  display: flex;
}

.header__nav-link {
  display:          flex;
  align-items:      center;
  height:           100%;
  padding:          5px 20px;
  gap:              10px;
  font-family:      var(--font-accent);
  font-weight:      400;
  font-size:        12px;
  line-height:      22px;
  color:            var(--color-text);
  text-transform:   uppercase;
  white-space:      nowrap;
  outline:          none;
  background:       transparent;
  border-radius:    4px;
  transition:       font-weight 0.2s ease, font-size 0.2s ease, background 0.2s ease;
}

.header__nav-link:visited {
  color: var(--color-text);
}

/* Hover — gradiente navy top→transparente, texto bold 15px */
.header__nav-link:hover {
  font-weight: 700;
  font-size:   15px;
  background:  linear-gradient(180deg, #1b3660 0%, rgba(22, 43, 76, 0) 100%);
  color:       var(--color-text);
}

/* Selected — gradiente rojo top→transparente, texto bold 15px (clase JS) */
.header__nav-link--active {
  font-weight: 700;
  font-size:   15px;
  height:      100%;
  background:  linear-gradient(180deg, #d3010c 0%, rgba(211, 1, 12, 0) 100%);
  color:       var(--color-text);
  border-radius: 0px;
}

/* Al hacer hover sobre el link activo, mantiene el rojo */
.header__nav-link--active:hover {
  background: linear-gradient(180deg, #d3010c 0%, rgba(211, 1, 12, 0) 100%);
}

.header__nav-link:focus-visible {
  outline:        2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius:  3px;
}

.header__nav-link:focus:not(:focus-visible) {
  outline: none;
}

/* "ÚNITE AL CLUB" — siempre bold 14px, sin estado activo */
.header__nav-link--cta {
  font-size:   14px;
  font-weight: 700;
}

/* Hamburger */
.header__menu-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           56px;
  height:          56px;
  padding:         16px;
  flex-shrink:     0;
}

.header__menu-btn svg {
  width:  24px;
  height: 24px;
}

/* Nav overlay mobile */
.nav-overlay {
  position:         fixed;
  inset:            0;
  background-color: var(--color-bg);
  z-index:          99;
  display:          flex;
  flex-direction:   column;
  align-items:      center;
  justify-content:  center;
  gap:              32px;
  transform:        translateX(100%);
  transition:       transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  /* Evita que el overlay fuera de pantalla capture eventos táctiles */
  pointer-events:   none;
  visibility:       hidden;
}

.nav-overlay.is-open {
  transform:      translateX(0);
  pointer-events: auto;
  visibility:     visible;
}

.nav-overlay__link {
  font-family:    var(--font-display);
  font-size:      36px;
  color:          var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-overlay__link:hover {
  color: var(--color-primary);
}

.nav-overlay__close {
  position:        absolute;
  top:             20px;
  right:           20px;
  width:           48px;
  height:          48px;
  display:         flex;
  align-items:     center;
  justify-content: center;
}

@media (min-width: 768px) {
  .header__logo {
    width:  134px;
    height: 49px;
  }
}

@media (min-width: 1200px) {
  .header__nav      { display: flex; height: 100%; }
  .header__menu-btn { display: none; }

  .header__logo {
    width:  245px;
    height: 89.95px;
  }
}

/* ==========================================================================
   LIGA BANNER — border-bottom SOLO (Figma: individualStrokeWeights top=0 right=0 bottom=1 left=0)
   ========================================================================== */

.liga-banner {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-text);
}

.liga-banner__logo {
  width:       25px;
  height:      31px;
  object-fit:  contain;
  flex-shrink: 0;
}

.liga-banner__name {
  font-family:    var(--font-accent);
  font-weight:    900;
  font-size:      18px;
  line-height:    21.94px;
  color:          var(--color-text);
  text-transform: uppercase;
}

/* ==========================================================================
   BTN — pill shape (border-radius: 100px) desde Figma
   ========================================================================== */

.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         10px 16px;
  font-family:     var(--font-body);
  font-weight:     500;
  font-size:       14px;
  line-height:     20px;
  letter-spacing:  0.1px;
  border-radius:   100px;
  cursor:          pointer;
  transition:      background-color 0.2s ease, transform 0.1s ease;
  white-space:     nowrap;
  border:          none;
}

.btn--tonal {
  background-color: var(--color-primary);
  color:            var(--color-text);
}

.btn--tonal:hover {
  background-color: #b5000a;
}

.btn--tonal:active {
  transform: scale(0.98);
}

/* Botón sobre fondo rojo (sección points) — dark navy #00081a */
.btn--dark {
  background-color: var(--color-dark-navy);
  color:            var(--color-text);
}

.btn--dark:hover {
  background-color: #001229;
}

.btn__icon {
  width:       13px;
  height:      17px;
  fill:        var(--color-text);
  flex-shrink: 0;
}

/* CTA grande — botón rojo primario (tienda, artículos) */
.btn--primary {
  background-color: var(--color-primary);
  color:            #ffffff;
  font-family:      'Bebas Neue', sans-serif;
  font-size:        20px;
  letter-spacing:   0.08em;
  padding:          14px 40px;
  border-radius:    100px;
  text-decoration:  none;
  transition:       background-color 0.2s ease, transform 0.1s ease;
}

.btn--primary:hover  { background-color: #b5000a; }
.btn--primary:active { transform: scale(0.97); }

/* Contenedor de botones CTA — responsive */
.nota__cta-group {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  gap:             16px;
  padding:         32px 0 16px;
}

@media (max-width: 600px) {
  .nota__cta-group     { flex-direction: column; align-items: stretch; }
  .nota__cta-group .btn--primary { text-align: center; justify-content: center; width: 100%; padding: 14px 24px; }
}

/* ==========================================================================
   NEWS TITLE — componente título + descripción + CTA
   ========================================================================== */

.news-title {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.news-title__heading {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      var(--fs-h2);
  line-height:    1.1;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
}

.news-title__desc {
  font-family:  var(--font-accent);
  font-weight:  500;
  font-size:    14px;
  line-height:  17.07px;
  color:        var(--color-text);
}

@media (min-width: 1200px) {
  .news-title__heading {
    font-size: var(--fs-hero);
  }
}

/* ==========================================================================
   GAME SECTION — Wrapper vertical: section-games (103px) + section-watchparty
   Desktop: 1576×607px, gap 4px. Mobile: 366×507px, gap 4px.
   ========================================================================== */

.game-section {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  width:          100%;
}

/* ==========================================================================
   SECTION GAMES — Carrusel de partidos
   Reducido: mobile ~80px | desktop ~80px
   ========================================================================== */

.section-games {
  padding:  0;
  overflow: visible;
  min-width: 360px;
}
.games__nav-wrapper {
  display:     flex;
  align-items: center;
  gap:         6px;
  width:       100%;
}

.games__arrow {
  flex-shrink:     0;
  width:           28px;
  height:          28px;
  background:      var(--color-primary);
  border:          none;
  border-radius:   50%;
  color:           #fff;
  font-size:       18px;
  line-height:     1;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         0;
  transition:      opacity 0.2s;
}

.games__arrow:hover  { opacity: 0.8; }
.games__arrow:active { opacity: 0.6; }

@media (min-width: 768px) {
  .games__arrow {
    width:     32px;
    height:    32px;
    font-size: 22px;
  }
}

.section-games__inner {
  padding:        0;
  display:        flex;
  flex-direction: column;
  gap:            0;
}

.games__container {
  display:                    flex;
  flex-direction:             row;
  gap:                        12px;
  overflow-x:                 auto;
  scroll-snap-type:           x mandatory;
  scroll-behavior:            smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom:             4px;
  cursor:                     grab;
  width:                      100%;
  
}

.games__container:active       { cursor: grabbing; }
.games__container::-webkit-scrollbar { display: none; }

/* card: fondo negro sólido (Figma: #000000, border-radius:8px) */
.games__card {
  flex-shrink:       0;
  width:             131px;
  scroll-snap-align: start;
  background:        #000000;
  border-radius:     8px;
  display:           flex;
  flex-direction:    column;
  align-items:       center;
  justify-content:   space-between;
  padding:           4px;

  
}

/* Fila liga dentro de la card (Figma: stroke #d3010c 1px en league-section) */
.games__card-league-row {
  display:       flex;
  align-items:   center;
  gap:           4px;
  width:         100%;
  padding:       5px;
  border-bottom:        2px solid var(--color-primary);
  justify-content: center;
   

}

.games__card-league-row-frauen{
  display:       flex;
  align-items:   center;
  gap:           4px;
  width:         100%;
  padding:       5px;
  border-bottom:        2px solid #d301a5;
  justify-content: center;
   

}

.games__card-league-icon {
  width:  18px;
  height: 18px;
  flex-shrink: 0;
  
}

.games__card-league-name {
  font-family:    var(--font-accent);
  font-weight:    400;
  font-size:      14px;
  line-height:    17.07px;
  color:          var(--color-text);
  text-transform: uppercase;
  text-align: left;
  width: 100%;
}

/* Escudos + VS */
.games__card-crests {
  display:     flex;
  align-items: center;
  justify-content: space-between;
  gap:         4px;
  padding:     4px 4px;
  width:       70%;
}

/* "VS" — Bebas Neue, reducido para caber en 80px de altura */
.games__card-vs {
  font-family: var(--font-display);
  font-weight: 400;
  font-size:   28px;
  line-height: 1;
  color:       var(--color-text);
}

/* Fecha y hora — Inter 10px, letter-spacing 0.075px. En una sola fila para ahorrar espacio. */
.games__card-info {
  display:         flex;
  flex-direction:  row;
  align-items:     center;
  justify-content: center;
  gap:             4px;
  padding-bottom:  2px;
}

.games__card-date,
.games__card-time {
  font-family:    'Inter', var(--font-body), sans-serif;
  font-weight:    400;
  font-size:      9px;
  line-height:    1;
  letter-spacing: 0.075px;
  color:          var(--color-text);
  text-align:     center;
}

/* separador visual entre fecha y hora */
.games__card-date::after {
  content: ' ·';
}

/* Escudo Bayern: circular, sin fondo */
.games__card-crest {
  display:        block;
  width:          26px;
  height:         26px;
  min-width:      26px;
  min-height:     26px;
  object-fit:     contain;
  flex-shrink:    0;
  
  background:     transparent;
}

/* Escudo rival: mismo tamaño, opacidad reducida para distinguirlo */
.games__card-crest--rival {
  opacity: 1;
}

@media (min-width: 1200px) {
  .games__card {
    width: 306px;
  }

  .games__card-crest {
    width:         44px;
    height:        44px;
    
  }

  }

  @media (max-width: 800px) {
  .games__card {
    min-width: 200px;
    
  }

  .games__arrow {
   
   display:none;
}

.carousel-dots {
    width: 0%;
}

}
  


/* ==========================================================================
   SECTION WATCHPARTY
   Mobile: 400px tall | Tablet: 300px | Desktop: 500px
   join-content VISIBLE en todos los breakpoints (Figma: visible=TRUE)
   Overlay: gradiente rgba(0,0,0,0.9) @ 40.4% → transparent @ 89.4% (bottom up)
   ========================================================================== */

.section-watchparty {
  position:            relative;
  width:               100%;
  min-height:          400px;
  background-color:    black;
  background-image:    url('../assets/images/viaje_home_promo.jpg');
  background-size:      cover;
  background-repeat:   no-repeat;
  background-position: top center;
  overflow:            hidden;
  display:        flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items:    center;
  padding:        0 var(--section-px);

}

/* join-content: contenedor del overlay, empuja contenido al fondo */
.section-watchparty__join-content {
  position:        absolute;
  inset:           0;
  display:         flex;
  flex-direction:  column;
  justify-content: flex-end;
  align-items:     flex-start;
width: 100%;

}

/* news-title: bloque con gradiente, alineado a la izquierda (Figma: primaryAxisAlignItems=MAX, counterAxisAlignItems=CENTER → START en web) */
.section-watchparty__news-title {
  width:          100%;
  background:     linear-gradient(to top, rgba(0,0,0,0.9) 40.4%, rgba(0,0,0,0) 89.4%);
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  gap:            4px;
  padding:        15px 20px;
}

.section-watchparty__title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      64px;
  line-height:    1;
  color:          var(--color-text);
  text-transform: uppercase;
  text-align:     left;
}

.section-watchparty__venue {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size:   22px;
  line-height: 1.3;
  color:       var(--color-text);
  text-align:  left;
}

.section-watchparty__address {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size:   16px;
  line-height: 1.3;
  color:       var(--color-text);
  text-align:  left;
}

/* Fila inferior: hora + fecha + botón en el mismo row (Figma: description-aside HORIZONTAL WRAP gap=24) */
.section-watchparty__description-aside {
  display:     flex;
  flex-wrap:   wrap;
  align-items: center;
  gap:         16px;
}

.section-watchparty__time,
.section-watchparty__date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size:   36px;
  line-height: 1;
  color:       var(--color-text);
}

@media (min-width: 768px) {
  .section-watchparty {
    min-height: 450px;
    
  }

  .games__card {
    min-width: 30%;
  }

  .section-games {
    margin: 0 12px;
  }



}

@media (min-width: 1200px) {
  .section-watchparty {
    height:     500px;
    min-height: 500px;
  }

  /* Mostrar venue y address solo en desktop */
  .section-watchparty__venue   { display: block; font-size: 28px; }
  .section-watchparty__address { display: block; font-size: 20px; }

  .section-watchparty__title {
    font-size: 96px;
  }

  .section-watchparty__description-aside {
    gap: 24px;
  }

  .section-watchparty__time,
  .section-watchparty__date {
    font-size: 45px;
  }
}

/* ==========================================================================
   SECTION NEWS — principal_section-news
   Figma: HORIZONTAL + layoutWrap WRAP → columna en mobile/tablet, fila en desktop
   info_promo_section: minWidth 360px, height 600px fija, layoutGrow 1
   news-primary:       minWidth 360px, maxWidth 700px, maxHeight 600px, layoutGrow 1
   Container minWidth: 380px
   ========================================================================== */


.section-news__inner {
  display:        flex;
  flex-direction: column;
  width:          100%;
  padding:        0 12px;
  text-decoration: none;
  color:          inherit;
}

@media (min-width: 768px) {
  .section-news__inner { padding: 0; }
}

/* --- Imagen promo --- */
.news__promo-img {
  width:      100%;
  height:     600px;
  max-height: 400px;
  overflow:   hidden;
}

@media (min-width: 716px) {
  .news__promo-img {
    max-height: none;
  }
}

@media (max-width: 500px) {
  .news__promo-img {
    height: 250px;
  }
}

.news__promo-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}


/* --- Noticia titular --- */
.news__primary {
  width:            100%;
  display:          flex;
  flex-direction:   column;
  justify-content:  center;
  gap:              8px;
  padding:          20px 24px;
  background-color: var(--color-navy);
  color:            var(--color-text);
  overflow:         hidden;
}


/* Título */
.news__title-aside {
  padding: 12px 0;
}

.news__title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      clamp(48px, 8vw, 104px);
  line-height:    1;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
}

/* Descripción */
.news__description-aside {
  padding: 12px 0;
}

.news__desc {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size:   16px;
  line-height: 1.4;
  color:       var(--color-text);
}

/* Crédito + botón */
.news__foton-aside {
  display:     flex;
  align-items: center;
  gap:         16px;
  flex-wrap:   wrap;
  padding-top: 12px;
}

.news__credit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size:   12px;
  color:       rgba(255,255,255,0.6);
  flex:        1;
}

/* Desktop ≥1200px: fila lado a lado */
@media (min-width: 1200px) {
  .section-news__inner {
    flex-direction: row;
    align-items:    stretch;
  }

  .news__promo-img {
    flex:   1 1 auto;
    width:  auto;
    height: 600px;
  }

  .news__primary {
    flex:       0 0 440px;
    width:      440px;
    min-height: 600px;
    height:     auto;
  }
}

/* ==========================================================================
   SECTION STADISTICS — stadistics_data
   Figma: HORIZONTAL + WRAP, 2 paneles layoutGrow:1 minWidth:380px, gap:20px
   COL_CLUB: HUG width 143px | stat cols: FILL, layoutGrow:1, gap:4px entre celdas
   COL_PUNTOS: fill #162b4c (var --color-navy)
   Cell height: 49px | header min-height:44px | padding:10px
   next_game_side: VERTICAL gap:8px → games card (black bg) + section_text CTA
   ========================================================================== */

.section-stadistics {
  width:            100%;
  background-color: var(--color-bg);
}

.section-stadistics__inner {
  display:    flex;
  flex-wrap:  wrap;
  gap:        20px;
  width:      100%;
  padding:    0 12px;
}

@media (min-width: 768px) {
  .section-stadistics__inner { padding: 0; }
}

/* ---- Panel izquierdo: tabla ---- */
.stadistics__table-section {
  flex:       1 1 380px;
  min-width:  320px;
  display:    flex;
  flex-direction: column;
  gap:        8px;
}

/* la liga-banner dentro de la tabla usa el mismo componente global */
.stadistics__table-section .liga-banner {
  margin-bottom: 0;
}

.stadistics__tabla {
  display:    flex;
  flex-direction: row;
  min-width:  340px;
  flex:       1;
  
}

/* Columna club: ancho fijo HUG (143px) */
.stadistics__col--club {
  flex:    0 0 143px;
  width:   143px;
}

/* Columnas stat: FILL, crecen por igual */
.stadistics__col--stat {
  flex:    1;
}

/* Columna puntos: FILL igual que stat pero fondo navy */
.stadistics__col--pts {
  flex:             1;
  background-color: var(--color-navy);
}

/* Todas las columnas como VERTICAL gap:4px */
.stadistics__col {
  display:        flex;
  flex-direction: column;
  gap:            4px;
}

/* Cabecera de columna */
.stadistics__cell-header {
  display:         flex;
  align-items:     center;
  justify-content: center;
  min-height:      44px;
  padding:         10px;
  font-family:     var(--font-accent);
  font-weight:     700;
  font-size:       12px;
  color:           var(--color-text);
  text-transform:  uppercase;
  white-space:     nowrap;
}

/* Cabecera col club: alineación a la izquierda */
.stadistics__col--club .stadistics__cell-header {
  justify-content: flex-start;
}

/* Celdas de datos */
.stadistics__cell {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  height:          49px;
  padding:         0 10px;
  font-family:     var(--font-body);
  font-weight:     400;
  font-size:       18px;
  color:           var(--color-text);
  white-space:     nowrap;
  overflow:        hidden;
}

.color-bayern{
  background-color: var(--color-bundesliga);
}

/* Celda club: texto a la izquierda */
.stadistics__col--club .stadistics__cell {
  justify-content: flex-start;
  font-size:       18px;
}

.stadistics__cell-crest {
  width:       20px;
  height:      20px;
  object-fit:  contain;
  flex-shrink: 0;
}

.stadistics__cell-abbr {
  font-weight: 700;
  font-size:   10px;
  color:       var(--color-muted);
  display:     none;
}

/* ---- Panel derecho: próximo partido + CTA ---- */
.stadistics__next-game {
  width:      100%;
  flex:       1 1 380px;
  min-width:  340px;
  display:    flex;
  flex-direction: column;
  gap:        8px;
  
}

/* Tarjeta partido */
.stadistics__game-card {
  padding:        4px;
  display:        flex;
  flex-direction: column;
  gap:            0;
}

.stadistics__game-aside {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            0;
}

.stadistics__game-banner {
  width: 100%;
}

/* Escudos + VS */
.stadistics__teams {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             30px;
  padding:         20px 4px;
  width:           100%;
}

@media (min-width: 1200px) {
  .stadistics__teams {
    max-width: 500px;
  }
}

.stadistics__crest {
  width:       56px;
  height:      56px;
  object-fit:  contain;
  flex-shrink: 0;
}

.stadistics__crest--rival {
  opacity: 0.85;
}

.stadistics__vs {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      36px;
  line-height:    1;
  color:          var(--color-text);
}

/* Fila liga dentro de la tarjeta (border-bottom rojo como el carrusel de games) */
.stadistics__league-row {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             4px;
  width:           100%;
  padding:         5px;
  border-bottom:   1px solid var(--color-primary);
}

.stadistics__league-row-text {
  font-family:    var(--font-accent);
  font-weight:    400;
  font-size:      12px;
  color:          var(--color-text);
  text-transform: uppercase;
}

/* Fecha y hora del partido */
.stadistics__game-datetime {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         8px 4px;
  max-height:      40px;
}

.stadistics__game-date,
.stadistics__game-time {
  font-family: var(--font-body);
  font-weight: 400;
  font-size:   14px;
  color:       var(--color-text);
}

.stadistics__game-date::after {
  content: ' ·';
}

/* CTA text + botón */
.stadistics__cta {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             4px;
  padding:         8px 16px;
}

.stadistics__cta-title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      clamp(28px, 5vw, 48px);
  line-height:    1;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
  text-align:     center;
}

/* ==========================================================================
   SECTION SECONDARY NEWS — secondary_section-news
   Figma: HORIZONTAL + WRAP, 2 paneles layoutGrow:1, minWidth:380px, gap:20px
   Lista: 4 cards con border #009555, img 150×112px fija
   Jugador: img (flex 1 1 380px) + panel navy #162b4c (flex 1 1 389px)
   Desktop: paneles lado a lado, imagen+info 650px tall
   ========================================================================== */

.section-secondary-news {
  width:            100%;
}

.section-secondary-news__inner {
  display:        flex;
  flex-direction: row;
  flex-wrap:      wrap;
  gap:            20px;
  width:          100%;
  padding:        0 12px;
}

@media (min-width: 768px) {
  .section-secondary-news__inner { padding: 0; }

  
}

.section-secondary-news {
  width:            100%;
 min-width:         320px;
}

/* ---- Panel izquierdo: lista de noticias ---- */
.secondary-news__list-side {
  flex:           1;
  min-width:      340px;
  display:        flex;
  flex-direction: column;
  gap:            8px;
  
}



.secondary-news__list {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  min-width:      340px;
  
}

/* Tarjeta noticia — link, HORIZONTAL, gap 16px */
.secondary-news__card {
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
  width:     100%;
}

/* Imagen: fixed 150×112px */
.secondary-news__card-img {
  flex:     0 0 150px;
  width:    150px;
  height:   112px;
  overflow: hidden;
}

.secondary-news__card-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

/* Cuerpo: ocupa el espacio restante */
.secondary-news__card-body {
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            8px;
  padding:        8px 0;
  min-width:      0;
}

/* Categoría: Liga-BANNER style */
.secondary-news__card-category-wrap {
  border-bottom:  1px solid #ffffff;
  padding-bottom: 6px;
  width:          100%;
}

.secondary-news__card-category {
  font-family:    'Montserrat', sans-serif;
  font-weight:    900;
  font-size:      16px;
  line-height:    24px;
  color:          #ffffff;
  text-transform: uppercase;
  white-space:    nowrap;
  overflow:       hidden;
  text-overflow:  ellipsis;
  display:        block;
}

.secondary-news__card-aside {
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  gap:            8px;
}

/* Texto del artículo: Roboto 14px */
.secondary-news__card-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size:   14px;
  line-height: 16px;
  color:       var(--color-text);
}

/* ---- Panel derecho: jugador de la semana ---- */
.secondary-news__player-side {
  flex:           1;
  min-width:      340px;
  display:        flex;
  flex-direction: column;
}

.secondary-news__player-content {
  display:        flex;
  flex-direction: column;
  flex:           1;
  width:          100%;
}

/* Imagen jugador */
.secondary-news__player-img {
  flex:     1;
  overflow: hidden;
}

.secondary-news__player-img img {
  width:            100%;
  height:           100%;
  object-fit:       cover;
  object-position:  top;
  display:          block;
}

@media (max-width: 768px) {
  .secondary-news__player-img img {
    max-height: 600px;
  }
}

/* Panel de info: fondo navy, columna, alineado izquierda */
.secondary-news__player-info {
  flex:             1;
  background-color: var(--color-navy);
  display:          flex;
  flex-direction:   column;
  align-items:      flex-start;
  justify-content:  center;
  gap:              12px;
  padding:          20px;
  max-width:        700px;
}



/* Label "JUGADOR DE LA SEMANA" + separador blanco */
.player-week__header {
  width:          100%;
  border-bottom:  1px solid #ffffff;
  padding-bottom: 8px;
}

.player-week__label {
  font-family:    var(--font-accent);
  font-weight:    900;
  font-size:      18px;
  line-height:    21.94px;
  color:          var(--color-text);
  text-transform: uppercase;
}

/* Nombre del jugador — Bebas Neue grande */
.player-week__name {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      57px;
  line-height:    1;
  color:          var(--color-text);
  text-transform: uppercase;
  text-align:     left;
}

/* Descripción — Roboto 14px */
.player-week__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size:   14px;
  line-height: 1.4;
  color:       var(--color-text);
  text-align:  left;
}


@media (max-width: 768px) {
  
  .secondary-news__player-info {
  background-color: var(--color-navy);
  max-height:        300px;
}
}

@media (min-width: 1200px) {
  /* player-content: row en desktop (imagen izq, info der) */
  .secondary-news__player-content {
    flex-direction: row;
  }

  .player-week__name {
    font-size: 64px;
  }
}

/* ==========================================================================
   SECTION PALMARES — Títulos del FC Bayern München
   Figma: HORIZONTAL + WRAP
   Mobile  (366px): 2 col × 4 fil — item 183×111px
   Tablet  (716px): 4 col × 2 fil — item 179×111px
   Desktop(1576px): 8 col × 1 fil — item 197×111px
   Componente: Montserrat Black 25px | icono 53px | gap 22px | padding 6px
   ========================================================================== */

.section-palmares {
  width: 100%;
}

.section-palmares__inner {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  width:          100%;
  padding:        0 12px;
}

@media (min-width: 768px) {
  .section-palmares__inner { padding: 0; }
}

/* flex: 1 0 0 + min-width:150px hace wrap automático:
   366px → 2/fila | 716px → 4/fila | 1576px → 8/fila */
.palmares__grid {
  display:         flex;
  flex-wrap:       wrap;
  row-gap:         8px;
  align-items:     center;
  justify-content: space-between;
  min-height:      150px;
  width:           100%;
}

.palmares__item {
  flex:            1 0 0;
  min-width:       120px;
  max-height:      111px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  overflow:        hidden;
}

.palmares__item-content {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            5px;
  padding:        6px;
  width:          100px;
  flex-shrink:    0;
}

.palmares__icon {
  width:       53px;
  height:      53px;
  object-fit:  contain;
  flex-shrink: 0;
}

.palmares__count {
  font-family: var(--font-accent);
  font-weight: 900;
  font-size:   25px;
  line-height: 1;
  color:       var(--color-text);
  text-align:  center;
}

/* ==========================================================================
   SECTION JOIN CLUB — Únete al Fan Club
   Figma: HORIZONTAL + WRAP, gap:0, border-radius:10px, overflow:hidden
   3 paneles flex:1 0 0, min-width:380px, min-height:500px
   Panel CTA:   bg oscuro, título Bebas Neue 128px line-height 100px
   Panel Form:  bg oscuro, campos Material outlined (border:1px white, h:56px)
   Panel Image: imagen jugador, object-fit:cover, object-position:top
   ========================================================================== */

.section-join-club {
  width:         100%;
  overflow:      hidden;
}

.section-join-club__inner {
  display:   flex;
  flex-wrap: wrap;
  gap:       0;
  width:     100%;
}

/* ---- Panel 1: CTA ---- */
.join-club__cta-panel {
  flex:             1 0 0;
  min-width:        380px;
  min-height:       500px;
  background-color: var(--color-bg);
  display:          flex;
  align-items:      center;
  justify-content:  center;
  padding:          20px 16px;
}

@media (max-width: 500px) {
  .join-club__cta-panel {
     min-height: 350px;
  }
}

.join-club__cta-content {
  display:         flex;
  flex-direction:  column;
  gap:             4px;
  align-items:     flex-start;
  justify-content: center;
  width:           100%;
  padding:         15px 20px;
}

.join-club__cta-title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      128px;
  line-height:    100px;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
}

@media (max-width: 750px) {
.join-club__cta-title {
  
  font-size:      70px;
  line-height:    55px;
  
}


}

.join-club__cta-desc {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  align-items:    flex-start;
  margin-top:     4px;
}

.join-club__cta-subtitle {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size:   20px;
  line-height: 1.4;
  color:       var(--color-text);
}

/* ---- Panel 2: Formulario ---- */
.join-club__form-panel {
  flex:             1 0 0;
  min-width:        380px;
  min-height:       500px;
  background-color: var(--color-bg);
  display:          flex;
  flex-direction:   column;
  align-items:      flex-start;
  gap:              16px;
  padding:          12px 16px;
}

.join-club__form-title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      48px;
  line-height:    50px;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
  width:          100%;
}

.join-club__form {
  display:        flex;
  flex-direction: column;
  gap:            16px;
  width:          100%;
}

/* Fila de dos campos */
.join-club__field-row {
  display: flex;
  gap:     8px;
  width:   100%;
}

.join-club__field-row--gap12 {
  gap: 12px;
}

/* Wrapper: permite apilar campo + mensaje de error */
.join-field-wrap {
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            4px;
  min-width:      0;
}

/* Campo individual (Material Design outlined) */
.join-field {
  display:       flex;
  align-items:   center;
  width:         100%;
  height:        56px;
  border:        1px solid rgba(255, 255, 255, 0.87);
  border-radius: 4px;
  overflow:      hidden;
  transition:    border-color 0.2s ease, border-width 0.2s ease,
                 box-shadow 0.2s ease, opacity 0.2s ease;
}

/* ── ESTADO: FOCUSED ── */
.join-field:focus-within {
  border-color: var(--color-primary);
  box-shadow:   0 0 0 1px var(--color-primary);
}

.join-field:focus-within .join-field__icon svg {
  fill: var(--color-primary);
}

/* ── ESTADO: ERROR ── */
.join-field--error {
  border-color: #f2b8b5;
  box-shadow:   0 0 0 1px #f2b8b5;
}

.join-field--error .join-field__icon svg {
  fill: #f2b8b5;
}

.join-field--error .join-field__input::placeholder {
  color: rgba(242, 184, 181, 0.8);
}

/* Mensaje de error debajo del campo */
.join-field__error-msg {
  display:     block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size:   12px;
  line-height: 1.3;
  color:       #f2b8b5;
  padding:     0 16px;
  min-height:  0;
}

.join-field__error-msg:empty {
  display: none;
}

/* ── ESTADO: DISABLED ── */
.join-field:has(input:disabled) {
  opacity:        0.38;
  pointer-events: none;
  border-color:   rgba(255, 255, 255, 0.38);
  box-shadow:     none;
}

.join-field:has(input:disabled) .join-field__icon svg {
  fill: rgba(255, 255, 255, 0.38);
}

/* Ícono leading: 48×48px centrado */
.join-field__icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  flex-shrink:     0;
}

.join-field__icon svg {
  width:      24px;
  height:     24px;
  fill:       rgba(255, 255, 255, 0.87);
  transition: fill 0.2s ease;
}

/* Input transparente, texto blanco */
.join-field__input {
  flex:           1;
  height:         100%;
  background:     transparent;
  border:         none;
  outline:        none;
  color:          rgba(255, 255, 255, 0.87);
  font-family:    var(--font-body);
  font-weight:    400;
  font-size:      16px;
  letter-spacing: 0.5px;
  padding:        4px 16px 4px 0;
  text-transform: uppercase;
}

/* Campo sin ícono — padding izquierdo propio */
.join-field__input--padded {
  padding-left: 16px;
}

.join-field__input::placeholder {
  color:          rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.join-field__input:disabled {
  cursor: not-allowed;
}

/* Checkbox estilizado como radio unchecked de Figma */
.join-club__legal {
  display:     flex;
  align-items: center;
  gap:         8px;
}

.join-club__checkbox {
  -webkit-appearance: none;
  appearance:         none;
  width:              20px;
  height:             20px;
  border:             2px solid #ffffff;
  border-radius:      50%;
  cursor:             pointer;
  flex-shrink:        0;
  position:           relative;
}

.join-club__checkbox:checked::after {
  content:       '';
  position:      absolute;
  inset:         3px;
  background:    var(--color-primary);
  border-radius: 50%;
}

.join-club__legal-text {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size:   16px;
  line-height: 18px;
  color:       var(--color-text);
  cursor:      pointer;
}

.join-club__legal-link {
  color:           var(--color-text);
  text-decoration: underline;
}

.join-club__legal-link:hover {
  color: var(--color-primary);
}

/* Botón enviar — alineado a la derecha */
.join-club__submit-row {
  display:         flex;
  justify-content: flex-end;
  width:           100%;
}

.join-club__submit-btn {
  min-width: 150px;
  width:     150px;
}

/* ---- Panel 3: Imagen ---- */
.join-club__image-panel {
  flex:            1 0 0;
  min-width:       380px;
  max-height:      500px;
  overflow:        hidden;
  display:         flex;
  align-items:     flex-start;
  justify-content: center;
}

@media (max-width: 750px) {
  .join-club__cta-panel {  
  order:2;
  }
}

.join-club__image-panel img {
  width:            100%;
  height:           100%;
  object-fit:       cover;
  object-position:  top;
  display:          block;
}

/* ==========================================================================
   SECTION YOUTUBE — Pasión Bayern
   Figma: VERTICAL col (inner), gap:8
   Liga-banner: full width en top de la sección
   media_container: HORIZONTAL + WRAP, gap:8
   video_content:   flex:1 0 0, min-width:360px, bg:white
   iframe:          height:400px, bg:#616161
   best_player_week: flex:1 0 0, min-width:360px, height:433px, bg:#162b4c
   news-title:      gap:4px, padding:15px 20px
   title:           Bebas Neue 57px, line-height:64px, tracking:-0.25px
   ========================================================================== */

.section-youtube {
  width: 100%;
}

.section-youtube__inner {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  width:          100%;
  padding:        0 12px;
}

@media (min-width: 768px) {
  .section-youtube__inner { padding: 0; }
}

/* Contenedor de los dos paneles — row + wrap */
.youtube__media-container {
  display:         flex;
  flex-wrap:       wrap;
  align-items:     stretch;
  width:           100%;
}

/* Panel izquierdo: iframe con fondo blanco */
.youtube__video-side {
  flex:            1 0 0;
  min-width:       360px;
  height:          auto;
  display:         flex;
  flex-direction:  column;
  align-items:     stretch;
  justify-content: center;
  background-color:var(--color-navy);
}

/* Wrapper del iframe */
.youtube__iframe-wrap {
  width:      100%;
  position:   relative;
  height:     400px;
  min-height: 400px;
  max-height: 400px;
}

.youtube__iframe {
  position:         absolute;
  inset:            0;
  width:            100%;
  height:           100%;
  border:           none;
  display:          block;
  background-color: #616161;
}

/* Panel derecho: fondo navy + contenido centrado */
.youtube__info-side {
  flex:             1 0 0;
  min-width:        360px;
  height:           433px;
  background-color: var(--color-navy);
  display:          flex;
  flex-direction:   column;
  align-items:      center;
  justify-content:  center;
  overflow:         hidden;
}

@media (max-width: 750px) {
  .youtube__info-side { 
    height: 100%;
  order:2;
  }
}

.youtube__content {
  display:         flex;
  flex-direction:  column;
  gap:             4px;
  align-items:     flex-start;
  justify-content: center;
  width:           100%;
  padding:         15px 20px;
}

/* Título — Bebas Neue 57px, line-height:64px (token static/display-large) */
.youtube__title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      57px;
  line-height:    64px;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
  width:          100%;
}

@media (max-width: 450px) {
.youtube__title {
  
  font-size:      30px;
}
}
/* ==========================================================================
   SECTION POINTS — Fan Points / Actividades
   Figma: HORIZONTAL + WRAP, gap:0
   img-content:  flex:1 0 0, min-w:380px, h:402px — foto fans
   join-content: flex:1 0 0, min-w:380px, h:402px, bg:#d3010c
   Título:       Bebas Neue 57px, line-height:64px, h:128px
   Botón:        bg:#102039 (M3 secondary-container), border-radius:100px
   ========================================================================== */

.section-points {
  width: 100%;
}

.section-points__inner {
  display:         flex;
  flex-wrap:       wrap;
  gap:             0;
  justify-content: center;
  align-items:     flex-start;
  width:           100%;
}

/* Panel izquierdo: imagen */
.points__img-panel {
  flex:      1 0 0;
  min-width: 380px;
  height:    402px;
  overflow:  hidden;
}

.points__img-panel img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

/* Panel derecho: fondo primario rojo */
.points__content-panel {
  flex:             1 0 0;
  min-width:        380px;
  height:           402px;
  background-color: var(--color-primary);
  display:          flex;
  flex-direction:   column;
  align-items:      center;
  justify-content:  center;
  gap:              4px;
  padding:          0 16px;
}

.points__content {
  display:         flex;
  flex-direction:  column;
  gap:             4px;
  align-items:     flex-start;
  justify-content: center;
  width:           100%;
  padding:         15px 20px;
}

/* Título — Bebas Neue 57px, height fija 128px (Figma: title-aside h:128px) */
.points__title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      57px;
  line-height:    64px;
  letter-spacing: -0.25px;
  color:          var(--color-text);
  text-transform: uppercase;
  width:          100%;
  min-height:     128px;
  display:        flex;
  align-items:    center;
}

/* ==========================================================================
   SECTION SOCIAL MEDIA — Redes sociales
   Figma: flex-col gap:12 | liga-banner + grid flex-wrap justify-between
   Item: flex:1 0 0, min-w:150px, centered | icono 53px + label 11px Montserrat Medium
   ========================================================================== */

.section-social-media {
  width: 100%;
}

.section-social-media__inner {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  width:          100%;
  padding:        0 12px;
}

@media (min-width: 768px) {
  .section-social-media__inner { padding: 0; }
}

.social-media__grid {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: space-between;
  row-gap:         8px;
  padding:         20px 0;
  width:           100%;
}

.social-media__item {
  flex:            1 0 0;
  min-width:       150px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             4px;
  padding:         6px;
  text-decoration: none;
  color:           var(--color-text);
  transition:      opacity 0.2s ease, transform 0.15s ease;
}

.social-media__item:hover  { opacity: 0.75; transform: translateY(-2px); }
.social-media__item:active { opacity: 0.9;  transform: translateY(0); }

.social-media__icon {
  width:           53px;
  height:          53px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}

.social-media__icon svg {
  width:  53px;
  height: 53px;
}

.social-media__label {
  font-family:    var(--font-accent);
  font-weight:    500;
  font-size:      11px;
  line-height:    1.4;
  color:          var(--color-text);
  text-align:     center;
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION PROMO — Tienda
   Figma: HORIZONTAL + WRAP, gap:8, min-width:360 en root
   Móvil: imagen (max-h:300px) + info (h:250px) — apilados
   Tablet: imagen (max-h:500px) + info (h:250px) — apilados
   Desktop: lado a lado, flex:1 cada panel
   ========================================================================== */

.section-promo {
  width: 100%;
}

.section-promo__inner {
  display:        flex;
  flex-direction: row;
  flex-wrap:      wrap;
  width:          100%;
  min-width:      360px;
  padding:        0 12px;
}

@media (min-width: 768px) {
  .section-promo__inner { padding: 0; }
}

/* Panel imagen */
.promo__img {
  flex:       1 1 360px;
  min-width:  0;
  max-height: 300px;
  overflow:   hidden;
}

@media (min-width: 768px) {
  .promo__img { max-height: 500px; }
}

.promo__img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

/* Panel info */
.promo__info {
  flex:             1 1 360px;
  min-width:        0;
background-color: var(--color-bundesliga);
  display:          flex;
  flex-direction:   column;
  align-items:      flex-start;
  justify-content:  center;
  gap:              20px;
  padding:          24px;
}

.promo__title {
  font-family:    var(--font-display);
  font-weight:    400;
  font-size:      57px;
  line-height:    1;
  color:          var(--color-text);
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER — border-top: 1px solid #d3010c (Figma: stroke rojo en footer)
   Legal text: rgba(255,255,255,0.302) | Links: Montserrat 400 11px
   ========================================================================== */

.footer {
  background-color: var(--color-bg);
  border-top:       1px solid var(--color-primary);
  padding:          20px 0;
}

.footer__inner {
  padding:        0 12px;
  display:        flex;
  flex-direction: column;
  gap:            16px;
}

@media (min-width: 768px) {
  .footer__inner { padding: 0; }
}

.footer__logo {
  width:       160px;
  height:      58.8px;
  flex-shrink: 0;
}

.footer__logo img {
  width:      100%;
  height:     100%;
  object-fit: contain;
}

.footer__links {
  display:        flex;
  flex-direction: column;
  gap:            16px;
}

/* Mobile: columnas HORIZONTALES (4 side by side) */
.footer__columns {
  display: flex;
  gap:     8px;
  flex:    1;
}

.footer__column {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  flex:           1;
}

.footer__column-title {
  font-family:    var(--font-accent);
  font-weight:    700;
  font-size:      11px;
  line-height:    22px;
  color:          var(--color-text);
  text-transform: uppercase;
}

.footer__column-link {
  display:     flex;
  align-items: center;
  padding:     5px 0;
  gap:         10px;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size:   11px;
  line-height: 22px;
  color:       var(--color-text);
  transition:  color 0.2s ease;
}

.footer__column-link:hover { color: var(--color-primary); }

/* Legal: Inter 11px, opacity ~30% */
.footer__legal {
  font-family: 'Inter', var(--font-body), sans-serif;
  font-weight: 400;
  font-size:   11px;
  line-height: 13.31px;
  color:       rgba(255, 255, 255, 0.302);
  padding-top: 16px;
  border-top:  1px solid rgba(97, 97, 97, 0.3);
}

/* Desktop: logo izquierda, columnas en grid 4 cols */
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items:    flex-start;
    gap:            32px;
  }

  .footer__links { flex: 1; }

  .footer__columns {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   16px;
  }
}

/* ============================================================
   SECTION PARTIDOS
   ============================================================ */
.section-partidos {
  background: var(--color-bg);
  padding-bottom: 40px;
}

.partidos__inner {
  max-width:     1200px;
  margin:        0 auto;
  padding:       0 12px;
  display:       flex;
  flex-direction: column;
  gap:           8px;
}

/* Encabezado de mes */
.partidos__month {
  padding-top: 24px;
}

.partidos__month-title {
  font-family:   'Montserrat', sans-serif;
  font-weight:   900;
  font-size:     18px;
  color:         #ffffff;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid #ffffff;
  margin:        0;
}

/* Lista de partidos */
.partidos__list {
  display:       flex;
  flex-direction: column;
  gap:           0;
}

/* Fila de partido */
.partidos__game {
  display:        flex;
  flex-wrap:      wrap;
  align-items:    center;
  gap:            0;
  min-width:      360px;
  overflow-x:     auto;
  padding:        0 4px;
  background:     transparent;
  transition:     background 0.2s;
  border-bottom:   1px solid #212121;
}

.partidos__game--alt {
  background: #1b1b1b;
}

/* Zona izquierda: logo + nombre liga */
.partidos__league {
  display:     flex;
  align-items: center;
  gap:         8px;
  min-width:   250px;
  flex:        0 0 auto;
  padding:     12px 4px;
}

.partidos__league-logo {
  width:      52px;
  height:     52px;
  object-fit: contain;
  flex-shrink: 0;
}

.partidos__league-name {
  font-family:  'Montserrat', sans-serif;
  font-weight:  900;
  font-size:    18px;
  color:        #ffffff;
  white-space:  nowrap;
}

/* Zona central: escudos + VS */
.partidos__teams {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  flex:            1 0 0;
  min-width:       280px;
  max-width:       487px;
  padding:         12px 8px;
  overflow:        visible;
}

.partidos__crest {
  width:       64px;
  height:      64px;
  min-width:   64px;
  object-fit:  contain;
  flex-shrink: 0;
  display:     block;
}

.partidos__vs {
  font-family:   'Bebas Neue', sans-serif;
  font-size:     45px;
  line-height:   52px;
  color:         #ffffff;
  flex-shrink:   0;
}

/* Zona derecha: info + botón */
.partidos__info {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex:            1 0 0;
  min-width:       280px;
  max-width:       800px;
  padding:         12px 4px;
  gap:             16px;
  flex-wrap:       wrap;
}

.partidos__info-text {
  display:       flex;
  flex-direction: column;
  gap:           4px;
}

.partidos__competition {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size:   14px;
  color:       #ffffff;
  white-space: nowrap;
}

.partidos__date {
  font-family:     'Inter', sans-serif;
  font-size:       15px;
  line-height:     16px;
  letter-spacing:  0.075px;
  color:           #ffffff;
  white-space:     nowrap;
}

.partidos__venue {
  font-family:     'Inter', sans-serif;
  font-size:       15px;
  line-height:     16px;
  letter-spacing:  0.075px;
  color:           rgba(255,255,255,0.7);
  white-space:     nowrap;
}

/* Botón VER NOTA */
.partidos__btn {
  display:          inline-flex;
  align-items:      center;
  justify-content:  center;
  min-width:        160px;
  height:           48px;
  padding:          10px 20px;
  background:       var(--color-primary);
  color:            #ffffff;
  font-family:      'Roboto', sans-serif;
  font-weight:      500;
  font-size:        14px;
  letter-spacing:   0.1px;
  text-decoration:  none;
  border-radius:    100px;
  white-space:      nowrap;
  transition:       opacity 0.2s, transform 0.15s;
  flex-shrink:      0;
}

.partidos__btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.partidos__btn:active { opacity: 0.95; transform: translateY(0); }

/* Sección redes dentro de partidos */
.partidos__social {
  margin-top:  24px;
  display:     flex;
  flex-direction: column;
  gap:         16px;
}

.partidos__social-header {
  border-bottom: 1px solid #ffffff;
  padding-bottom: 8px;
}

.partidos__social-title {
  font-family:  'Montserrat', sans-serif;
  font-weight:  900;
  font-size:    18px;
  color:        #ffffff;
  margin:       0;
}

/* Nav link activo en partidos */
.header__nav-link--active {
  background:   linear-gradient(to bottom, var(--color-primary), transparent);
  color:        #ffffff !important;
  font-weight:  700;
}

/* Responsive: mobile */
@media (max-width: 768px) {
  .partidos__game {
    flex-direction: column;
    align-items:    flex-start;
    padding:        8px 12px;
    overflow-x:     visible;
    border-bottom: 1px solid #4b4b4b;
  }

  .partidos__league,
  .partidos__teams,
  .partidos__info {
    width:     100%;
    min-width: unset;
    max-width: unset;
  }

  .partidos__teams {
    justify-content: center;
    padding:         8px 0;
    gap:              30px;
    overflow:        visible;
  }

  .partidos__crest {
    width:     56px;
    height:    56px;
    min-width: 56px;
  }

  .partidos__vs {
    font-size: 36px;
  }

  .partidos__info {
    flex-direction: column;
    align-items:    flex-start;
  }

  .partidos__btn {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .footer__logo {
    width:  350px;
    height: 128.5px;
  }

  .footer__legal { text-align: left; }
}

/* ==========================================================================
   SECTION NOTICIAS — página noticias.html
   ========================================================================== */
.section-noticias {
  background:     var(--color-bg);
  padding-bottom: 40px;
}

.noticias__inner {
  max-width:      1200px;
  margin:         0 auto;
  padding:        0 12px;
  display:        flex;
  flex-direction: column;
  gap:            8px;
}

.noticias__header {
  padding-top:   24px;
  padding-bottom: 8px;
  border-bottom:  1px solid #ffffff;
}

.noticias__title {
  font-family:  'Montserrat', sans-serif;
  font-weight:  900;
  font-size:    18px;
  color:        #ffffff;
  text-transform: uppercase;
  margin:       0;
}

.noticias__grid {
  display:    flex;
  flex-wrap:  wrap;
  gap:        8px;
  padding-top: 8px;
}

/* Tarjeta de noticia */
.noticia-card {
  flex:           1 0 180px;
  min-width:      250px;
  max-height:     361px;
  max-width:      350px;
  border-radius:  8px;
  overflow:       hidden;
  display:        flex;
  flex-direction: column;
  cursor:         pointer;
  transition:     transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color:          inherit;
  
}

.noticia-card:hover {
  transform:  translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.noticia-card__img-wrap {
  height:      200px;
  max-height:  200px;
  overflow:    hidden;
  flex-shrink: 0;
}

.noticia-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.noticia-card__body {
  background:     #181d23;
  padding:        12px;
  display:        flex;
  flex-direction: column;
  gap:            12px;
  flex:           1;
  max-height:     120px;
  overflow:       hidden;
}

.noticia-card__title-wrap {
  border-bottom:  1px solid #ffffff;
  padding-bottom: 6px;
}

.noticia-card__title {
  font-family:    'Roboto', sans-serif;
  font-weight:    500;
  font-size:      16px;
  letter-spacing: 0.15px;
  line-height:    24px;
  color:          #ffffff;
  margin:         0;
  white-space:    nowrap;
  overflow:       hidden;
  text-overflow:  ellipsis;
}

.noticia-card__excerpt {
  font-family:    'Roboto', sans-serif;
  font-weight:    400;
  font-size:      14px;
  line-height:    16px;
  letter-spacing: 0;
  color:          #ffffff;
  margin:         0;
  display:        -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp:     3;
  -webkit-box-orient: vertical;
  overflow:       hidden;
}

@media (max-width: 768px) {
  .noticia-card {
    flex:      1 0 calc(50% - 4px);
    max-width: calc(100% - 4px);
  }
}

@media (max-width: 400px) {
  .noticia-card {
    flex:      1 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   TIENDA — Shop page (Figma node 63322-2124)
   ========================================================================== */

/* Hero full-width con gradiente inferior */
.tienda-hero {
  position:    relative;
  width:       100%;
  height:      500px;
  overflow:    hidden;
  flex-shrink: 0;
}

.tienda-hero__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.tienda-hero__overlay {
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 35%, rgba(0,0,0,0) 100%);
}

.tienda-hero__content {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  padding:        15px 20px;
}

.tienda-hero__title {
  font-family:    var(--font-display);
  font-size:      clamp(32px, 7vw, 57px);
  line-height:    1.12;
  letter-spacing: -0.25px;
  color:          #fff;
}

.tienda-hero__cta {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  align-self:      flex-start;
  background:      var(--color-primary);
  color:           #fff;
  border-radius:   100px;
  padding:         10px 16px;
  font-family:     var(--font-body);
  font-size:       14px;
  font-weight:     500;
  letter-spacing:  0.1px;
  text-decoration: none;
  margin-top:      4px;
  transition:      background-color 0.2s ease;
}

.tienda-hero__cta:hover  { background-color: #b5000a; }
.tienda-hero__cta img    { width: 20px; height: 20px; flex-shrink: 0; }

/* Sección productos */
.tienda-products {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  padding:        0 12px;
  width:          100%;
}

.tienda-products__banner {
  border-bottom: 1px solid #fff;
  padding-bottom: 6px;
}

.tienda-products__banner-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size:   18px;
  color:       #fff;
  white-space: nowrap;
}

/* Grid de productos */
.shop-grid {
  display:   flex;
  flex-wrap: wrap;
  gap:       20px;
  width:     100%;
}

/* Tarjeta de producto */
.shop-card {
  flex:            1 0 0;
  min-width:       273px;
  max-width:       345px;
  min-height:      288px;
  border-radius:   8px;
  overflow:        hidden;
  display:         flex;
  flex-direction:  column;
  text-decoration: none;
  color:           inherit;
  cursor:          pointer;
}

.shop-card__img-wrap {
  height:      200px;
  max-height:  200px;
  overflow:    hidden;
  position:    relative;
  flex-shrink: 0;
  background:  var(--color-bg);
}

.shop-card__img-wrap--white { background: #fff; }

.shop-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

/* Jerseys/shirts: objeto contenido centrado en fondo blanco */
.shop-card__img--contain {
  object-fit: contain;
  position:   absolute;
  inset:      0;
  width:      100%;
  height:     100%;
}

.shop-card__body {
  flex:           1;
  background:     #fff;
  padding:        12px;
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.shop-card__header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  border-bottom:   1px solid #050b13;
  padding-bottom:  4px;
  gap:             8px;
}

.shop-card__name {
  font-family:    var(--font-body);
  font-size:      16px;
  font-weight:    500;
  line-height:    24px;
  letter-spacing: 0.15px;
  color:          #050b13;
  overflow:       hidden;
  text-overflow:  ellipsis;
  white-space:    nowrap;
}

.shop-card__price {
  font-family: var(--font-body);
  font-size:   28px;
  font-weight: 400;
  line-height: 36px;
  color:       #050b13;
  flex-shrink: 0;
  white-space: nowrap;
}

.shop-card__price--soon {
  font-size:      12px;
  line-height:    16px;
  letter-spacing: 0.4px;
}

.shop-card__desc {
  font-family: var(--font-body);
  font-size:   14px;
  font-weight: 400;
  color:       var(--color-navy);
  line-height: 16px;
}

@media (max-width: 600px) {
  .tienda-hero              { height: 380px; }
  .shop-card                { min-width: calc(50% - 10px); max-width: calc(50% - 10px); }
}

@media (max-width: 400px) {
  .shop-card                { min-width: 100%; max-width: 100%; }
}

/* ==========================================================================
   PEDIDO — Reglamento de Compras Oficiales (Figma node 63322-3941)
   ========================================================================== */

.pedido-tabs {
  display:    flex;
  gap:        4px;
  width:      100%;
  max-width:  295px;
  height:     48px;
  align-items: center;
  margin:     12px 0;
}

.pedido-tab {
  flex:           1 0 0;
  display:        flex;
  align-items:    center;
  justify-content: center;
  padding:        10px 16px;
  border-radius:  8px;
  font-family:    var(--font-body);
  font-size:      14px;
  font-weight:    500;
  letter-spacing: 0.1px;
  text-decoration: none;
  color:          #7988a6;
  background:     #102039;
  white-space:    nowrap;
  transition:     background 0.2s, color 0.2s;
}

.pedido-tab--active {
  background:     #7988a6;
  color:          #00081a;
  border-radius:  24px;
}

.pedido-content {
  display:        flex;
  flex-direction: column;
  gap:            16px;
  width:          100%;
  padding-bottom: 12px;
}

.pedido-section-header {
  display:        flex;
  flex-direction: column;
  gap:            4px;
  padding:        15px 0;
}

.pedido-subtitle-bar {
  display:      flex;
  align-items:  center;
  border-bottom: 1px solid #fff;
  padding-bottom: 12px;
  width:        100%;
}

.pedido-subtitle-bar--section {
  padding-top: 12px;
}

.pedido-subtitle-bar__text {
  font-family:  'Montserrat', sans-serif;
  font-weight:  900;
  font-size:    18px;
  color:        #fff;
  white-space:  nowrap;
}

.pedido-section-title {
  font-family:  var(--font-display);
  font-size:    clamp(40px, 9vw, 70px);
  line-height:  1.07;
  color:        #fff;
  margin:       0;
}

.pedido-intro {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.pedido-intro p {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  400;
  line-height:  20px;
  color:        #fff;
  margin:       0;
}

.pedido-benefits {
  display:        flex;
  flex-direction: column;
  gap:            0;
  list-style:     none;
  padding:        0;
  margin:         0;
}

.pedido-benefit {
  display:      flex;
  align-items:  flex-start;
  gap:          12px;
  padding:      12px 0;
}

.pedido-benefit__num {
  display:        flex;
  align-items:    center;
  justify-content: center;
  flex-shrink:    0;
  width:          24px;
  height:         24px;
  border-radius:  20px;
  background:     var(--color-primary);
  font-family:    'Inter', var(--font-body);
  font-size:      15px;
  font-weight:    900;
  color:          #fff;
  text-align:     center;
  padding:        2px;
}

.pedido-benefit__text {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  400;
  line-height:  20px;
  color:        #fff;
  margin:       0;
}

.pedido-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         16px 24px;
  background:      var(--color-primary);
  color:           #fff;
  border-radius:   100px;
  font-family:     var(--font-body);
  font-size:       16px;
  font-weight:     500;
  letter-spacing:  0.15px;
  text-decoration: none;
  white-space:     nowrap;
  transition:      background-color 0.2s ease;
}

.pedido-btn:hover { background: #b5000a; }

.pedido-btn--full {
  width: 100%;
}

.pedido-btn--flex {
  flex: 1 0 0;
  min-width: 0;
  font-size: 13px;
  padding: 16px 12px;
}

.pedido-btn-row {
  display: flex;
  gap:     20px;
  width:   100%;
}

.pedido-accordion {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  width:          100%;
}

.pedido-accordion__item {
  border-bottom: 3px solid #100a46;
  background:    #fff;
  border-radius: 4px;
  overflow:      hidden;
}

.pedido-accordion__header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             10px;
  padding:         16px 24px;
  height:          64px;
  cursor:          pointer;
  list-style:      none;
  font-family:     var(--font-body);
  font-size:       18px;
  font-weight:     400;
  letter-spacing:  0.5px;
  color:           rgba(0,0,0,0.87);
  user-select:     none;
}

.pedido-accordion__header::-webkit-details-marker { display: none; }

.pedido-accordion__chevron {
  flex-shrink: 0;
  color:       rgba(0,0,0,0.54);
  transition:  transform 0.2s ease;
}

details[open] .pedido-accordion__chevron {
  transform: rotate(180deg);
}

.pedido-accordion__body {
  padding:    0 24px 16px;
  background: #fff;
}

.pedido-accordion__body p,
.pedido-accordion__body li {
  font-family:  var(--font-body);
  font-size:    16px;
  font-weight:  400;
  line-height:  24px;
  letter-spacing: 0.5px;
  color:        rgba(0,0,0,0.87);
  margin:       0 0 8px;
}

.pedido-accordion__body ul {
  padding-left: 20px;
  margin:       8px 0;
}

.pedido-accordion__body a {
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .pedido-btn-row      { flex-wrap: wrap; }
  .pedido-btn--flex    { min-width: calc(100% - 10px); font-size: 11px; padding: 12px 8px; }
  .pedido-section-title { font-size: clamp(32px, 9vw, 60px); }
}

@media (max-width: 400px) {
  .pedido-btn--flex { min-width: 100%; }
}

/* ==========================================================================
   FAQ — Preguntas Frecuentes (Figma node 63325-6196)
   ========================================================================== */

.faq-list {
  display:        flex;
  flex-direction: column;
  gap:            20px;
  padding-left:   0;
  margin:         0;
  max-width:      1000px;
}

.faq-list__item {
  font-family:    var(--font-body);
  font-size:      15px;
  font-weight:    400;
  line-height:    20px;
  color:          #fff;
  margin:         0;
}

.faq-list__item strong {
  font-weight: 700;
}


/* ==========================================================================
   ANEXO A — Documento texto
   ========================================================================== */
.anexo-intro {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  padding:        15px 20px;
  border-bottom:  1px solid rgba(255,255,255,0.15);
  margin-bottom:  8px;
}

.anexo-intro__lead {
  font-family:  var(--font-body);
  font-size:    18px;
  font-weight:  500;
  color:        #fff;
  margin:       0;
  line-height:  1.3;
}

.anexo-intro__text {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  400;
  color:        #fff;
  margin:       0;
  line-height:  20px;
}

.anexo-body {
  display:        flex;
  flex-direction: column;
  gap:            20px;
  padding:        8px 20px 16px;
  max-width:      900px;
}

.anexo-section {
  display:        flex;
  flex-direction: column;
  gap:            8px;
}

.anexo-section__title {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  700;
  color:        #fff;
  margin:       0;
  line-height:  20px;
}

.anexo-section__text {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  400;
  color:        #fff;
  margin:       0;
  line-height:  20px;
}

.anexo-section__note {
  font-family:  var(--font-body);
  font-size:    14px;
  font-weight:  400;
  color:        rgba(255,255,255,0.7);
  margin:       4px 0 0;
  line-height:  20px;
  font-style:   italic;
}

.anexo-list {
  margin:       0;
  padding-left: 22px;
  list-style:   disc;
  display:      flex;
  flex-direction: column;
  gap:          6px;
}

.anexo-list li {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  400;
  color:        #fff;
  line-height:  20px;
}

.anexo-link {
  color:            var(--color-primary);
  text-decoration:  underline;
  word-break:       break-all;
}

.anexo-link:hover {
  color: #ff4d55;
}