/**
 * @package Custom_Theme_NexPanama
 * @author NexPanamá
 * @version 1.0.0
 * Developed by NexPanamá
 *
 * NexPanamá Core Engine — Sistema de Estilos Nativo 2026
 */

/* ==========================================
   RESET MODERNO & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================
   CABECERA & NAVEGACIÓN (STICKY GLASSMORPHISM)
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: all var(--transition-smooth);
}

/* Soporte nativo para Barra de Administración de WordPress (Admin Bar) */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Top Bar: Fecha, Trending & Redes */
.top-bar {
  background-color: var(--nex-black);
  color: #E5E7EB;
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.live-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9CA3AF;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-date svg {
  flex-shrink: 0;
}

#live-date-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.trending-badge {
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.trending-item {
  color: #D1D5DB;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trending-item:hover {
  color: #FFF;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}
.social-icon:hover {
  color: #FFF;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Main Navigation */
.main-nav-bar {
  padding: 0.75rem 0;
  transition: padding var(--transition-smooth);
}

.site-header.scrolled .main-nav-bar {
  padding: 0.4rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Logo NexPanamá */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-logo-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--nex-red);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Menú de Categorías */
.category-nav {
  display: flex;
  align-items: center;
}

.category-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.category-nav-list a,
.category-nav a,
.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-nav-list a:hover,
.category-nav-list .current-menu-item > a,
.category-nav-list .current_page_item > a,
.category-nav a:hover,
.nav-link:hover,
.nav-link.active {
  color: var(--nex-red);
  background-color: var(--bg-surface-alt);
}

.category-nav-list a.sports,
.nav-link.sports { color: var(--cat-deportes); }
.category-nav-list a.sports:hover,
.nav-link.sports:hover { background-color: rgba(0, 102, 204, 0.08); }

/* Submenús Desplegables (Dropdowns de WordPress) */
.category-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
}

@media (min-width: 1025px) {
  .category-nav-list li:hover > .sub-menu {
    display: flex;
    flex-direction: column;
  }
}

.category-nav-list .sub-menu li {
  width: 100%;
  display: block;
}

.category-nav-list .sub-menu a {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.category-nav-list .sub-menu a:hover {
  color: var(--nex-red);
  background-color: var(--bg-surface-alt);
}

/* Botón de alternancia de submenú (Oculto en escritorio, activo en móvil) */
.sub-menu-toggle {
  display: none;
}

@media (min-width: 769px) {
  .category-nav-list li.menu-item-has-children > a::after,
  .category-nav-list li.has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition-fast);
    opacity: 0.65;
  }
  .category-nav-list li.menu-item-has-children:hover > a::after,
  .category-nav-list li.has-submenu:hover > a::after {
    transform: rotate(225deg) translateY(-1px);
    opacity: 1;
    color: var(--nex-red);
  }
}

/* Acciones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Redes Sociales en Cabecera Principal (Fallback Opción 2 / Conmutador) */
.header-social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.15rem;
}

.header-social-links .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.header-social-links .social-icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.header-social-links .social-icon:hover {
  color: #FFFFFF;
  background-color: var(--nex-red, #FF0033);
  border-color: var(--nex-red, #FF0033);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 51, 0.28);
}

.header-social-links .social-icon:hover svg {
  transform: scale(1.12);
}

/* Botón EN VIVO con pulso de luz */
.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF0033, #CC0029);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.35);
  transition: all var(--transition-fast);
}

.btn-live:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 0, 51, 0.5);
}

/* EN VIVO: texto siempre en una línea y sin deformarse en cabeceras apretadas */
.btn-live {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Posición izquierda: botón agrupado junto al logo */
.brand-live-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Posición derecha: extremo derecho de las acciones (solo escritorio) */
@media (min-width: 769px) {
  .header-actions .btn-live--right {
    order: 99;
  }
}

/* Cabecera apretada (1025-1280px): se muestran 3 de las redes sociales */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-actions .header-social-links a:nth-child(n+4) {
    display: none;
  }
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #FFFFFF;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 17px;
  height: 17px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: pulse-live 1.8s infinite ease-out;
}

@keyframes pulse-live {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Toggle Modo Oscuro */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: rotate(15deg);
}

.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.mobile-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background-color: var(--bg-surface-alt);
}

/* ==========================================
   CONMUTADOR BILINGÜE NATIVO (ES / EN SWITCHER)
   ========================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 2px;
  user-select: none;
  transition: all var(--transition-fast);
}

.lang-switcher:hover {
  border-color: var(--border-hover);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  line-height: 1;
  position: relative;
  z-index: 5;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--nex-red);
}

.lang-btn.active {
  background: var(--nex-red);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.35);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.6;
}

[data-theme="dark"] .lang-switcher {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .lang-btn {
  color: #A0AEC0;
}

[data-theme="dark"] .lang-btn:hover {
  color: #FFFFFF;
}

[data-theme="dark"] .lang-btn.active {
  background: var(--nex-red);
  color: #FFFFFF !important;
}

/* Selector en Barra Superior Negra (Máximo Contraste y Nitidez) */
.top-bar .lang-switcher,
.top-bar-lang {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.top-bar .lang-switcher:hover,
.top-bar-lang:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.top-bar .lang-btn,
.top-bar-lang .lang-btn {
  color: #F1F5F9 !important;
  font-weight: 700;
  opacity: 0.85;
}

.top-bar .lang-btn:hover,
.top-bar-lang .lang-btn:hover {
  color: #FFFFFF !important;
  opacity: 1;
}

.top-bar .lang-btn.active,
.top-bar-lang .lang-btn.active {
  background: var(--nex-red) !important;
  color: #FFFFFF !important;
  opacity: 1;
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.75);
}

.top-bar .lang-divider,
.top-bar-lang .lang-divider {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Selector en Cabecera Principal (Menú Blanco / Sticky) */
.main-header-lang {
  background-color: var(--bg-surface-alt);
  border: 1.5px solid var(--border-color);
  padding: 3px 6px 3px 8px;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.main-header-lang .icon-lang-globe {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.main-header-lang:hover {
  border-color: var(--border-hover);
}

.main-header-lang:hover .icon-lang-globe {
  color: var(--nex-red);
}

.main-header-lang .lang-btn {
  font-size: 0.8125rem;
  padding: 0.28rem 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.main-header-lang .lang-btn.active {
  background: var(--nex-red);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.35);
}

.menu-item-lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

/* Fila de Idioma en Menú Móvil */
.mobile-nav-lang-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-sm);
}

.mobile-nav-lang-row > span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Fila de Redes Sociales en Menú Móvil */
.mobile-nav-social-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-sm);
}

.mobile-nav-social-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

/* Los iconos viven dentro de .category-nav: se neutralizan el padding, el borde inferior
   y el ancho heredados de los enlaces del menú para que el SVG no se comprima. */
.mobile-nav-social-links .social-icon {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-social-links .social-icon svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.mobile-nav-social-links .social-icon:hover {
  color: #FFFFFF;
  background-color: var(--nex-red, #FF0033);
  border-color: var(--nex-red, #FF0033);
}

/* ==========================================
   BOTÓN Y BARRA DE BÚSQUEDA MINIMALISTA (HEADER SEARCH)
   ========================================== */
.search-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.search-toggle-btn:hover {
  color: var(--nex-red);
  border-color: var(--nex-red);
  background-color: rgba(255, 0, 51, 0.06);
  transform: translateY(-1px);
}

.search-toggle-btn.active {
  color: #FFFFFF;
  background: var(--nex-red);
  border-color: var(--nex-red);
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.35);
}

.search-toggle-btn .icon-search {
  display: block;
  transition: transform var(--transition-fast);
}

.search-toggle-btn .icon-search-close {
  display: none;
  transition: transform var(--transition-fast);
}

.search-toggle-btn.active .icon-search {
  display: none;
}

.search-toggle-btn.active .icon-search-close {
  display: block;
}

/* Barra Desplegable de Búsqueda Minimalista (Slide-Down Glassmorphic) */
.header-search-bar {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  background-color: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid transparent;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.3s ease,
              border-color 0.3s ease;
  padding: 0;
}

.header-search-bar.open {
  max-height: 180px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
  padding: 0.85rem 0 1.15rem;
  border-top-color: var(--border-color);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.search-bar-inner {
  max-width: 840px;
  margin: 0 auto;
}

.header-search-form {
  width: 100%;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-surface-alt);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-input-wrap:focus-within {
  border-color: var(--nex-red);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.15), var(--shadow-md);
}

.search-input-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.search-input-wrap:focus-within .search-input-icon {
  color: var(--nex-red);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  padding: 0.35rem 0;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-submit-btn {
  background: linear-gradient(135deg, #FF0033, #CC0029);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 0, 51, 0.3);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.search-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 0, 51, 0.45);
}

.search-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.search-close-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-surface);
  transform: rotate(90deg);
}

/* Sugerencias y Tendencias de Búsqueda */
.search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-left: 0.75rem;
}

.suggestions-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.suggestion-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78125rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.suggestion-tag:hover {
  color: var(--nex-red);
  border-color: var(--nex-red);
  background-color: rgba(255, 0, 51, 0.05);
  transform: translateY(-1px);
}

/* ==========================================
   TICKER DE ÚLTIMA HORA (BREAKING NEWS)
   ========================================== */
.breaking-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  margin-bottom: 1.5rem;
}

.breaking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.breaking-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  overflow: hidden;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.breaking-headline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.breaking-headline:hover {
  color: var(--nex-red);
}

.breaking-time {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.breaking-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breaking-ctrl-btn {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.7rem;
  transition: all var(--transition-fast);
}

.breaking-ctrl-btn:hover {
  color: var(--nex-red);
  border-color: var(--nex-red);
}

/* Indicador Elegante de Actualizado */
.updated-badge-home {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
[data-theme="dark"] .updated-badge-home {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

@media (max-width: 1024px) {
  .breaking-bar .updated-badge-home {
    display: none;
  }
}

@media (max-width: 768px) {
  .breaking-bar {
    padding: 0.45rem 0;
    margin-bottom: 1rem;
  }
  .breaking-inner {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .breaking-left {
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .breaking-label {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    flex-shrink: 0;
  }
  .breaking-controls {
    flex-shrink: 0;
  }
  .breaking-headline {
    font-size: 0.8125rem;
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .breaking-time {
    display: none;
  }
  .updated-badge-home {
    display: none;
  }
}

.live-dot-green {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.live-dot-green::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 13px;
  height: 13px;
  background-color: rgba(16, 185, 129, 0.5);
  border-radius: 50%;
  animation: pulse-live 2s infinite ease-out;
}

/* ==========================================
   BENTO GRID HERO (PORTADA 2026)
   ========================================== */
.hero-bento-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  align-items: start;
}

.bento-card-primary {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.bento-card-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  border-color: var(--border-hover);
}

.bento-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.bento-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

.bento-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-primary:hover .bento-img {
  transform: scale(1.03);
}

.bento-category-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Blindaje de contención: Cuando bento-category-tag está dentro de textos o listas, debe fluir inline */
.editorial-list-content .bento-category-tag,
.editorial-list-item .bento-category-tag,
.live-timeline-meta .bento-category-tag,
.live-bento-lead-meta .bento-category-tag,
.editorial-list-body .bento-category-tag {
  position: static !important;
  display: inline-block !important;
  margin-bottom: 0.35rem !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

.bento-content-primary {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.bento-meta-author {
  color: var(--text-secondary);
  font-weight: 600;
}

.bento-title-primary {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.85vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
  transition: color var(--transition-fast);
}

.bento-card-primary:hover .bento-title-primary {
  color: var(--nex-red);
}

.bento-excerpt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.bento-column-secondary {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bento-card-secondary {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  min-height: 84px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.bento-card-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--border-hover);
}

.bento-sec-thumb {
  width: 105px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.bento-sec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-card-secondary:hover .bento-sec-thumb img {
  transform: scale(1.05);
}

.bento-sec-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.category-pill {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nex-red);
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.category-pill.sports { color: var(--cat-deportes); }
.category-pill.tech { color: var(--cat-tecnologia); }

.bento-sec-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.bento-card-secondary:hover .bento-sec-title {
  color: var(--nex-red);
}

.bento-sec-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================
   FORMATO 2: HERO BENTO GRID EDITORIAL 2026
   ========================================== */
.hero-bento-2026 {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  align-items: start;
}

.bento-2026-main {
  display: flex;
  flex-direction: column;
}

.bento-lead-card {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.bento-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--border-hover);
}

.bento-lead-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
  display: block;
}

.bento-lead-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.editorial-badge-live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(229, 9, 20, 0.35);
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #FFF;
  border-radius: 50%;
  display: inline-block;
  animation: nexPulse 1.8s infinite;
}

.bento-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-lead-card:hover .bento-lead-img {
  transform: scale(1.035);
}

.bento-lead-content {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.bento-lead-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.meta-tag-author {
  font-weight: 700;
  color: var(--text-secondary);
}

.meta-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.meta-audio-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--nex-red);
  background: rgba(229, 9, 20, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.meta-audio-listen:hover {
  background: var(--nex-red);
  color: #FFF;
  transform: scale(1.03);
}

.bento-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.3px;
}

.bento-lead-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.bento-lead-card:hover .bento-lead-title a {
  color: var(--nex-red);
}

.bento-lead-excerpt {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.bento-2026-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bento-aside-top-stories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bento-aside-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.bento-aside-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.bento-aside-thumb {
  width: 105px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.bento-aside-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-aside-card:hover .bento-aside-thumb img {
  transform: scale(1.05);
}

.bento-aside-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.category-pill-sm {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nex-red);
  margin-bottom: 0.2rem;
  letter-spacing: 0.4px;
}

.category-pill-sm.sports { color: var(--cat-deportes, #0077EE); }

.bento-aside-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-aside-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.bento-aside-card:hover .bento-aside-title a {
  color: var(--nex-red);
}

.bento-aside-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Radar Editorial "Lo Más Leído" (#01 al #04) */
.bento-radar-box {
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--nex-red);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}

.radar-title-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.radar-icon {
  font-size: 1.15rem;
}

.radar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.radar-live-pill {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  background-color: rgba(229, 9, 20, 0.1);
  color: var(--nex-red);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.radar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.radar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-color);
}

.radar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.radar-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--nex-red);
  flex-shrink: 0;
  min-width: 1.6rem;
  text-align: center;
}

.radar-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.radar-cat {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  letter-spacing: 0.4px;
}

.radar-item-title {
  font-family: var(--font-display);
  font-size: 0.885rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.radar-item-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.radar-item:hover .radar-item-title a {
  color: var(--nex-red);
}

/* ==========================================
   FORMATO 3: TRÍPTICO NEWSROOM LIVE (3 COLUMNAS)
   ========================================== */
.hero-triptico-live {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1.15fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  align-items: start;
}

.triptico-col-stream {
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.15rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.triptico-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--nex-red);
  padding-bottom: 0.55rem;
  margin-bottom: 0.85rem;
}

.stream-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.live-stream-dot {
  width: 8px;
  height: 8px;
  background-color: var(--nex-red);
  border-radius: 50%;
  display: inline-block;
  animation: nexPulse 1.5s infinite;
}

.triptico-stream-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.stream-live-tag {
  font-size: 0.62rem;
  font-weight: 800;
  background-color: var(--nex-red);
  color: #FFF;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.triptico-stream-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.timeline-entry {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-color);
}

.timeline-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nex-red);
  background-color: rgba(229, 9, 20, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.timeline-cat {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.timeline-cat-link:hover .timeline-cat {
  color: var(--color-primary);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.timeline-entry:hover .timeline-title a {
  color: var(--nex-red);
}

.triptico-col-center {
  display: flex;
  flex-direction: column;
}

.triptico-center-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.triptico-center-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.triptico-center-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.triptico-badge-lead {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.triptico-dot-pulse {
  width: 6px;
  height: 6px;
  background-color: #FFF;
  border-radius: 50%;
  animation: nexPulse 1.8s infinite;
}

.triptico-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.triptico-center-card:hover .triptico-center-img {
  transform: scale(1.03);
}

.triptico-center-content {
  padding: 1.25rem;
}

.triptico-center-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.triptico-meta-source {
  font-weight: 700;
  color: var(--text-secondary);
}

.triptico-center-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.triptico-center-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.triptico-center-card:hover .triptico-center-title a {
  color: var(--nex-red);
}

.triptico-center-excerpt {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
}

.triptico-col-media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.triptico-media-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid var(--nex-red);
  padding-bottom: 0.55rem;
  margin-bottom: 0.25rem;
}

.triptico-media-icon {
  font-size: 0.9rem;
  color: var(--nex-red);
}

.triptico-media-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.media-video-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

.media-video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background-color: #000;
}

.media-video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-duration-tag {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: rgba(0, 0, 0, 0.75);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  z-index: 2;
}

.media-exclusive-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--nex-red);
  color: #FFF;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  z-index: 2;
}

.media-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}

.play-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--nex-red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.media-video-card:hover .play-btn-circle {
  transform: scale(1.12);
}

.media-video-card:hover .media-video-thumb-wrap img {
  transform: scale(1.05);
}

.media-video-info {
  padding: 0.85rem;
}

.media-video-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-video-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.media-video-card:hover .media-video-title a {
  color: var(--nex-red);
}

.media-video-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.media-compact-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.75rem;
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.media-compact-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.media-compact-thumb {
  width: 72px;
  height: 56px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-surface-alt);
}

.media-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-compact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.media-compact-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-compact-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.media-compact-card:hover .media-compact-title a {
  color: var(--nex-red);
}

.media-compact-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS: FORMATOS HERO 2026
   Adaptabilidad fluida para Customizer Desktop (800px-1024px), Tablets y Móviles
   ========================================== */
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-bento-2026 {
    grid-template-columns: 1.25fr 1fr;
    gap: 1.15rem;
  }
  .hero-triptico-live {
    grid-template-columns: 240px 1.4fr 250px;
    gap: 1rem;
  }
}

@media (max-width: 860px) and (min-width: 769px) {
  .hero-bento-2026 {
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
  }
  .hero-triptico-live {
    grid-template-columns: 260px 1fr;
    gap: 1rem;
  }
  .triptico-col-media {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-bento-2026 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bento-aside-top-stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .hero-triptico-live {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  /* En pantallas móviles la gran noticia central va en primer orden visual */
  .triptico-col-center {
    order: 1;
  }
  .triptico-col-stream {
    order: 2;
  }
  .triptico-col-media {
    order: 3;
  }
}

@media (max-width: 640px) {
  .bento-aside-top-stories {
    grid-template-columns: 1fr;
  }
  .meta-audio-listen {
    display: none;
  }
}

/* ==========================================
   MÓDULO: SEÑAL EN VIVO / CANAL 21 (LIVE STREAM HUB)
   ========================================== */
.live-stream-section {
  background: linear-gradient(145deg, #0C0E10, #161A1E);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: #FFF;
  position: relative;
  overflow: hidden;
}

.live-stream-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(208, 33, 39, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.live-stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.85rem;
}

.live-stream-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-tag-pulsing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(208, 33, 39, 0.5);
}

.live-stream-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF;
  letter-spacing: -0.3px;
}

.live-signal-info {
  font-size: 0.8125rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-stream-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.live-stream-section.is-cinema .live-stream-grid,
.live-stream-section.no-meta .live-stream-grid {
  grid-template-columns: 1fr;
}

.live-player-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-player-box iframe,
.live-player-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.live-player-box .live-player-embed-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.live-player-box .live-player-embed-wrap iframe,
.live-player-box .live-player-embed-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.live-player-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.live-player-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.player-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-channel-logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.player-hd-badge {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.player-play-center {
  align-self: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(208, 33, 39, 0.9);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(208, 33, 39, 0.6);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.player-play-center:hover {
  transform: scale(1.12);
  background: #D02127;
  box-shadow: 0 0 40px rgba(208, 33, 39, 0.8);
}

.player-overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #E5E7EB;
}

.live-meta-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.on-air-now-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
}

.on-air-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.on-air-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFF;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.on-air-desc {
  font-size: 0.8125rem;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.on-air-timebar {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.on-air-timebar-fill {
  background: var(--nex-red);
  height: 100%;
  width: 65%;
  border-radius: var(--radius-full);
}

.on-air-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9CA3AF;
}

.up-next-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.up-next-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
}

.up-next-info p {
  font-size: 0.75rem;
  color: #9CA3AF;
}

.up-next-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #E5E7EB;
  white-space: nowrap;
}

/* ==========================================
   NEXDATA • PULSO NACIONAL
   ========================================== */
.nexdata-section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--card-shadow);
}

