/* =============================================================================
   GOLSPORT THEME — DESIGN SYSTEM
   main.css — Sistema de diseño completo
   Orden: Variables → Reset → Tipografía → Layout → Componentes → Utilidades → Animaciones → Responsive
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. FUENTES — Google Fonts
   Las fuentes se cargan vía wp_enqueue_style en inc/enqueue.php
   (un solo request consolidado con weights 400..900 + italic 400..900).
   ----------------------------------------------------------------------------- */


/* -----------------------------------------------------------------------------
   2. CUSTOM PROPERTIES — Design Tokens
   ----------------------------------------------------------------------------- */

:root {
  /* Colores primarios — dorado (brand identity Front-Said) */
  --c-red:          #C8860A;
  --c-red-hover:    #A06A00;
  --c-red-deep:     #8B5700;
  --c-red-soft:     rgba(200, 134, 10, 0.10);
  --c-red-glow:     rgba(200, 134, 10, 0.25);

  /* Fondos oscuros (header, hero, footer) */
  --c-dark:         #0f172a;
  --c-header:       #1a1f35;
  --c-dark-2:       #1e293b;
  --c-dark-3:       #263044;

  /* Superficies claras */
  --c-bg:           #f8fafc;
  --c-surface:      #ffffff;
  --c-surface-2:    #f1f5f9;
  --c-surface-3:    #e9eef5;

  /* Texto */
  --c-text:         #0f172a;
  --c-text-2:       #334155;
  --c-text-muted:   #64748b;
  --c-text-light:   #94a3b8;

  /* Texto sobre fondos oscuros */
  --c-on-dark:      rgba(255, 255, 255, 0.92);
  --c-on-dark-2:    rgba(255, 255, 255, 0.70);
  --c-on-dark-muted: rgba(255, 255, 255, 0.45);

  /* Bordes */
  --c-border:       #e2e8f0;
  --c-border-2:     #cbd5e1;
  --c-border-dark:  rgba(255, 255, 255, 0.10);

  /* Semánticos */
  --c-success:      #16a34a;
  --c-warning:      #ea580c;

  /* Tipografía */
  --font-display:   'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
  --font-body:      'DM Sans', system-ui, -apple-system, sans-serif;

  /* Escala tipográfica */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   clamp(2.5rem, 5vw, 4rem);
  --text-hero:  clamp(3rem, 6vw, 5rem);

  /* Interlineado */
  --lh-tight:   1.2;
  --lh-snug:    1.35;
  --lh-normal:  1.5;
  --lh-relaxed: 1.65;

  /* Espaciado */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;

  /* Contenedor */
  --container-max:  80rem;
  --container-px:   1rem;

  /* Border radius */
  --r-sm:   0.375rem;
  --r-base: 0.5rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-2xl:  2rem;
  --r-full: 9999px;

  /* Sombras */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-red: 0 8px 24px rgba(200,134,10,0.30);
  --shadow-red-sm: 0 4px 14px rgba(200,134,10,0.20);
  --shadow-dark: 0 20px 40px rgba(0,0,0,0.35), 0 4px 8px rgba(0,0,0,0.15);

  /* Gradientes */
  --grad-hero:    linear-gradient(135deg, #C8860A 0%, #8B5700 100%);
  --grad-overlay: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.88) 100%);
  --grad-overlay-hero: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.92) 100%);
  --grad-red:     linear-gradient(90deg, #C8860A, #A06A00);
  --grad-dark:    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  /* Transiciones */
  --t-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}


/* -----------------------------------------------------------------------------
   3. RESET & BASE
   ----------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-red);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--c-red);
  color: #fff;
}

/* Scrollbar personalizada */
::-webkit-scrollbar        { width: 7px; height: 7px; }
::-webkit-scrollbar-track  { background: var(--c-bg); }
::-webkit-scrollbar-thumb  { background: var(--c-border-2); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--c-red); }


/* -----------------------------------------------------------------------------
   4. TIPOGRAFÍA
   ----------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -0.025em;
  color: var(--c-text);
}

h1 { font-size: var(--text-5xl); font-weight: 900; line-height: var(--lh-tight); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); font-weight: 700; }
h5 { font-size: var(--text-xl);  font-weight: 700; }
h6 { font-size: var(--text-lg);  font-weight: 600; }

p  { line-height: var(--lh-relaxed); }

strong { font-weight: 700; }

/* Clase display para Bebas Neue */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: var(--lh-tight);
}


/* -----------------------------------------------------------------------------
   5. LAYOUT — Container y grids
   ----------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Wrapper de página completa */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-content {
  flex: 1;
}

/* Grid genérico de noticias — 1 col por defecto, se expande con modificadores */
.news-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}


/* -----------------------------------------------------------------------------
   6. BADGES — Etiquetas de categoría
   ----------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.2em 0.65em;
  border-radius: var(--r-sm);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1.6;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}

.badge--solid    { background: var(--c-red); color: #fff; }
.badge--light    { background: rgba(220,38,38,0.08); color: var(--c-red-hover); }
.badge--dark     { background: rgba(255,255,255,0.12); color: var(--c-on-dark); }
.badge--breaking {
  background: rgba(220,38,38,0.90);
  color: #fff;
  backdrop-filter: blur(6px);
}
.badge--success  { background: rgba(22,163,74,0.10); color: #15803d; }
.badge--warning  { background: rgba(234,88,12,0.10); color: #c2410c; }

/* Badge con punto animado "live" */
.badge--live {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(220,38,38,0.12);
  color: var(--c-red);
  border: 1px solid rgba(220,38,38,0.25);
}

.badge--live::before {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--c-red);
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* post-badge — generado por golsport_category_badge() */
.post-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.65em;
  border-radius: var(--r-sm);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1.6;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity var(--t-fast), background var(--t-fast);
}

/* badge--card = variante light (sobre imagen en tarjetas) */
.badge--card {
  background: rgba(220,38,38,0.12);
  color: #dc2626;
}
.badge--card:hover { background: rgba(220,38,38,0.20); }

/* badge--hero = variante solid (sobre el hero principal) */
.badge--hero {
  background: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow-red-sm);
}
.badge--hero:hover { background: var(--c-red-hover); color: #fff; }


/* -----------------------------------------------------------------------------
   7. BOTONES
   ----------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.55em 1.25em;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow-red-sm);
}
.btn--primary:hover {
  background: var(--c-red-hover);
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-2);
}
.btn--ghost:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}

/* alias — usado en 404, search CTAs */
.btn--red { background: var(--c-red); color: #fff; box-shadow: var(--shadow-red-sm); border-color: transparent; }
.btn--red:hover { background: var(--c-red-hover); color: #fff; box-shadow: var(--shadow-red); transform: translateY(-1px); }

.btn--sm { padding: 0.4em 1em; font-size: var(--text-xs); }

.btn--ghost-dark {
  background: transparent;
  color: var(--c-on-dark-2);
  border-color: var(--c-border-dark);
}
.btn--ghost-dark:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}


/* -----------------------------------------------------------------------------
   8. HEADER
   ----------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

/* Barra de acento roja superior */
.header-accent-bar,
.header-top-bar {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--grad-red);
  z-index: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 6rem;
}

/* Logo */
.header-logo,
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.header-logo:hover, .site-logo:hover { opacity: 0.85; color: inherit; }
.header-logo:focus-visible, .site-logo:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 4px;
}

.site-logo-img {
  height: 5.5rem;
  width: auto;
  display: block;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  font-size: var(--text-sm);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-red-sm), inset 0 1px 0 rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: transform var(--t-spring);
}
.header-logo:hover .logo-icon,
.site-logo:hover .logo-icon,
.site-logo:hover img { transform: scale(1.06); }

.logo-text {
  display: none;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}

.logo-tagline {
  margin-top: 0.2em;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
  line-height: 1;
}

/* Acciones del header (redes + búsqueda + hamburger).
   Siempre flex para que el botón mobile sea visible. Los elementos
   internos (.header-social-btn, .header-search) se ocultan en mobile
   por sus propias reglas y aparecen en lg+. */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}

.header-social-btn {
  display: none; /* visible solo en lg+ */
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--c-border-dark);
  font-size: 0.625rem;
  font-weight: 900;
  color: var(--c-on-dark-2);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .header-social-btn { display: inline-flex; }
}
.header-social-btn:hover {
  border-color: var(--c-red);
  background: var(--c-red);
  color: #fff;
}

/* ── Header search ─────────────────────────────────────────────────────────── */

.header-search-wrap {
  position: relative;
}

.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.header-search-btn:hover,
.header-search-btn[aria-expanded="true"] {
  border-color: var(--c-red);
  background: var(--c-red);
  color: #fff;
}
.header-search-btn:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

.header-search-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.625rem);
  z-index: var(--z-dropdown);
  width: 20rem;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transform-origin: top right;
  /* default state — hidden via [hidden] attr; transition is applied when .is-open */
  opacity: 0;
  transform: scale(0.95) translateY(-0.5rem);
  transition: opacity var(--t-base) ease-out, transform var(--t-base) ease-out;
  pointer-events: none;
}
.header-search-dropdown.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
}

.header-search-icon {
  flex-shrink: 0;
  color: var(--c-text-muted);
}

.header-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--c-text);
}
.header-search-input::placeholder { color: var(--c-text-muted); }

.header-search-submit {
  flex-shrink: 0;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast);
}
.header-search-submit:hover { background: var(--c-red-hover); }
.header-search-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* Pill "EN VIVO" */
.live-pill,
.header-live-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--c-red-soft);
  border: 1px solid rgba(220,38,38,0.25);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fca5a5;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.live-pill:hover,
.header-live-pill:hover {
  background: rgba(200,134,10,0.18);
  border-color: rgba(200,134,10,0.45);
  color: #fff;
}

.live-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
}
.live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-red);
  animation: ping 1.2s cubic-bezier(0,0,0.2,1) infinite;
}
.live-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c-red);
}


/* -----------------------------------------------------------------------------
   9. NAVEGACIÓN DESKTOP
   ----------------------------------------------------------------------------- */

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

.nav-item {
  position: relative;
}

/* Puente invisible que conecta el nav-link con el dropdown. Sin esto,
   al mover el mouse hacia el dropdown se cruza un gap de 8px sin hover
   y el dropdown desaparece. El bridge no es visible pero sí captura el mouse. */
.nav-item:has(.nav-dropdown)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;        /* cubre el `calc(100% + 0.5rem)` + algo de margen */
  pointer-events: auto;
  background: transparent;
  z-index: calc(var(--z-dropdown) - 1);
}

/* Fallback para navegadores sin :has() — bridge siempre presente
   (no agrega problemas porque sólo es interactivo sobre los nav-items
   que contienen un dropdown; en los demás no cambia nada visual). */
@supports not selector(:has(*)) {
  .nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    pointer-events: auto;
    background: transparent;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--r-base);
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}

/* Subrayado animado desde el centro */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  border-radius: 1px;
  background: var(--c-red);
  transition: left 220ms cubic-bezier(0.4,0,0.2,1),
              right 220ms cubic-bezier(0.4,0,0.2,1);
}

.nav-link:hover {
  background: rgba(200,134,10,0.07);
  color: var(--c-red);
}
.nav-link:hover::after { left: 10px; right: 10px; }

.nav-link.is-active {
  background: rgba(200,134,10,0.10);
  color: var(--c-red);
}
.nav-link.is-active::after { left: 10px; right: 10px; }

.nav-link--live {
  background: var(--c-red) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(200,134,10,0.35);
}
.nav-link--live::after { display: none; }

.nav-chevron {
  font-size: 0.5rem;
  color: var(--c-text-muted);
  transition: transform var(--t-fast);
  line-height: 1;
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
  color: var(--c-red);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 15rem;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-2);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: var(--z-dropdown);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0.25rem);
  pointer-events: auto;
}

.dropdown-label {
  padding: 0.5rem 0.75rem;
  margin-bottom: var(--sp-1);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-red);
}

.dropdown-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--r-xl);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-on-dark-2);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.dropdown-link.is-active {
  background: rgba(255,255,255,0.10);
  color: #fff;
}


/* -----------------------------------------------------------------------------
   10. MENÚ MÓVIL
   ----------------------------------------------------------------------------- */

/* Botón hamburguesa */
.mobile-menu-toggle {
  position: relative; /* needed so z-index takes effect within the header stacking context */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-dark);
  background: rgba(255,255,255,0.03);
  color: #fff;
  margin-left: auto;
  transition: border-color var(--t-fast), background var(--t-fast);
  flex-shrink: 0;
}
.mobile-menu-toggle:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

/* Overlay de cierre */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

/* Panel del menú — fondo blanco con identidad gold/black (replica MobileMenu.tsx React) */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-overlay) + 1);
  width: min(22rem, calc(100vw - 1rem));
  background: #ffffff;
  padding: var(--sp-4);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border-left: 1px solid var(--c-border);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