.nexdata-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.nexdata-title-wrap {
  display: flex;
  flex-direction: column;
}

.nexdata-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nex-red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.nexdata-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nexdata-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.nexdata-badge-update {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-surface-alt);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  white-space: nowrap;
}

.nexdata-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.25rem;
}

.nexdata-grid.cols-3 {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.nexdata-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.nexdata-grid.cols-1 {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
}

.data-card {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.data-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.data-source-badge {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.canal-gauges-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.gauge-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
  position: relative;
}

.gauge-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.gauge-svg-wrap {
  position: relative;
  width: 130px;
  height: 75px;
  margin: 0 auto;
}

.gauge-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  margin-top: -18px;
}

.gauge-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gauge-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.4rem;
  text-transform: uppercase;
}
.gauge-status.warning {
  background-color: #FEF3C7;
  color: #D97706;
}
.gauge-status.normal {
  background-color: #D1FAE5;
  color: #059669;
}
.gauge-status.alert {
  background-color: #FEE2E2;
  color: #DC2626;
}
[data-theme="dark"] .gauge-status.warning {
  background-color: rgba(217, 119, 6, 0.2);
  color: #FBBF24;
}
[data-theme="dark"] .gauge-status.normal {
  background-color: rgba(5, 150, 105, 0.2);
  color: #34D399;
}
[data-theme="dark"] .gauge-status.alert {
  background-color: rgba(220, 38, 38, 0.2);
  color: #F87171;
}

.gauge-delta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Lotería */
.loteria-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.loteria-row {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loteria-place {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.loteria-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nex-red);
  letter-spacing: 2px;
}

.loteria-balls-grid {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.loteria-ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF, #E5E7EB);
  color: #111827;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.1);
}

.loteria-extra {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Combustible y Clima */
.indicators-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.fuel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.fuel-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  text-align: center;
}

.fuel-type {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fuel-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.weather-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weather-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.weather-temp {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.weather-city {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================
   TOP 5 MÁS LEÍDO (RANKING EDITORIAL)
   ========================================== */
.top5-section {
  margin-bottom: 3.5rem;
}

.top5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.top5-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.95rem 0.85rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.top5-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--nex-red);
}

.top5-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nex-red);
  margin-bottom: 0.35rem;
  transition: color var(--transition-fast);
}

.top5-card:hover .top5-number {
  color: var(--nex-red);
}

.top5-trend-bar {
  height: 2.5px;
  width: 20px;
  background-color: var(--nex-red);
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.top5-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.top5-card:hover .top5-title {
  color: var(--nex-red);
}

.top5-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================
   SECCIÓN NEX NOTICIAS (GRID EDITORIAL)
   ========================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title-bar {
  width: 5px;
  height: 24px;
  background-color: var(--nex-red);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.section-view-all {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nex-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-view-all:hover {
  text-decoration: underline;
}

.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.category-filter-bar::-webkit-scrollbar { display: none; }

.category-filter-btn {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-filter-btn:hover, .category-filter-btn.active {
  background-color: var(--nex-red);
  color: #FFF;
  border-color: var(--nex-red);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.25rem;
}

.news-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--border-hover);
}

.news-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.news-card-excerpt {
  font-size: 0.82rem;
  line-height: 1.42;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card:hover .news-card-title {
  color: var(--nex-red);
}

.news-card-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

.news-card-readmore,
.editorial-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78125rem;
  color: var(--nex-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  transition: all var(--transition-fast);
}

.news-card-readmore:hover,
.editorial-readmore:hover {
  color: var(--nex-red-hover, #B30024);
  gap: 0.55rem;
}

/* "Leer más" dentro de contenedores flex: ancho del texto, alineado al inicio */
.cat-lead-body .editorial-readmore,
.live-timeline-content .editorial-readmore,
.panorama-lead-body .editorial-readmore {
  align-self: flex-start;
}

/* ==========================================
   DISEÑO EDITORIAL HÍBRIDO & LISTA (ESTÁNDAR 2026)
   ========================================== */
.editorial-hybrid-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.editorial-hybrid-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.editorial-lead-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.editorial-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--border-hover);
}
.editorial-lead-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 290px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}
.editorial-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.editorial-lead-card:hover .editorial-lead-thumb img {
  transform: scale(1.03);
}
.editorial-lead-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.editorial-lead-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  transition: color var(--transition-fast);
}
.editorial-lead-card:hover .editorial-lead-title {
  color: var(--nex-red);
}
.editorial-lead-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}
.editorial-lead-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Lista Lateral Editorial (Líneas finas, Cero cajas pesadas) */
.editorial-list-stack {
  display: flex;
  flex-direction: column;
}
.editorial-list-item {
  position: relative;
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}
.editorial-list-item:first-child {
  padding-top: 0;
}
.editorial-list-item:last-child {
  border-bottom: none;
}
.editorial-list-thumb {
  position: relative;
  width: 105px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}
.editorial-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.editorial-list-item:hover .editorial-list-thumb img {
  transform: scale(1.05);
}
.editorial-list-content {
  position: relative;
  flex: 1;
  min-width: 0;
}
.editorial-list-content .category-pill {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nex-red);
  letter-spacing: 0.5px;
}
.editorial-list-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}
.editorial-list-item:hover .editorial-list-title {
  color: var(--nex-red);
}
.editorial-list-excerpt {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.editorial-list-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Modo Lista Continua (Container Completo) */
.editorial-full-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.5rem;
}
.editorial-full-list .editorial-list-item {
  padding: 0.95rem 0;
}
.editorial-full-list .editorial-list-thumb {
  width: 135px;
  height: 90px;
}
.editorial-full-list .editorial-list-title {
  font-size: 1.1rem;
}

/* Switcher de Vistas en Encabezado de Sección */
.view-switch-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.view-switch-btns {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-surface-alt);
  padding: 2px 4px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.view-switch-btn {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}
.view-switch-btn.active, .view-switch-btn:hover {
  background: var(--bg-surface);
  color: var(--nex-red);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ==========================================
   BLOQUES EDITORIALES POR CATEGORÍA EN PORTADA
   ========================================== */
.cat-block-section {
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

/* 1. Modo Híbrido Editorial (1 Grande 55% + Lista 45%) */
.cat-block-hybrid-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}
.cat-lead-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card, #FFFFFF);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.cat-lead-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.cat-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cat-lead-card:hover .cat-lead-thumb img {
  transform: scale(1.03);
}
.cat-lead-body {
  padding: 1.25rem 1.4rem;
}
.cat-lead-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.45rem;
  line-height: 1.22;
  margin: 0.4rem 0 0.6rem;
  color: var(--text-primary, #111827);
}
.cat-lead-title a {
  color: inherit;
  text-decoration: none;
}
.cat-lead-title a:hover {
  color: var(--nex-red, #D02127);
}
.cat-lead-excerpt {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted, #4B5563);
  margin-bottom: 0.6rem;
}
.cat-lead-time {
  font-size: 0.78rem;
  color: var(--text-muted, #9CA3AF);
  font-weight: 500;
}
.cat-block-list-stack {
  display: flex;
  flex-direction: column;
}
.cat-block-list-stack .editorial-list-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
}
.cat-block-list-stack .editorial-list-item:first-child {
  padding-top: 0;
}
.cat-block-list-stack .editorial-list-item:last-child {
  border-bottom: none;
}

/* 2. Modo Lista Dividida en 2 Columnas (Doble Carril 50/50 - Llena el 100% de la Pantalla) */
.cat-block-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2.25rem;
}
.cat-block-two-cols .editorial-list-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.9rem;
}

@media (max-width: 900px) {
  .cat-block-hybrid-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cat-block-two-cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================
   MÓDULO DE PROGRAMAS NEX TV (SHOWS GRID)
   ========================================== */
.programs-section {
  margin-bottom: 3.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background-color: var(--card-bg);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.program-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.program-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-thumb-wrap img {
  transform: scale(1.06);
}

.program-play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.program-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--nex-red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(221, 51, 51, 0.4);
  transition: transform 0.3s ease;
}

.program-card:hover .program-play-btn {
  transform: scale(1.15);
}

.program-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-card-body {
  padding: 1.25rem;
}

.program-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.program-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================
   MÓDULO NEX SPORTS (DARK SHOWCASE 2026)
   ========================================== */
.nex-sports-section {
  background: linear-gradient(145deg, #0A0C10, #131720);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(0, 102, 204, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #FFF;
}

.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.sports-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sports-badge {
  background: linear-gradient(135deg, #0066CC, #004C99);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.sports-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sports-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.sports-logo-link:hover {
  opacity: 0.9;
}

.sports-custom-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.sports-fixture-bar {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.fixture-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.fixture-tournament {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(2, 132, 199, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.fixture-score-mini {
  background: #000;
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.sports-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.sports-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.sports-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.sports-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sports-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sports-card:hover .sports-card-thumb img {
  transform: scale(1.05);
}

.sports-card-content {
  padding: 1.15rem;
}

.sports-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.sports-card:hover .sports-card-title {
  color: #38BDF8;
}

.sports-card-time {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ==========================================
   EXPERIENCIA DE LECTURA (SINGLE ARTICLE 2026)
   ========================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--nex-red), #FF4D4D);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s ease;
}

.article-view {
  padding: 2.5rem 0 4rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-layout-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-layout-container .single-article-layout {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

.single-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-sb-video-thumb-wrap {
  position: relative;
  width: 78px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.single-sb-video-thumb-wrap .cat-rank-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-sb-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(208, 33, 39, 0.92);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.single-sb-video-item:hover .single-sb-video-play {
  transform: scale(1.1);
  background: var(--nex-red);
}

@media (max-width: 1024px) {
  .single-layout-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.single-article-layout {
  max-width: 860px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-header {
  margin-bottom: 2rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  word-break: break-word;
}
.article-breadcrumbs a:hover {
  color: var(--nex-red);
}
.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 500;
}

.article-cat-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.article-headline {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  min-width: 0;
  max-width: 100%;
}

.article-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.article-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.author-avatar-mini {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nex-red), var(--nex-red-dark));
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px var(--nex-red-glow);
}

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.article-time-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.meta-dot {
  opacity: 0.4;
}

.updated-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #059669;
  font-weight: 600;
}
[data-theme="dark"] .updated-indicator {
  color: #34D399;
}

.article-share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
}

.share-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  position: relative;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.share-btn::after {
  content: '';
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
}
.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter { background-color: #000000; }
[data-theme="dark"] .share-btn.twitter { background-color: #242930; }
.share-btn.telegram { background-color: #229ED9; }
.share-btn.linkedin { background-color: #0A66C2; }
.share-btn.native-sheet {
  background: linear-gradient(135deg, #E11D48, #BE123C);
  color: #FFFFFF;
}
.share-btn.copy {
  background-color: var(--bg-surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.share-btn.copy:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Imagen Destacada */
.article-featured-image-wrap {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  position: relative;
}

.article-featured-image-wrap.is-video-media::after {
  content: '▶ NEX VIDEO';
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--nex-red, #D02127);
  color: #FFFFFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm, 4px);
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

.article-featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-img-caption {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  background-color: var(--bg-surface-alt);
  font-style: italic;
}

/* Cuerpo del Artículo */
.article-body-text {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-body-text p {
  margin-bottom: 1.6rem;
}

.article-body-text img,
.article-body-text video,
.article-body-text iframe,
.article-body-text figure,
.article-body-text table,
.article-body-text pre,
.article-body-text .wp-block-image,
.article-body-text .wp-block-embed {
  max-width: 100% !important;
  height: auto;
  box-sizing: border-box;
}

.article-body-text iframe {
  width: 100% !important;
}

.article-body-text table {
  display: block;
  overflow-x: auto;
  width: 100% !important;
}

.article-body-text pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.article-body-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.75rem;
  color: var(--nex-red);
  font-weight: 700;
}

/* In-Article Newsletter Card */
.inarticle-newsletter-card {
  margin: 2.5rem 0;
  background: linear-gradient(135deg, var(--bg-surface-alt), var(--card-bg));
  border: 2px solid var(--border-color);
  border-left: 6px solid var(--nex-red);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.newsletter-card-tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--nex-red);
  letter-spacing: 1px;
}

.newsletter-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0 0.5rem;
}

.newsletter-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.inarticle-form {
  display: flex;
  gap: 0.4rem;
}

.inarticle-form input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.875rem;
}

.inarticle-form input:focus {
  outline: none;
  border-color: var(--nex-red);
}

.btn-inarticle-submit {
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}
.btn-inarticle-submit:hover {
  background-color: var(--nex-red-vivid);
}

/* Lecturas Más Populares (Recirculación) */
.popular-reading-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border-color);
}

.popular-header {
  margin-bottom: 1.5rem;
}

.popular-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.popular-title-bar {
  width: 5px;
  height: 22px;
  background-color: var(--nex-red);
  border-radius: var(--radius-full);
}

.popular-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.popular-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.popular-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
}
.popular-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--nex-red);
}

.popular-rank-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nex-red);
  line-height: 1;
  opacity: 0.85;
}

.popular-thumb-wrap {
  width: 100px;
  height: 75px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface-alt);
}
.popular-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.popular-item-card:hover .popular-thumb-wrap img {
  transform: scale(1.06);
}

.popular-content-wrap {
  display: flex;
  flex-direction: column;
}

.popular-item-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0.2rem 0;
}
.popular-item-card:hover .popular-item-title {
  color: var(--nex-red);
}

.popular-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   FOOTER EDITORIAL & FRECUENCIAS DE TELEVISIÓN
   ========================================== */
.site-footer {
  background-color: var(--nex-black);
  color: #E5E7EB;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--nex-red);
}

/* Frecuencias de Transmisión Oficial */
.footer-frequencies-bar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.frequencies-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.frequencies-label {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.frequencies-sub {
  font-size: 0.75rem;
  color: #9CA3AF;
}

.frequencies-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.freq-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E5E7EB;
  transition: all var(--transition-fast);
}

.freq-pill:hover {
  background: rgba(208, 33, 39, 0.15);
  border-color: var(--nex-red);
  color: #FFF;
}

.freq-pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--nex-red);
  border-radius: 50%;
}

.freq-pill strong {
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.4rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #9CA3AF;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--nex-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a .link-arrow {
  color: var(--nex-red);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #FFF;
  padding-left: 4px;
}

.footer-links a:hover .link-arrow {
  transform: translateX(3px);
}

.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.newsletter-input-group {
  display: flex;
  margin-top: 0.75rem;
  gap: 0.4rem;
}

.newsletter-input {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  color: #FFF;
  font-size: 0.875rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--nex-red);
}

.btn-newsletter {
  background-color: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}

.btn-newsletter:hover {
  background-color: var(--nex-red-hover);
}

/* Enlaces Legales e Institucionales */
.footer-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-links a {
  color: #9CA3AF;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-signature {
  color: #D1D5DB;
  font-weight: 500;
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9CA3AF;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-back-to-top:hover {
  color: #FFF;
  background: var(--nex-red);
  border-color: var(--nex-red);
}

/* Demo Control Bar */
.demo-customizer-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(221, 51, 51, 0.4);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  z-index: 9999;
  font-size: 0.8125rem;
  color: #FFF;
}

.demo-bar-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--nex-red);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.demo-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.demo-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
}

.demo-checkbox-label input {
  cursor: pointer;
  accent-color: var(--nex-red);
}

.demo-link-btn {
  background-color: var(--nex-red);
  color: #FFF !important;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background-color var(--transition-fast);
}
/* ==========================================
   PLANTILLA NATIVA DE PROGRAMAS DE TV (AJÍ, LA QUE MÁS, ETC.)
   Reemplaza Elementor: 0 plugins, 100% nativo y ultra-rápido
   ========================================== */
.show-page-wrapper {
  padding: 1.5rem 0 4rem;
}

.show-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--nex-black);
}

.show-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card de Perfil del Programa */
.show-profile-card {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  margin-bottom: 3rem;
}

.show-profile-logo-wrap {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  background-color: #FFF;
  border: 2px solid var(--border-color);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.show-profile-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.show-schedule-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--nex-red-subtle);
  color: var(--nex-red);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--nex-red-border);
}

.show-profile-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.show-profile-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 750px;
}

.show-social-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.show-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background-color: var(--bg-surface);
  transition: all var(--transition-fast);
}

.show-social-btn:hover {
  background-color: var(--nex-red);
  color: #FFF;
  border-color: var(--nex-red);
  transform: translateY(-2px);
}

/* Encabezados de Sección del Show */
.show-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.show-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.show-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background-color: var(--nex-red);
  border-radius: 2px;
}

/* Grid de Recetas del Show */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.recipe-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--nex-red-border);
}

.recipe-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.recipe-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.recipe-card:hover .recipe-thumb-wrap img {
  transform: scale(1.05);
}

.recipe-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.recipe-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.recipe-title a:hover {
  color: var(--nex-red);
}

.recipe-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.recipe-btn-wrap {
  margin-top: auto;
}

.btn-recipe-full {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--nex-red);
  color: #FFF;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.btn-recipe-full:hover {
  background-color: var(--nex-red-hover);
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.3);
}

/* Grid de Tips de Cocina (4 Columnas) */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.tip-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--nex-red-border);
}

.tip-thumb-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tip-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.tip-card:hover .tip-thumb-wrap img {
  transform: scale(1.06);
}

.tip-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tip-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.tip-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.tip-title a:hover {
  color: var(--nex-red);
}

/* Video Hub Nativo (YouTube Playlist / Episodios) */
.show-video-hub {
  background: linear-gradient(135deg, var(--nex-black) 0%, #1A1D20 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #FFF;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.show-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.show-video-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background-color: #000;
}

/* ==========================================
   PLANTILLA ESPECIAL DE DEPORTES & MUNDIALES (QATAR 22, MUNDIAL 2026)
   Reemplaza Elementor con código nativo, responsive y ultra-rápido
   ========================================== */
.sports-event-wrapper {
  padding: 1.5rem 0 4rem;
}

.sports-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #0A0C0E;
}

.sports-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card de Presentadores y Transmisión */
.sports-broadcast-card {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(2, 132, 199, 0.04) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}

.sports-talent-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background-color: #000;
}

.sports-talent-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sports-talent-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(12, 14, 16, 0.85);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.sports-broadcast-info .badge-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.sports-broadcast-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.sports-broadcast-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.sports-social-pills {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sports-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background-color: var(--bg-surface);
  transition: all var(--transition-fast);
}

.sports-social-btn:hover {
  background-color: #0284C7;
  color: #FFF;
  border-color: #0284C7;
  transform: translateY(-2px);
}

/* Grilla de Curiosidades Mundialistas (4 Columnas) */
.curiosities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.curiosity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.curiosity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #0284C7;
}

.curiosity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D02127, #0284C7);
}