/* Estado abierto — JS agrega .is-open al body */
body.mobile-menu-open .mobile-overlay   { opacity: 1; pointer-events: auto; }
body.mobile-menu-open .mobile-menu-panel { transform: translateX(0); }
/* Sube el toggle por encima del panel (mismo stacking context del header) */
body.mobile-menu-open .mobile-menu-toggle { z-index: calc(var(--z-overlay) + 3); }

/* Cabecera del panel — sin fondo, logo flotante */
.mobile-menu-brand {
  padding: var(--sp-4) var(--sp-2) var(--sp-3);
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.mobile-menu-brand .logo-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.08em;
}
.mobile-menu-brand .logo-tagline {
  margin-top: var(--sp-1);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Links del menú móvil — texto oscuro sobre blanco, hover dorado */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.875rem;
  border-radius: var(--r-xl);
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease,
              border-color 0.18s ease, padding-left 0.18s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(220, 38, 38, 0.07);
  color: var(--c-red);
  border-left-color: var(--c-red);
  padding-left: 1.25rem;
  transform: translateX(3px);
  outline: none;
}
.mobile-nav-link.is-active {
  background: rgba(200, 134, 10, 0.10);
  color: var(--c-red);
  border-left-color: var(--c-gold, #C8860A);
}

/* "En Vivo" — pill negro con punto dorado pulsante (estilo destacado) */
.mobile-nav-link--live {
  background: #0f172a;
  color: #fff;
  position: relative;
}
.mobile-nav-link--live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c-red);
  animation: live-pulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}
.mobile-nav-link--live:hover,
.mobile-nav-link--live:focus-visible {
  background: #000;
  color: #fff;
}

/* Sub-items — borde dorado sutil + hover dorado */
.mobile-nav-children {
  margin-left: var(--sp-3);
  padding-left: var(--sp-3);
  border-left: 2px solid rgba(200, 134, 10, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
}

.mobile-nav-child {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-lg, 8px);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav-child:hover,
.mobile-nav-child:focus-visible {
  background: var(--c-red-soft);
  color: var(--c-red);
  outline: none;
}

/* Redes sociales en panel móvil */
.mobile-socials {
  display: flex;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

.mobile-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  flex: 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  font-size: var(--text-xs);
  font-weight: 900;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.mobile-social-btn:hover,
.mobile-social-btn:focus-visible {
  border-color: var(--c-red);
  background: var(--c-red);
  color: #fff;
  outline: none;
}



/* -----------------------------------------------------------------------------
   12. HERO SECTION
   ----------------------------------------------------------------------------- */

.hero-section {
  position: relative;
  background: var(--c-surface);
  overflow: hidden;
}


.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-12) var(--sp-12);
  display: grid;
  gap: var(--sp-6);
}

/* Artículo principal del hero */
.hero-main {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: #1e293b;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-2xl);
}



/* -----------------------------------------------------------------------------
   13. SECTION HEADER — Cabecera de sección
   ----------------------------------------------------------------------------- */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.section-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

/* Variante con borde izquierdo rojo */
.section-header--bordered .section-header-text {
  padding-left: var(--sp-4);
  border-left: 4px solid var(--c-red);
}

.section-eyebrow {
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--c-red);
  line-height: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  letter-spacing: 0.04em;
  line-height: var(--lh-tight);
  color: var(--c-text);
  margin: 0;
}

.section-subtitle {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  max-width: 36rem;
  line-height: var(--lh-relaxed);
}

.section-more-link {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-text-2);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.section-more-link:hover {
  border-color: var(--c-red);
  color: var(--c-red);
  background: rgba(220,38,38,0.04);
}


/* -----------------------------------------------------------------------------
   14. NEWS CARD — Tarjeta de noticia
   ----------------------------------------------------------------------------- */

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border: 1px solid transparent;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220,38,38,0.15);
}

/* Imagen */
.news-card-image,
.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-surface-2);
  flex-shrink: 0;
  display: block;
}

.news-card-image img,
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover .news-card-image img,
.news-card:hover .news-card-img-wrap img { transform: scale(1.06); }

/* Overlay al hover */
.news-card-image::after,
.news-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.news-card:hover .news-card-image::after,
.news-card:hover .news-card-img-wrap::after { opacity: 1; }

/* Badge posicionado sobre la imagen */
.news-card-img-wrap .post-badge,
.news-card-image .post-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 2;
  pointer-events: auto;
}

/* Placeholder sin imagen */
.news-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-surface-2) 0%, var(--c-surface-3) 100%);
  gap: var(--sp-2);
}
.news-card-placeholder-text {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--c-text-light);
}
.news-card-placeholder-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-text-light);
}

/* Badges sobre la imagen */
.news-card-badges {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  right: var(--sp-3);
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
  pointer-events: none;
}

/* Cuerpo */
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  flex: 1;
}

.news-card-title {
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: var(--lh-snug);
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
  text-decoration: none;
}
.news-card:hover .news-card-title { color: var(--c-red); }

.news-card-excerpt {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Meta (autor, fecha, lectura) */
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-border);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.news-card-meta-left {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
  flex: 1;
}

.news-card-author {
  font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card-meta-sep { color: var(--c-border-2); flex-shrink: 0; }
.news-card-date     { flex-shrink: 0; }
.news-card-readtime { flex-shrink: 0; font-variant-numeric: tabular-nums; }


/* Variante lista */
.news-card--list {
  flex-direction: row;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: none;
  overflow: visible;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.news-card--list:hover {
  border-color: rgba(220,38,38,0.20);
  background: var(--c-surface-2);
  box-shadow: var(--shadow-md);
  transform: none;
}

.news-card--list .news-card-image {
  width: 6rem;
  height: 6rem;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: var(--r-md);
}
.news-card--list .news-card-image::after { display: none; }

.news-card--list .news-card-body {
  padding: 0;
  gap: var(--sp-2);
}
.news-card--list .news-card-title {
  font-size: var(--text-base);
  -webkit-line-clamp: 2;
}
.news-card--list .news-card-excerpt {
  -webkit-line-clamp: 1;
}


/* -----------------------------------------------------------------------------
   15. CATEGORY SECTION — Sección de categoría en la home
   ----------------------------------------------------------------------------- */



/* -----------------------------------------------------------------------------
   16. AD SLOTS — Espacios publicitarios
   ----------------------------------------------------------------------------- */

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface-2);
  border: 1px dashed var(--c-border-2);
  border-radius: var(--r-md);
  color: var(--c-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.ad-slot--header   { height: 4.5rem; margin-block: var(--sp-4); }
.ad-slot--inline   { height: 6rem; margin-block: var(--sp-8); }
.ad-slot--sidebar  { height: 15.625rem; width: 100%; }
.ad-slot--footer   { height: 5.625rem; margin-block: var(--sp-6); }
.ad-slot--banner   { height: 5.625rem; margin-block: var(--sp-8); }

/* Ocultar slots vacíos */
.ad-slot:empty { display: none; }


/* -----------------------------------------------------------------------------
   16b. CONTENT + SIDEBAR LAYOUT
   ----------------------------------------------------------------------------- */

.content-with-sidebar {
  display: grid;
  gap: var(--sp-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr 21rem;
  }
}

.content-main { min-width: 0; }
.content-sidebar { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: var(--sp-6); }
.content-sidebar .ads-sidebar { position: static; }


/* -----------------------------------------------------------------------------
   17. SIDEBAR
   ----------------------------------------------------------------------------- */

.sidebar-widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.sidebar-widget-title {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--c-red);
  display: inline-block;
}

/* Widget de búsqueda */
.search-form {
  display: flex;
  gap: var(--sp-2);
}

.search-input {
  flex: 1;
  padding: 0.5rem var(--sp-3);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--t-fast);
}
.search-input:focus {
  outline: none;
  border-color: var(--c-red);
}

.search-btn {
  padding: 0.5rem var(--sp-4);
  background: var(--c-red);
  color: #fff;
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  font-weight: 700;
  transition: background var(--t-fast);
}
.search-btn:hover { background: var(--c-red-hover); }


/* -----------------------------------------------------------------------------
   18. SINGLE POST
   ----------------------------------------------------------------------------- */

.single-post-header {
  padding-block: var(--sp-8) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-8);
}

.single-post-category {
  display: inline-block;
  margin-bottom: var(--sp-4);
}

.single-post-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.single-post-featured {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-8);
  aspect-ratio: 16 / 9;
  background: var(--c-surface-2);
}
.single-post-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenido del post */
.post-content {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: var(--c-text-2);
  max-width: 72ch;
}

.post-content p    { margin-bottom: var(--sp-6); }
.post-content h2   { margin-top: var(--sp-10); margin-bottom: var(--sp-4); font-size: var(--text-2xl); }
.post-content h3   { margin-top: var(--sp-8);  margin-bottom: var(--sp-4); font-size: var(--text-xl); }
.post-content ul,
.post-content ol   { margin-bottom: var(--sp-6); padding-left: var(--sp-6); }
.post-content li   { margin-bottom: var(--sp-2); list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content a    { color: var(--c-red); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--c-red-hover); }
.post-content blockquote {
  margin-block: var(--sp-8);
  padding: var(--sp-6);
  border-left: 4px solid var(--c-red);
  background: var(--c-surface-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--c-text);
}
.post-content figure {
  margin-block: var(--sp-8);
  border-radius: var(--r-md);
  overflow: hidden;
}
.post-content figcaption {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  text-align: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-surface-2);
}
.post-content img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

/* Posts relacionados */
.related-posts {
  margin-top: var(--sp-16);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--c-border);
}


/* -----------------------------------------------------------------------------
   19. ARCHIVE / CATEGORY PAGE
   ----------------------------------------------------------------------------- */

.archive-header {
  padding-block: var(--sp-10);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-10);
}

.archive-label {
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--sp-2);
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  letter-spacing: 0.04em;
  color: var(--c-text);
}

.archive-count {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-2);
}

/* Paginación */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-12);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--c-border);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
  text-decoration: none;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: all var(--t-fast);
}
.page-numbers:hover     { border-color: var(--c-red); color: var(--c-red); background: rgba(220,38,38,0.04); }
.page-numbers.current   { background: var(--c-red); color: #fff; border-color: var(--c-red); box-shadow: var(--shadow-red-sm); }
.page-numbers.dots      { border: none; background: none; pointer-events: none; }


/* -----------------------------------------------------------------------------
   20. EMPTY STATE
   ----------------------------------------------------------------------------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  color: var(--c-text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  opacity: 0.35;
}

.empty-state-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-text-2);
}

.empty-state-text {
  font-size: var(--text-sm);
  max-width: 28rem;
  line-height: var(--lh-relaxed);
}

.empty-state-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.empty-state-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.empty-state-chip:hover,
.empty-state-chip:focus-visible {
  border-color: #C8860A;
  color: #C8860A;
  background: rgba(200, 134, 10, 0.05);
  outline: none;
}


/* -----------------------------------------------------------------------------
   21. FOOTER — fondo claro (igual que Next.js bg-brand-surface)
   ----------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: var(--sp-16);
  background: var(--c-surface);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
  overflow: hidden;
}

/* Blob rojo muy sutil — decorativo */
.footer-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.footer-blob--red {
  top: -6rem; right: -6rem;
  width: 32rem; height: 22rem;
  background: radial-gradient(ellipse, rgba(220,38,38,0.04) 0%, transparent 65%);
}
.footer-blob--dark { display: none; }

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-12) var(--sp-16);
  display: grid;
  gap: var(--sp-10);
}

/* Columna de marca */
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  text-decoration: none;
  color: inherit;
}
.footer-brand-logo:hover { opacity: 0.85; color: inherit; }

/* Logo monogram en footer claro */
.footer-brand-logo .logo-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-xl);
  background: var(--grad-hero);
  font-size: var(--text-sm);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Texto del logo en footer claro */
.footer-brand-logo .logo-name    { color: var(--c-text); }
.footer-brand-logo .logo-tagline { color: var(--c-text-muted); }

.footer-brand-desc {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
  max-width: 32rem;
  margin-bottom: var(--sp-5);
}

.footer-socials { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.footer-social-btn {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border-2);
  font-size: var(--text-xs);
  font-weight: 900;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.footer-social-btn:hover {
  border-color: var(--c-red);
  background: var(--c-red);
  color: #fff;
}

/* Columna de navegación */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-1);
  align-content: start;
}

.footer-nav-link {
  display: block;
  padding: 0.4rem var(--sp-2);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.footer-nav-link:hover {
  background: rgba(220,38,38,0.05);
  color: var(--c-red);
}

/* Tarjeta de pauta — fondo blanco con borde y sombra */
.footer-pauta-card {
  padding: var(--sp-6);
  border-radius: var(--r-2xl);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}

.footer-pauta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.footer-pauta-desc {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
}

/* Botón dorado para pauta comercial */
.btn--gold {
  background: #C8860A;
  color: #fff;
  box-shadow: 0 4px 14px rgba(200,134,10,0.25);
  border-color: transparent;
}
.btn--gold:hover { background: #A06A00; color: #fff; transform: translateY(-1px); }

/* Barra inferior del footer */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-border);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

.footer-legal-links { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.footer-legal-link {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-legal-link:hover { color: var(--c-red); }


/* -----------------------------------------------------------------------------
   21b. BREAKING NEWS BAR
   ----------------------------------------------------------------------------- */

.breaking-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: 0.625rem;
}

.breaking-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  overflow: hidden;
}

.breaking-bar-label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.breaking-bar-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
}
.breaking-bar-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-red);
  animation: ping 1.2s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.75;
}
.breaking-bar-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c-red);
}

.breaking-bar-tag {
  background: var(--c-red);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 0.1875rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.breaking-bar-sep {
  width: 1px;
  height: 1rem;
  background: var(--c-border);
  flex-shrink: 0;
}

.breaking-bar-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t-fast);
}
.breaking-bar-link:hover { color: var(--c-red); }


/* -----------------------------------------------------------------------------
   21c. LIVE RADIO SECTION
   ----------------------------------------------------------------------------- */

.live-radio-section {
  padding-block: var(--sp-12) var(--sp-16);
}

.live-radio-card {
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  padding: var(--sp-8);
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.live-radio-inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.live-radio-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.live-radio-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #ef4444;
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.live-radio-label {
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f87171;
}

.live-radio-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 900;
  line-height: var(--lh-tight);
  color: #fff;
  margin-bottom: var(--sp-3);
}

.live-radio-desc {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: #94a3b8;
  max-width: 32rem;
}

.live-radio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.live-radio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--t-base);
}
.live-radio-btn--primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow-red-sm);
}
.live-radio-btn--primary:hover { background: var(--c-red-hover); color: #fff; transform: translateY(-1px); }
.live-radio-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.12);
}
.live-radio-btn--ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }


/* -----------------------------------------------------------------------------
   22. 404 PAGE
   ----------------------------------------------------------------------------- */

.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  gap: var(--sp-6);
}

.error-404-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--c-red);
  opacity: 0.15;
}

.error-404-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-text);
  margin-top: -3rem;
}

.error-404-text {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  max-width: 28rem;
  line-height: var(--lh-relaxed);
}


/* -----------------------------------------------------------------------------
   23. UTILIDADES
   ----------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Separador visual */
.divider {
  height: 1px;
  background: var(--c-border);
  border: none;
  margin-block: var(--sp-8);
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--c-surface-2) 0%,
    var(--c-surface-3) 50%,
    var(--c-surface-2) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--r-md);
}


/* -----------------------------------------------------------------------------
   24. ANIMACIONES
   ----------------------------------------------------------------------------- */

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.animate-fade-in  { animation: fade-in   var(--t-base) ease-out both; }
.animate-slide-up { animation: slide-up  var(--t-base) ease-out both; }
.animate-scale-in { animation: scale-in  var(--t-base) ease-out both; }


/* -----------------------------------------------------------------------------
   25. RESPONSIVE
   ----------------------------------------------------------------------------- */

/* sm — 640px */
@media (min-width: 640px) {
  :root { --container-px: 1.5rem; }

  .logo-text         { display: flex; }
  .section-more-link { display: inline-flex; }

  .news-grid--2  { grid-template-columns: repeat(2, 1fr); }
  .news-grid--3  { grid-template-columns: repeat(2, 1fr); }
}

/* md — 768px */
@media (min-width: 768px) {
  :root { --container-px: 2rem; }

  .hero-main-content { padding: var(--sp-8); }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .live-radio-card { padding: var(--sp-10); }
  .live-radio-inner { grid-template-columns: 1fr auto; }
  .live-radio-actions { flex-direction: column; align-items: flex-start; }
}

/* lg — 1024px */
@media (min-width: 1024px) {
  .site-nav         { display: flex; }
  .header-actions   { display: flex; }
  .mobile-menu-toggle { display: none; }

  .hero-inner {
    grid-template-columns: 1.4fr 0.6fr;
    padding-block: var(--sp-16);
  }

  .news-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .news-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr 0.9fr;
  }
}

/* xl — 1280px */
@media (min-width: 1280px) {
  .news-grid--4 { grid-template-columns: repeat(4, 1fr); }

  .hero-main-title { font-size: var(--text-hero); }
}


/* -----------------------------------------------------------------------------
   26. PREFERS REDUCED MOTION — Accesibilidad
   ----------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* -----------------------------------------------------------------------------
   27. PRINT
   ----------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .breaking-bar,
  .ad-slot,
  .sidebar-widget,
  .related-posts,
  .pagination,
  .hero-live-block,
  .footer-pauta-card {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .post-content {
    max-width: 100%;
    font-size: 11pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}


/* =============================================================================
   FASE 1 — RESTYLING EDITORIAL (React parity)
   Replica MatchesTopBar + Header blanco + Navbar editorial + TopBannerAd
   ============================================================================= */

/* ── 1. Matches Top Bar ─────────────────────────────────────────────────────── */
.matches-top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.matches-top-bar__scroll {
  display: flex;
  align-items: stretch;
  min-height: 60px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.matches-top-bar__scroll::-webkit-scrollbar { height: 4px; }
.matches-top-bar__scroll::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }

.matches-top-bar__label {
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  min-width: 7rem;
  padding: 0 1rem;
  background: #ffffff;
  border-right: 1px solid var(--c-border);
  box-shadow: 2px 0 10px rgba(0,0,0,0.06);
}
.matches-top-bar__label-kicker {
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
}
.matches-top-bar__label-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--c-text);
}
@media (min-width: 768px) {
  .matches-top-bar__label { min-width: 9rem; }
}

.match-league-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--c-border);
  min-width: max-content;
}
.match-league-name {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.match-league-group__matches {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.match-card {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.75rem;
  color: var(--c-text);
}
.match-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.match-status--live { color: var(--c-red); }
.match-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  animation: ping 1.4s ease-in-out infinite;
}
.match-status-time {
  font-size: 0.625rem;
  color: var(--c-text-muted);
  font-weight: 700;
}
.match-teams {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}
.match-team {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.match-team__logo { font-size: 0.875rem; line-height: 1; }
.match-team__name { color: var(--c-text); }
.match-team__score {
  margin-left: auto;
  padding-left: 0.5rem;
  font-weight: 900;
  color: var(--c-text);
}

/* ── 2. Site Header (rediseño blanco React-style) ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.header-top-bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(to right, #C8860A, #D4940A, #A06A00);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 6rem;
  width: 100%;
  padding-inline: 1rem;
  gap: var(--sp-3);
}
.site-logo-img {
  height: 5rem;
  width: auto;
  display: block;
}

/* ── 3. Navbar editorial (React parity) ─────────────────────────────────────── */
.site-nav {
  display: none;
  align-items: stretch;
  justify-content: space-evenly;
  flex: 1;
  min-width: 0;
}
.site-nav .nav-item { display: flex; align-items: stretch; position: relative; }
/* Reset nativo del <button> cuando actúa como nav-link (dropdown parent) */
button.nav-link {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
.site-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-text);
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  border-radius: 0;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.34rem;
  height: 2px;
  border-radius: var(--r-full);
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.4,0,0.2,1), opacity 220ms ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.is-active {
  background: rgba(220,38,38,0.05);
  color: var(--c-red);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after,
.site-nav .nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.site-nav .nav-chevron {
  color: var(--c-text-muted);
  transition: transform var(--t-fast), color var(--t-fast);
}
.site-nav .nav-link:hover .nav-chevron,
.site-nav .nav-link.is-active .nav-chevron { color: var(--c-red); }

.site-nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 16rem;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: var(--z-dropdown);
}
.site-nav .nav-item:hover .nav-dropdown,
.site-nav .nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0.375rem);
  pointer-events: auto;
}
.nav-dropdown__kicker {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(220,38,38,0.05);
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
}
.nav-dropdown-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown-link:hover {
  background: rgba(220,38,38,0.05);
  color: var(--c-red);
}

/* ── 4. Header action icons (white circles) ─────────────────────────────────── */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.header-icon-btn:hover,
.header-icon-btn[aria-expanded="true"] {
  border-color: var(--c-red);
  background: var(--c-red);
  color: #ffffff;
}

/* Hamburguesa estilo claro */
@media (max-width: 1279.98px) {
  .mobile-menu-toggle {
    border-color: var(--c-border);
    background: transparent;
    color: var(--c-text-muted);
  }
  .mobile-menu-toggle:hover {
    border-color: var(--c-red);
    background: var(--c-red);
    color: #fff;
  }
}

/* ── 5. Top Banner Ad band ──────────────────────────────────────────────────── */
.ad-band {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  padding: 1rem 0;
}
.ad-band__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding-inline: 1rem;
  text-align: center;
}
.ad-band__kicker {
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}
.ad-band__slot {
  display: flex;
  justify-content: center;
}
.ad-slot--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--c-border);
  border-radius: 1rem;
  background: #f1f5f9;
  color: var(--c-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── 6. Breakpoint: navbar desktop visible desde 1280px (xl) ────────────────── */
@media (min-width: 1280px) {
  .site-nav { display: flex; }
  .header-actions { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* Limpiar regla legacy de lg (1024px) que activaba la navbar antes de tiempo */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-nav { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
}


/* =============================================================================
   FASE 2 — HERO EDITORIAL + ADS LATERALES + LIVE RADIO
   Replica HeroSection.tsx + LiveRadioSection.tsx
   ============================================================================= */

/* ── Hero section wrapper (3 columnas: ad | hero+latest | ad) ───────────────── */
.hero-section--editorial {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  position: relative;
}

.hero-side-ad {
  display: none; /* hidden mobile/tablet */
  flex-shrink: 0;
  width: 200px;
  padding: 2rem 1rem;
}
.hero-side-ad > .ad-slot {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1280px) {
  .hero-side-ad { display: flex; }
}

.hero-editorial-inner {
  min-width: 0;
  flex: 1;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .hero-editorial-inner { padding: 3rem 1.5rem; }
}
@media (min-width: 1024px) {
  .hero-editorial-inner { padding: 3rem 2rem; }
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-editorial-grid { grid-template-columns: 3fr 1fr; gap: 1.5rem; }
}

/* ── Hero main card ─────────────────────────────────────────────────────────── */
.hero-main {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.hero-main__card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.hero-main__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-main:hover .hero-main__img { transform: scale(1.03); }
.hero-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0.40) 50%, transparent);
  transition: background 300ms;
}
.hero-main:hover .hero-main__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0.55) 55%, transparent);
}

.hero-main__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}
@media (min-width: 768px) { .hero-main__content { padding: 2rem; } }

.hero-main__top { display: flex; }
.hero-main__bottom { display: flex; flex-direction: column; gap: 0.75rem; }

.hero-main__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 3.75rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0;
  transition: color 300ms;
}
.hero-main:hover .hero-main__title { color: #fca5a5; }

.hero-main__excerpt {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-main__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}
.hero-main__author { font-weight: 600; color: rgba(255,255,255,0.75); }
.hero-main__sep { color: rgba(255,255,255,0.3); }
.hero-main__more {
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  transition: border-color 200ms, color 200ms;
}
.hero-main:hover .hero-main__more {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

/* ── Hero latest sidebar (2 cards) ──────────────────────────────────────────── */
.hero-latest {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.hero-latest__label {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0;
}
.hero-latest__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .hero-latest__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hero-latest__list {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    flex: 1;
  }
}

.hero-latest__card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 1024px) {
  .hero-latest__card {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }
}

.hero-latest__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-latest__card:hover .hero-latest__img { transform: scale(1.03); }
.hero-latest__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0.30) 55%, transparent);
  transition: background 300ms;
}
.hero-latest__card:hover .hero-latest__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0.45) 55%, transparent);
}