.curiosity-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(2, 132, 199, 0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.curiosity-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.curiosity-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Calendario & Fixture de Partidos */
.fixture-section {
  margin-bottom: 3.5rem;
}

.fixture-table-wrap {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fixture-match-row {
  display: grid;
  grid-template-columns: 140px 1fr auto 1fr 140px;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
  transition: background-color var(--transition-fast);
}

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

.fixture-match-row:hover {
  background-color: var(--bg-surface-elevated);
}

.match-stage-info {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.match-team.team-home {
  justify-content: flex-end;
  text-align: right;
}

.match-team.team-away {
  justify-content: flex-start;
  text-align: left;
}

.match-team-flag {
  font-size: 1.5rem;
}

.match-score-badge {
  background-color: var(--nex-black);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.match-status-badge {
  text-align: right;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Antecedentes & Caja Histórica */
.history-editorial-box {
  background: linear-gradient(135deg, rgba(12, 14, 16, 0.95), rgba(20, 23, 26, 0.98));
  color: #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  position: relative;
}

.history-box-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.history-box-title::before {
  content: '🏆';
  font-size: 1.4rem;
}

.history-box-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #D1D5DB;
}

/* ==========================================
   SECCIONES EXCLUSIVAS: ESPECIALES DEPORTIVOS NATIVOS (2026)
   ========================================== */
.sport-page-wrapper {
  padding-bottom: 4rem;
}

/* 1. Encabezados Semánticos de Sección (Cero JPGs de Texto) */
.sport-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.85rem;
  margin: 3.5rem 0 1.75rem;
  position: relative;
}

.sport-section-head::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 90px;
  height: 2px;
  background-color: var(--nex-red);
}

.sport-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.sport-section-badge {
  background-color: var(--nex-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.sport-section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text-primary);
}

.sport-section-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* 2. Hero Banner Showcase (Especiales Deportivos) */
.sport-hero-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin: 1.5rem 0 2.25rem;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.sport-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* 3. Canales de Streaming Directo Vectoriales (Cero JPGs) */
.sport-streaming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sport-streaming-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-alt) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.sport-streaming-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--nex-red);
  transition: width var(--transition-fast);
}

.sport-streaming-card.telegram::before {
  background-color: #229ED9;
}

.sport-streaming-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--nex-red);
}

.sport-streaming-card.telegram:hover {
  border-color: #229ED9;
}

.sport-streaming-card:hover::before {
  width: 8px;
}

.sport-streaming-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sport-streaming-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nex-red);
}

.sport-streaming-card.telegram .sport-streaming-tag {
  color: #229ED9;
}

.sport-streaming-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.sport-streaming-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.sport-streaming-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  background-color: var(--nex-red);
  color: #FFF !important;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.3);
}

.sport-streaming-card.telegram .sport-streaming-btn {
  background-color: #229ED9;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
}

.sport-streaming-card:hover .sport-streaming-btn {
  transform: scale(1.04);
}

/* 4. Tablas de Posiciones / Grupos */
.sport-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sport-group-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.sport-group-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.sport-group-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 5. Fixture & Cruces Eliminatorios en Código Real */
.sport-fixture-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.sport-match-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sport-match-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(208, 33, 39, 0.4);
}

.sport-match-card.final {
  border: 2px solid #EAB308;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.06) 0%, var(--bg-surface) 100%);
}

.sport-match-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.sport-match-stage {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nex-red);
  margin-bottom: 0.2rem;
}

.sport-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.sport-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.sport-team.home {
  justify-content: flex-end;
  text-align: right;
}

.sport-team.away {
  justify-content: flex-start;
  text-align: left;
}

.sport-match-score {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  background-color: var(--bg-surface-alt);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  letter-spacing: 2px;
}

.sport-match-venue {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 6. Video Hub & Playlists Embebidas */
.sport-video-hub {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sport-video-frame-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.sport-video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sport-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: #FFFFFF !important;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
  transition: all var(--transition-fast);
  margin-top: 1.25rem;
}

.sport-youtube-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* 7. Comunidad Digital, Instagram & Redes */
.sport-social-hub {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.sport-social-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.sport-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.sport-social-icon-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.sport-social-icon-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--nex-red);
  color: var(--nex-red);
}

/* 8. Galería Oficial con Blur Backdrop */
.sport-gallery-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.sport-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  background-color: #000;
}

.sport-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gallery-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.15);
  opacity: 0.85;
  z-index: 1;
  transition: background-image 0.4s ease;
}

.sport-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.sport-slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 3;
}

.sport-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.sport-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.sport-nav-btn:hover {
  background: var(--nex-red);
  border-color: var(--nex-red);
  transform: translateY(-50%) scale(1.08);
}

.sport-nav-btn.prev { left: 1rem; }
.sport-nav-btn.next { right: 1rem; }

.sport-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sport-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sport-dot.active {
  background-color: var(--nex-red);
  transform: scale(1.25);
}

/* 9. Noticias Dinámicas del Especial Deportivo */
.sport-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* 10. Noticias de Interés Nacional (Cards Horizontales) */
.sport-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.sport-interest-card {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  align-items: center;
}

.sport-interest-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--nex-red);
}

.sport-interest-thumb {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--bg-surface-alt);
}

.sport-interest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-interest-body {
  flex: 1;
}

.sport-interest-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0284C7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.25rem;
}

.sport-interest-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sport-interest-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

/* 11. Banner de Cierre */
.sport-footer-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 3rem 0 1rem;
}

.sport-footer-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 12. Hub de Videos — Final Four (2 columnas con labels) */
.ff-video-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.ff-video-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ff-video-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.3);
}

.ff-video-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.ff-video-card .sport-video-frame-wrap {
  max-height: none;
  border-radius: var(--radius-md);
}

.ff-video-card .sport-youtube-btn {
  align-self: center;
}

/* ==========================================
   PLANTILLA DE RESULTADOS DE BÚSQUEDA (SEARCH)
   ========================================== */
.search-results-hero {
  background: linear-gradient(180deg, var(--bg-surface-alt) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
}

.search-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.search-page-title span {
  color: var(--nex-red);
}

.search-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.search-refine-wrap {
  margin: 1.5rem 0 2.5rem;
  max-width: 650px;
}

.search-empty-card {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 2rem 0 3rem;
}

.search-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 0, 51, 0.08);
  color: var(--nex-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.search-empty-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-empty-desc {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* ==========================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .top-bar { padding: 0.35rem 0; box-sizing: border-box; }
  .top-bar-inner { gap: 0.75rem; flex-wrap: nowrap; }
  .top-bar-left { gap: 0.75rem; min-width: 0; }
  .top-bar-left .trending-ticker { display: none !important; }
  .live-date { font-size: 0.78125rem; white-space: nowrap; }
  .header-social-links a:nth-child(n+4) { display: none; }
  .hero-bento-grid { grid-template-columns: 1.25fr 1fr; gap: 1rem; }
  .editorial-hybrid-top { grid-template-columns: 1.2fr 1fr; gap: 1rem; }
  .live-stream-grid { grid-template-columns: 1.35fr 1fr; gap: 1rem; }
  .nexdata-grid,
  .nexdata-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .nexdata-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .nexdata-grid.cols-1 { grid-template-columns: 1fr; }
  .top5-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .sports-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .popular-list-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }

  /* En tablets y vistas acopladas, activar navegación móvil limpia sin desbordamiento */
  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
  }
  .main-nav-bar {
    position: relative;
  }
  .category-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-surface);
    border-bottom: 3px solid var(--nex-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    padding: 0.5rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 99995;
    box-sizing: border-box;
    max-height: calc(100vh - var(--nex-menu-top, 70px));
    max-height: calc(100dvh - var(--nex-menu-top, 70px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: nexMenuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .category-nav.open {
    display: block !important;
  }
  .category-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }
  .category-nav-list li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
  }
  .category-nav-list a,
  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    white-space: normal;
  }
  .category-nav-list li.has-submenu > a,
  .category-nav-list li.menu-item-has-children > a {
    padding-right: 3.5rem;
  }
  .sub-menu-toggle {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--transition-fast);
  }
  .sub-menu-toggle:hover,
  .sub-menu-toggle:focus-visible,
  .sub-menu-toggle.active {
    color: var(--nex-red);
  }
  .sub-menu-toggle .submenu-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.25;
  }
  .category-nav-list li.has-submenu.submenu-open > .sub-menu-toggle .submenu-chevron,
  .category-nav-list li.menu-item-has-children.submenu-open > .sub-menu-toggle .submenu-chevron {
    transform: rotate(180deg);
    color: var(--nex-red);
  }
  .category-nav-list .sub-menu {
    position: static;
    display: none !important;
    flex-direction: column;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0.75rem 0.25rem 1rem;
    background-color: var(--bg-surface-alt);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    animation: nexSubmenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .category-nav-list li.has-submenu.submenu-open > .sub-menu,
  .category-nav-list li.menu-item-has-children.submenu-open > .sub-menu {
    display: flex !important;
  }
  .category-nav-list .sub-menu a {
    padding: 0.65rem 0.5rem;
    font-size: 0.9rem;
  }
  .category-nav-list .sub-menu li:last-child > a {
    border-bottom: 0;
  }
  .mobile-nav-lang-row { display: flex; }
  .mobile-nav-social-row { display: flex; }
}