.hero-latest__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
.hero-latest__bottom { display: flex; flex-direction: column; gap: 0.375rem; }
.hero-latest__title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  transition: color 300ms;
}
.hero-latest__card:hover .hero-latest__title { color: #fca5a5; }
.hero-latest__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.hero-latest__more {
  padding: 0.125rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  transition: border-color 200ms, color 200ms;
}
.hero-latest__card:hover .hero-latest__more {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

/* ── Badges adicionales ─────────────────────────────────────────────────────── */
.badge--solid {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--red {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: var(--c-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Ad band variantes (inline + parmalat) ──────────────────────────────────── */
.ad-band--inline {
  padding: 2rem 0;
  background: #ffffff;
  border-top: 1px solid var(--c-border);
}
.ad-band--parmalat {
  padding: 1.5rem 0;
  background: linear-gradient(to right, #0a1428, #142847);
  border: none;
  color: #ffffff;
}
.ad-band--parmalat .ad-band__kicker { color: rgba(255,255,255,0.6); }
.ad-band--parmalat .ad-slot--placeholder {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

/* ── Live Radio Section (estilo editorial React) ────────────────────────────── */
.live-radio-section--editorial {
  background: #ffffff;
  padding: 3rem 1rem;
}
.live-radio-section--editorial .live-radio-card {
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0a1428 0%, #142847 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 768px) {
  .live-radio-section--editorial .live-radio-card { padding: 3rem; }
}
.live-radio-section--editorial .live-radio-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .live-radio-section--editorial .live-radio-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) auto;
    align-items: center;
    justify-content: space-between;
  }
}
.live-radio-section--editorial .live-radio-brand-row {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.4rem);
  margin-bottom: 1.25rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.055);
}
.live-radio-section--editorial .live-radio-brand-logo,
.live-radio-section--editorial .live-radio-station-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.live-radio-section--editorial .live-radio-brand-logo {
  width: clamp(9.5rem, 17vw, 12rem);
}
.live-radio-section--editorial .live-radio-station-logo {
  width: clamp(4.8rem, 8vw, 5.8rem);
}
.live-radio-section--editorial .live-radio-brand-sep {
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(180deg, transparent, rgba(200,134,10,0.8), transparent);
}
.live-radio-section--editorial .live-radio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.live-radio-section--editorial .live-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  animation: ping 1.5s ease-in-out infinite;
}
.live-radio-section--editorial .live-radio-label {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0;
}
.live-radio-section--editorial .live-radio-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1;
}
.golsport-typewriter--home-radio {
  margin-bottom: 0.75rem;
  color: #D4940A;
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(0.82rem, 1.15vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.live-radio-section--editorial .live-radio-desc {
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.live-radio-section--editorial .live-radio-schedule {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  background: rgba(255,255,255,0.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.live-radio-section--editorial .live-radio-schedule__label {
  margin: 0 0 0.65rem;
  color: #D4940A;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.live-radio-section--editorial .live-radio-schedule__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.live-radio-section--editorial .live-radio-schedule__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(15,23,42,0.42);
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
}
.live-radio-section--editorial .live-radio-schedule__list strong {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}
.live-radio-section--editorial .live-radio-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-shrink: 0;
}
@media (min-width: 480px) {
  .live-radio-section--editorial .live-radio-actions { flex-direction: row; }
}
.live-radio-section--editorial .live-radio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 200ms, border-color 200ms, color 200ms;
  white-space: nowrap;
}
.live-radio-section--editorial .live-radio-btn--primary {
  background: var(--c-red);
  color: #ffffff;
  border: 1px solid var(--c-red);
}
.live-radio-section--editorial .live-radio-btn--primary:hover {
  background: var(--c-red-hover, #b91c1c);
}
.live-radio-section--editorial .live-radio-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.live-radio-section--editorial .live-radio-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

@media (max-width: 639.98px) {
  .live-radio-section--editorial .live-radio-brand-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .live-radio-section--editorial .live-radio-brand-logo {
    width: min(58vw, 11.5rem);
  }
  .live-radio-section--editorial .live-radio-station-logo {
    width: min(24vw, 5rem);
  }
}


/* =============================================================================
   FASE 3 — CATEGORY TABS SECTION + SPONSORS STRIP + ADS LATERALES CATEGORÍAS
   Replica CategoryTabsSection.tsx + SponsorsStrip.tsx
   ============================================================================= */

/* ── Wrapper category tabs (3 cols: ad | content | ad) ──────────────────────── */
.category-tabs-section {
  display: flex;
  align-items: stretch;
  background: #f8fafc;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.cat-side-ad {
  display: none;
  flex-shrink: 0;
  width: 200px;
  padding: 3rem 1rem;
  flex-direction: column;
  gap: 1rem;
}
.cat-side-ad > .ad-slot {
  width: 100%;
  flex: 1;
  min-height: 480px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1280px) {
  .cat-side-ad { display: flex; }
}

.category-tabs-inner {
  min-width: 0;
  flex: 1;
  padding: 3rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px)  { .category-tabs-inner { padding: 4rem 1.5rem; } }
@media (min-width: 1024px) { .category-tabs-inner { padding: 4rem 2rem; } }

/* ── Tabs carousel ──────────────────────────────────────────────────────────── */
.cat-tabs-wrap {
  position: relative;
}
.cat-tabs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #ffffff;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 150ms, color 150ms, background 150ms;
}
.cat-tabs-arrow:hover { border-color: var(--c-red); color: var(--c-red); }
.cat-tabs-arrow--prev { left: -1.25rem; }
.cat-tabs-arrow--next { right: -1.25rem; }
@media (min-width: 1024px) {
  .cat-tabs-arrow--prev { left: -1.5rem; }
  .cat-tabs-arrow--next { right: -1.5rem; }
}

.cat-tabs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0 1.5rem;
}
@media (min-width: 640px)  { .cat-tabs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-tabs-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cat-tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 1;
  border-radius: 0.75rem;
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
}
.cat-tab-btn:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border-color: rgba(220,38,38,0.3);
}
.cat-tab-btn.is-active {
  box-shadow: 0 10px 25px rgba(220,38,38,0.25), 0 0 0 2px var(--c-red);
}
.cat-tab-btn__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: brightness(0.74) saturate(0.92);
  transition: transform 300ms ease, opacity 300ms ease, filter 300ms ease;
}
.cat-tab-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.52), rgba(15,23,42,0.28));
  pointer-events: none;
}
.cat-tab-btn:hover .cat-tab-btn__image {
  opacity: 1;
  filter: brightness(1.08) saturate(1.08);
  transform: scale(1.03);
}
.cat-tab-btn__label {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  padding: 0 0.5rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.cat-tab-btn.has-banner .cat-tab-btn__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cat-tab-btn__indicator {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-red);
}

/* ── Panel ──────────────────────────────────────────────────────────────────── */
.cat-panel { margin-top: 2.5rem; }
.cat-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.cat-panel-title {
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin: 0;
  line-height: 1;
}
.cat-panel-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.cat-panel-more-link {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--c-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}
.cat-panel-more-link:hover { border-color: var(--c-red); color: var(--c-red); }
@media (max-width: 639.98px) { .cat-panel-more-link { display: none; } }

.cat-panel-divider {
  margin: 1.5rem 0 2rem;
  height: 1px;
  background: var(--c-border);
}

/* ── Featured card grande ───────────────────────────────────────────────────── */
.cat-featured {
  display: block;
  text-decoration: none;
  margin-bottom: 2.5rem;
}
.cat-featured__card {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.2);
}
.cat-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.23,1,0.32,1);
}
.cat-featured:hover .cat-featured__img { transform: scale(1.03); }
.cat-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 55%, transparent);
}
.cat-featured__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .cat-featured__content { padding: 2rem; } }
.cat-featured__title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}
.cat-featured__excerpt {
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.8);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}
.cat-featured__more {
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  transition: border-color 200ms, color 200ms;
}
.cat-featured:hover .cat-featured__more { border-color: rgba(255,255,255,0.5); color: #ffffff; }

/* ── Grid 3 cols de cards secundarias ───────────────────────────────────────── */
.cat-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cat-secondary-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .cat-secondary-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cat-secondary-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 200ms, transform 200ms;
}
.cat-secondary-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.cat-secondary-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1e293b;
}
.cat-secondary-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}
.cat-secondary-card:hover .cat-secondary-card__img { transform: scale(1.05); }
.cat-secondary-card__img-wrap .badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}
.cat-secondary-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
}
.cat-secondary-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-secondary-card__meta {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* ── Botón "Leer más" ───────────────────────────────────────────────────────── */
.cat-panel-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.cat-loadmore-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border: 2px solid var(--c-red);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--c-red);
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms, color 200ms;
}
.cat-loadmore-btn:hover { background: var(--c-red); color: #ffffff; }

/* ── SponsorsStrip ──────────────────────────────────────────────────────────── */
.sponsors-strip {
  background: #f8fafc;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 2rem 0;
  overflow: hidden;
}
.sponsors-strip__inner {
  max-width: none;
  margin: 0 auto;
}
.sponsors-strip__header {
  margin-bottom: 1.25rem;
  text-align: center;
}
.sponsors-strip__kicker {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0;
}

.sponsors-strip__viewport {
  --sponsors-gap: 1.5rem;
  --sponsors-card-width: clamp(8.5rem, 14vw, 11.25rem);
  display: flex;
  gap: var(--sponsors-gap);
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sponsors-strip__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 0 0 auto;
  gap: var(--sponsors-gap);
  min-width: max-content;
  animation: sponsors-marquee 34s linear infinite;
}

.sponsors-strip__item {
  flex: 0 0 auto;
}

.sponsors-strip__card {
  width: var(--sponsors-card-width);
  min-height: 4.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--c-text-muted);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.sponsors-strip__card:hover,
.sponsors-strip__card:focus-visible {
  border-color: var(--c-red);
  color: var(--c-text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.sponsors-strip__card img {
  display: block;
  max-width: 100%;
  max-height: 2.5rem;
  object-fit: contain;
}

.sponsors-strip:hover .sponsors-strip__track,
.sponsors-strip:focus-within .sponsors-strip__track {
  animation-play-state: paused;
}

@keyframes sponsors-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - var(--sponsors-gap))); }
}

@media (max-width: 639.98px) {
  .sponsors-strip {
    padding: 1.5rem 0;
  }
  .sponsors-strip__viewport {
    --sponsors-gap: 1rem;
    --sponsors-card-width: 8.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsors-strip__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scroll-snap-type: x proximity;
  }
  .sponsors-strip__track {
    animation: none;
  }
  .sponsors-strip__track[aria-hidden="true"] {
    display: none;
  }
  .sponsors-strip__item {
    scroll-snap-align: center;
  }
}


/* =============================================================================
   FASE 4 — ARCHIVE EDITORIAL + SINGLE EDITORIAL
   Replica CategoryArchivePage.tsx + single article del frontend React
   ============================================================================= */

/* ── Single article editorial ──────────────────────────────────────────────── */
.single-page--editorial {
  background: #ffffff;
}

.single-article {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}
@media (min-width: 768px) {
  .single-article { padding: 4rem 1.5rem 3rem; }
}

.single-article__header { margin-bottom: 2rem; }

.single-article__category {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--c-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.single-article__title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin: 0 0 1rem;
}

.single-article__excerpt {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  margin: 0 0 1.25rem;
}

.single-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.single-article__author { font-weight: 700; color: var(--c-text); }
.single-article__sep { color: rgba(0,0,0,0.15); }

.single-article__featured {
  margin: 0 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
}
.single-article__featured-img {
  width: 100%;
  height: auto;
  display: block;
}