@media (max-width: 768px) {
  .hero-bento-grid { grid-template-columns: 1fr; }
  .editorial-hybrid-top { grid-template-columns: 1fr; }
  .live-stream-grid { grid-template-columns: 1fr; }
  .nexdata-grid,
  .nexdata-grid.cols-3,
  .nexdata-grid.cols-2,
  .nexdata-grid.cols-1 { grid-template-columns: 1fr; }
  html.nex-menu-open,
  body.nex-menu-open {
    touch-action: pan-y;
  }
  body.nex-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99992;
    pointer-events: auto;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 99999;
  }
  .main-nav-bar {
    position: relative;
  }
  .category-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-surface);
    border-bottom: 3px solid var(--nex-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    padding: 0.5rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 99995;
    box-sizing: border-box;
    /* Altura real disponible: calculada dinámicamente según la posición de la cabecera acoplada */
    max-height: calc(100vh - var(--nex-menu-top, 70px));
    max-height: calc(100dvh - var(--nex-menu-top, 70px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: nexMenuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes nexMenuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .category-nav.open {
    display: block !important;
  }
  .category-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }
  .category-nav-list li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
  }
  .category-nav-list a,
  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    white-space: normal;
  }
  .category-nav-list li.has-submenu,
  .category-nav-list li.menu-item-has-children {
    position: relative;
  }
  .category-nav-list li.has-submenu > a,
  .category-nav-list li.menu-item-has-children > a {
    padding-right: 3.5rem;
  }
  .sub-menu-toggle {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--transition-fast);
  }
  .sub-menu-toggle:hover,
  .sub-menu-toggle:focus-visible,
  .sub-menu-toggle.active {
    color: var(--nex-red);
  }
  .sub-menu-toggle .submenu-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.25;
  }
  .category-nav-list li.has-submenu.submenu-open > .sub-menu-toggle .submenu-chevron,
  .category-nav-list li.menu-item-has-children.submenu-open > .sub-menu-toggle .submenu-chevron {
    transform: rotate(180deg);
    color: var(--nex-red);
  }
  .category-nav-list .sub-menu {
    position: static;
    display: none !important;
    flex-direction: column;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0.75rem 0.25rem 1rem;
    background-color: var(--bg-surface-alt);
    border-radius: var(--radius-sm);
    margin: 0.25rem 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    animation: nexSubmenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .category-nav-list li.has-submenu.submenu-open > .sub-menu,
  .category-nav-list li.menu-item-has-children.submenu-open > .sub-menu {
    display: flex !important;
  }
  @keyframes nexSubmenuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .category-nav-list .sub-menu a {
    padding: 0.65rem 0.5rem;
    font-size: 0.9rem;
  }
  .category-nav-list .sub-menu li:last-child > a {
    border-bottom: 0;
  }
  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
  }
  .mobile-toggle-btn svg {
    transition: transform 0.22s ease;
  }
  .mobile-toggle-btn.active svg {
    transform: rotate(90deg);
  }
  .mobile-nav-lang-row { display: flex; }
  .mobile-nav-social-row { display: flex; }
  .header-actions .header-social-links { display: none !important; }
  .header-search-bar.open { max-height: 230px; }
  .search-suggestions { padding-left: 0.25rem; gap: 0.35rem; }
  .search-input-wrap { padding: 0.3rem 0.4rem 0.3rem 0.85rem; }
  .search-submit-btn { padding: 0.45rem 0.9rem; font-size: 0.75rem; }
  /* Barra Superior Negra: Móvil Impecable (Cero Apilamiento / Single-Line Editorial) */
  .top-bar {
    padding: 0.35rem 0;
    max-height: 38px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
  }
  .top-bar-left {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    gap: 0.5rem;
  }
  .top-bar-left .trending-ticker,
  .top-bar .trending-ticker {
    display: none !important;
  }
  .live-date {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
  }
  #live-date-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-bar-right {
    flex-shrink: 0;
    gap: 0.5rem;
  }
  .top-bar-right .top-bar-lang,
  .top-bar .top-bar-lang {
    display: none !important;
  }
  .top-bar .social-links {
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .top-bar .social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .top-bar .social-icon svg {
    width: 12px;
    height: 12px;
  }
  .top5-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .sports-grid { grid-template-columns: 1fr; }
  .bento-title-primary { font-size: 1.6rem; }
  .footer-frequencies-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-bar { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal-links { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .demo-customizer-bar { display: none; }
  .inarticle-newsletter-card { grid-template-columns: 1fr; }
  .article-meta-bar { flex-direction: column; align-items: flex-start; gap: 0.85rem; width: 100%; min-width: 0; }
  .popular-list-grid { grid-template-columns: 1fr !important; }
  .single-layout-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .single-article-layout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .article-view {
    padding: 1.5rem 0 3rem;
    width: 100% !important;
    min-width: 0 !important;
  }
  .article-header {
    width: 100% !important;
    min-width: 0 !important;
  }
  .article-headline {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .article-lead {
    font-size: 1.05rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .article-share-actions {
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  .show-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: -2rem;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .show-profile-logo-wrap {
    margin: 0 auto;
    width: 100px;
    height: 100px;
  }
  .show-social-pills {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .recipes-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .show-video-hub { padding: 1.5rem; }
  .sports-broadcast-card {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: -2rem;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .sports-talent-img-wrap {
    max-width: 260px;
    margin: 0 auto;
  }
  .sports-social-pills {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .curiosities-grid { grid-template-columns: 1fr; }
  .fixture-match-row {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
  }
  .match-stage-info, .match-status-badge {
    grid-column: 1 / -1;
    text-align: center;
  }
  .match-team.team-home { justify-content: center; }
  .sport-streaming-grid { grid-template-columns: 1fr; }
  .sport-groups-grid { grid-template-columns: 1fr; }
  .sport-social-hub { grid-template-columns: 1fr; }
  .sport-news-grid { grid-template-columns: 1fr; }
  .sport-interest-grid { grid-template-columns: 1fr; }
  .sport-match-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .sport-match-meta, .sport-match-venue {
    text-align: center;
  }
  .sport-team.home, .sport-team.away {
    justify-content: center;
    text-align: center;
  }
  .sport-slider { aspect-ratio: 4/3; }
  .ff-video-hub { grid-template-columns: 1fr; }
  .mats-participants-grid { grid-template-columns: repeat(2, 1fr); }
  .mats-season-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #main-nav-lang-switcher {
    display: none;
  }
  .top-bar {
    padding: 0.3rem 0;
  }
  .top-bar-inner {
    gap: 0.4rem;
  }
  .live-date {
    font-size: 0.7rem;
    gap: 0.3rem;
  }
  .live-date svg {
    width: 12px;
    height: 12px;
  }
  .top-bar .social-links a:nth-child(n+4) {
    display: none;
  }
  .top-bar .social-links {
    gap: 0.35rem;
  }
  .top-bar .social-icon {
    width: 20px;
    height: 20px;
  }
  .top-bar .social-icon svg {
    width: 11px;
    height: 11px;
  }
  .article-body-text p:first-of-type::first-letter {
    font-size: 2.6rem;
    line-height: 0.85;
    margin-right: 0.4rem;
  }
  .article-headline {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }
  .article-lead {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
  }
  .article-meta-bar {
    gap: 0.65rem;
    padding: 0.65rem 0;
  }
  .share-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .share-title {
    width: 100% !important;
    margin-bottom: 0.2rem !important;
  }
  .popular-item-card {
    gap: 0.75rem !important;
    padding: 0.75rem !important;
  }
  .popular-thumb-wrap {
    width: 75px !important;
    height: 55px !important;
  }
  .popular-rank-num {
    font-size: 1.4rem !important;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 115px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .btn-live {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  .mobile-toggle-btn {
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   BARRA DE ACOPLAMIENTO MÓVIL (MOBILE BOTTOM DOCK 2026)
   ========================================================================== */
.nex-mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99990;
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  padding: 0.4rem 0.75rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .nex-mobile-dock {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .nex-mobile-dock {
    display: block;
  }
  body.has-mobile-dock {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

.dock-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-family: var(--font-display);
  min-width: 54px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.dock-item:hover,
.dock-item:focus-visible,
.dock-item.active {
  color: var(--nex-red, #FF0033);
}

.dock-icon {
  transition: transform var(--transition-fast);
}

.dock-item:active .dock-icon {
  transform: scale(0.9);
}

.dock-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.dock-item--live {
  color: var(--nex-red, #FF0033);
}

.dock-live-pulse {
  position: absolute;
  top: 4px;
  right: 14px;
  width: 7px;
  height: 7px;
  background-color: var(--nex-red, #FF0033);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 0, 51, 0.8);
  animation: dockPulse 1.8s infinite ease-out;
}

@keyframes dockPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ==========================================
   ESPECIAL CULINARIO: MI ABUELA TIENE SALSA (.mats-*)
   ========================================== */
.mats-page-wrapper {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.mats-hero {
  position: relative;
  background: linear-gradient(135deg, #2e090c 0%, #62181f 50%, #420f14 100%);
  color: #ffffff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 4px solid #ce7326;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2.5rem;
}

.mats-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(206, 115, 38, 0.25), transparent 70%);
  pointer-events: none;
}

.mats-hero-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.mats-hero-logo:hover {
  transform: scale(1.03);
}

.mats-hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ce7326 0%, #e88d3d 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(206, 115, 38, 0.4);
  margin-bottom: 1rem;
}

.mats-hero-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 800px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mats-hero-subtitle {
  font-size: 1.1rem;
  color: #f3d4b8;
  margin-top: 0.75rem;
  font-weight: 300;
}

/* Encabezados de Sección MATS */
.mats-section-head {
  text-align: center;
  margin: 3rem 0 2rem;
  position: relative;
}

.mats-section-badge {
  display: inline-block;
  background-color: #62181f;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.mats-section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.mats-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ce7326;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Rejilla de Participantes (Abuelas) */
.mats-participants-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.mats-participant-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.mats-participant-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #ce7326;
}

.mats-participant-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #2e090c;
}

.mats-participant-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mats-participant-card:hover .mats-participant-img-wrap img {
  transform: scale(1.08);
}

.mats-participant-name {
  padding: 0.85rem 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

/* Banner de Frase Inspiracional */
.mats-quote-box {
  background: linear-gradient(135deg, #62181f 0%, #3d0d12 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(98, 24, 31, 0.25);
  border-left: 6px solid #ce7326;
}

.mats-quote-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.35;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
}

.mats-quote-author {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #e88d3d;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* Responsive para Pantallas Medianas */
@media screen and (max-width: 1024px) {
  .mats-participants-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   ESPECIAL CULINARIO: BATALLA DE SABORES (.batalla-*)
   Desarrollado para NexPanamá Core Engine — 100% Nativo y Modular
   ========================================== */
.batalla-page-wrapper {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  padding-bottom: 4rem;
}

/* 1. Hero Principal */
.batalla-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  background-color: #1a0406;
}

.batalla-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* 2. Tarjeta Bento de Introducción */
.batalla-intro-card {
  background: linear-gradient(135deg, #1f0305 0%, #4a0c10 50%, #290407 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 6px solid #D4AF37;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 12px 32px rgba(31, 3, 5, 0.3);
  margin-bottom: 3.5rem;
  color: #FFFFFF;
}

.batalla-intro-badge {
  display: inline-block;
  background: linear-gradient(90deg, #A51D24 0%, #D4AF37 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(165, 29, 36, 0.4);
  margin-bottom: 1.25rem;
}

.batalla-intro-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.batalla-intro-desc {
  font-size: 1.15rem;
  color: #F0D5D8;
  line-height: 1.7;
  margin: 0;
}

.batalla-intro-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.batalla-seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #AA771C);
  color: #1a0203;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.batalla-seal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.batalla-seal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.batalla-seal-sub {
  font-size: 0.9rem;
  color: #F0D5D8;
  margin-top: 0.35rem;
}

/* 3. Encabezados de Sección */
.batalla-section-head {
  text-align: center;
  margin: 3.5rem 0 2rem;
  position: relative;
}

.batalla-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #62181f;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.batalla-section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.batalla-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #A51D24, #D4AF37);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* 4. Rejilla de Participantes (Cocineras) */
.batalla-contestants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.batalla-contestant-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.batalla-contestant-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #D4AF37;
}

.batalla-contestant-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #1a0406;
}

.batalla-contestant-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.batalla-contestant-card:hover .batalla-contestant-img-wrap img {
  transform: scale(1.08);
}

.batalla-contestant-body {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

.batalla-contestant-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.batalla-contestant-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.btn-instagram-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-instagram-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.5);
}

/* 5. Episodios en Video (YouTube Grid) */
.batalla-episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.batalla-episode-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.batalla-episode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #A51D24;
}

.batalla-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #000000;
}

.batalla-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.batalla-episode-info {
  padding: 1.25rem 1.5rem;
}

.batalla-episode-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #A51D24;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.35rem;
  display: block;
}

.batalla-episode-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}

/* 6. Formulario de Participación Culinaria & Premiación */
.batalla-form-container {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(165, 29, 36, 0.04) 100%);
  border: 1px solid var(--border-color);
  border-top: 5px solid #D4AF37;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 3.5rem 0;
}

.batalla-form-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.batalla-form-header .batalla-section-badge {
  margin-bottom: 0.75rem;
}

.batalla-form-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.batalla-form-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Rejilla de Premios */
.batalla-prizes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.batalla-prize-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.batalla-prize-card:hover {
  transform: translateY(-4px);
  border-color: #D4AF37;
}

.batalla-prize-card.winner {
  border-color: #D4AF37;
  background: linear-gradient(135deg, var(--bg-main) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.batalla-prize-medal {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  display: block;
}

.batalla-prize-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #A51D24;
  letter-spacing: 1px;
}

.batalla-prize-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.35rem 0;
}

.batalla-prize-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Campos del Formulario */
.batalla-contest-form {
  max-width: 900px;
  margin: 0 auto;
}

.batalla-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.batalla-form-group {
  display: flex;
  flex-direction: column;
}

.batalla-form-group.full-width {
  grid-column: 1 / -1;
}

.batalla-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.batalla-label .req {
  color: #A51D24;
  margin-left: 2px;
}

.batalla-input,
.batalla-select,
.batalla-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background-color: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.batalla-input:focus,
.batalla-select:focus,
.batalla-textarea:focus {
  border-color: #A51D24;
  box-shadow: 0 0 0 3px rgba(165, 29, 36, 0.15);
}

.batalla-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.batalla-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.batalla-checkbox-wrap input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #A51D24;
}

.batalla-submit-wrap {
  text-align: center;
}

.btn-batalla-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #A51D24 0%, #D4AF37 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.1rem 2.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(165, 29, 36, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-batalla-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(165, 29, 36, 0.5);
}

.batalla-form-success {
  display: none;
  background-color: rgba(34, 197, 94, 0.12);
  border: 1.5px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--text-primary);
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.batalla-form-success.show {
  display: block;
}

.batalla-form-success-icon {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 0.75rem;
}

.batalla-form-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.batalla-form-success-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Validación Aritmética & Anti-Spam del Formulario Nativo */
.batalla-security-group {
  background: var(--bg-surface);
  border: 1px solid rgba(208, 33, 39, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 0.5rem;
}

.security-badge-shield {
  display: inline-block;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.batalla-math-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.batalla-math-input {
  max-width: 280px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.batalla-math-input.math-valid {
  border-color: #16A34A !important;
  background-color: rgba(22, 163, 74, 0.05);
}

.batalla-math-input.math-invalid {
  border-color: #DC2626 !important;
  background-color: rgba(220, 38, 38, 0.05);
}

.math-status-indicator {
  margin-left: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  transition: color var(--transition-fast);
}

.math-status-indicator.valid {
  color: #16A34A;
}

.math-status-indicator.invalid {
  color: #DC2626;
}

.batalla-field-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.batalla-form-error {
  background-color: rgba(220, 38, 38, 0.1);
  border: 1.5px solid #DC2626;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #DC2626;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

/* 7. Canales Alternativos de Participación */
.batalla-alt-channels-wrap {
  margin: 3.5rem 0;
  text-align: center;
}

.batalla-alt-channels-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.batalla-alt-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.batalla-channel-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.batalla-channel-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.batalla-channel-btn.wa:hover { border-color: #25D366; }
.batalla-channel-btn.email:hover { border-color: #EA4335; }
.batalla-channel-btn.ig:hover { border-color: #E1306C; }

.batalla-channel-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.batalla-channel-icon-wrap.wa { background-color: #25D366; }
.batalla-channel-icon-wrap.email { background-color: #EA4335; }
.batalla-channel-icon-wrap.ig { background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%); }

.batalla-channel-text {
  text-align: left;
}

.batalla-channel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  display: block;
}

.batalla-channel-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.2rem;
  display: block;
}

/* 8. Bases Oficiales del Concurso (Acordeón Semántico) */
.batalla-rules-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin: 3.5rem 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.batalla-rules-details {
  padding: 0;
}

.batalla-rules-summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background-color: var(--bg-surface);
  transition: background-color var(--transition-fast);
}

.batalla-rules-summary:hover {
  background-color: var(--bg-main);
  color: #A51D24;
}

.batalla-rules-body {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.batalla-rules-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.batalla-rules-body ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.batalla-rules-body li {
  margin-bottom: 0.4rem;
}

.batalla-ad-container {
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.batalla-ad-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* 9. Jurado y Presentadores Editorial (Sin imagen de captura del portal) */
.batalla-judges-editorial {
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(0, 19, 33, 0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.batalla-judges-banner {
  text-align: center;
  margin-bottom: 2.5rem;
}

.batalla-judges-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.batalla-jury-chef-icon {
  font-size: 1.4rem;
}

.batalla-judges-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.batalla-judges-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.batalla-jury-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.batalla-jury-pillar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.batalla-jury-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D02127;
}

.batalla-jury-pillar .pillar-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  min-height: 48px;
}

.batalla-jury-pillar .pillar-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.batalla-jury-pillar .pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.batalla-jury-pillar .pillar-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .batalla-jury-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* 9. Hub Social y La Cocina de Ají */
.batalla-social-hub {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
}

.batalla-social-brand {
  padding: 1rem;
}

.batalla-social-show-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.5rem 0;
}

.batalla-social-show-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 7. Contact Strip Nativo */
.batalla-contact-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
  gap: 2rem;
}

.batalla-contact-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.35rem 0;
}

.batalla-contact-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25D366;
  color: #FFFFFF !important;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-whatsapp-cta:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.batalla-news-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.batalla-social-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.batalla-social-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}

.batalla-social-icons-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.batalla-social-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  text-decoration: none;
}

.batalla-social-icon-link:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.batalla-social-icon-link.fb { background-color: #1877F2; }
.batalla-social-icon-link.tw { background-color: #000000; }
.batalla-social-icon-link.yt { background-color: #FF0000; }
.batalla-social-icon-link.ig { background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%); }

/* 10. Rejilla de Noticias de la Competencia */
.batalla-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.batalla-news-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.batalla-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #A51D24;
}

.batalla-news-thumb-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background-color: #1a0406;
}

.batalla-news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.batalla-news-card:hover .batalla-news-thumb-wrap img {
  transform: scale(1.06);
}

.batalla-news-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.batalla-news-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.batalla-news-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.batalla-news-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.batalla-news-title a:hover {
  color: #A51D24;
}

.batalla-news-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.batalla-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #A51D24;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  transition: color var(--transition-fast);
}

.batalla-news-btn:hover {
  color: #D4AF37;
}

/* 11. Galería Interactiva con Blur Backdrop */
.batalla-gallery-wrap {
  max-width: 960px;
  margin: 0 auto 3.5rem;
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.batalla-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  --bg: none;
  background-color: #000000;
}

.batalla-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.15);
  opacity: 0.9;
  z-index: 0;
}

.batalla-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.batalla-slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  position: relative;
  z-index: 2;
}

.batalla-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
}

.batalla-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.25rem;
  border-radius: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.batalla-slider-nav:hover {
  background: #A51D24;
  transform: translateY(-50%) scale(1.1);
}

.batalla-slider-nav.prev { left: 14px; }
.batalla-slider-nav.next { right: 14px; }

.batalla-dots-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.batalla-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.batalla-dot.active {
  background-color: #A51D24;
  transform: scale(1.3);
}

/* 12. Patrocinadores Limpios */
.batalla-sponsors-clean-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.batalla-sponsors-pills-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.batalla-sponsor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.batalla-sponsor-pill:hover {
  border-color: #A51D24;
  color: #A51D24;
  transform: translateY(-2px);
}

/* Responsive Breakpoints para Batalla de Sabores */
@media screen and (max-width: 1024px) {
  .batalla-contestants-grid { grid-template-columns: repeat(2, 1fr); }
  .batalla-news-grid { grid-template-columns: repeat(2, 1fr); }
  .batalla-intro-card { grid-template-columns: 1fr; text-align: center; }
  .batalla-intro-desc { margin: 0 auto; }
  .batalla-contact-strip { flex-direction: column; text-align: center; }
  .batalla-social-hub { grid-template-columns: 1fr; }
  .batalla-prizes-grid { grid-template-columns: repeat(2, 1fr); }
  .batalla-alt-channels-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
  .batalla-contestants-grid { grid-template-columns: 1fr; }
  .batalla-episodes-grid { grid-template-columns: 1fr; }
  .batalla-form-grid { grid-template-columns: 1fr; }
  .batalla-prizes-grid { grid-template-columns: 1fr; }
  .batalla-alt-channels-grid { grid-template-columns: 1fr; }
  .batalla-news-grid { grid-template-columns: 1fr; }
  .batalla-slider { aspect-ratio: 4/3; }
  .batalla-intro-card { padding: 2rem 1.5rem; }
  .batalla-intro-title { font-size: 1.8rem; }
  .batalla-section-title { font-size: 1.75rem; }
  .batalla-form-container { padding: 2rem 1.25rem; }
  .batalla-form-title { font-size: 1.75rem; }
  .btn-batalla-submit { width: 100%; max-width: 100%; }
}

/* ==========================================================================
   13. ESPECIAL CENA NAVIDEÑA — NEXPANAMÁ CORE ENGINE
   Desarrollado por NexPanamá (Estándar 2026)
   ========================================================================== */

/* 1. Hero Principal Navideño */
.cena-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  background-color: #1a0406;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.cena-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cena-hero:hover .cena-hero-img {
  transform: scale(1.03);
}

.cena-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.25) 0%, rgba(12, 14, 16, 0.75) 60%, rgba(12, 14, 16, 0.95) 100%);
}

.cena-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 820px;
  color: #FFFFFF;
}

.cena-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #A51D24 0%, #D4AF37 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(165, 29, 36, 0.4);
}

.cena-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.cena-hero-title span {
  color: #D4AF37;
}

.cena-hero-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #F0D5D8;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  max-width: 650px;
}

/* 2. Tarjeta Bento de Introducción */
.cena-intro-card {
  background: linear-gradient(135deg, #1f0305 0%, #4a0c10 50%, #290407 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 6px solid #D4AF37;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 12px 32px rgba(31, 3, 5, 0.3);
  margin-bottom: 3.5rem;
  color: #FFFFFF;
}

.cena-intro-badge {
  display: inline-block;
  background: linear-gradient(90deg, #A51D24 0%, #D4AF37 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(165, 29, 36, 0.4);
  margin-bottom: 1.25rem;
}

.cena-intro-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cena-intro-desc {
  font-size: 1.15rem;
  color: #F0D5D8;
  line-height: 1.7;
  margin: 0;
}

.cena-intro-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cena-seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #AA771C);
  color: #1a0203;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cena-seal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.cena-seal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.cena-seal-sub {
  font-size: 0.9rem;
  color: #F0D5D8;
  margin-top: 0.35rem;
}

/* 3. Encabezados de Sección */
.cena-section-head {
  text-align: center;
  margin: 3.5rem 0 2rem;
  position: relative;
}

.cena-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #62181f;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.cena-section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.cena-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #A51D24, #D4AF37);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* 4. Countdown Bento Box */
.cena-countdown-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 4px solid #A51D24;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.cena-countdown-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #A51D24;
  margin-bottom: 1.5rem;
}

.cena-countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  width: 100%;
  max-width: 650px;
}

.cena-countdown-item {
  flex: 1;
  min-width: 90px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.cena-countdown-item:hover {
  transform: translateY(-3px);
  border-color: #D4AF37;
}

.cena-countdown-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.cena-countdown-unit {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.cena-countdown-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* 5. Dinámica / Convocatoria "Cuéntanos Tu Historia" */
.cena-story-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
}

.cena-story-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cena-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  width: fit-content;
}

.cena-story-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.cena-story-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.cena-story-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}

.cena-story-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.cena-story-action p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* 6. Video Hub Navideño (YouTube Playlist / Videos) */
.cena-video-hub {
  background: linear-gradient(135deg, #1b0305 0%, #3a080d 50%, #150204 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #FFFFFF;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 36px rgba(27, 3, 5, 0.45);
}

.cena-video-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cena-video-hub-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cena-video-hub-link {
  color: #D4AF37;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cena-video-hub-link:hover {
  color: #FFFFFF;
}

.cena-video-hub .video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background-color: #000000;
}

.cena-video-hub .video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 7. Recetario Tradicional Panameño (Bento Grid) */
.cena-recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.cena-recipe-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.cena-recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #D4AF37;
}

.cena-recipe-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #1a0406;
}

.cena-recipe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cena-recipe-card:hover .cena-recipe-img-wrap img {
  transform: scale(1.08);
}

.cena-recipe-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 14, 16, 0.85);
  backdrop-filter: blur(4px);
  color: #D4AF37;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.cena-recipe-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cena-recipe-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.cena-recipe-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.cena-recipe-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cena-recipe-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 7. Canales de Contacto Directo */
.cena-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cena-contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.cena-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D4AF37;
}

.cena-contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.cena-contact-card:hover .cena-contact-card-icon {
  transform: scale(1.1);
}

.cena-contact-card-icon--wa { background: #25D366; }
.cena-contact-card-icon--ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.cena-contact-card-icon--email { background: #A51D24; }

.cena-contact-card-info {
  display: flex;
  flex-direction: column;
}

.cena-contact-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.cena-contact-card-handle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 8. Galería Navideña Interactiva */
.cena-gallery-wrap {
  margin-bottom: 3.5rem;
}

.cena-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #1a0406;
}

.cena-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.cena-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.cena-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 14, 16, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.cena-slider-nav:hover {
  background: #A51D24;
  border-color: #A51D24;
}

.cena-slider-nav.prev { left: 16px; }
.cena-slider-nav.next { right: 16px; }

.cena-dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.cena-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cena-dot.active {
  background: #A51D24;
  width: 24px;
  border-radius: 10px;
}

/* 9. Noticias Navideñas Grid */
.cena-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

/* Responsive Cena Navideña */
@media screen and (max-width: 1024px) {
  .cena-recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .cena-intro-card { grid-template-columns: 1fr; text-align: center; }
  .cena-intro-desc { margin: 0 auto; }
  .cena-story-card { grid-template-columns: 1fr; }
  .cena-contact-grid { grid-template-columns: 1fr; }
  .cena-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
  .cena-recipes-grid { grid-template-columns: 1fr; }
  .cena-countdown-grid { gap: 0.75rem; }
  .cena-countdown-item { min-width: 65px; padding: 1rem 0.5rem; }
  .cena-hero { min-height: 350px; }
  .cena-hero-content { padding: 2rem 1.25rem; }
  .cena-intro-card { padding: 2rem 1.5rem; }
  .cena-intro-title { font-size: 1.8rem; }
  .cena-section-title { font-size: 1.75rem; }
  .cena-news-grid { grid-template-columns: 1fr; }
  .cena-slider { aspect-ratio: 4/3; }
}

/* ==========================================================================
   14. ESPECIAL TÚ DECIDES 2024 — NEXPANAMÁ CORE ENGINE
   Desarrollado por NexPanamá (Estándar 2026)
   ========================================================================== */

/* 1. Hero Principal Electoral */
.decides-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  background-color: #0b1528;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.decides-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.decides-hero:hover .decides-hero-img {
  transform: scale(1.03);
}

.decides-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 21, 40, 0.3) 0%, rgba(11, 21, 40, 0.8) 60%, rgba(11, 21, 40, 0.98) 100%);
}

.decides-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 860px;
  color: #FFFFFF;
}

.decides-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #D02127 0%, #1E3A8A 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.4);
}

.decides-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.decides-hero-title span {
  color: #D02127;
}

.decides-hero-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  max-width: 700px;
}

/* 2. Tarjeta Bento de Introducción */
.decides-intro-card {
  background: linear-gradient(135deg, #091324 0%, #152744 50%, #0a1426 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-left: 6px solid #D02127;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 12px 32px rgba(9, 19, 36, 0.3);
  margin-bottom: 3.5rem;
  color: #FFFFFF;
}

.decides-intro-badge {
  display: inline-block;
  background: linear-gradient(90deg, #D02127 0%, #0284C7 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.4);
  margin-bottom: 1.25rem;
}

.decides-intro-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.decides-intro-desc {
  font-size: 1.15rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin: 0;
}

.decides-intro-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(208, 33, 39, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.decides-seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D02127, #991B1B);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(208, 33, 39, 0.4);
}

.decides-seal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #60A5FA;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.decides-seal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.decides-seal-sub {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-top: 0.35rem;
}

/* 3. Encabezados de Sección */
.decides-section-head {
  text-align: center;
  margin: 3.5rem 0 2rem;
  position: relative;
}

.decides-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #1E3A8A;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.decides-section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.decides-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #D02127, #1E3A8A);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* 4. Bento Grid de Noticias Electorales */
.decides-news-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.decides-lead-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.decides-lead-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #D02127;
}

.decides-lead-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0b1528;
}

.decides-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.decides-lead-card:hover .decides-lead-thumb img {
  transform: scale(1.05);
}

.decides-lead-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.decides-lead-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0.5rem 0 0.8rem;
}

.decides-lead-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.decides-side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.decides-side-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.decides-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #1E3A8A;
}

.decides-side-thumb {
  width: 110px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #0b1528;
}

.decides-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.decides-side-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.decides-side-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 5. VOTO INFORMADO: Notas Editoriales Oficiales */
.decides-banner-strip {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 3.5rem 0 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.decides-banner-strip img {
  width: 100%;
  height: auto;
  display: block;
}

.decides-voto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.decides-note-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 4px solid #1E3A8A;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.decides-note-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: #D02127;
}

.decides-note-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0b1528;
  overflow: hidden;
  cursor: pointer;
}

.decides-note-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.decides-note-card:hover .decides-note-thumb img {
  transform: scale(1.04);
}

.decides-note-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(208, 33, 39, 0.92);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  padding-left: 4px;
}

.decides-note-card:hover .decides-note-play {
  background: #D02127;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(208, 33, 39, 0.6);
}

.decides-note-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30, 58, 138, 0.92);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.decides-note-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.decides-note-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.decides-note-author,
.decides-note-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.decides-note-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

.decides-note-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.decides-note-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.decides-note-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.decides-note-readmore {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1E3A8A;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.decides-note-readmore:hover {
  color: #D02127;
}

.decides-note-action-btn {
  background: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.decides-note-action-btn:hover {
  background: var(--nex-red-hover);
}

/* Sub-noticias secundarias de Política (9 noticias completas del sitio original) */
.decides-subnews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: 3.5rem;
}

.decides-subnews-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.decides-subnews-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #1E3A8A;
}

.decides-subnews-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0b1528;
}

.decides-subnews-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.decides-subnews-card:hover .decides-subnews-thumb img {
  transform: scale(1.05);
}

.decides-subnews-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.decides-subnews-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0.4rem 0 0.5rem;
}

/* 6. Video Hub: Entrevistas Exclusivas */
.decides-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.decides-video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.decides-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.decides-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.decides-video-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.decides-video-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0.4rem 0 0.5rem;
}

.decides-video-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 7. Dinámica de Participación Ciudadana */
.decides-citizen-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
}

/* 8. Modal de Video Ligero (Zero Plugins) */
.decides-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.decides-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.decides-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.decides-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-fast);
}

.decides-modal-close:hover {
  background: var(--nex-red);
}

.decides-modal-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.decides-modal-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.decides-modal-caption {
  padding: 1.25rem 1.75rem;
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive Tú Decides */
@media screen and (max-width: 1024px) {
  .decides-news-bento { grid-template-columns: 1fr; }
  .decides-voto-grid { grid-template-columns: 1fr; }
  .decides-subnews-grid { grid-template-columns: repeat(2, 1fr); }
  .decides-video-grid { grid-template-columns: 1fr; }
  .decides-intro-card { grid-template-columns: 1fr; text-align: center; }
  .decides-intro-desc { margin: 0 auto; }
  .decides-citizen-card { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
  .decides-hero { min-height: 350px; }
  .decides-hero-content { padding: 2rem 1.25rem; }
  .decides-intro-card { padding: 2rem 1.5rem; }
  .decides-intro-title { font-size: 1.8rem; }
  .decides-section-title { font-size: 1.75rem; }
  .decides-subnews-grid { grid-template-columns: 1fr; }
  .decides-note-body { padding: 1.25rem; }
  .decides-note-title { font-size: 1.2rem; }
}

/* ==========================================
   15. VISTAS DE CATEGORÍAS & ARCHIVOS 2026
   Arquitectura Nativa por NexPanamá
   Zero Plugins | Carga Ultrarrápida | Alta Jerarquía Editorial
   ========================================== */

/* Cabecera Hero de Categoría */
.cat-header-hero {
  padding: 2.25rem 0 1.75rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.cat-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cat-breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.cat-breadcrumbs a:hover {
  color: var(--nex-red);
}

.cat-breadcrumbs-current {
  color: var(--text-primary);
  font-weight: 600;
}

.cat-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
}

.cat-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cat-theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(30, 58, 138, 0.1);
  color: #1E3A8A;
  border: 1px solid rgba(30, 58, 138, 0.25);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .cat-theme-badge {
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  border-color: rgba(59, 130, 246, 0.3);
}

/* Modificadores de color de badge según taxonomía */
.cat-theme-badge.cat-nacional {
  background: rgba(208, 33, 39, 0.1);
  color: var(--nex-red);
  border-color: rgba(208, 33, 39, 0.25);
}
.cat-theme-badge.cat-politica {
  background: rgba(124, 45, 18, 0.1);
  color: #991B1B;
  border-color: rgba(124, 45, 18, 0.25);
}
.cat-theme-badge.cat-sports {
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.25);
}
.cat-theme-badge.cat-tecnologia {
  background: rgba(67, 56, 202, 0.1);
  color: #4338CA;
  border-color: rgba(67, 56, 202, 0.25);
}

.cat-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0;
}

.cat-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-alt);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.cat-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 860px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Barra de Píldoras de Subtemas (Topic Pills) */
.cat-topics-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-topics-nav::-webkit-scrollbar {
  display: none;
}

.cat-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.cat-topic-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.cat-topic-pill.active {
  background: var(--nex-red);
  color: #FFFFFF;
  border-color: var(--nex-red);
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.25);
}

/* ==========================================
   BENTO GRID DESTACADO DE LA CATEGORÍA (3 NOTAS)
   ========================================== */
.cat-bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

/* Noticia Principal Lead */
.cat-bento-lead {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.cat-bento-lead:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.35);
}

.cat-lead-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0A0F1D;
}

.cat-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-bento-lead:hover .cat-lead-img {
  transform: scale(1.04);
}

.cat-lead-floating-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--nex-red);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cat-lead-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-lead-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cat-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  transition: color var(--transition-fast);
}

.cat-bento-lead:hover .cat-lead-title {
  color: var(--nex-red);
}

.cat-lead-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-lead-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cat-lead-author {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Columna Lateral Bento (2 noticias apiladas) */
.cat-bento-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cat-sublead-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.cat-sublead-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.35);
}

.cat-sublead-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0A0F1D;
}

.cat-sublead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-sublead-card:hover .cat-sublead-img {
  transform: scale(1.05);
}

.cat-sublead-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-sublead-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.cat-sublead-card:hover .cat-sublead-title {
  color: var(--nex-red);
}

/* ==========================================
   LAYOUT PRINCIPAL: STREAM DE NOTICIAS + SIDEBAR
   ========================================== */
.cat-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.75rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

.cat-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border-color);
}

.cat-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cat-section-accent-bar {
  width: 4px;
  height: 24px;
  background: var(--nex-red);
  border-radius: 2px;
}

.cat-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
}

/* Tarjetas Horizontales del Stream */
.cat-stream-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.35rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.cat-stream-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.3);
}

.cat-stream-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 190px;
  overflow: hidden;
  background: #0A0F1D;
}

.cat-stream-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-stream-card:hover .cat-stream-img {
  transform: scale(1.05);
}

.cat-stream-body {
  padding: 1.35rem 1.5rem 1.35rem 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-stream-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cat-stream-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
  transition: color var(--transition-fast);
}

.cat-stream-card:hover .cat-stream-title {
  color: var(--nex-red);
}

.cat-stream-excerpt {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.52;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-stream-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

.cat-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--nex-red);
  font-size: 0.8125rem;
  transition: gap var(--transition-fast);
}

.cat-stream-card:hover .cat-read-link {
  gap: 0.55rem;
}

/* ==========================================
   SIDEBAR INTELIGENTE STICKY
   ========================================== */
.cat-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cat-sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.cat-widget-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.cat-widget-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
}

/* Lista de Ranking Popular */
.cat-rank-list {
  display: flex;
  flex-direction: column;
}

.cat-rank-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast);
}

.cat-rank-item:first-child {
  padding-top: 0;
}

.cat-rank-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-rank-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nex-red);
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.cat-rank-thumb {
  width: 70px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cat-rank-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-rank-item:hover .cat-rank-title {
  color: var(--nex-red);
}

/* Widget Señal En Vivo Nex Canal 21 */
.cat-widget-live {
  background: linear-gradient(135deg, #0C0E10 0%, #171B26 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.cat-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cat-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(208, 33, 39, 0.25);
  color: #FF5A5F;
  border: 1px solid rgba(208, 33, 39, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cat-live-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.cat-live-sub {
  font-size: 0.8125rem;
  color: #9CA3AF;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.btn-cat-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--nex-red);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-cat-live:hover {
  background: var(--nex-red-hover);
  box-shadow: 0 6px 16px rgba(208, 33, 39, 0.4);
}

/* Widget Newsletter de Sección */
.cat-widget-newsletter {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.cat-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.cat-newsletter-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.cat-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cat-newsletter-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.cat-newsletter-input:focus {
  border-color: var(--nex-red);
}

.btn-cat-newsletter {
  background: var(--nex-red);
  color: #FFF;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-cat-newsletter:hover {
  background: var(--nex-red-hover);
}

/* ==========================================
   PAGINACIÓN NATIVA MODERNA 2026
   ========================================== */
.cat-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}

.cat-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.cat-page-btn:hover:not(.disabled) {
  border-color: var(--nex-red);
  color: var(--nex-red);
  background: var(--bg-surface-alt);
}

.cat-page-btn.active {
  background: var(--nex-red);
  color: #FFFFFF;
  border-color: var(--nex-red);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(208, 33, 39, 0.25);
}

.cat-page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.cat-page-dots {
  padding: 0 0.4rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE DESIGN PARA CATEGORÍAS
   ========================================== */
@media screen and (max-width: 1024px) {
  .cat-bento-grid {
    grid-template-columns: 1fr;
  }
  .cat-layout-grid {
    grid-template-columns: 1fr;
  }
  .cat-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .cat-header-hero {
    padding: 1.5rem 0 1.25rem 0;
  }
  .cat-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cat-stream-card {
    grid-template-columns: 1fr;
  }
  .cat-stream-img-box {
    aspect-ratio: 16/9;
    min-height: auto;
  }
  .cat-stream-body {
    padding: 1.25rem;
  }
  .cat-sidebar {
    grid-template-columns: 1fr;
  }
  .cat-bento-side {
    gap: 1.25rem;
  }
}

/* ==========================================
   16. ESPECIAL NEXMUNDIAL 2026 (NEX SPORTS)
   Arquitectura Nativa por NexPanamá
   Zero Plugins | Reemplazo de Widgets Pesados | Carga Rápida
   ========================================== */

/* Barra de Pestañas de Torneo (Anclaje Rápido Ultra-Slim NexMundial 2026) */
.mundial-tabs-bar {
  position: sticky;
  top: 68px;
  z-index: 990;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0;
  transition: all var(--transition-fast);
}

.mundial-tabs-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

/* Badge de Torneo Sutil (Reemplaza el logo redundante) */
.mundial-tabs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.mundial-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nex-red);
  box-shadow: 0 0 8px var(--nex-red);
}

.mundial-badge-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFF;
}

.mundial-badge-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--nex-red);
}

/* Contenedor desplazable de pestañas */
.mundial-tabs-scroll {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.mundial-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.mundial-tabs-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Píldoras de Navegación */
.mundial-tab-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: transparent;
  border: 1px solid transparent;
}

.mundial-tab-pill:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.08);
}

.mundial-tab-pill.active {
  color: #FFF;
  background: var(--nex-red);
  border-color: var(--nex-red);
  box-shadow: 0 2px 8px rgba(208, 33, 39, 0.35);
}

/* Botón de Acción Reto Mundialista en Barra */
.mundial-tabs-action {
  flex-shrink: 0;
}

.btn-reto-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFF;
  color: #0C0E10;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-reto-pill:hover {
  background: var(--nex-red);
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.4);
}

/* Scroll margin para evitar solapamiento con header sticky */
.mundial-section,
#partidos,
#grupos,
#estadisticas,
#noticias,
#multimedia,
#historia {
  scroll-margin-top: 130px;
}

/* Hero Slider Oficial de NexMundial */
.mundial-hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/800;
  background: #000;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.mundial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.mundial-slide.active {
  opacity: 1;
  visibility: visible;
}

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

.mundial-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  pointer-events: none;
}

.mundial-slide-content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  pointer-events: auto;
}

.mundial-slide-badge {
  background: var(--nex-red);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.mundial-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #FFF;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.mundial-slide-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-mundial-action {
  background: rgba(255, 255, 255, 0.95);
  color: #0C0E10;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-mundial-action:hover {
  background: var(--nex-red);
  color: #FFF;
  transform: translateY(-2px);
}

.btn-mundial-action.alt {
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-mundial-action.alt:hover {
  background: #FFF;
  color: #0C0E10;
  border-color: #FFF;
}

/* Indicadores de Slider */
.mundial-indicators {
  position: absolute;
  bottom: 20px;
  right: 25px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.mundial-dot {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mundial-dot.active {
  background: var(--nex-red);
  width: 44px;
}

/* Cabeceras de Sección con Patrocinador */
.mundial-header-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 1.25rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  gap: 1rem;
  flex-wrap: wrap;
}

.mundial-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mundial-accent-line {
  width: 5px;
  height: 28px;
  background: var(--nex-red);
  border-radius: 2px;
}

.mundial-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

.mundial-sponsor-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mundial-sponsor-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mundial-sponsor-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* ==========================================
   INFOGRAFÍAS OFICIALES NEXMUNDIAL 2026
   Contenedores Bento deportivos de ultra-alto rendimiento
   ========================================== */
.mundial-infografia-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  margin-bottom: 2rem;
}

.mundial-infografia-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.3);
}

.mundial-scroll-canvas {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #080a0d;
}

.mundial-infografia-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .mundial-infografia-img {
    min-width: 680px;
  }
}

.mundial-infografia-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mundial-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-mundial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--nex-red);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-mundial-link:hover {
  color: #ff333a;
  transform: translateX(3px);
}

/* Tarjetas de Marcas / Patrocinadores */
.mundial-match-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: block;
  text-decoration: none;
}

.mundial-match-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.3);
}


/* ==========================================
   BANNERS DE PATROCINIO RESPONSIVOS
   ========================================== */
.mundial-banner-lead {
  margin: 2rem 0;
  text-align: center;
}

.mundial-banner-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: block;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

/* ==========================================
   SECCIÓN MULTIMEDIA 16:9 RESPONSIVA
   ========================================== */
.mundial-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mundial-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   BOTÓN FLOTANTE RETO MUNDIALISTA
   ========================================== */
.reto-floating-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background: #0C0E10;
  color: #FFF;
  border: 2px solid var(--nex-red);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all var(--transition-smooth);
}

.reto-floating-pill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(208, 33, 39, 0.45);
  background: var(--nex-red);
  color: #FFF;
}

/* ==========================================
   MAQUETACIÓN DE PUBLICIDAD LATERAL (SIDEBAR DE PAUTA)
   NexMundial 2026 — Protocolo Editorial NexPanamá
   ========================================== */
.mundial-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.mundial-main-col {
  min-width: 0;
  width: 100%;
}

.mundial-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 300px;
}

.mundial-sidebar-sticky {
  position: sticky;
  top: 125px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tarjetas de Publicidad Lateral 300px (Editorial & Broadcast) */
.mundial-ad-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.mundial-ad-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(208, 33, 39, 0.4);
}

.mundial-ad-card.gold-accent {
  background: #111418;
  border: 2px solid #D4AF37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.mundial-ad-card.gold-accent:hover {
  border-color: #F3E5AB;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.mundial-ad-badge {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.mundial-ad-card.gold-accent .mundial-ad-badge {
  color: #D4AF37;
}

.mundial-ad-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.mundial-ad-card.skyscraper .mundial-ad-img {
  max-height: 600px;
  object-fit: cover;
}

/* Grilla de Noticias Adaptada a NexMundial */
.news-grid-mundial {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Responsive NexMundial — Pestañas Slim de Torneo, Hero Slider y Publicidad */
@media screen and (max-width: 900px) {
  .mundial-tabs-bar {
    top: 60px;
    padding: 0.3rem 0;
  }
  .mundial-tabs-inner {
    gap: 0.5rem;
  }
  .mundial-tabs-badge {
    padding: 0.2rem 0.5rem;
  }
  .mundial-tab-pill {
    padding: 0.28rem 0.7rem;
    font-size: 0.74rem;
  }
  .btn-reto-pill {
    padding: 0.28rem 0.75rem;
    font-size: 0.7rem;
  }
  .mundial-hero-slider {
    aspect-ratio: 16/9;
  }
  .reto-floating-pill {
    bottom: 15px;
    right: 15px;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
  .mundial-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mundial-sidebar-col {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    order: 2;
  }
  .mundial-sidebar-sticky {
    position: static;
    display: contents;
  }
  .mundial-ad-card {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .news-grid-mundial {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .mundial-sidebar-col {
    grid-template-columns: 1fr;
  }
  .mundial-tabs-badge {
    display: none;
  }
  .mundial-tabs-action {
    display: none;
  }
  .mundial-tabs-scroll {
    width: 100%;
    justify-content: flex-start;
  }
  .mundial-section,
  #partidos,
  #grupos,
  #estadisticas,
  #noticias,
  #multimedia,
  #historia {
    scroll-margin-top: 105px;
  }

  /* Hero Slider 100% Adaptativo en Móvil (Cero Recortes Forzados, Cero Colisiones) */
  .mundial-hero-slider {
    aspect-ratio: 16/9;
    min-height: unset;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .mundial-slide-img {
    object-position: center center;
  }

  /* Slide 2: Patrocinador Kiener en Móvil (Preservar Arte Completo sin cortes) */
  #slide-2 {
    background: #06080B;
  }
  #slide-2 .mundial-slide-img {
    object-fit: contain;
    object-position: center center;
  }

  /* Indicadores Reubicados a Insignia Superior Flotante */
  .mundial-indicators {
    top: 12px;
    right: 12px;
    bottom: auto;
    background: rgba(12, 14, 16, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 6px;
    z-index: 15;
  }
  .mundial-dot {
    width: 16px;
    height: 4px;
    border-radius: 2px;
  }
  .mundial-dot.active {
    width: 24px;
  }

  /* Capa de Acciones Inferior Optimizada */
  .mundial-slide-overlay {
    padding: 0.85rem 0.75rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.85) 100%);
  }
  .mundial-slide-content {
    width: 100%;
    margin: 0;
    gap: 0.4rem;
  }
  .mundial-slide-actions {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0.45rem;
  }
  .btn-mundial-action {
    flex: 1 1 0;
    justify-content: center;
    padding: 0.52rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }
  .btn-mundial-action svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
  }

  /* Banners de Pauta Intermedia Responsivos */
  .mundial-banner-lead {
    margin: 1.25rem 0;
    padding: 0 0.25rem;
  }
  .mundial-banner-img {
    min-height: 52px;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--radius-sm);
  }
}

@media screen and (max-width: 400px) {
  .mundial-slide-actions {
    flex-direction: column;
    gap: 0.35rem;
  }
  .btn-mundial-action {
    width: 100%;
    padding: 0.45rem 0.7rem;
    font-size: 0.68rem;
  }
}

/* ========================================================
   VIDEOS DESTACADOS — CAROUSEL VERTICAL (ESTILO STORIES / REELS)
   ======================================================== */
.nex-videos-section {
  padding: 2.25rem 0 1.75rem;
  position: relative;
  width: 100%;
}
.nex-videos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}
.nex-videos-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main, #111827);
  letter-spacing: -0.01em;
  margin: 0;
}
.nex-videos-arrows {
  display: flex;
  gap: 0.5rem;
}
.nex-videos-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #E5E7EB);
  background: var(--bg-card, #FFFFFF);
  color: var(--text-muted, #9CA3AF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nex-videos-btn:hover {
  background: var(--bg-card, #FFFFFF);
  color: var(--text-main, #111827);
  border-color: #9CA3AF;
  transform: scale(1.05);
}
.nex-videos-btn:active {
  transform: scale(0.95);
}

.nex-videos-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 14px;
}
.nex-videos-track::-webkit-scrollbar {
  display: none;
}

/* Tarjeta Unificada */
.nex-video-card {
  flex: 0 0 218px;
  width: 218px;
  max-width: 218px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  text-decoration: none;
  user-select: none;
}
.nex-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border-color: #F59E0B;
}
.nex-video-card.is-active,
.nex-video-card:first-child {
  border-color: #F59E0B;
}

/* Zona Superior Media */
.nex-video-card-media {
  position: relative;
  width: 100%;
  height: 335px;
  overflow: hidden;
  background: #0F172A;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 10px 14px;
}
.nex-video-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 1;
}
.nex-video-card:hover .nex-video-img {
  transform: scale(1.06);
}
.nex-video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.92) 88%, rgba(0,0,0,0.98) 100%);
  z-index: 2;
  pointer-events: none;
}
.nex-video-watermark {
  position: relative;
  z-index: 3;
  align-self: center;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F59E0B;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}