.single-article__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-text);
  position: relative;
  isolation: isolate;
}
.single-article__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--single-wm, none);
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 55%;
  opacity: 0.10;
  pointer-events: none;
  z-index: -1;
}
.single-article__body p { margin: 0 0 1.25rem; }
.single-article__body h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: 0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--c-text);
}
.single-article__body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.single-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}
.single-article__body a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-article__body a:hover { color: var(--c-red-hover, #b91c1c); }

.single-related-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ── Archive editorial ──────────────────────────────────────────────────────── */
.archive-page--editorial {
  background: #f8fafc;
  padding-bottom: 4rem;
}

.archive-header-editorial {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}
@media (min-width: 768px) {
  .archive-header-editorial { padding: 4rem 1.5rem 2rem; }
}
.archive-header-editorial__kicker {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 0.5rem;
}
.archive-header-editorial__title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin: 0;
  line-height: 1;
}
.archive-header-editorial__desc {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-text-muted);
}
.archive-header-editorial__stats {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.archive-body-editorial {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .archive-body-editorial { padding: 0 1.5rem; } }

.archive-pagination-editorial {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.archive-pagination-editorial .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-pagination-editorial .page-numbers {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--c-text);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.archive-pagination-editorial .page-numbers:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}
.archive-pagination-editorial .page-numbers.current {
  background: var(--c-red);
  color: #ffffff;
  border-color: var(--c-red);
}

/* Ajuste category badge dentro de imágenes de cards (estilo card editorial) */
.cat-secondary-card .badge--card {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  background: rgba(0,0,0,0.7);
  color: #ffffff;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}


/* =============================================================================
   A11Y — WCAG AA fixes (P1)
   - Solo oscurece el dorado donde no pasa 4.5:1 (texto pequeño sobre claro)
   - Garantiza tamaño táctil mínimo 44×44 en header icons
   - No cambia identidad visual: el dorado #C8860A se mantiene en superficies
     grandes; sólo el texto pequeño usa --c-red-deep (#8B5700 → 6.21:1)
   ============================================================================= */

/* Texto pequeño dorado sobre fondo claro → usar dorado profundo */
.matches-top-bar__label-kicker,
.match-status--live,
.section-eyebrow,
.archive-header-editorial__kicker {
  color: var(--c-red-deep);
}

/* Nav link activo: oscurecer texto (cubre ambas reglas con su especificidad) */
.nav-link.is-active,
.site-nav .nav-link.is-active {
  color: var(--c-red-deep);
}
.nav-link.is-active .nav-chevron,
.site-nav .nav-link.is-active .nav-chevron {
  color: var(--c-red-deep);
}

/* Breaking bar tag: bg dorado profundo, mantiene texto blanco con 6.21:1 */
.breaking-bar-tag {
  background: var(--c-red-deep);
}

/* Botón dorado: texto negro sobre dorado (6.50:1). Hover mantiene blanco. */
.btn--gold {
  color: #000000;
}

/* Badge de categoría sobre fondo claro: rojo más oscuro para pasar 4.5:1 */
.badge--card {
  color: #b91c1c;
}

/* Touch target: garantizar 44×44 explícito en header icons
   Y elevar stacking sobre nav-links que pueden desbordarse hacia esta zona */
.header-icon-btn {
  min-width: 2.75rem;
  min-height: 2.75rem;
  position: relative;
  z-index: 2;
}

/* === Segunda ronda de contraste === */

/* Sidebar "Últimas noticias" + sponsors kicker: dorado claro 3.05:1 → deep 6.21:1 */
.hero-latest__label,
.sponsors-strip__kicker {
  color: var(--c-red-deep);
}

/* Botón "Leer más" en category-tabs */
.cat-loadmore-btn {
  color: var(--c-red-deep);
}

/* Botón primario radio en vivo: white sobre dorado → white sobre dorado profundo
   Override del rule editorial (.live-radio-section--editorial...) que tiene mayor especificidad */
.live-radio-section--editorial .live-radio-btn--primary,
.live-radio-btn--primary {
  background: var(--c-red-deep);
  border-color: var(--c-red-deep);
}
.live-radio-section--editorial .live-radio-btn--primary:hover,
.live-radio-btn--primary:hover {
  background: #6B4400;
}

/* Compactar nav-links para que los 8 items quepan en el ancho del nav
   y no se desborden sobre los .header-icon-btn (fix real del overlap, no solo z-index).
   Ajustes tipográficos: font-size + padding + letter-spacing más apretado + gap menor.
   No cambia el orden ni la estructura del menú. */
.site-nav .nav-link {
  font-size: 0.6875rem;
  padding-inline: 0.35rem;
  letter-spacing: 0.05em;
}
.site-nav {
  gap: 0;
}

/* Placeholder de slots de publicidad (solo visible en dev): texto más oscuro */
.ad-slot > span {
  color: var(--c-text-2);
}

/* Badge de categoría en single article: white sobre dorado claro → sobre dorado profundo */
.single-article__category {
  background: var(--c-red-deep) !important;
}



/* -----------------------------------------------------------------------------
   28. PAGE CONTACTO — formulario + info card (replica /contacto del React)
   ----------------------------------------------------------------------------- */

.page-contacto {
  padding: var(--sp-10) 0 var(--sp-16);
}

.contacto-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contacto-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contacto-info {
  /* lado izquierdo: texto editorial + cards de info */
}

.contacto-eyebrow {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red-deep, #C8860A);
}

.contacto-title {
  margin-top: var(--sp-2);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--c-text-2, #0f172a);
}

.contacto-lead {
  margin-top: var(--sp-4);
  max-width: 36rem;
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
}

.contacto-info-cards {
  margin-top: var(--sp-8);
  display: grid;
  gap: var(--sp-3);
}

.contacto-info-card {
  padding: var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: #fff;
}

.contacto-info-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red-deep, #C8860A);
}

.contacto-info-value {
  margin-top: 4px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text);
  word-break: break-word;
}

.contacto-socials {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.contacto-social-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 150ms ease, color 150ms ease;
}

.contacto-social-link:hover,
.contacto-social-link:focus-visible {
  border-color: #C8860A;
  color: #C8860A;
  outline: none;
}

/* ── Card del formulario ── */

.contacto-form-card {
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .contacto-form-card {
    padding: var(--sp-8);
  }
}

.contacto-form {
  display: grid;
  gap: var(--sp-4);
}

.contacto-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contacto-field {
  display: grid;
  gap: 8px;
}

.contacto-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
}

.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form input[type="tel"],
.contacto-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface, #f8fafc);
  color: var(--c-text);
  font-family: inherit;
  font-size: var(--text-sm);
  line-height: 1.5;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contacto-form textarea {
  min-height: 144px;
  resize: vertical;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: #C8860A;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.15);
}

.contacto-submit {
  margin-top: var(--sp-2);
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #C8860A 0%, #A06A00 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 14px rgba(200, 134, 10, 0.35);
}

.contacto-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 134, 10, 0.45);
}

.contacto-submit:active {
  transform: translateY(0);
}

.contacto-submit:focus-visible {
  outline: 2px solid #C8860A;
  outline-offset: 3px;
}

.contacto-fallback {
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-text-muted);
}

.contacto-fallback a {
  color: #C8860A;
  font-weight: 700;
  text-decoration: underline;
}

/* ── Email copy button ───────────────────────────────────────────────────── */
.email-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #C8860A;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  line-height: inherit;
}
.email-copy-btn:hover {
  text-decoration: underline;
}
.email-copy-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.email-copy-btn__tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.email-copy-btn.is-copied .email-copy-btn__tooltip {
  opacity: 1;
}

/* ── Banners de resultado ── */

.contacto-banner {
  margin-bottom: var(--sp-5);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contacto-banner-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.contacto-banner--ok {
  background: rgba(34, 197, 94, 0.08);
  border-color: #16a34a;
  color: #14532d;
}

.contacto-banner--warn {
  background: rgba(234, 179, 8, 0.08);
  border-color: #ca8a04;
  color: #713f12;
}

.contacto-banner--error {
  background: rgba(239, 68, 68, 0.08);
  border-color: #dc2626;
  color: #7f1d1d;
}

.contacto-banner a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}


/* -----------------------------------------------------------------------------
   29. COMMENTS — replica CommentsSection.tsx del React
   ----------------------------------------------------------------------------- */

.single-comments-wrap {
  max-width: 1024px;
  margin: var(--sp-10) auto 0;
  padding: 0 var(--sp-4);
}

.comments-section {
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-bg, #f8fafc);
}

@media (min-width: 768px) {
  .comments-section {
    padding: var(--sp-8);
  }
}

.comments-header {
  margin-bottom: var(--sp-6);
}

.comments-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.comments-title {
  margin-top: 4px;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-text);
}

.comments-count {
  color: var(--c-red);
}

.comments-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .comments-grid {
    grid-template-columns: 1fr 0.9fr;
  }
}

.comments-list-label {
  margin-bottom: var(--sp-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* Lista — reset del <ol> default + estilo card por comment */
.comments-list,
.comments-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comments-list .children {
  margin-left: var(--sp-5);
  margin-top: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 2px solid rgba(200, 134, 10, 0.18);
}

.comments-list .comment {
  margin-bottom: var(--sp-4);
}

.comments-list .comment-body {
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.comments-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text);
}

.comments-list .comment-author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--c-red-soft, rgba(200, 134, 10, 0.2));
}

.comments-list .comment-meta {
  margin-bottom: var(--sp-2);
  font-size: 11px;
  color: var(--c-text-muted);
}

.comments-list .comment-meta a {
  color: inherit;
  text-decoration: none;
}

.comments-list .comment-content {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--c-text);
}

.comments-list .comment-content p {
  margin: 0 0 0.5em;
}

.comments-list .reply {
  margin-top: var(--sp-2);
}

.comments-list .comment-reply-link {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-red);
  border: 1px solid rgba(200, 134, 10, 0.3);
  border-radius: 999px;
  text-decoration: none;
  transition: background 150ms ease;
}

.comments-list .comment-reply-link:hover {
  background: var(--c-red-soft);
}

.comments-list .comment-awaiting-moderation {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b45309;
  background: rgba(234, 179, 8, 0.12);
  border-radius: 999px;
}

/* Empty + closed states */
.comments-empty,
.comments-closed,
.comments-closed-pre {
  padding: var(--sp-5);
  background: #fff;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

/* Form column */
.comments-form-col {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

#reply-title {
  margin: 0 0 var(--sp-4);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comments-notes {
  margin: 0 0 var(--sp-4);
  font-size: 12px;
  color: var(--c-text-muted);
}

.comment-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 var(--sp-4);
}

.comment-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text);
}

.comment-req {
  color: var(--c-red);
  margin-left: 3px;
}

.comment-field input[type="text"],
.comment-field input[type="email"],
.comment-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg, #f8fafc);
  font-family: inherit;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--c-text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.comment-field textarea {
  min-height: 110px;
  resize: vertical;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: var(--c-red);
  outline: none;
  box-shadow: 0 0 0 3px var(--c-red-soft);
}

.comment-field--cookies label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 12px;
  color: var(--c-text-muted);
}

.comments-submit {
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #C8860A 0%, #A06A00 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 12px rgba(200, 134, 10, 0.3);
}

.comments-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 134, 10, 0.4);
}

.comments-submit:focus-visible {
  outline: 2px solid #C8860A;
  outline-offset: 2px;
}

.logged-in-as {
  font-size: 12px;
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-3);
}

.logged-in-as a {
  color: var(--c-red);
}

.comment-navigation,
.comments-pagination {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
}

.comment-navigation a,
.comments-pagination a {
  color: var(--c-red);
  font-weight: 700;
  text-decoration: none;
}


/* -----------------------------------------------------------------------------
   30. PAGE EN VIVO — template específico para /en-vivo/ (reemplaza Divi legacy)
   ----------------------------------------------------------------------------- */

.en-vivo-page {
  background: var(--c-bg, #f8fafc);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.en-vivo-hero {
  position: relative;
  padding: var(--sp-12) 0 var(--sp-10);
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 134, 10, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: #fff;
  overflow: hidden;
}

.en-vivo-hero::before {
  content: "";
  position: absolute;
  inset: -50% 30% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 134, 10, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.en-vivo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red, #C8860A);
  margin-bottom: var(--sp-3);
}

.en-vivo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-red, #C8860A);
  box-shadow: 0 0 0 4px rgba(200, 134, 10, 0.18);
  animation: live-pulse 1.5s ease-in-out infinite;
}

.en-vivo-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff; /* override global h1 color */
  position: relative; /* sobre el ::before radial */
  z-index: 1;
}

.en-vivo-hero .container {
  position: relative;
  z-index: 1;
}

.en-vivo-hero-card {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 3.5rem);
  border: 1px solid rgba(200, 134, 10, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(20, 36, 63, 0.96) 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  position: relative;
}

.en-vivo-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200, 134, 10, 0.08), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.en-vivo-hero-content,
.en-vivo-hero-panel {
  position: relative;
  z-index: 1;
}

@media (min-width: 980px) {
  .en-vivo-hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }
}

.en-vivo-brand-row {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-bottom: var(--sp-6);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.en-vivo-brand-logo,
.en-vivo-radio-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.en-vivo-brand-logo {
  width: clamp(150px, 22vw, 230px);
}

.en-vivo-radio-logo {
  width: clamp(76px, 10vw, 112px);
}

.en-vivo-brand-sep {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, rgba(200, 134, 10, 0.85), transparent);
}

.en-vivo-lead {
  margin-top: var(--sp-4);
  max-width: 42rem;
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.golsport-typewriter--en-vivo {
  margin-top: var(--sp-3);
  color: #D4940A;
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.en-vivo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.en-vivo-cta-play,
.en-vivo-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.en-vivo-cta-play {
  background: linear-gradient(135deg, #C8860A 0%, #A06A00 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 134, 10, 0.4);
}
.en-vivo-cta-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 134, 10, 0.5);
}

.en-vivo-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.en-vivo-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(200, 134, 10, 0.5);
}

.en-vivo-hero-panel {
  padding: var(--sp-6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.en-vivo-panel-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4940A;
}

.en-vivo-panel-title {
  margin-top: 6px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
  color: #fff;
}

.en-vivo-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-3);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.en-vivo-panel-status strong {
  color: #D4940A;
}

.en-vivo-panel-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.15);
  animation: live-pulse 1.5s ease-in-out infinite;
}

.en-vivo-hero-schedule {
  display: grid;
  gap: 10px;
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
}

.en-vivo-hero-schedule li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.46);
  color: rgba(255, 255, 255, 0.72);
}

.en-vivo-hero-schedule strong {
  color: #fff;
  font-weight: 900;
}

.en-vivo-page .sponsors-strip {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: #f8fafc;
}

@media (max-width: 639.98px) {
  .en-vivo-hero {
    padding: var(--sp-8) 0;
  }

  .en-vivo-hero-card {
    border-radius: 22px;
  }

  .en-vivo-brand-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .en-vivo-brand-logo {
    width: min(58vw, 190px);
  }

  .en-vivo-radio-logo {
    width: min(24vw, 88px);
  }

  .en-vivo-brand-sep {
    height: 34px;
  }

  .en-vivo-hero-actions,
  .en-vivo-cta-play {
    width: 100%;
    justify-content: center;
  }

  .en-vivo-hero-panel {
    padding: var(--sp-5);
  }
}