.nex-video-play-indicator {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(208, 33, 39, 0.92);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.5);
}
.nex-video-card:hover .nex-video-play-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.nex-video-headline {
  position: relative;
  z-index: 3;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  word-break: break-word;
}

/* Zona Inferior Footer */
.nex-video-card-footer {
  padding: 9px 12px 11px;
  background: var(--bg-card, #FFFFFF);
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.nex-video-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #6B7280);
  text-transform: capitalize;
  line-height: 1.2;
}
.nex-video-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main, #111827);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nex-video-card:hover .nex-video-subtitle {
  color: var(--nex-red, #D02127);
}

/* Modo Oscuro */
[data-theme="dark"] .nex-video-card {
  background: #111827;
  border-color: #1F2937;
}
[data-theme="dark"] .nex-video-card-footer {
  background: #111827;
  border-top-color: #1F2937;
}
[data-theme="dark"] .nex-video-subtitle {
  color: #F3F4F6;
}
[data-theme="dark"] .nex-video-tag {
  color: #9CA3AF;
}
[data-theme="dark"] .nex-video-btn {
  background: #1F2937;
  border-color: #374151;
  color: #9CA3AF;
}
[data-theme="dark"] .nex-video-btn:hover {
  background: #374151;
  color: #FFF;
}

@media (max-width: 640px) {
  .nex-video-card {
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
  }
  .nex-video-card-media {
    height: 295px;
  }
  .nex-video-headline {
    font-size: 0.85rem;
  }
}

/* Modal de Video */
.nex-video-story-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.nex-video-modal-dialog {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.nex-video-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
}
.nex-video-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.nex-video-modal-close:hover {
  background: #D02127;
}
.nex-video-modal-body {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.nex-video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   PAUTAS PUBLICITARIAS IAB ESTANDARIZADAS (CERO CLS) & POP-UPS MODULARES
   ========================================================================== */

/* Contenedor Universal de Pauta */
.ad-slot-wrapper {
  margin: 2rem auto;
  text-align: center;
  position: relative;
  width: 100%;
}

.ad-slot-label {
  display: block;
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.6875rem;
  color: var(--text-muted, #9CA3AF);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Billboard / Leaderboard (970x250 / 728x90) */
.ad-slot-billboard {
  width: 100%;
  max-width: 970px;
  min-height: 250px;
  background: var(--bg-surface, #FFF);
  border: 1px dashed var(--border-color, #D1D5DB);
  border-radius: var(--radius-md, 10px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.ad-banner-mockup {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius-md, 8px);
}

.ad-image-link {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

.ad-responsive-img {
  width: 100%;
  max-width: 970px;
  height: auto;
  aspect-ratio: 970 / 250;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
}

/* Robapáginas Lateral / MREC (300x250 o 300x600) */
.ad-slot-sidebar,
.ad-slot-mrec {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
  background: var(--bg-surface, #FFF);
  border: 1px dashed var(--border-color, #D1D5DB);
  border-radius: var(--radius-md, 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}

/* In-Feed Banner (728x90 / 970x90) */
.ad-slot-infeed {
  width: 100%;
  max-width: 970px;
  min-height: 86px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  overflow: hidden;
}

.ad-slot-after-hero {
  margin: 1.5rem auto 2rem !important;
  max-width: 970px;
}

.ad-slot-after-hero .ad-slot-infeed {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ad-slot-after-hero {
    margin: 1rem auto 1.5rem !important;
  }
}

/* MINI-PLAYER PICTURE-IN-PICTURE (VIDEO EN VIVO FLOTANTE) */
.nex-live-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #001321;
  color: #FFF;
  border: 2px solid var(--nex-red, #D02127);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 10001;
  width: 360px;
  overflow: hidden;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nex-live-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.pip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pip-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
}

.pip-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nex-red, #D02127);
  animation: toast-ping 1.6s infinite;
}

@keyframes toast-ping {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(208, 33, 39, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(208, 33, 39, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(208, 33, 39, 0); }
}

.pip-channel {
  color: var(--nex-yellow, #FFD845);
  font-weight: 700;
}

.pip-title {
  color: #9CA3AF;
  font-size: 0.75rem;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pip-header-controls {
  display: flex;
  gap: 4px;
}

.btn-pip-control {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFF;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast, 0.2s ease);
}

.btn-pip-control:hover {
  background: var(--nex-red, #D02127);
}

.pip-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #000;
  transition: all 0.3s ease;
}

.pip-video-container.minimized {
  display: none;
}

.pip-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pip-footer {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #001321;
  font-size: 0.75rem;
}

.pip-program-name {
  color: #D1D5DB;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.pip-watch-link {
  color: var(--nex-yellow, #FFD845);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.75rem;
}

.pip-watch-link:hover {
  text-decoration: underline;
}

/* POP-UP MODAL: PUBLICIDAD COMERCIAL INTERSTITIAL CON COUNTDOWN */
.nex-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 19, 33, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nex-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nex-modal-dialog {
  background: var(--bg-surface, #FFF);
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nex-modal-overlay.active .nex-modal-dialog {
  transform: scale(1);
}

.nex-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #001321;
  color: #FFF;
}

.nex-modal-badge {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nex-modal-close-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-text {
  font-size: 0.75rem;
  color: var(--nex-yellow, #FFD845);
  font-weight: 600;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn-modal-close:hover:not(:disabled) {
  background: var(--nex-red, #D02127);
}

.nex-modal-body {
  padding: 2rem;
  text-align: center;
}

.ad-sponsor-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.ad-sponsor-desc {
  color: var(--text-muted, #4B5563);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-ad-cta {
  display: inline-block;
  background: var(--nex-red, #D02127);
  color: #FFF;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.4);
  transition: all 0.2s ease;
}

.btn-ad-cta:hover {
  background: #B91C1C;
  color: #FFF;
}

@media (max-width: 768px) {
  .ad-slot-billboard { min-height: 120px; }
  .ad-banner-mockup { min-height: 120px; padding: 1rem; }
  .nex-live-toast { right: 16px; left: 16px; bottom: 16px; max-width: none; width: auto; }
}

/* Compatibilidad con Constructores Visuales (Elementor & Gutenberg) */
.elementor-custom-wrapper,
.elementor-full-width-wrapper {
  width: 100%;
  min-height: 60vh;
  position: relative;
  clear: both;
}

.elementor-custom-wrapper .elementor,
.elementor-full-width-wrapper .elementor {
  width: 100%;
}

/* ==========================================================================
   28. NEX CLASIFICADOS (PORTAL MERCADOLIBRE + PERIÓDICO 2026)
   Desarrollado por NexPanamá
   ========================================================================== */
.clasificados-page-wrapper {
  padding: 2rem 0 5rem;
}

/* 1. Hero Clasificados */
.clasificados-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: 3.5rem 2.5rem;
  color: #FFF;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.clasificados-hero::after {
  content: "NEX";
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 15rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  line-height: 1;
}

.clasificados-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.clasificados-tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
}

.clasificados-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.clasificados-hero-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #FFF;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clasificados-hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.btn-publish-ad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-publish-ad:hover {
  background: #B91C1C;
  transform: translateY(-2px);
}

.btn-explore-ads {
  display: inline-flex;
  align-items: center;
  color: #E2E8F0;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-explore-ads:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
}


/* 2. Cintillo Ticker TV */
.clasificados-tv-ticker {
  display: flex;
  align-items: center;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  margin-bottom: 2rem;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 14px;
}

.ticker-track {
  display: inline-block;
  animation: clasificadosTickerScroll 28s linear infinite;
  color: #94A3B8;
  font-size: 0.875rem;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item strong {
  color: #FFF;
  font-weight: 700;
}

.ticker-sep {
  margin: 0 16px;
  color: rgba(255, 255, 255, 0.15);
}

@keyframes clasificadosTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 3. Categorías en Chips */
.clasificados-cat-nav {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface, #FFF);
  border: 1px solid var(--border-color, #E5E7EB);
  color: var(--text-primary, #111827);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.cat-chip:hover {
  border-color: #D02127;
  color: #D02127;
  transform: translateY(-2px);
}

.cat-chip.active {
  background: #D02127;
  border-color: #D02127;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(208, 33, 39, 0.25);
}

.cat-icon {
  font-size: 1.05rem;
}

/* 4. Barra de Búsqueda y Filtros */
.clasificados-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface, #FFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: var(--radius-lg, 12px);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.filter-search-box .search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted, #9CA3AF);
  pointer-events: none;
}

.filter-search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border-color, #D1D5DB);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--bg-body, #F9FAFB);
  color: var(--text-primary, #111827);
  outline: none;
  transition: border-color 0.2s ease;
}

.filter-search-box input:focus {
  border-color: #D02127;
}

.filter-select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-select-group select {
  padding: 10px 14px;
  border: 1px solid var(--border-color, #D1D5DB);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-body, #F9FAFB);
  color: var(--text-primary, #111827);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-select-group select:focus {
  border-color: #D02127;
}

/* Multi-Checklist Interactivo de Ubicación / Provincias */
.filter-provincia-dropdown {
  position: relative;
  display: inline-block;
}

.provincia-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color, #D1D5DB);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-body, #F9FAFB);
  color: var(--text-primary, #111827);
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 210px;
}

.provincia-dropdown-toggle:hover,
.provincia-dropdown-toggle:focus {
  border-color: #D02127;
}

.provincia-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: var(--bg-surface, #FFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 12px 14px;
  animation: nex-fade-in 0.2s ease;
}

.provincia-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color, #E5E7EB);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #6B7280);
}

.btn-clear-provincias {
  background: none;
  border: none;
  color: #D02127;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.provincia-checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px 0;
  margin: 4px 0;
}

.prov-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-primary, #1F2937);
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.prov-check-item:hover {
  background: var(--bg-body, #F3F4F6);
}

.prov-check-item input[type="checkbox"] {
  accent-color: #D02127;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.prov-check-all {
  border-bottom: 1px dashed var(--border-color, #E5E7EB);
  padding-bottom: 7px;
  margin-bottom: 4px;
  font-weight: 700;
  color: #D02127;
}

.provincia-dropdown-footer {
  padding-top: 8px;
  border-top: 1px solid var(--border-color, #E5E7EB);
  display: flex;
  justify-content: flex-end;
}

.btn-apply-provincias {
  background: #D02127;
  color: #FFF;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-apply-provincias:hover {
  background: #B0171C;
}

[data-theme="dark"] .provincia-dropdown-panel {
  background: #1E293B;
  border-color: #334155;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .prov-check-item {
  color: #E2E8F0;
}

[data-theme="dark"] .prov-check-item:hover {
  background: #334155;
}

[data-theme="dark"] .provincia-dropdown-header,
[data-theme="dark"] .provincia-dropdown-footer,
[data-theme="dark"] .prov-check-all {
  border-color: #334155;
}

/* Contador */
.clasificados-results-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted, #6B7280);
}

.verified-guarantee {
  color: #059669;
  font-weight: 600;
}

/* 5. Rejilla de Clasificados */
.clasificados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1200px) {
  .clasificados-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .clasificados-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .clasificados-grid { grid-template-columns: 1fr; }
}

.clasificado-card {
  background: var(--bg-surface, #FFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.clasificado-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #D02127;
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0F172A;
  overflow: hidden;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.clasificado-card:hover .card-thumb-img {
  transform: scale(1.04);
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F172A;
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.badge-card-tv {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.badge-card-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #E2E8F0;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.card-price {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #16A34A;
  letter-spacing: 0.5px;
}

.card-condition {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted, #6B7280);
  background: var(--bg-body, #F3F4F6);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 0.8125rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted, #9CA3AF);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color, #F3F4F6);
  margin-bottom: 1rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.btn-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-card-wa:hover {
  background: #1EBE5D;
  color: #FFF;
}

.btn-card-detail {
  background: var(--bg-body, #F3F4F6);
  border: 1px solid var(--border-color, #E5E7EB);
  color: var(--text-primary, #111827);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-detail:hover {
  background: #001321;
  color: #FFF;
  border-color: #001321;
}

/* Sin resultados */
.clasificados-no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-surface, #FFF);
  border: 1px dashed var(--border-color, #E5E7EB);
  border-radius: var(--radius-lg, 12px);
  margin-bottom: 3.5rem;
}

.no-res-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.btn-reset-filters {
  margin-top: 1rem;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* 6. Banner Promocional */
.clasificados-cta-banner {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 16px);
  padding: 3rem 2.5rem;
  color: #FFF;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.cta-banner-content h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #FFF;
  margin: 0.75rem 0;
  text-transform: uppercase;
}

.cta-banner-content p {
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.btn-cta-publish {
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta-publish:hover {
  background: #B91C1C;
  transform: translateY(-2px);
}

/* 7. Modal de Detalle Rápido */
.clasificado-detail-dialog {
  max-width: 760px;
}

.ad-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 700px) {
  .ad-detail-grid { grid-template-columns: 1fr; }
}

/* Vista previa de clasificados: ajuste móvil (solo #ad-detail-modal) */
@media (max-width: 768px) {
  #ad-detail-modal {
    z-index: 100000;
    padding: 0.75rem;
  }
  #ad-detail-modal .clasificado-detail-dialog {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
  }
  #ad-detail-modal .nex-modal-header {
    flex-shrink: 0;
  }
  #ad-detail-modal .ad-detail-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }
  #ad-detail-modal .ad-modal-image {
    aspect-ratio: auto;
    max-height: 40vh;
    object-fit: contain;
    background: var(--bg-surface-alt, #F3F4F6);
  }
  #ad-detail-modal .btn-modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

.ad-modal-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.ad-detail-info {
  text-align: left;
}

.ad-modal-price-tag {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #16A34A;
  margin-bottom: 0.5rem;
}

.ad-modal-heading {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.ad-modal-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ad-modal-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-body, #F3F4F6);
  color: var(--text-secondary, #374151);
}

.ad-modal-desc-wrap h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  margin-bottom: 0.25rem;
}

.ad-modal-desc-wrap p {
  font-size: 0.875rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
}

.btn-modal-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  width: 100%;
}

.btn-modal-wa:hover {
  background: #1EBE5D;
  color: #FFF;
}

/* 8. Modal de Publicación */
.clasificado-publish-dialog {
  max-width: 680px;
  text-align: left;
}

.publish-modal-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.publish-modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted, #6B7280);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.publish-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .publish-form-grid { grid-template-columns: 1fr; }
}

.publish-form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

.publish-form-grid label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary, #374151);
  margin-bottom: 0.35rem;
}

.publish-form-grid input,
.publish-form-grid select,
.publish-form-grid textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-color, #D1D5DB);
  border-radius: 6px;
  font-size: 0.875rem;
  background: var(--bg-body, #F9FAFB);
  color: var(--text-primary, #111827);
  outline: none;
}

.publish-form-grid textarea {
  resize: vertical;
  min-height: 80px;
}

.publish-submit-wrap {
  margin-top: 1.25rem;
  text-align: right;
}

.btn-submit-publish {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D02127;
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit-publish:hover {
  background: #B91C1C;
}

/* 9. Paginación y Carga Dinámica de Clasificados */
.clasificados-load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.75rem 0 3.25rem;
}

.btn-load-more-ads {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--bg-surface, #FFFFFF);
  color: var(--text-primary, #0F172A);
  border: 1px solid var(--border-color, #E2E8F0);
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more-ads:hover {
  background: #D02127;
  color: #FFFFFF;
  border-color: #D02127;
  box-shadow: 0 8px 24px rgba(208, 33, 39, 0.25);
  transform: translateY(-2px);
}

.btn-load-more-ads .load-more-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-load-more-ads:hover .load-more-icon {
  transform: translateY(3px);
}

.btn-load-more-ads .load-more-badge {
  background: rgba(15, 23, 42, 0.07);
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.btn-load-more-ads:hover .load-more-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.clasificados-pagination {
  margin: 2.5rem 0 3.5rem;
}

.clasificados-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary, #0F172A);
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  transition: all 0.2s ease;
  text-decoration: none;
}

.clasificados-pagination .page-numbers:hover:not(.current) {
  border-color: #D02127;
  color: #D02127;
}

.clasificados-pagination .page-numbers.current {
  background: #D02127;
  color: #FFFFFF;
  border-color: #D02127;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(208, 33, 39, 0.25);
}

/* ==========================================================================
   HUB MI CULTURA (NATIVO NEXPANAMÁ) — ESTILO EDITORIAL DE LUJO
   ========================================================================== */
.nex-cultura * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nex-cultura {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'PT Serif', sans-serif;
  color: #333;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  --nex-negro: #000000;
  --nex-rojo: #dd3333;
  --nex-rojo-vivo: #e60000;
  --nex-azul: #005aa7;
  --nex-azul-oscuro: #001321;
  --nex-dorado: #ffd845;
  --nex-gris: #5a636c;
  --nex-gris-claro: #f4f6f8;
  --nex-borde: #e5e9ed;
  --nex-blanco: #ffffff;
  --nex-sombra: 0 6px 24px rgba(0, 19, 33, .06);
  --nex-radius: 16px;
}

[data-theme="dark"] .nex-cultura {
  --nex-negro: #f1f5f9;
  --nex-blanco: #0f172a;
  --nex-gris-claro: #0a0f1d;
  --nex-borde: rgba(255, 255, 255, 0.1);
  --nex-gris: #94a3b8;
  color: #e2e8f0;
}

[data-theme="dark"] .nex-cultura-card {
  background: #131d2e;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nex-cultura-video-card {
  background: #131d2e;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nex-cultura-ver-todos {
  background: #1e293b;
  color: #60a5fa !important;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .nex-cultura-card-agenda .nex-cultura-card-date {
  background: #1e293b;
}

[data-theme="dark"] .nex-cultura-firma {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

[data-theme="dark"] .nex-cultura-firma strong {
  color: #f1f5f9;
}

.nex-cultura img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nex-cultura a {
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}

/* Banner Principal (1920x500) */
.nex-cultura-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/500;
  min-height: 280px;
  max-height: 480px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--nex-azul-oscuro) 0%, #00264d 50%, var(--nex-azul) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.nex-cultura-banner-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #001321 0%, #00284d 50%, #005aa7 100%);
  color: rgba(255, 255, 255, .6);
  font-family: 'Oswald', 'Roboto', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: clamp(14px, 2vw, 18px);
}

.nex-cultura-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.nex-cultura-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 19, 33, .85) 0%, rgba(0, 19, 33, .25) 50%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.nex-cultura-banner-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px 24px;
  display: flex;
  justify-content: center;
}

.nex-cultura-banner-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 40px;
  background: rgba(0, 19, 33, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

.nex-cultura-banner-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--nex-blanco);
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all .3s ease;
}

.nex-cultura-banner-nav a:hover {
  background: var(--nex-rojo);
  border-color: var(--nex-rojo);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(221, 51, 51, .35);
}

@keyframes nex-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

/* Contenedor General Mi Cultura */
.nex-cultura-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Secciones */
.nex-cultura-section {
  padding: 55px 0 50px;
}

.nex-cultura-section:nth-child(even) {
  background: var(--nex-gris-claro);
}

.nex-cultura-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
}

.nex-cultura-section-title {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--nex-negro);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
}

.nex-cultura-section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 4px;
  background: var(--nex-rojo);
  margin-top: 8px;
}

/* Grillas & Cards */
.nex-cultura-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nex-cultura-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--nex-radius);
  border: 1px solid var(--nex-borde);
  background: var(--nex-blanco);
  overflow: hidden;
  box-shadow: var(--nex-sombra);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.nex-cultura-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 19, 33, .1);
  border-color: rgba(0, 90, 167, .2);
}

.nex-cultura-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--nex-gris-claro);
}

.nex-cultura-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.nex-cultura-card:hover .nex-cultura-card-img img {
  transform: scale(1.04);
}

.nex-cultura-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--nex-rojo);
  color: var(--nex-blanco);
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 2;
}

.nex-cultura-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.nex-cultura-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--nex-gris);
  font-size: 11px;
  font-weight: 500;
}

.nex-cultura-card-meta-sep {
  color: var(--nex-rojo);
  font-weight: 700;
}

.nex-cultura-card h3 {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--nex-negro);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nex-cultura-card p {
  font-size: 13.5px;
  color: var(--nex-gris);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.nex-cultura-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--nex-azul) !important;
  font-size: 13px;
  font-weight: 700;
}

.nex-cultura-card-link:hover {
  color: var(--nex-rojo) !important;
  gap: 10px;
}

/* Card Agenda */
.nex-cultura-card-agenda .nex-cultura-card-date {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--nex-blanco);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  z-index: 2;
}

.nex-cultura-card-date-day {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--nex-rojo);
  line-height: 1;
}

.nex-cultura-card-date-month {
  font-size: 10px;
  font-weight: 700;
  color: var(--nex-gris);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Card Ruta */
.nex-cultura-card-ruta .nex-cultura-card-badge {
  background: var(--nex-azul);
}

.nex-cultura-card-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nex-azul);
  margin-bottom: 8px;
}

/* Botón Ver Más */
.nex-cultura-ver-todos-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.nex-cultura-ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--nex-azul) !important;
  font-family: 'Roboto', 'PT Serif', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid var(--nex-borde);
  box-shadow: 0 2px 8px rgba(0, 19, 33, .04);
  transition: all .25s ease;
  text-decoration: none;
  cursor: pointer;
}

.nex-cultura-ver-todos:hover {
  background: rgba(0, 90, 167, .06);
  border-color: var(--nex-azul);
  color: var(--nex-azul) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 90, 167, .12);
}

.nex-cultura-ver-todos .nex-cultura-ver-todos-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 90, 167, .08);
  color: var(--nex-azul);
  font-size: 12px;
  transition: all .25s ease;
}

.nex-cultura-ver-todos:hover .nex-cultura-ver-todos-arrow {
  background: var(--nex-azul);
  color: #ffffff;
  transform: translateX(2px);
}

.nex-cultura-ver-todos.loading {
  pointer-events: none;
  opacity: .7;
  background: #f8fafc;
  border-color: var(--nex-borde);
  color: var(--nex-gris) !important;
}

.nex-cultura-ver-todos.loading .nex-cultura-ver-todos-arrow {
  animation: nex-pulse 1s ease-in-out infinite;
}

.nex-cultura-ver-todos.done {
  background: transparent;
  color: var(--nex-gris) !important;
  border: 1px solid var(--nex-borde);
  box-shadow: none;
  pointer-events: none;
  cursor: default;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  padding: 8px 20px;
  opacity: .8;
}

.nex-cultura-ver-todos.done .nex-cultura-ver-todos-arrow {
  background: transparent;
  color: var(--nex-azul);
  width: 18px;
  height: 18px;
  font-size: 11px;
}

/* Redes Sociales · Esquina Creativa */
.nex-cultura-subbanner {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  margin-bottom: 25px;
  padding: 0 20px;
}

.nex-cultura-subbanner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.nex-cultura-social-corner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 14px;
  border-radius: 30px;
  background: var(--nex-azul-oscuro);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 24px rgba(0, 19, 33, .22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .3s ease;
}

.nex-cultura-social-corner:hover {
  box-shadow: 0 12px 30px rgba(0, 19, 33, .3);
  border-color: rgba(221, 51, 51, .4);
}

.nex-cultura-social-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nex-rojo-vivo);
  box-shadow: 0 0 10px var(--nex-rojo-vivo);
  animation: nex-pulse 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

.nex-cultura-social-corner-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .2);
  margin: 0 2px;
}

.nex-cultura-social-corner-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nex-cultura-social-corner-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--nex-blanco);
  transition: all .25s ease;
}