/* ── Ad band ───────────────────────────────────────────────────────────────── */
.en-vivo-ad-band {
  padding: var(--sp-6) 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

/* ── Shell (grid main + sidebar) ───────────────────────────────────────────── */
.en-vivo-shell {
  padding: var(--sp-10) 0 var(--sp-12);
}

.en-vivo-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .en-vivo-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.en-vivo-main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

/* ── Bloques ───────────────────────────────────────────────────────────────── */
.en-vivo-block-head {
  margin-bottom: var(--sp-5);
}

.en-vivo-block-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red, #C8860A);
}

.en-vivo-block-title {
  margin-top: 4px;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 900;
  color: var(--c-text-2);
}

/* ── Programación de shows ─────────────────────────────────────────────────── */
.en-vivo-shows {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .en-vivo-shows { grid-template-columns: repeat(3, 1fr); }
}

.en-vivo-show {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  border-top: 3px solid var(--c-red, #C8860A);
}

.en-vivo-show-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--c-text-2);
  margin: 0;
  letter-spacing: 0.04em;
}

.en-vivo-show-time {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-muted);
}

.en-vivo-show-sep {
  margin: 0 6px;
  color: var(--c-text-light, #94a3b8);
}

/* ── Matches ───────────────────────────────────────────────────────────────── */
.en-vivo-matches {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .en-vivo-matches { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .en-vivo-matches { grid-template-columns: repeat(3, 1fr); }
}

.en-vivo-match {
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color 150ms ease;
}

.en-vivo-match:hover {
  border-color: rgba(200, 134, 10, 0.4);
}

.en-vivo-match.is-live {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.08);
}

.en-vivo-match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}

.en-vivo-match-league {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.en-vivo-match-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.en-vivo-match-tag--live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: rgba(200, 134, 10, 0.1);
  color: var(--c-red);
  border-radius: 999px;
}

.en-vivo-match-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  animation: live-pulse 1.5s ease-in-out infinite;
}

.en-vivo-match-teams {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.en-vivo-match-team {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.en-vivo-match-team-logo {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.en-vivo-match-team-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.en-vivo-match-team-name {
  font-weight: 700;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.en-vivo-match-team-score {
  font-weight: 900;
  font-size: 16px;
  color: var(--c-text-2);
  min-width: 24px;
  text-align: right;
}

/* ── Noticias grid (reusa news-grid base) ──────────────────────────────────── */
@media (max-width: 767px) {
  .en-vivo-news-grid { grid-template-columns: 1fr; }
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.en-vivo-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

@media (min-width: 1024px) {
  .en-vivo-sidebar {
    position: sticky;
    top: var(--sp-4);
    align-self: start;
  }
}

.en-vivo-sidebar-block {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--sp-5);
}

.en-vivo-info-card {
  background: linear-gradient(160deg, #0f172a 0%, #1a1f35 100%);
  color: #fff;
  border-color: rgba(200, 134, 10, 0.25);
}

.en-vivo-info-logo {
  display: block;
  width: min(150px, 72%);
  height: auto;
  margin-bottom: var(--sp-4);
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.en-vivo-info-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red, #C8860A);
}

.en-vivo-info-title {
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.en-vivo-info-text {
  margin-top: var(--sp-3);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.en-vivo-info-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #C8860A 0%, #A06A00 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 12px rgba(200, 134, 10, 0.3);
}

.en-vivo-info-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 134, 10, 0.4);
}

.en-vivo-info-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}


/* -----------------------------------------------------------------------------
   31. COMPETITION PAGES — layout completo para /category/<liga>/
   ----------------------------------------------------------------------------- */

.competition-page {
  background: var(--c-bg, #f8fafc);
  padding-bottom: var(--sp-12);
}

.competition-top-banner {
  background: #fff;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.competition-hero {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.competition-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .competition-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-8);
    padding: var(--sp-12) var(--sp-6);
  }
}

.competition-hero-logo {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .competition-hero-logo {
    width: 128px;
    height: 128px;
  }
}

.competition-hero-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.competition-hero-logo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--c-text-muted);
}

.competition-hero-logo--fallback .competition-hero-logo-fallback {
  display: inline-flex;
}

.competition-hero-text {
  flex: 1 1 auto;
}

.competition-hero-country {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0;
}

.competition-hero-title {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
}

.competition-hero-meta {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-muted);
}

.competition-hero-sep {
  color: var(--c-text-light, #94a3b8);
}

.competition-hero-desc {
  margin-top: var(--sp-3);
  max-width: 48rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* Banner visual de categoría + ads cuadrados 336x280 */
.competition-category-banner {
  background: var(--c-bg, #f8fafc);
  border-bottom: 1px solid var(--c-border);
}

.competition-category-banner__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
}

.competition-category-banner__inner.has-square-ads {
  grid-template-columns: minmax(0, 1fr);
}

.competition-category-banner__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.competition-category-banner__info {
  padding: var(--sp-4) var(--sp-5) var(--sp-3);
}

.competition-category-banner__country {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red-deep, var(--c-red));
}

.competition-category-banner__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--c-text-2);
}

.competition-category-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--c-text-muted);
}

.competition-category-banner__desc {
  max-width: 58rem;
  margin: var(--sp-3) 0 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--c-text-muted);
}

.competition-category-banner__media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.92), rgba(30,41,59,0.86)),
    var(--c-header);
}

.competition-category-banner__media img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.competition-category-banner__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  padding: var(--sp-8);
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.competition-category-banner__ad {
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.competition-category-banner__ad,
.competition-category-banner__ad .golsport-ad,
.competition-category-banner__ad .golsport-ad__item,
.competition-category-banner__ad .golsport-ad__item > a,
.competition-category-banner__ad .golsport-ad__item img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.competition-category-banner__ad .golsport-ad--placeholder {
  border: 0 !important;
  background: #eef2f7;
  color: var(--c-text-muted);
}

.competition-category-banner__ad .golsport-ad--home-middle {
  width: 100%;
  max-width: 300px;
}

@media (min-width: 1024px) {
  .competition-category-banner__inner.has-square-ads {
    grid-template-columns: 300px minmax(0, 860px) 300px;
    justify-content: space-between;
  }
}

@media (max-width: 1023.98px) {
  .competition-category-banner__ad {
    order: 2;
  }

  .competition-category-banner__ad--right {
    display: none;
  }

  .competition-category-banner__media {
    order: 1;
  }

  .competition-category-banner__card {
    order: 1;
  }

  .competition-category-banner__inner.has-square-ads {
    grid-template-columns: minmax(0, 1fr);
  }

  .competition-category-banner__ad .golsport-ad--home-middle {
    max-width: min(100%, 336px);
  }

  .competition-category-banner__media img {
    aspect-ratio: 16 / 5;
  }
}

@media (max-width: 639.98px) {
  .competition-category-banner__inner {
    padding-inline: var(--sp-3);
  }

  .competition-category-banner__media {
    border-radius: var(--r-lg);
  }

  .competition-category-banner__info {
    padding: var(--sp-4);
  }

  .competition-category-banner__media img {
    aspect-ratio: 16 / 7;
  }
}


/* ── Shell de tabs (3 columnas: ad-izq | main | ad-der) ────────────────────── */
.competition-body {
  background: var(--c-bg, #f8fafc);
  padding: var(--sp-6) 0 0;
}

.competition-shell {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-6);
  padding: 0 var(--sp-4);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1280px) {
  .competition-shell {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    padding: 0 var(--sp-5);
  }
  /* Sin sidebars (admin sin ads, o sidebars bloqueados por ad-blocker): columna única */
  .competition-shell--no-sidebars {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Defensa CSS: si no hay ningún .competition-sidebar en el DOM (Brave Shields, etc.) */
  .competition-shell:not(:has(.competition-sidebar)) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.competition-sidebar {
  display: none;
}

@media (min-width: 1280px) {
  .competition-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }
  .competition-sidebar--left { order: 1; }
  .competition-main          { order: 2; }
  .competition-sidebar--right { order: 3; }
}

[data-dynamic-category-sidebar] .golsport-sidebar__ad:nth-child(n+2),
[data-dynamic-category-sidebar].is-dynamic-ready .golsport-sidebar__ad {
  display: none;
}

[data-dynamic-category-sidebar] .golsport-sidebar__ad[hidden] {
  display: none !important;
}

[data-dynamic-category-sidebar].is-dynamic-ready .golsport-sidebar__ad.is-visible {
  display: block;
}

[data-dynamic-page-sidebar] .golsport-sidebar__ad:nth-child(n+2),
[data-dynamic-page-sidebar].is-dynamic-ready .golsport-sidebar__ad {
  display: none;
}

[data-dynamic-page-sidebar] .golsport-sidebar__ad[hidden] {
  display: none !important;
}

[data-dynamic-page-sidebar].is-dynamic-ready .golsport-sidebar__ad.is-visible {
  display: flex;
}

.competition-main {
  min-width: 0;
}

/* ── Tab buttons ───────────────────────────────────────────────────────────── */
.competition-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: var(--sp-6);
  overflow-x: auto;
  scrollbar-width: none;
}

.competition-tabs::-webkit-scrollbar { display: none; }

.competition-tab {
  flex: 0 0 auto;
  padding: 14px 24px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px; /* alinear con border-bottom del wrap */
  transition: color 150ms ease, border-color 150ms ease;
}

.competition-tab:hover,
.competition-tab:focus-visible {
  color: var(--c-text);
  outline: none;
}

.competition-tab.is-active {
  color: var(--c-red);
  border-bottom-color: var(--c-red);
}

/* ── News grid + ads intercalados ──────────────────────────────────────────── */
.competition-news {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.competition-news-row {
  /* hereda news-grid--3 — gap del grid lo maneja main.css */
}

.competition-news-rowad {
  display: flex;
  justify-content: center;
  padding: var(--sp-2) 0;
}

.competition-news-rowad .ad-slot {
  max-width: 100%;
}

/* Vacío noticias */
.competition-news-empty {
  padding: var(--sp-10) var(--sp-6);
  border: 1px dashed var(--c-border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.competition-news-empty-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

.competition-news-empty-title {
  margin-top: var(--sp-2);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--c-text-2);
}

.competition-news-empty-text {
  margin-top: 6px;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

/* Paginación / Leer más */
.competition-news-pagination {
  margin-top: var(--sp-6);
}

.competition-news-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

/* ── Calendar ──────────────────────────────────────────────────────────────── */
.competition-calendar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Date group */
.cal-date-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.cal-date-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-1);
}

.cal-date-label {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.cal-date-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

/* Match card */
.cal-match {
  background: var(--c-surface-2, #1e2330);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 150ms ease;
}

.cal-match.is-live {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.08);
}

.cal-match-round {
  padding: var(--sp-1) var(--sp-4);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  background: var(--c-surface-3, rgba(255,255,255,.04));
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VS row: home | center | away */
.cal-match-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
}

/* Team columns */
.cal-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.cal-team--away {
  align-items: center;
}

.cal-team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.cal-team-logo--empty {
  display: block;
  width: 32px;
  height: 32px;
  background: var(--c-border);
  border-radius: 50%;
}

.cal-team-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}

/* Center column */
.cal-match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  min-width: 3.5rem;
}

.cal-score {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cal-score-num {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--c-text);
  min-width: 1.25rem;
  text-align: center;
}

.cal-score-sep {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text-muted);
}

.cal-match-time {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}

/* Badges */
.cal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--c-surface-3, rgba(255,255,255,.06));
  color: var(--c-text-muted);
  white-space: nowrap;
}

.cal-badge--live {
  background: rgba(200, 134, 10, 0.12);
  color: var(--c-red);
}

.cal-badge--fin {
  background: rgba(100, 116, 139, 0.15);
  color: var(--c-text-muted);
}

/* ── Standings ─────────────────────────────────────────────────────────────── */
.competition-standings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.competition-standings-table th,
.competition-standings-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--c-border);
}

.competition-standings-table th {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  background: var(--c-bg);
}

.competition-standings-table th.num,
.competition-standings-table td.num {
  text-align: center;
}

/* ── Standings: team cell, rank, pts, diff ──────────────────────────────────── */
.competition-standings-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-team {
  min-width: 130px;
}

.standings-team-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.standings-team-logo {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.standings-team-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standings-rank {
  font-weight: 900;
  color: var(--c-text-muted);
}

.standings-pts {
  font-weight: 900;
  color: var(--c-primary);
}

.standings-diff {
  color: var(--c-text-muted);
}

.competition-calendar-match-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ── Standings por grupos — grid de tarjetas ────────────────────────────────── */
.competition-standings-wrap--groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  align-items: start;
  overflow: visible;
}

@media (max-width: 767px) {
  .competition-standings-wrap--groups {
    grid-template-columns: 1fr;
  }
}

.standings-group {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
}

.standings-group-title {
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-primary);
  margin: 0;
}

.standings-group-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Colores de clasificación por fila ──────────────────────────────────────── */
.competition-standings-table tr.row--champions td:first-child   { box-shadow: inset 3px 0 0 #16a34a; }
.competition-standings-table tr.row--europa td:first-child      { box-shadow: inset 3px 0 0 #2563eb; }
.competition-standings-table tr.row--conference td:first-child  { box-shadow: inset 3px 0 0 #0d9488; }
.competition-standings-table tr.row--promotion td:first-child   { box-shadow: inset 3px 0 0 #22c55e; }
.competition-standings-table tr.row--playoff td:first-child     { box-shadow: inset 3px 0 0 #f59e0b; }
.competition-standings-table tr.row--relegation-playoff td:first-child { box-shadow: inset 3px 0 0 #ea580c; }
.competition-standings-table tr.row--eliminated td:first-child  { box-shadow: inset 3px 0 0 #dc2626; }
.competition-standings-table tr.row--relegation td:first-child  { box-shadow: inset 3px 0 0 #7f1d1d; }

/* ── Standings legend ───────────────────────────────────────────────────────── */
.standings-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-4);
  background: var(--c-surface-2, #1e2330);
  border-radius: var(--r-md);
  font-size: var(--text-xs);
}

.standings-legend-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text-muted);
  white-space: nowrap;
}

.standings-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Calendar pagination ────────────────────────────────────────────────────── */
.competition-calendar-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

.competition-cal-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.competition-cal-page-btn:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.competition-cal-page-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.competition-cal-page-info {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  font-weight: 600;
  flex: 1;
  text-align: center;
}

/* ── Empty states compartidos (calendar/standings) ─────────────────────────── */
.competition-calendar-empty,
.competition-standings-empty {
  padding: var(--sp-12) var(--sp-6);
  background: #fff;
  border: 1px dashed var(--c-border);
  border-radius: 16px;
  text-align: center;
}

.competition-empty-icon {
  font-size: 3rem;
  opacity: 0.35;
  margin-bottom: var(--sp-2);
}

.competition-empty-title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--c-text-2);
}

.competition-empty-text {
  margin-top: 6px;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.competition-empty-hint {
  display: inline-block;
  margin-top: var(--sp-2);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-bg);
  font-size: 11px;
  color: var(--c-text-muted);
}


/* =============================================================================
   32. RESPONSIVE FIXES — Sprint mobile 320-1440px (2026-06-01)
   Cataloga y corrige overflow horizontal y degradación móvil del theme.
   ============================================================================= */

/* ── 32.1 Safety net — body sin scroll horizontal accidental ───────────────
   overflow-x: clip no rompe position: sticky (overflow: hidden sí lo haría). */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* ── 32.2 Header — escalar logo + ocultar íconos secundarios en mobile ─── */
@media (max-width: 639.98px) {
  .site-logo-img { height: 3rem; }
  .header-inner  { gap: var(--sp-2); padding-inline: 0.75rem; }
  .header-icon-btn { width: 2.25rem; height: 2.25rem; }
}
@media (max-width: 479.98px) {
  .site-logo-img { height: 2.5rem; }
  /* En <480: dejar sólo IG + menu toggle. Facebook y búsqueda quedan
     accesibles desde el offcanvas (mobile-menu-panel ya los lista). */
  .header-actions .header-icon-btn[aria-label*="Facebook" i],
  .header-actions .header-search-wrap { display: none; }
}

/* ── 32.3 Offcanvas — full width en pantallas muy estrechas + body lock ── */
@media (max-width: 379.98px) {
  .mobile-menu-panel { width: 100vw; border-left: 0; }
}
body.mobile-menu-open { overflow: hidden; }

/* ── 32.4 Matches top bar — ocultar en <640 (UX, scroll horizontal
   confunde al usuario y el partido principal ya aparece en hero/calendar) */
@media (max-width: 639.98px) {
  .matches-top-bar { display: none; }
}

/* ── 32.5 Breaking bar — el link trunca con ellipsis (req. min-width:0) ── */
.breaking-bar       { min-width: 0; }
.breaking-bar-link  { min-width: 0; flex: 1 1 auto; max-width: 100%; }

/* ── 32.6 Competition tabs — caben los 3 tabs en 320 ─────────────────────── */
@media (max-width: 479.98px) {
  .competition-tab {
    padding: 12px 14px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }
}

/* ── 32.7 News card meta — autor con truncado real ────────────────────────── */
.news-card-author { min-width: 0; max-width: 100%; display: inline-block; }
@media (max-width: 1023.98px) {
  /* En cards de sidebar/2col reducir gap + font-size del meta */
  .news-card-meta      { gap: var(--sp-2); font-size: 0.6875rem; }
  .news-card-meta-left { gap: 0.25rem; }
}

/* ── 32.8 Cat tabs — flechas dentro del wrap, sin desbordar ──────────────── */
.cat-tabs-wrap          { overflow: hidden; padding-inline: 1.5rem; }
.cat-tabs-arrow--prev   { left: 0; }
.cat-tabs-arrow--next   { right: 0; }
@media (min-width: 1024px) {
  .cat-tabs-arrow--prev { left: 0.25rem; }
  .cat-tabs-arrow--next { right: 0.25rem; }
}

/* ── 32.9 En-vivo grid — padding y gap más chico en mobile ─────────────── */
@media (max-width: 639.98px) {
  .en-vivo-grid  { gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
  .en-vivo-shell { padding: var(--sp-6) 0 var(--sp-8); padding-inline: 1rem; }
}
/* ── 32.9.1 News card images — no fuerzan ancho de columna ───────────── */
.news-card-img-wrap { min-width: 0; max-width: 100%; }
.news-card-img      { min-width: 0; max-width: 100%; height: auto; }
/* ── 32.9.2 News cards en grids — el grid puede shrinkear ────────────── */
/* NOTA: NO redefinir grid-template-columns en .news-grid sin media query —
   sobreescribiría .news-grid--3 del breakpoint 640px (misma especificidad,
   pero posterior en cascade) → single column en tablet. */
@media (min-width: 640px) {
  .news-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .news-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =============================================================================
   33. MOBILE MENU — fix selectores PHP/CSS + chevron + liquid-glass (2026-06-02)
   El HTML del partial usa nombres distintos a los del CSS legacy. Esta sección
   sincroniza ambos sets y agrega el sub-menú colapsable correctamente.
   ============================================================================= */

/* 33.0 [hidden] debe sobrescribir display flex en sub-listas */
.mobile-nav-children[hidden] { display: none !important; }

/* 33.1 Sincroniza `.mobile-menu-nav` (PHP) con la lista vertical */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

/* 33.2 Botón parent (acordeón) — mismo look que .mobile-nav-link pero <button> */
.mobile-nav-link--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 0;
  background: transparent;
  border-radius: var(--r-xl);
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  border-left: 3px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease,
              border-color 0.18s ease, padding-left 0.18s ease;
}
.mobile-nav-link--parent:hover,
.mobile-nav-link--parent:focus-visible {
  background: rgba(220, 38, 38, 0.07);
  color: var(--c-red);
  border-left-color: var(--c-red);
  padding-left: 1.25rem;
  transform: translateX(3px);
  outline: none;
}
.mobile-nav-link--parent[aria-expanded="true"] {
  background: rgba(200, 134, 10, 0.10);
  color: var(--c-red);
  border-left-color: var(--c-gold, #C8860A);
}
.mobile-nav-link--parent .nav-chevron {
  flex-shrink: 0;
  margin-left: var(--sp-2);
  transition: transform var(--t-fast);
}
.mobile-nav-link--parent[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* 33.3 Sub-links — sincroniza `.mobile-nav-child-link` (PHP) con look existente */
.mobile-nav-child-link {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease,
              border-color 0.18s ease, padding-left 0.18s ease;
}
.mobile-nav-child-link:hover,
.mobile-nav-child-link:focus-visible {
  background: rgba(220, 38, 38, 0.06);
  color: var(--c-red);
  border-left-color: var(--c-red);
  padding-left: 1.125rem;
  transform: translateX(2px);
  outline: none;
}

/* 33.4 Social — íconos circulares, sin texto */
.mobile-menu-social {
  display: flex;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: auto;
  justify-content: center;
}
.mobile-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: var(--c-text-2);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.mobile-social-link:hover,
.mobile-social-link:focus-visible {
  border-color: var(--c-red);
  background: rgba(220, 38, 38, 0.08);
  color: var(--c-red);
  outline: none;
}
.mobile-social-link svg { flex-shrink: 0; }

/* 33.5 Liquid-glass del panel — frosted transparente */
.mobile-menu-panel {
  background: rgba(255, 255, 255, 0.60);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
          backdrop-filter: saturate(180%) blur(28px);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  padding: var(--sp-5) var(--sp-4);
  padding-bottom: calc(var(--sp-5) + 5rem);
  gap: var(--sp-5);
}

/* 33.6 Brand del panel — logo flotante sin fondo */
.mobile-menu-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.mobile-menu-brand > a {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-menu-brand > a:hover {
  opacity: 0.85;
  transform: scale(1.03);
}
.mobile-menu-logo {
  display: block;
  max-height: 3rem;
  width: auto;
  height: auto;
}

/* 33.7 Botón hamburguesa — al abrir, contraste oscuro sobre el panel claro */
body.mobile-menu-open .mobile-menu-toggle {
  background: #fff;
  border-color: var(--c-border);
  color: var(--c-text);
}
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 33.8 Chevron de los nav-link no parent (link directo) */
.mobile-nav-link svg { flex-shrink: 0; margin-left: var(--sp-2); }

/* 33.9 Pill En Vivo dentro del menú — usar live-dot del HTML, no ::before */
.mobile-nav-link--live .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  margin-right: var(--sp-2);
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
/* HTML del partial ya inyecta .live-dot — evitamos el ::before duplicado */
.mobile-nav-link--live::before { content: none; }

/* 33.10 Animaciones de texto en hover — letter-spacing + flecha deslizante */

/* transition en el BASE (no en hover) para que el navegador anime entrada Y salida */
.mobile-nav-link,
.mobile-nav-link--parent {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease,
              border-color 0.2s ease, padding-left 0.2s ease,
              letter-spacing 0.25s ease;
}
/* transition del SVG también en base state */
.mobile-nav-link svg,
.mobile-nav-link--parent .nav-chevron {
  transition: transform 0.2s ease;
}

/* chevron abierto: gira siempre (no depende de hover) */
.mobile-nav-link--parent[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* hover solo en dispositivos con cursor real (mouse/trackpad) */
@media (hover: hover) {
  .mobile-nav-link:hover:not(.mobile-nav-link--live),
  .mobile-nav-link:focus-visible:not(.mobile-nav-link--live),
  .mobile-nav-link--parent:hover,
  .mobile-nav-link--parent:focus-visible {
    letter-spacing: 0.18em;
  }
  .mobile-nav-link:hover svg,
  .mobile-nav-link:focus-visible svg {
    transform: translateX(6px);
  }
  .mobile-nav-link--parent:hover .nav-chevron,
  .mobile-nav-link--parent:focus-visible .nav-chevron {
    transform: translateX(6px);
  }
  .mobile-nav-link--parent[aria-expanded="true"]:hover .nav-chevron,
  .mobile-nav-link--parent[aria-expanded="true"]:focus-visible .nav-chevron {
    transform: rotate(180deg) translateX(-6px);
  }
}

/* :active — feedback visual en toque (táctil y mouse) */
.mobile-nav-link:active:not(.mobile-nav-link--live),
.mobile-nav-link--parent:active {
  background: rgba(200,16,46,0.08);
  border-left-color: var(--c-red);
  transform: scale(0.98);
}

/* =============================================================================
   34. SINGLE — texto del cuerpo justificado (no títulos/meta/captions)
   ============================================================================= */
.single-article__body p,
.single-article__body li,
.post-content p,
.post-content li {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}
.single-article__body h1,
.single-article__body h2,
.single-article__body h3,
.single-article__body h4,
.single-article__body h5,
.single-article__body h6,
.single-article__body figcaption,
.single-article__body .wp-caption-text,
.single-article__body blockquote cite,
.single-article__body .wp-block-button,
.single-article__body .wp-block-buttons,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content figcaption,
.post-content .wp-caption-text {
  text-align: left;
  -webkit-hyphens: none;
      -ms-hyphens: none;
          hyphens: none;
}


/* =============================================================================
   35. LAYOUT CON SIDEBAR DE ADS — grid 2-col (desktop) → stack (mobile)
   Reutilizable en single, page, archive fallback, search, page-contacto.
   Si la sidebar no tiene contenido, el grid colapsa elegantemente.
   ============================================================================= */
.page-shell {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.page-shell--with-ads {
  grid-template-columns: minmax(0, 1fr) clamp(260px, 22%, 320px);
}
.page-shell--full {
  grid-template-columns: minmax(0, 1fr);
}
.page-shell--with-both-ads {
  grid-template-columns: clamp(200px, 18%, 260px) minmax(0, 1fr) clamp(200px, 18%, 260px);
}
@media (max-width: 1280px) {
  .page-shell--with-both-ads {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 22%, 320px);
  }
}
@media (max-width: 1023.98px) {
  .page-shell--with-ads,
  .page-shell--with-both-ads { grid-template-columns: 1fr; }
  /* Oculta sidebars en móvil — los inline ads cada 2 párrafos los reemplazan */
  .single-page .ads-sidebar { display: none; }
}

.ads-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.golsport-sidebar__ads-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  width: 100%;
  max-width: 100%;
}
.golsport-sidebar__ad {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.golsport-sidebar__ad--secondary {
  margin-top: var(--sp-2);
}
.hero-side-ad .golsport-sidebar__ads-stack,
.cat-side-ad .golsport-sidebar__ads-stack,
.competition-sidebar .golsport-sidebar__ads-stack {
  width: 100%;
}
.ads-sidebar__slot {
  display: flex;
  justify-content: center;
}
.ads-sidebar__slot img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}
@media (min-width: 1024px) {
  .ads-sidebar,
  .competition-sidebar .golsport-sidebar__ads-stack,
  .ads-sidebar__slot--sticky {
    position: sticky;
    top: calc(var(--sp-8) + 6rem); /* compensa header sticky */
  }
}


/* =============================================================================
   35b. PÁGINAS LEGALES — Términos, Privacidad, Cookies
   ============================================================================= */

.legal-page {
  background: var(--c-bg);
}
.legal-page .page-main {
  max-width: 72ch;
  width: 100%;
  margin-inline: auto;
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-16);
}

/* Hero */
.legal-hero {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-8);
  border-bottom: 2px solid var(--c-border);
}
.legal-hero__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--sp-3);
}
.legal-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--c-ink);
  margin: 0 0 var(--sp-3);
  line-height: 1.1;
}
.legal-hero__updated {
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin: 0 0 var(--sp-4);
}
.legal-hero__lead {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin: 0;
}

/* Sections */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.legal-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.legal-section__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
.legal-section p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-ink-2);
  margin: 0;
}
.legal-section a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover { opacity: 0.8; }