.nex-cultura-social-corner-links a:hover {
  background: var(--nex-rojo);
  color: var(--nex-blanco);
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 12px rgba(221, 51, 51, .45);
}

.nex-cultura-social-corner-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Sección Videos / YouTube */
.nex-cultura-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nex-cultura-video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--nex-radius);
  border: 1px solid var(--nex-borde);
  background: var(--nex-blanco);
  overflow: hidden;
  box-shadow: var(--nex-sombra);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.nex-cultura-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 19, 33, .12);
  border-color: rgba(221, 51, 51, .3);
}

.nex-cultura-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000000;
  overflow: hidden;
}

.nex-cultura-video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nex-cultura-video-content {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nex-cultura-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(221, 51, 51, .1);
  color: var(--nex-rojo-vivo);
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

.nex-cultura-video-content h3 {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--nex-negro);
  line-height: 1.3;
  margin-bottom: 10px;
}

.nex-cultura-video-content p {
  font-size: 14px;
  color: var(--nex-gris);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.nex-cultura-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--nex-rojo-vivo);
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: all .25s ease;
}

.nex-cultura-video-link:hover {
  color: #a80000;
  transform: translateX(4px);
}

/* Sección Galería de Fotos */
.nex-cultura-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nex-cultura-gallery-item {
  position: relative;
  border-radius: var(--nex-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--nex-gris-claro);
  box-shadow: var(--nex-sombra);
  cursor: pointer;
  border: 1px solid var(--nex-borde);
  transition: transform .3s ease, box-shadow .3s ease;
}

.nex-cultura-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 19, 33, .12);
}

.nex-cultura-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.nex-cultura-gallery-item:hover img {
  transform: scale(1.08);
}

.nex-cultura-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 19, 33, .88) 0%, rgba(0, 19, 33, .35) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s ease;
}

.nex-cultura-gallery-item:hover .nex-cultura-gallery-overlay {
  opacity: 1;
}

.nex-cultura-gallery-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 14px;
  background: var(--nex-dorado);
  color: var(--nex-negro);
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.nex-cultura-gallery-caption {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--nex-blanco);
  line-height: 1.3;
  letter-spacing: .02em;
}

.nex-cultura-gallery-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nex-blanco);
  font-size: 14px;
  opacity: 0;
  transform: scale(.8);
  transition: all .3s ease;
}

.nex-cultura-gallery-item:hover .nex-cultura-gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal Nativo */
.nex-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.nex-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.nex-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 33, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nex-lightbox-box {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nex-lightbox-box img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  object-fit: contain;
}

.nex-lightbox-caption {
  margin-top: 14px;
  color: var(--nex-blanco);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  text-align: center;
}

.nex-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--nex-blanco);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.nex-lightbox-close:hover {
  background: var(--nex-rojo-vivo);
  border-color: var(--nex-rojo-vivo);
  transform: scale(1.1);
}

/* Cintillo Footer MiCultura */
.nex-cultura-cintillo-footer {
  background: linear-gradient(135deg, var(--nex-azul-oscuro) 0%, #002244 50%, #003366 100%);
  border-top: 3px solid var(--nex-rojo-vivo);
  padding: 30px 24px;
  position: relative;
  z-index: 10;
}

.nex-cultura-cintillo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nex-cultura-cintillo-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nex-cultura-cintillo-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.nex-cultura-cintillo-text h3 {
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--nex-blanco);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0;
  line-height: 1.2;
}

.nex-cultura-cintillo-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
  margin: 4px 0 0;
  line-height: 1.4;
}

.nex-cultura-cintillo-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nex-cultura-cintillo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 30px;
  font-family: 'Oswald', 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nex-cultura-cintillo-btn-primary {
  background: #ffffff;
  color: #001321 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.nex-cultura-cintillo-btn-primary:hover {
  background: var(--nex-rojo);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(221, 51, 51, .45);
}

/* Footer Firma Mi Cultura */
.nex-cultura-firma {
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  color: var(--nex-gris);
  background: var(--nex-gris-claro);
  border-top: 1px solid var(--nex-borde);
}

.nex-cultura-firma strong {
  color: var(--nex-negro);
}

/* Responsive Tablet */
@media (max-width: 1024px) {
  .nex-cultura-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nex-cultura-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nex-cultura-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Mobile */
@media (max-width: 650px) {
  .nex-cultura-banner {
    aspect-ratio: 16/9;
    min-height: 220px;
  }
  .nex-cultura-banner-nav {
    gap: 6px;
    padding: 8px 12px;
  }
  .nex-cultura-banner-nav a {
    padding: 7px 12px;
    font-size: 11px;
  }
  .nex-cultura-subbanner {
    margin-top: 22px;
    margin-bottom: 20px;
  }
  .nex-cultura-subbanner-inner {
    justify-content: center;
  }
  .nex-cultura-social-corner {
    padding: 5px 12px;
    gap: 8px;
  }
  .nex-cultura-social-corner-links a {
    width: 28px;
    height: 28px;
  }
  .nex-cultura-social-corner-links svg {
    width: 13px;
    height: 13px;
  }
  .nex-cultura-section {
    padding: 40px 0 35px;
  }
  .nex-cultura-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .nex-cultura-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nex-cultura-section-head {
    gap: 12px;
    margin-bottom: 25px;
  }
  .nex-cultura-card {
    border-radius: 14px;
  }
  .nex-cultura-card h3 {
    font-size: 17px;
  }
  .nex-cultura-cintillo-footer {
    padding: 20px 16px;
  }
  .nex-cultura-cintillo-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }
  .nex-cultura-cintillo-info {
    justify-content: center;
  }
  .nex-cultura-cintillo-buttons {
    justify-content: center;
    width: 100%;
  }
  .nex-cultura-cintillo-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 12px;
  }
}


/* ==========================================================================
   NEXPANAMÁ CORE ENGINE — PÁGINA DE CONTACTO & SALA DE REDACCIÓN (V2.0)
   Arquitectura editorial de alto nivel, 100% responsive, dark mode nativo
   y microinteracciones fluidas. Autoría: NexPanamá.
   ========================================================================== */