/* Lists */
.legal-list {
  margin: 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.legal-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.legal-list a { color: var(--c-red); text-decoration: underline; text-underline-offset: 2px; }

/* Contact block */
.legal-section--contact {
  background: var(--c-bg-2, #f8f8f8);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
}
.legal-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.legal-contact-list li {
  font-size: 0.9375rem;
  color: var(--c-ink-2);
}
.legal-contact-list a {
  font-weight: 600;
  color: var(--c-red);
  text-decoration: none;
}
.legal-contact-list a:hover { text-decoration: underline; }

/* Cookies table */
.legal-cookies-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r-base);
  overflow: hidden;
  font-size: 0.875rem;
}
.legal-cookie-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink-2);
  line-height: 1.6;
}
.legal-cookie-row:last-child { border-bottom: none; }
.legal-cookie-row--header {
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .legal-cookie-row {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
  .legal-cookie-row--header span:not(:first-child) { display: none; }
}

/* =============================================================================
   35c. PÁGINA PAUTA CON NOSOTROS
   ============================================================================= */

.pauta-page {
  background: var(--c-bg);
}
.pauta-page .page-main {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-16);
}

/* Hero */
.pauta-hero {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-8);
  border-bottom: 2px solid var(--c-border);
}
.pauta-hero__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--sp-3);
}
.pauta-hero__title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--c-ink);
  margin: 0 0 var(--sp-4);
  line-height: 1.05;
}
.pauta-hero__lead {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  line-height: 1.7;
  max-width: 65ch;
  margin: 0;
}

/* Section title */
.pauta-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 var(--sp-6);
}

/* Services grid */
.pauta-services {
  margin-bottom: var(--sp-12);
}
.pauta-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 900px) {
  .pauta-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pauta-services-grid { grid-template-columns: 1fr; }
}

.pauta-service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pauta-service-card:hover {
  border-color: var(--c-red);
  box-shadow: 0 4px 20px rgba(200,134,10,0.10);
}
.pauta-service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--c-red-soft);
  border-radius: var(--r-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-red);
  flex-shrink: 0;
}
.pauta-service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
}
.pauta-service-card__text {
  font-size: 0.875rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  margin: 0;
}

/* Form section */
.pauta-form-section {
  margin-top: var(--sp-4);
}
.pauta-form-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
}
@media (max-width: 600px) {
  .pauta-form-card { padding: var(--sp-6) var(--sp-4); }
}
.pauta-form-header {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--c-border);
}
.pauta-form-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 var(--sp-2);
}
.pauta-form-card__lead {
  font-size: 0.9375rem;
  color: var(--c-ink-2);
  line-height: 1.6;
  margin: 0;
}
.pauta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 600px) {
  .pauta-form-row { grid-template-columns: 1fr; }
}
.pauta-select {
  width: 100%;
  padding: 0.6875rem var(--sp-4);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-base);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--c-ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color 0.2s;
}
.pauta-select:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px var(--c-red-glow);
}

/* required asterisk */
.required { color: var(--c-red); }

/* Contacto info cards — link style */
.contacto-info-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.contacto-info-value a:hover { color: var(--c-red); text-decoration: underline; }

/* =============================================================================
   36. ADS — 5 positions oficiales + rotación cada 10s (2026-06-02)
   Render: golsport_render_ads('<position>')
   Positions: top-banner / left-sidebar / right-sidebar / inline-article / home-middle
   ============================================================================= */

.golsport-ad {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.golsport-ad__item {
  display: none;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.golsport-ad__item.is-active { display: block; }

.golsport-ad__item > a,
.golsport-ad__item > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.golsport-ad__item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: inherit;
  object-fit: contain;
}

/* Single-item containers (no rotación) — sin transición */
.golsport-ad:not([data-golsport-rotate]) .golsport-ad__item { display: block; }

/* Fade suave entre items rotables */
.golsport-ad[data-golsport-rotate] .golsport-ad__item.is-active {
  animation: golsport-ad-fade var(--t-slow) ease-out;
}
@keyframes golsport-ad-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── 36.1 Top banner — 1024×133 horizontal ───────────────────────────────── */
.golsport-ad--top-banner {
  max-width: 1024px;
  aspect-ratio: 1024 / 133;
}

/* ── 36.2 Inline article — 1024×120 horizontal ───────────────────────────── */
.golsport-ad--inline-article {
  max-width: 1024px;
  aspect-ratio: 1024 / 120;
}
@media (max-width: 639.98px) {
  .golsport-ad--inline-article {
    aspect-ratio: 4 / 1;
  }
  .golsport-ad--inline-article .golsport-ad__item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ── 36.3 Home middle — 336×280 cuadrado ─────────────────────────────────── */
.golsport-ad--home-middle {
  max-width: 336px;
  aspect-ratio: 336 / 280;
}

/* ── 36.4 Left/right sidebar — 200×600 vertical (skyscraper) ─────────────── */
.golsport-ad--left-sidebar,
.golsport-ad--right-sidebar {
  max-width: 200px;
  aspect-ratio: 200 / 600;
}

/* ── 36.5 Responsive — en mobile los laterales pasan a horizontal centrado ─ */
@media (max-width: 1023.98px) {
  .golsport-ad--left-sidebar,
  .golsport-ad--right-sidebar {
    max-width: 100%;
    aspect-ratio: auto;
  }
  .golsport-ad--left-sidebar .golsport-ad__item img,
  .golsport-ad--right-sidebar .golsport-ad__item img {
    max-height: 320px;
    width: auto;
    margin-inline: auto;
  }
}

/* ── 36.6 Placeholder dev — sólo cuando WP_DEBUG=true ────────────────────── */
.golsport-ad--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: repeating-linear-gradient(
    45deg,
    rgba(200, 134, 10, 0.06),
    rgba(200, 134, 10, 0.06) 10px,
    rgba(200, 134, 10, 0.12) 10px,
    rgba(200, 134, 10, 0.12) 20px
  );
  border: 1px dashed rgba(200, 134, 10, 0.5);
  color: var(--c-text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--r-md);
}


/* =============================================================================
   37. FOOTER REDESIGN — logo real + social icons + responsive grid
   ============================================================================= */

.site-footer {
  position: relative;
  margin-top: var(--sp-16);
  background:
    radial-gradient(circle at 92% 12%, rgba(200, 134, 10, 0.13), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--c-surface) 100%);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
  overflow: hidden;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
  padding-block: var(--sp-10) var(--sp-12);
}

.footer-brand {
  max-width: 40rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: var(--r-xl);
  transition: all 0.3s ease;
}

.footer-brand-logo:hover,
.footer-brand-logo:focus-visible {
  color: inherit;
  opacity: 0.9;
  transform: translateY(-2px);
  outline: none;
}

.footer-brand-logo:focus-visible {
  box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.22);
}

.footer-logo-img {
  display: block;
  width: min(20rem, 78vw);
  height: auto;
}

.footer-brand-desc {
  margin: var(--sp-5) 0 0;
  max-width: 38rem;
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
}

.footer-col-title {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-block: 0.2rem;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--c-text-muted);
  transition: all 0.3s ease;
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: var(--c-red);
  transform: translateX(4px);
  outline: none;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.86);
  color: var(--c-text-muted);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow-red-sm);
  transform: translateY(-2px);
  outline: none;
}

.footer-social-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social-btn svg path {
  fill: currentColor;
  stroke: none;
}

.footer-contact-card {
  padding: var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.footer-contact-label {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text);
}

.footer-contact-text {
  margin: 0 0 var(--sp-4);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--c-red);
  color: #1a1f35;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: var(--shadow-red-sm);
  transition: all 0.3s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  background: var(--c-red-deep);
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
  outline: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.footer-copyright {
  margin: 0;
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  justify-self: end;
  white-space: nowrap;
}

.footer-credit-link {
  color: var(--c-red);
  font-weight: 800;
  transition: all 0.3s ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus-visible {
  color: var(--c-red-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  outline: none;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
}

.footer-legal-link {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--c-red);
  outline: none;
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.25fr 0.9fr;
  }

  .footer-connect {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
  }

  .footer-copyright {
    white-space: nowrap;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.35fr 1fr 0.95fr;
  }

  .footer-connect {
    grid-column: auto;
  }
}

@media (max-width: 639.98px) {
  .site-footer {
    text-align: center;
  }

  .footer-brand-logo {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-brand-desc {
    margin-inline: auto;
  }

  .footer-nav {
    justify-items: center;
  }

  .footer-nav-link:hover,
  .footer-nav-link:focus-visible {
    transform: translateY(-1px);
  }

  .footer-socials,
  .footer-legal-links {
    justify-content: center;
  }

  .footer-contact-card {
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }
  .footer-credit {
    justify-self: center;
    white-space: normal;
  }
}

/* =============================================================================
   38. TYPEWRITER MICROCOPY
   ============================================================================= */

.ad-band--top .ad-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.ad-band--top .ad-band__slot {
  flex: 0 1 80rem;
  min-width: 0;
}

.golsport-typewriter {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--c-text);
  font-weight: 900;
  line-height: 1.2;
}

.golsport-typewriter__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.golsport-typewriter__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 0.35rem;
  background: currentColor;
  animation: golsport-typewriter-cursor 0.9s steps(1) infinite;
}

.golsport-typewriter--footer {
  display: flex;
  width: fit-content;
  clear: both;
  margin-top: var(--sp-3);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(200, 134, 10, 0.24);
  border-radius: var(--r-full);
  background: rgba(200, 134, 10, 0.07);
  color: var(--c-red);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

.golsport-typewriter--header {
  display: none;
  flex: 0 0 12rem;
  min-height: 8.3125rem;
  padding: var(--sp-2);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #C8860A;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.92rem, 0.9vw, 1.12rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(200, 134, 10, 0.22);
}

.golsport-typewriter--header .golsport-typewriter__text {
  white-space: normal;
}

@keyframes golsport-typewriter-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (min-width: 1280px) {
  .ad-band--top .ad-band__inner {
    max-width: 104rem;
  }

  .golsport-typewriter--header {
    display: inline-flex;
  }
}

@media (max-width: 639.98px) {
  .golsport-typewriter--footer {
    max-width: 100%;
    justify-content: center;
    font-size: var(--text-xs);
  }
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */

.breadcrumb {
	margin-bottom: 16px;
}

.breadcrumb__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.03em;
}

.breadcrumb__item:not(:last-child)::after {
	content: '\203A'; /* › */
	color: rgba(255, 255, 255, 0.25);
	margin: 0 5px;
}

.breadcrumb__item a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	transition: color 0.15s;
}

.breadcrumb__item a:hover {
	color: rgba(255, 255, 255, 0.9);
}

.breadcrumb__item--current {
	color: rgba(255, 255, 255, 0.75);
	max-width: 36ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 479px) {
	.breadcrumb__list {
		font-size: 10px;
	}
}