.nxc-page {
  background-color: var(--bg-body, #F9FAFB);
  color: var(--text-primary, #111827);
  font-family: var(--font-body, 'Roboto', sans-serif);
  line-height: 1.6;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.nxc-wrap {
  width: 100%;
  max-width: var(--container-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

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

.nxc-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* Badges */
.nxc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(208, 33, 39, 0.14);
  border: 1px solid rgba(208, 33, 39, 0.35);
  color: #FFA3A6;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.nxc-badge i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D02127;
  box-shadow: 0 0 10px #D02127;
  animation: nxc-pulse 2s infinite ease-in-out;
}

.nxc-badge--soft {
  background: rgba(208, 33, 39, 0.08);
  border-color: rgba(208, 33, 39, 0.2);
  color: var(--nex-red, #D02127);
}

@keyframes nxc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero */
.nxc-hero {
  position: relative;
  background: linear-gradient(135deg, #001321 0%, #00223b 50%, #002b4d 100%);
  color: #FFFFFF;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nxc-hero.has-channels {
  padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
}

.nxc-hero.has-image {
  background: linear-gradient(rgba(0, 19, 33, 0.88), rgba(0, 43, 77, 0.92)), var(--nxc-hero-img) center/cover no-repeat;
}

.nxc-hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 400px;
  background: radial-gradient(circle, rgba(208, 33, 39, 0.25) 0%, rgba(0, 19, 33, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
}

.nxc-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nxc-hero__title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 1rem;
  max-width: 900px;
}

.nxc-hero__desc {
  color: #D1D5DB;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Canales Rápidos */
.nxc-channels {
  position: relative;
  z-index: 10;
}

.nxc-channels.is-overlap {
  margin-top: -2.5rem;
}

.nxc-channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.nxc-channel {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: var(--radius-lg, 20px);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--text-primary, #111827);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nxc-channel:hover {
  transform: translateY(-4px);
  border-color: rgba(208, 33, 39, 0.4);
  box-shadow: 0 16px 36px -6px rgba(208, 33, 39, 0.14);
}

.nxc-channel__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nxc-channel__icon .nxc-ico {
  width: 28px;
  height: 28px;
  display: block;
}

.nxc-channel:hover .nxc-channel__icon {
  transform: scale(1.08);
}

.nxc-channel--wa .nxc-channel__icon {
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 4px 14px -3px rgba(37, 211, 102, 0.25);
  color: #25D366;
}

.nxc-channel--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, 0.18);
}

.nxc-channel--wa:hover .nxc-channel__icon {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
}

.nxc-channel--phone .nxc-channel__icon {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284C7;
}

.nxc-channel--phone:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px -6px rgba(2, 132, 199, 0.18);
}

.nxc-channel--phone:hover .nxc-channel__icon {
  background: rgba(2, 132, 199, 0.2);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.35);
}

.nxc-channel--mail .nxc-channel__icon {
  background: rgba(208, 33, 39, 0.12);
  border: 1px solid rgba(208, 33, 39, 0.25);
  color: #D02127;
}

.nxc-channel--mail:hover {
  border-color: rgba(208, 33, 39, 0.45);
  box-shadow: 0 16px 36px -6px rgba(208, 33, 39, 0.18);
}

.nxc-channel--mail:hover .nxc-channel__icon {
  background: rgba(208, 33, 39, 0.2);
  border-color: rgba(208, 33, 39, 0.45);
  box-shadow: 0 8px 24px -4px rgba(208, 33, 39, 0.35);
}

.nxc-channel__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.nxc-channel__body strong {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
}

.nxc-channel__body small {
  font-size: 0.85rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.4;
}

.nxc-channel__body em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--nex-red, #D02127);
  margin-top: 2px;
}

.nxc-channel__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nxc-channel__cta .nxc-ico {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.nxc-channel--wa .nxc-channel__cta {
  color: #15803D;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.nxc-channel--wa:hover .nxc-channel__cta {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.nxc-channel--phone .nxc-channel__cta {
  color: #0369A1;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.nxc-channel--phone:hover .nxc-channel__cta {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.nxc-channel--mail .nxc-channel__cta {
  color: #B91C1C;
  background: rgba(208, 33, 39, 0.1);
  border: 1px solid rgba(208, 33, 39, 0.25);
}

.nxc-channel--mail:hover .nxc-channel__cta {
  background: #D02127;
  color: #FFFFFF;
  border-color: #D02127;
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.4);
}

.nxc-channel:hover .nxc-channel__cta .nxc-ico {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .nxc-channels__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .nxc-channel {
    padding: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .nxc-channel__body {
    flex: 1 1 calc(100% - 68px);
  }
  .nxc-channel__cta {
    margin-left: auto;
    margin-top: 0.25rem;
  }
}

/* Tarjetas Generales */
.nxc-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 24px;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.04);
}

/* Grilla Principal (Formulario + Sede) */
.nxc-main {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.nxc-main__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

@media (max-width: 960px) {
  .nxc-main__grid {
    grid-template-columns: 1fr;
  }
}

/* Formulario Card */
.nxc-form-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.nxc-form-card__head {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color, #E5E7EB);
  padding-bottom: 1.5rem;
}

.nxc-form-card__head h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
  margin: 0 0 0.5rem;
}

.nxc-form-card__head p {
  color: var(--text-secondary, #4B5563);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.55;
}

/* Feedback */
.nxc-feedback {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.nxc-feedback.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid #10B981;
  color: #065F46;
}

.nxc-feedback.is-error {
  background: rgba(208, 33, 39, 0.1);
  border: 1px solid #D02127;
  color: #991B1B;
}

/* Inputs & Rows */
.nxc-hp {
  display: none !important;
  visibility: hidden !important;
}

.nxc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .nxc-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.nxc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 1.25rem;
}

.nxc-field label {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary, #111827);
}

.nxc-req {
  color: #D02127;
  font-weight: 700;
}

.nxc-field input[type="text"],
.nxc-field input[type="email"],
.nxc-field input[type="tel"],
.nxc-field input[type="number"],
.nxc-field select,
.nxc-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 12px;
  background: var(--bg-surface-alt, #F9FAFB);
  color: var(--text-primary, #111827);
  font-family: var(--font-body, 'Roboto', sans-serif);
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.nxc-field input:focus,
.nxc-field select:focus,
.nxc-field textarea:focus {
  outline: none;
  background: var(--bg-surface, #FFFFFF);
  border-color: #D02127;
  box-shadow: 0 0 0 3px rgba(208, 33, 39, 0.15);
}

.nxc-field select {
  cursor: pointer;
}

.nxc-field textarea {
  resize: vertical;
  min-height: 130px;
}

.nxc-field--check {
  background: rgba(208, 33, 39, 0.03);
  border: 1px solid rgba(208, 33, 39, 0.22);
  border-left: 4px solid #D02127;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.nxc-math-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 10px;
}

.nxc-math-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D02127;
}

.nxc-math-badge .nxc-ico-sm {
  width: 17px;
  height: 17px;
}

.nxc-math-indicator {
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  transition: opacity 0.2s ease;
}

.nxc-math-indicator.is-ok {
  color: #059669;
  font-weight: 700;
}

.nxc-math-equation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nxc-math-prompt {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary, #111827);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nxc-math-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #D1D5DB);
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-primary, #111827);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nxc-math-op {
  font-weight: 700;
  color: #D02127;
  font-size: 1.3rem;
  margin: 0 2px;
}

.nxc-math-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.nxc-math-input-wrap input {
  width: 100%;
  padding-right: 36px;
}

.nxc-math-tick {
  position: absolute;
  right: 12px;
  font-weight: 800;
  color: #059669;
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nxc-math-input-wrap.is-valid .nxc-math-tick {
  opacity: 1;
  transform: scale(1);
}

.nxc-math-input-wrap.is-valid input {
  border-color: #059669 !important;
  background: rgba(16, 185, 129, 0.04) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.nxc-math-input-wrap.is-error input {
  border-color: #D02127 !important;
  background: rgba(208, 33, 39, 0.04) !important;
  box-shadow: 0 0 0 3px rgba(208, 33, 39, 0.15) !important;
}

.nxc-math-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary, #6B7280);
  margin: 0.65rem 0 0;
  line-height: 1.45;
}

/* Consent */
.nxc-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.45;
  cursor: pointer;
}

.nxc-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #D02127;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}

.nxc-consent a {
  color: #D02127;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.nxc-consent a:hover {
  color: #B81B21;
}

/* Submit */
.nxc-submit {
  width: 100%;
  background: #D02127;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 15px 28px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px -4px rgba(208, 33, 39, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nxc-submit:hover:not(:disabled) {
  background: #B81B21;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(208, 33, 39, 0.5);
}

.nxc-submit:active:not(:disabled) {
  transform: translateY(0);
}

.nxc-submit:disabled,
.nxc-submit.is-busy {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.nxc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #9CA3AF);
  text-align: center;
  line-height: 1.4;
}

.nxc-trust .nxc-ico {
  color: #10B981;
}

/* Sidebar / Sede */
.nxc-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nxc-info {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.nxc-info h3 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #D02127;
}

.nxc-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.nxc-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.nxc-info__ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(208, 33, 39, 0.08);
  color: #D02127;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.nxc-info__list strong {
  display: block;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
  margin-bottom: 2px;
}

.nxc-info__list span {
  font-size: 0.9rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.5;
}

.nxc-info__list a {
  color: var(--text-primary, #111827);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nxc-info__list a:hover {
  color: #D02127;
}

/* Frecuencias */
.nxc-freq {
  background: linear-gradient(135deg, #001321 0%, #00223b 100%);
  color: #FFFFFF;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nxc-freq h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FFD845;
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nxc-freq h3 .nxc-ico {
  color: #FFD845;
}

.nxc-freq ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nxc-freq li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.nxc-freq li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nxc-freq li span {
  color: #D1D5DB;
}

.nxc-freq li strong {
  font-family: var(--font-display, 'Oswald', sans-serif);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Sección Mapa */
.nxc-map {
  margin-top: 1rem;
}

.nxc-map__card {
  overflow: hidden;
}

.nxc-map__head {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border-color, #E5E7EB);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nxc-map__head h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
  margin: 0 0 0.5rem;
}

.nxc-map__head p {
  color: var(--text-secondary, #4B5563);
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}

.nxc-btn-dark {
  background: #001321;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 22px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 19, 33, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nxc-btn-dark:hover {
  background: #D02127;
  border-color: #D02127;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(208, 33, 39, 0.35);
  color: #FFFFFF;
}

.nxc-map__frame {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vh, 460px);
  background: #0F172A;
}

.nxc-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Rutas / Transporte */
.nxc-routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-surface-alt, #F9FAFB);
  border-top: 1px solid var(--border-color, #E5E7EB);
}

.nxc-route {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nxc-route__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E5E7EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nxc-route strong {
  display: block;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary, #111827);
  margin-bottom: 2px;
}

.nxc-route span {
  font-size: 0.85rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.4;
}

/* ==========================================================================
   MODO OSCURO NATIVO [data-theme="dark"]
   ========================================================================== */
[data-theme="dark"] .nxc-page {
  background-color: var(--bg-body, #0B0D0F);
}

[data-theme="dark"] .nxc-channel,
[data-theme="dark"] .nxc-card {
  background: var(--card-bg, #13161A);
  border-color: var(--border-color, #232830);
  box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .nxc-channel:hover {
  border-color: rgba(208, 33, 39, 0.5);
  box-shadow: 0 14px 32px -4px rgba(208, 33, 39, 0.22);
}

[data-theme="dark"] .nxc-channel--wa:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 14px 32px -4px rgba(37, 211, 102, 0.25);
}

[data-theme="dark"] .nxc-channel--phone:hover {
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 14px 32px -4px rgba(2, 132, 199, 0.25);
}

[data-theme="dark"] .nxc-channel--mail:hover {
  border-color: rgba(208, 33, 39, 0.5);
  box-shadow: 0 14px 32px -4px rgba(208, 33, 39, 0.25);
}

[data-theme="dark"] .nxc-channel--wa .nxc-channel__cta {
  color: #4ADE80;
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.35);
}

[data-theme="dark"] .nxc-channel--wa:hover .nxc-channel__cta {
  background: #25D366;
  color: #0B0D0F;
  border-color: #25D366;
}

[data-theme="dark"] .nxc-channel--phone .nxc-channel__cta {
  color: #38BDF8;
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] .nxc-channel--phone:hover .nxc-channel__cta {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

[data-theme="dark"] .nxc-channel--mail .nxc-channel__cta {
  color: #F87171;
  background: rgba(208, 33, 39, 0.14);
  border-color: rgba(208, 33, 39, 0.35);
}

[data-theme="dark"] .nxc-channel--mail:hover .nxc-channel__cta {
  background: #D02127;
  color: #FFFFFF;
  border-color: #D02127;
}

[data-theme="dark"] .nxc-field input[type="text"],
[data-theme="dark"] .nxc-field input[type="email"],
[data-theme="dark"] .nxc-field input[type="tel"],
[data-theme="dark"] .nxc-field input[type="number"],
[data-theme="dark"] .nxc-field select,
[data-theme="dark"] .nxc-field textarea {
  background: #181C22;
  border-color: #2D333D;
  color: #F3F4F6;
}

[data-theme="dark"] .nxc-field input:focus,
[data-theme="dark"] .nxc-field select:focus,
[data-theme="dark"] .nxc-field textarea:focus {
  background: #1C2128;
  border-color: #D02127;
}

[data-theme="dark"] .nxc-field--check {
  background: rgba(208, 33, 39, 0.06);
  border-color: rgba(208, 33, 39, 0.35);
}

[data-theme="dark"] .nxc-routes {
  background: #0E1013;
  border-top-color: #232830;
}

[data-theme="dark"] .nxc-route__ico {
  background: #181C22;
  border-color: #2D333D;
}

[data-theme="dark"] .nxc-feedback.is-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border-color: #059669;
}

[data-theme="dark"] .nxc-feedback.is-error {
  background: rgba(208, 33, 39, 0.18);
  color: #FCA5A5;
  border-color: #DC2626;
}

/* ==========================================
   CARGA HÍBRIDA DE NOTICIAS EN CATEGORÍAS (2026 NATIVE)
   ========================================== */
.cat-hybrid-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
  width: 100%;
}

.cat-infinite-spinner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  animation: nexFadeIn 0.3s ease-out;
}

.nex-hybrid-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(208, 33, 39, 0.2);
  border-top-color: var(--nex-red);
  border-radius: 50%;
  animation: nexSpin 0.7s linear infinite;
}

@keyframes nexSpin {
  to {
    transform: rotate(360deg);
  }
}

.cat-btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--card-shadow);
}

.cat-btn-load-more:hover {
  background: var(--nex-red);
  color: #FFFFFF;
  border-color: var(--nex-red);
  box-shadow: 0 6px 20px -2px rgba(208, 33, 39, 0.25);
  transform: translateY(-2px);
}

.cat-btn-load-more svg {
  transition: transform var(--transition-fast);
}

.cat-btn-load-more:hover svg {
  transform: translateY(2px);
}

.cat-btn-load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.cat-stream-end-msg {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
  width: 100%;
}

.cat-stream-end-msg::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--border-color);
  margin: 0 auto 0.75rem;
}

.nex-fade-in {
  animation: nexFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nexFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   SUITE CREATIVA DE NOTICIAS EN VIVO (2026 LUXURY)
   Bento Hub, Timeline Minuto a Minuto, Grid 2.0 y Botón Cargar Más
   ========================================== */

/* 1. Mosaico Bento Editorial */
.live-bento-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.live-bento-lead {
  background-color: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth, 0.3s ease), box-shadow var(--transition-smooth, 0.3s ease), border-color var(--transition-fast, 0.2s ease);
}

.live-bento-lead:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  border-color: var(--nex-red, #D02127);
}

.live-bento-lead-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  display: block;
  background-color: var(--bg-surface-alt, #F1F5F9);
}

.live-bento-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-bento-lead:hover .live-bento-lead-thumb img {
  transform: scale(1.05);
}

.live-breaking-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(208, 33, 39, 0.95);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(208, 33, 39, 0.4);
}

.live-bento-lead-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.live-bento-lead-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.live-bento-time {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.live-bento-lead-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.live-bento-lead-title a {
  color: var(--text-main, #0F172A);
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}

.live-bento-lead-title a:hover {
  color: var(--nex-red, #D02127);
}

.live-bento-lead-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary, #475569);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex: 1;
}

.live-bento-lead-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nex-red, #D02127);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: gap var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
}

.live-bento-lead-btn:hover {
  gap: 10px;
  color: #B91C1C;
}

.live-bento-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* 2. Timeline Minuto a Minuto (TV Live Feed) */
.live-timeline-wrap {
  position: relative;
  padding: 1rem 0 1.5rem;
  margin-bottom: 2rem;
}

.live-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.live-timeline-items::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 95px;
  width: 2px;
  background: linear-gradient(180deg, var(--nex-red, #D02127) 0%, var(--border-color, #E2E8F0) 70%, transparent 100%);
  z-index: 1;
}

.live-timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.live-timeline-marker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 12px;
}

.live-timeline-time {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main, #0F172A);
  letter-spacing: 0.02em;
}

.live-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-surface, #FFFFFF);
  border: 3px solid var(--border-color, #CBD5E1);
  box-shadow: 0 0 0 3px var(--bg-body, #F8FAFC);
  transition: all var(--transition-fast, 0.2s ease);
  flex-shrink: 0;
}

.live-timeline-dot.is-live {
  border-color: var(--nex-red, #D02127);
  background: var(--nex-red, #D02127);
  box-shadow: 0 0 0 4px rgba(208, 33, 39, 0.2);
  animation: toast-ping 1.8s infinite;
}

.live-timeline-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-smooth, 0.3s ease), box-shadow var(--transition-smooth, 0.3s ease), border-color var(--transition-fast, 0.2s ease);
}

.live-timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  border-color: var(--nex-red, #D02127);
}

.live-timeline-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background-color: var(--bg-surface-alt, #F1F5F9);
}

.live-timeline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.live-timeline-card:hover .live-timeline-thumb img {
  transform: scale(1.06);
}

.live-timeline-content {
  display: flex;
  flex-direction: column;
}

.live-timeline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.4rem;
}

.live-timeline-reltime {
  font-size: 0.75rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.live-timeline-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}

.live-timeline-title a {
  color: var(--text-main, #0F172A);
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s ease);
}

.live-timeline-title a:hover {
  color: var(--nex-red, #D02127);
}

.live-timeline-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary, #475569);
  line-height: 1.5;
  margin: 0;
}

/* 3. Módulo Botón Cargar Más en Vivo */
.envivo-news-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
  width: 100%;
}

.envivo-btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.4rem;
  background: var(--bg-surface, #FFFFFF);
  color: var(--text-main, #0F172A);
  border: 1.5px solid var(--border-color, #CBD5E1);
  border-radius: 30px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.envivo-btn-load-more:hover {
  background: var(--nex-red, #D02127);
  color: #FFFFFF;
  border-color: var(--nex-red, #D02127);
  box-shadow: 0 6px 22px rgba(208, 33, 39, 0.28);
  transform: translateY(-2px);
}

.envivo-btn-load-more svg {
  transition: transform var(--transition-fast, 0.2s ease);
}

.envivo-btn-load-more:hover svg {
  transform: translateY(2px);
}

.envivo-btn-load-more.loading {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
  background: var(--bg-surface-alt, #F1F5F9);
}

.envivo-news-end-msg {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted, #64748B);
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
}

.envivo-news-end-msg::before {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--border-color, #E2E8F0);
  margin: 0 auto 0.75rem;
}

/* 4. Responsive para Suite Creativa */
@media (max-width: 991px) {
  .live-bento-wrap {
    grid-template-columns: 1fr;
  }
  .live-timeline-items::before {
    left: 80px;
  }
  .live-timeline-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }
  .live-timeline-card {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 640px) {
  .live-bento-subgrid {
    grid-template-columns: 1fr;
  }
  .live-timeline-items::before {
    display: none;
  }
  .live-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .live-timeline-marker {
    justify-content: flex-start;
    padding-top: 0;
  }
  .live-timeline-card {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   SECCIÓN OFICIAL: TRANSMISIÓN EN VIVO (HLS LIVE BROADCAST)
   ======================================================== */
.page-envivo-hero {
  background: linear-gradient(135deg, #0C0E10 0%, #161B22 55%, #1C1014 100%);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.page-envivo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--nex-red, #D02127), transparent);
}

.live-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.live-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nex-red, #D02127);
  color: #FFF;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full, 999px);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(208, 33, 39, 0.4);
}

.live-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 50%;
  animation: toast-ping 1.5s infinite;
}

.live-hero-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.btn-live-epg {
  background: var(--nex-red, #D02127);
  color: #FFF;
  padding: 8px 18px;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.35);
}

.btn-live-epg:hover {
  background: #E52E34;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(208, 33, 39, 0.5);
}

/* Grid Principal del Reproductor y Barra Lateral */
.live-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.live-player-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 widescreen */
  background: #000;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-bottom: none;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.live-player-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-custom-embed-wrapper,
.pip-custom-embed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.live-custom-embed-wrapper iframe,
.live-custom-embed-wrapper video,
.live-custom-embed-wrapper embed,
.pip-custom-embed-wrapper iframe,
.pip-custom-embed-wrapper video,
.pip-custom-embed-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* Barra de Controles Inferior del Stream */
.live-stream-ctrl-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.75rem 1.25rem;
  gap: 0.75rem;
  box-shadow: var(--card-shadow);
}

.live-stream-badge-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.live-stream-quality {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10B981;
  font-weight: 700;
  font-family: var(--font-display, 'Oswald', sans-serif);
  letter-spacing: 0.04em;
}

.live-stream-quality-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-live 1.8s infinite;
}

.live-stream-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-live-ctrl {
  background: var(--bg-surface-alt, #F1F5F9);
  border: 1px solid var(--border-color, #CBD5E1);
  color: var(--text-main, #0F172A);
  padding: 6px 14px;
  min-height: 34px;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

.btn-live-ctrl .live-icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-live-ctrl:hover {
  background: var(--border-color);
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-live-ctrl.primary {
  background: var(--nex-red, #D02127);
  border-color: var(--nex-red, #D02127);
  color: #FFF;
}

.btn-live-ctrl.primary:hover {
  background: #E52E34;
  color: #FFF;
  border-color: #E52E34;
}

/* Tarjeta Programa al Aire */
.live-current-program-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--card-shadow);
}

.live-now-badge {
  color: var(--nex-red, #D02127);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.live-now-dot {
  width: 8px;
  height: 8px;
  background: var(--nex-red, #D02127);
  border-radius: 50%;
  display: inline-block;
  animation: toast-ping 1.5s infinite;
}

.live-now-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-main);
  line-height: 1.2;
}

.live-now-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.btn-wa-prensa {
  background: #25D366;
  color: #FFF;
  padding: 9px 18px;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-wa-prensa:hover {
  background: #20BA5A;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Sidebar de Frecuencias */
.live-sidebar-box {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.live-sidebar-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.03em;
}

.live-freq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.live-freq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 6px;
}

.live-freq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Responsive Móvil para Pantalla EN VIVO */
@media (max-width: 991px) {
  .live-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page-envivo-hero {
    padding: 1.5rem 0 1.25rem;
  }
  .live-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .btn-live-epg {
    width: 100%;
    justify-content: center;
  }
  .live-stream-ctrl-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem;
  }
  .live-stream-badge-info {
    justify-content: space-between;
    width: 100%;
  }
  .live-stream-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    gap: 6px;
  }
  .btn-live-ctrl {
    justify-content: center;
    padding: 7px 4px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .live-current-program-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .btn-wa-prensa {
    width: 100%;
  }
}

/* ==========================================
   ESTILOS EDITORIALES PARA COMENTARIOS & PAGINACIÓN (THEMEFOREST 2026)
   ========================================== */
.page-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.page-links .page-links-title {
  color: var(--text-primary);
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.page-links a,
.page-links .post-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.page-links a:hover {
  background: var(--nex-red);
  color: #FFF;
  border-color: var(--nex-red);
}

.page-links .post-page-numbers.current {
  background: var(--nex-red);
  color: #FFF;
  border-color: var(--nex-red);
}

/* Área de Comentarios */
.comments-area {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border-color);
}

.comments-header {
  margin-bottom: 2rem;
}

.comments-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comments-title-bar {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--nex-red);
  border-radius: 2px;
}

.comments-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.comments-title span {
  color: var(--nex-red);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin: 1.25rem 0 0;
  border-left: 2px solid var(--border-color);
}

.comment-body {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast);
}

.comment-body:hover {
  border-color: var(--border-hover);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.comment-author .avatar {
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

.comment-metadata {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.comment-metadata a {
  color: inherit;
}

.comment-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.reply {
  margin-top: 0.75rem;
  text-align: right;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.comment-reply-link:hover {
  background: var(--nex-red);
  color: #FFF;
  border-color: var(--nex-red);
}

/* Formulario de Comentarios */
.comment-respond {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  margin-top: 2rem;
}

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.comment-notes,
.logged-in-as {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.comment-form p {
  margin-bottom: 1.25rem;
}

.comment-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--nex-red);
  box-shadow: 0 0 0 3px var(--nex-red-glow);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-form-cookies-consent input {
  width: auto;
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: none;
  color: var(--text-secondary);
}

.submit-btn-comment,
.form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--nex-red);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(208, 33, 39, 0.25);
}

.submit-btn-comment:hover,
.form-submit .submit:hover {
  background: var(--nex-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(208, 33, 39, 0.35);
}

.no-comments {
  padding: 1.5rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================
   26. MÓDULO CIERRE EDITORIAL: PANORAMA 3 COLUMNAS & MÁS NOTICIAS
   Arquitectura por NexPanamá
   ========================================== */
.nex-panorama-section {
  margin-top: 3.5rem;
  margin-bottom: 3.25rem;
}

.panorama-section-header {
  margin-bottom: 1.6rem;
}

.panorama-section-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0;
  font-weight: 400;
}

.panorama-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.panorama-col-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--panorama-accent, var(--nex-red));
  border-radius: var(--radius-lg, 16px);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.panorama-col-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.panorama-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.panorama-col-title-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.panorama-col-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--panorama-accent, var(--nex-red));
  box-shadow: 0 0 0 3px rgba(208, 33, 39, 0.12);
  flex-shrink: 0;
}

.panorama-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panorama-col-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.panorama-col-title a:hover {
  color: var(--panorama-accent, var(--nex-red));
}

.panorama-col-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.panorama-col-more:hover {
  color: var(--panorama-accent, var(--nex-red));
  transform: translateX(2px);
}

/* Noticia Principal de Columna (Lead) */
.panorama-lead {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px dashed var(--border-color);
}

.panorama-lead-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: #0F172A;
  margin-bottom: 0.85rem;
}

.panorama-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.panorama-lead:hover .panorama-lead-thumb img {
  transform: scale(1.04);
}

.panorama-cat-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  background: var(--panorama-accent, var(--nex-red));
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm, 6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.panorama-lead-title {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 0.45rem;
}

.panorama-lead-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.panorama-lead-title a:hover {
  color: var(--panorama-accent, var(--nex-red));
}

.panorama-lead-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panorama-item-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sub-lista de 3 titulares compactos por columna */
.panorama-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.panorama-sub-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.panorama-sub-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.panorama-sub-thumb {
  display: block;
  width: 74px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #0F172A;
  flex-shrink: 0;
}

.panorama-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.panorama-sub-item:hover .panorama-sub-thumb img {
  transform: scale(1.07);
}

.panorama-sub-content {
  min-width: 0;
}

.panorama-sub-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.34;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panorama-sub-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.panorama-sub-title a:hover {
  color: var(--panorama-accent, var(--nex-red));
}

.panorama-sub-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.panorama-sub-cat {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--panorama-accent, var(--nex-red));
  letter-spacing: 0.03em;
}

/* Sección Más Noticias del Día (Flujo Inferior + AJAX) */
.nex-more-news-section {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-color);
}

.home-more-news-loader-wrap {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1080px) {
  .panorama-3col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panorama-col-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 768px) {
  .panorama-3col-grid {
    grid-template-columns: 1fr;
  }
  .panorama-col-card:nth-child(3) {
    grid-column: auto;
  }
  .panorama-col-card {
    padding: 1.15rem;
  }
  .nex-panorama-section {
    margin-top: 2.5rem;
    margin-bottom: 2.25rem;
  }
  .nex-more-news-section {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }
}

/* ==========================================
   OCULTACIÓN MARCA BLANCA DEL MOTOR DE TRADUCCIÓN (ES / EN)
   Sin barras flotantes externas ni desplazamiento de cabecera
   ========================================== */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
#goog-gt-vt,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

#nex-gt-mount,
.goog-te-gadget,
.skiptranslate:not(.goog-te-banner-frame) {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight,
font[ style ] {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
