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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f3ef;
}

header {
    background-color: #fff;
    padding: 0px;
    text-align: center;
    height: 170px;
}

.header_contenido {
	display: flex;
	justify-content: center;
}

.contenido {
    display: flex;
    justify-content: center;
    width: 100%;
}

footer {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: white;
    text-align: left;
    padding-top: 20px;
    font-size: 12px;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #ff0000;
    width: 0%;
    z-index: 1001;
}

/* --- MEJORAS DE SCROLL --- */
html {
    scroll-behavior: smooth; /* Movimiento suave al hacer clic en enlaces o subir */
}

#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ff0000;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    font-size: 20px;
    cursor: pointer;
    display: none; /* Tu JS de webapp.js se encarga de mostrarlo */
    transition: transform 0.3s; /* Efecto al pasar el mouse */
}

#scroll-to-top:hover {
    transform: translateY(-5px);
    background-color: #000;
}

/* --- RESTAURACIÓN EXACTA DE LA BARRA SUPERIOR --- */
.nav-contenido {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

nav {
    background-color: #000;
    width: 1300px;
    margin: 0 auto;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

/* Barra pegajosa original (compatible con webapp.js) */
.sticky-nav {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: #ccc 2px solid;
    color: #000;
    padding: 10px;
    transition: top 0.3s;
    z-index: 1000;
}

.sticky-nav ul {
    list-style-type: none;
    text-align: center;
}

.sticky-nav ul li {
    display: inline;
    margin: 0 10px;
}

.sticky-nav a {
    color: #000;
    text-decoration: none;
}

/* --- MENÚ PRINCIPAL CENTRADO (Como en tu captura) --- */
.menu {
    background-color: #fff;
 
    overflow: hidden;
    font-size: 14px;
    text-align: center; /* Asegura el centrado general */
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block; /* Permite que el bloque entero se centre */
}

.menu ul li {
    float: left; /* Flota los elementos dentro del bloque centrado */
    position: relative;
}

.menu ul li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu ul li a:hover {
    border: 1px solid #ccc;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
}

.submenu li {
    float: none;
}

.submenu li a {
    padding: 12px 16px;
}

.menu ul li:hover .submenu {
    display: block;
    animation: slide-down 0.5s ease-in-out;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* --- MENÚ LATERAL OFFCANVAS --- */
/* Limpiamos estilos conflictivos para que Bootstrap lo controle fluido */
.side-menu {
    background-color: #111 !important;
}

.side-menu a {
    padding: 15px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #222; /* Separador sutil */
}

.side-menu a:hover {
    color: #f1f1f1;
    background-color: #222;
}

@media screen and (max-width: 1100px) {
    .sticky-nav nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

.tira {
	width:100%;
	padding:10px 20px;
	color:#fff;
	font-size:22px;
	text-decoration:none;
	position:relative;
	top:5px;
	text-transform:uppercase;
	font-family: Roboto, sans-serif; 
}  
 

/* Contenedor principal */
.encabezado-seccion {
  display: flex;
  justify-content: space-between; /* Separa el título a la izquierda y el enlace a la derecha */
  align-items: baseline; /* Alinea ambos textos perfectamente por su base inferior */
  
  /* La línea superior negra (reemplaza al div linea-seccion) */
  border-top: 4px solid #111111; 
  
  /* Espaciado y fondo */
  padding-top: 15px; 
  padding-bottom: 15px;
  background-color: #f7f6f2; /* Color de fondo beige/grisáceo similar al de la imagen */
  
  /* Márgenes opcionales para encajar en tu diseño */
  margin: 20px 0;
  padding-left: 10px;
  padding-right: 10px;
}

/* Estilos del Título (Izquierda) */
.titulo-seccion {
  font-family: 'Georgia', 'Times New Roman', serif; /* Fuente con serifa (palitos) */
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin: 0; /* Resetea el margen automático de la etiqueta h2 */
}

/* Estilos del Enlace (Derecha) */
.enlace-seccion {
  font-family: 'Arial', sans-serif; /* Fuente sin serifa */
  font-size: 0.9rem;
  font-weight: 800;
  color: #cc0000; /* Color rojo */
  text-transform: uppercase; /* Convierte todo el texto a MAYÚSCULAS */
  text-decoration: none; /* Quita la línea de subrayado típica de los enlaces */
  letter-spacing: 0.5px; /* Un poco de separación entre letras para mejor lectura */
}

/* Efecto al pasar el cursor (Opcional) */
.enlace-seccion:hover {
  text-decoration: underline;
  color: #990000;
}

/* Variables base necesarias */
:root {
  --red: #e30613;
}

/* Estilos de la Marquesina */
.top {
  height: 34px;
  background: #090909;
  color: white;
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-family: Arial, Helvetica, sans-serif;
}
.top span {
  color: var(--red);
}

/* Variables necesarias para la tira */
:root {
  --line: #ddd;
  --red: #e30613;
}

/* Estilos generales y versión móvil */
.utility-bar {
  /*background: #fff;   */
  border-bottom: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
}
.utility-inner {
  max-width: 1180px;
  margin: auto;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.utility-item {
  min-height: 58px;
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: .18s;
  text-decoration: none;
  color: #151515;
}
.utility-item:hover {
  border-color: #111;
  transform: translateY(-1px);
}
.utility-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 950;
}
.utility-item strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.utility-item small {
  display: block;
  color: #666;
  font-weight: 700;
  line-height: 1.25;
}
.utility-item.alert .utility-icon { background: var(--red); }
.utility-item.finance .utility-icon { background: #1f6f43; }
.utility-mobile-label { display: none; }

.utility-updated {
  max-width: 1180px;
  margin: auto;
  padding: 0 16px 8px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}
.utility-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f8b4c;
  margin-right: 5px;
}

/* Estilos versión de escritorio (oculta el ícono y añade el borde rojo) */
@media(min-width: 621px) {
  .utility-inner { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 10px !important; }
  .utility-item { position: relative !important; min-height: 82px !important; height: 82px !important; padding: 15px 16px 13px !important; display: block !important; background: #fff !important; border: 1px solid #e1e1e1 !important; box-shadow: none !important; overflow: hidden !important; }
  .utility-item::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 3px; background: var(--red); }
  .utility-item.finance::before { background: #1f6f43; }
  .utility-icon { display: none !important; }
  .utility-item > div:last-child { display: block !important; }
  .utility-item strong { display: block !important; margin: 7px 0 7px !important; font-size: 11px !important; line-height: 1 !important; text-transform: uppercase !important; letter-spacing: .55px !important; color: #777 !important; font-weight: 900 !important; }
  .utility-item small { display: block !important; margin: 0 !important; min-height: 0 !important; font-size: 14px !important; line-height: 1.25 !important; color: #111 !important; font-weight: 900 !important; }
  .utility-item:hover { transform: translateY(-1px) !important; border-color: #bdbdbd !important; box-shadow: 0 5px 16px rgba(0,0,0,.05) !important; }
}

/* Variables base */
:root {
  --red: #e30613;
  --line: #ddd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

/* Contenedor principal */
.section {
  margin-top: 30px;
  font-family: var(--sans);
  color: #111;
}

/* Cabecera (Título y bajada) */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid #111;
  padding-top: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 14px;
}

.section-head span {
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
}

/* Panel contenedor principal */
.service-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

/* Grilla para alinear las tarjetas */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Diseño individual de las Tarjetas */
.service-card {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 17px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .18s;
}

.service-card:hover {
  border-color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #0000000d;
}

.service-card .eyebrow {
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: .5px;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  margin: 8px 0;
}

.service-card p {
  margin: 0;
  color: #666;
  font-weight: 700;
  line-height: 1.4;
}

/* Meta-datos de la parte inferior de la tarjeta */
.service-card .service-meta {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

/* ========== RESPONSIVE (Móviles y Tablets) ========== */
@media(max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 620px) {
  .section-head {
    align-items: flex-end;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .section-head span {
    font-size: 9px;
  }
  .service-panel {
    padding: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
  }
}

#dollarHeaderValue {
    font-size: 10px !important;
    font-weight: 200;
    color: #111;
    text-transform: uppercase;
}

/* Cabecera y espaciado */
.media-section { margin-top: 30px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid #111;
  padding-top: 16px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  margin: 0 0 14px;
}
.section-head a {
  font-size: 12px;
  font-weight: 900;
  color: #e30613; /* var(--red) */
  text-transform: uppercase;
  text-decoration: none;
}

/* P24 PLAY: 4 videos visibles, una sola fila, deslizable */
.reels-shell {
  position: relative;
}

.instagram-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0 0 10px !important;
}

.instagram-frame {
  position: relative !important;
  flex: 0 0 calc((100% - 36px) / 4) !important;
  width: calc((100% - 36px) / 4) !important;
  min-width: 0 !important;
  height: 330px !important;
  min-height: 330px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #000 !important;
  border: 0 !important;
  scroll-snap-align: start;
}

/* Ajuste del iframe para ocultar el header/footer de Instagram y mostrar solo el video */
.instagram-frame iframe {
  position: absolute !important;
  width: 330px !important;
  height: 590px !important;
  max-width: none !important;
  left: 50% !important;
  top: 0 !important;
  transform: translateX(-50%) translateY(-78px) !important;
  border: 0 !important;
  pointer-events: auto !important; /* Modificado de none a auto para permitir play/pause */
  background: #000 !important;
}

/* Flechas de navegación */
.reels-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 16px #0004;
}
.reels-arrow.prev { left: -16px; }
.reels-arrow.next { right: -16px; }

/* Responsive para Tablets */
@media(max-width: 1100px) {
  .instagram-frame {
    flex-basis: calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3) !important;
  }
}

/* Responsive para Móviles Grandes */
@media(max-width: 900px) {
  .instagram-frame {
    flex-basis: calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
    height: 380px !important;
    min-height: 380px !important;
  }
  .instagram-frame iframe {
    width: 360px !important;
    height: 640px !important;
    transform: translateX(-50%) translateY(-82px) !important;
  }
}

/* Responsive para Celulares */
@media(max-width: 620px) {
  .instagram-grid {
    gap: 10px !important;
    padding-bottom: 8px !important;
  }
  .instagram-frame {
    flex: 0 0 82% !important;
    width: 82% !important;
    height: 420px !important;
    min-height: 420px !important;
  }
  .instagram-frame iframe {
    width: 390px !important;
    height: 690px !important;
    transform: translateX(-50%) translateY(-87px) !important;
  }
  .reels-arrow { display: none !important; } /* Se ocultan las flechas en móvil para usar touch */
}


/* Variables base necesarias */
:root {
  --red: #e30613;
  --line: #ddd;
  --serif: Georgia, 'Times New Roman', serif;
}

/* Grilla de Tarjetas */
.radio-stations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.station-card {
  appearance: none;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.station-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  border-color: #999;
}

/* Fondos y contenedores de Logos */
.station-logo-wrap {
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.station-logo-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.station-logo-wrap.urbana { background: #8d8d8d; }
.station-logo-wrap.now { background: #191919; }
.station-logo-wrap.now img { width: 76%; }
.station-logo-wrap.pop { background: #f00; }

/* Pie de la tarjeta */
.station-bottom {
  min-height: 58px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #333;
}

/* Animación del punto rojo "En vivo" */
.station-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .45px;
}

.station-live i, 
#radioPlayerStatus i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229,27,35,.5);
  animation: radioPulse 1.5s infinite;
}

.station-action { font-size: 11px; font-weight: 900; }

@keyframes radioPulse {
  0%   { box-shadow: 0 0 0 0 rgba(229,27,35,.48); }
  70%  { box-shadow: 0 0 0 7px rgba(229,27,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,27,35,0); }
}

/* =========================================
   REPRODUCTOR FLOTANTE EMERGENTE
   ========================================= */
.radio-player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%); /* Inicialmente oculto abajo */
  width: min(560px, calc(100vw - 28px));
  min-height: 76px;
  z-index: 5000;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 46px;
  gap: 13px;
  align-items: center;
  padding: 10px 50px 10px 10px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  box-shadow: 0 16px 42px rgba(0,0,0,.35);
  transition: transform .25s ease;
}

/* Clase que hace visible el reproductor */
.radio-player.open {
  transform: translate(-50%, 0);
}

.radio-player-logo {
  width: 58px;
  height: 58px;
  background: #222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-player-info { min-width: 0; }
.radio-player-info small { display: block; color: #999; font-size: 8px; font-weight: 900; letter-spacing: .45px; }
.radio-player-info strong { display: block; margin: 3px 0 5px; font-family: var(--serif); font-size: 20px; }

#radioPlayerStatus { display: flex; align-items: center; gap: 6px; color: #ccc; font-size: 9px; font-weight: 900; text-transform: uppercase; }

/* Botones del reproductor */
.radio-player-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
}

.radio-player-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 27px;
  height: 27px;
  border: 0;
  background: #292929;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media(max-width: 620px) {
  /* Scroll horizontal para las tarjetas en móvil */
  .radio-stations {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 7px;
  }
  .radio-stations::-webkit-scrollbar { display: none; }
  
  .station-card {
    flex: 0 0 78%;
    min-height: 175px;
    scroll-snap-align: start;
  }
  
  .station-logo-wrap { height: 125px; padding: 15px; }
  .station-bottom { min-height: 48px; padding: 10px 12px; }
  
  /* Ajuste del reproductor en móvil */
  .radio-player {
    bottom: 10px;
    min-height: 66px;
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    gap: 10px;
    padding: 8px 42px 8px 8px;
  }
  .radio-player-logo { width: 48px; height: 48px; }
  .radio-player-info strong { font-size: 17px; }
  .radio-player-toggle { width: 38px; height: 38px; }
}

/* =========================================
   PROGRAMA DEL DÍA (Transmisión / Espera)
   ========================================= */
.program-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  min-height: 310px;
  background: #111;
  color: #fff;
  overflow: hidden;
  border: 1px solid #252525;
  font-family: Arial, Helvetica, sans-serif;
}

.program-feature-visual {
  min-height: 310px;
  position: relative;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* El iframe del vivo debe ocupar todo el espacio visual */
.program-feature-visual iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.waiting-message {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e30613; /* var(--red) */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.program-feature-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-kicker {
  width: max-content;
  padding: 7px 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .45px;
  transition: background 0.3s ease;
}

.program-feature-copy h3 {
  margin: 13px 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 43px;
  line-height: .95;
}

.program-feature-copy p {
  margin: 0;
  max-width: 470px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.45;
}

.program-watch {
  width: max-content;
  margin-top: 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .45px;
  border-bottom: 1px solid #e30613;
  padding-bottom: 4px;
  text-decoration: none;
}

/* =========================================
   PLAYLIST INFERIOR (16:9 Responsive)
   ========================================= */
.youtube-playlist-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid #252525;
}

.youtube-playlist-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media(max-width: 900px) {
  .program-feature { grid-template-columns: 1fr; }
  .program-feature-visual { min-height: 260px; }
}

@media(max-width: 620px) {
  .program-feature { min-height: auto; }
  .program-feature-copy { padding: 20px; }
  .program-feature-copy h3 { font-size: 32px; }
}

/* =========================================
   CABECERA DE LA SECCIÓN
   ========================================= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid #111;
  padding-top: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: Georgia, 'Times New Roman', serif; /* var(--serif) */
  font-size: 28px;
  margin: 0 0 14px;
}

.section-head a {
  font-size: 12px;
  font-weight: 900;
  color: #e30613; /* var(--red) */
  text-transform: uppercase;
  text-decoration: none;
}

/* =========================================
   CONTENEDOR DE SPOTIFY
   ========================================= */
.spotify-embed-wrap {
  background: #151515;
  padding: 16px;
  border: 1px solid #292929;
}

.spotify-embed-wrap iframe {
  width: 100%;
  min-height: 352px;
  border: 0;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media(max-width: 620px) {
  .section-head {
    align-items: flex-end;
  }
  
  .section-head h2 {
    font-size: 27px;
  }
  
  .section-head a {
    font-size: 9px;
  }
}


/* Variables base necesarias */
:root {
  --line: #ddd;
  --red: #e30613;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

/* =========================================
   CONTENEDOR PRINCIPAL
   ========================================= */
.sponsored {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  font-family: var(--sans);
}

.sponsored h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 14px;
  color: #111;
}

/* =========================================
   ÍTEMS DE LA LISTA
   ========================================= */
.promo-note {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  text-decoration: none; /* Al ser enlace, quitamos el subrayado */
  color: #151515;
  transition: opacity 0.2s ease;
}

.promo-note:hover {
  opacity: 0.8;
}

/* Textos internos */
.promo-note b {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.promo-note span {
  display: block;
  font-size: 14px;
  color: #444;
}

/* =========================================
   CUADRADO ROJO "AD"
   ========================================= */
.promo-dot {
  width: 48px;
  height: 48px;
  flex: 0 0 48px; /* Evita que el cuadrado se deforme en pantallas chicas */
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media(max-width: 900px) {
  /* En móviles, este bloque ocupa el 100% del ancho disponible */
  .sponsored {
    grid-column: 1 / -1;
  }
}

/* =========================================
   FOOTER GLOBAL
   ========================================= */
.p24-global-footer {
  width: 100%;
  margin-top: 40px;
  padding: 0;
  background: #0b0b0b;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

/* Grilla principal de 3 columnas */
.p24-global-footer .footer-main-grid {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.05fr .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

/* Bloque Logo */
.p24-global-footer .footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p24-global-footer .footer-logo-image {
  display: block;
  width: 410px;
  height: auto;
}

.p24-global-footer .footer-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p24-global-footer .footer-multimedio {
  margin-top: 10px;
  color: #e30613; /* Rojo P24 */
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 7px;
}

/* Títulos de columnas */
.p24-global-footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
}

/* Estilos de los Enlaces */
.p24-global-footer a {
  display: block;
  margin: 0 0 10px;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease;
}

.p24-global-footer a:hover {
  color: #fff;
}

/* Estructura interna de 2 columnas para Secciones y Plataformas */
.footer-two-lists,
.p24-global-footer .footer-platform-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Línea divisoria vertical (Solo en Plataformas) */
.p24-global-footer .footer-platform-columns .footer-platform-list + .footer-platform-list {
  border-left: 1px solid #414141;
  padding-left: 30px;
}

/* Copyright inferior */
.p24-global-footer .footer-copyright {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 12px;
  text-align: center;
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media(max-width: 900px) {
  .p24-global-footer .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .p24-global-footer .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media(max-width: 620px) {
  .p24-global-footer {
    margin-top: 28px;
  }
  .p24-global-footer .footer-main-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 0 24px;
  }
  .p24-global-footer .footer-logo-image {
    width: 245px;
    height: 70px;
  }
  .p24-global-footer .footer-multimedio {
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: 5px;
  }
  .p24-global-footer h4 {
    margin-bottom: 13px;
    font-size: 17px;
  }
  .footer-two-lists,
  .p24-global-footer .footer-platform-columns {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .p24-global-footer .footer-platform-columns .footer-platform-list + .footer-platform-list {
    padding-left: 20px;
  }
  .p24-global-footer a {
    margin-bottom: 8px;
    font-size: 13px;
  }
  .p24-global-footer .footer-copyright {
    width: calc(100% - 32px);
    padding: 15px 0 20px;
    font-size: 9px;
    line-height: 1.4;
  }
}

/* =========================================
   WIDGET SOCIAL (Facebook)
   ========================================= */
.social-embed-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  margin-top: 30px;
  font-family: var(--sans);
}

/* Ajuste de la cabecera dentro de la caja blanca */
.social-embed-box .section-head {
  border-top: 0; /* Quitamos el borde superior grueso para que luzca interno */
  padding-top: 0;
  margin-bottom: 18px;
}

.social-embed-box .section-head h2 {
  font-size: 26px; /* Tamaño ligeramente más compacto */
}

/* Contenedor protector del Iframe */
.fb-iframe-container {
  display: flex;
  justify-content: center;
  background: #fafafa;
  min-height: 130px; /* Evita saltos en el diseño (Layout Shift) mientras Facebook carga */
  overflow: hidden;
}

/* =========================================
   RESPONSIVE (Móviles)
   ========================================= */
@media(max-width: 620px) {
  .social-embed-box {
    padding: 16px;
  }
  .social-embed-box .section-head h2 {
    font-size: 24px;
  }
}


/* =========================================
   WIDGET DEL CLIMA (Sidebar)
   ========================================= */
.weather-widget {
  background: #fff;
  border: 1px solid var(--line, #ddd);
  padding: 22px;
  font-family: var(--sans, Arial, Helvetica, sans-serif);
  width: 100%;
  max-width: 340px; /* Límite para el sidebar */
  box-sizing: border-box;
  margin-top: 30px;
}

/* Cabecera del widget */
.weather-header {
  text-align: left;
}

.weather-header h2 {
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  font-size: 26px;
  margin: 0 0 4px;
  color: #111;
}

.weather-header span {
  display: block;
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Sección de Clima Actual */
.current-weather {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line, #ddd);
}

.current-icon {
  font-size: 52px;
  line-height: 1;
}

.current-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.current-temp {
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  font-size: 42px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--red, #e30613); /* Rojo P24 */
}

.current-desc {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  margin-bottom: 2px;
}

.current-minmax {
  font-size: 12px;
  color: #666;
  font-weight: 700;
}

/* Sección Pronóstico */
.forecast-list {
  display: flex;
  flex-direction: column;
}

.forecast-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

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

.forecast-day {
  color: #333;
  font-weight: 800;
  text-transform: capitalize;
}

.forecast-data {
  display: flex;
  align-items: center;
  gap: 12px;
}

.forecast-data b {
  font-weight: 900;
  color: #111;
  min-width: 65px;
  text-align: right;
  font-size: 13px;
}

.forecast-icon {
  font-size: 20px;
}

/* Responsive Móvil */
@media(max-width: 620px) {
  .weather-widget {
    max-width: 100%; /* En móviles ocupa todo el ancho */
    padding: 16px;
  }
}

/* Contenedor que agrupa logo y widget */
.logo-and-radio {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Diseño del bloque del widget */
.header-radio-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line, #ddd);
  width: 300px;
}

/* Texto de "EN VIVO" */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--sans, Arial, Helvetica, sans-serif);
}

/* Círculo (Rojo por defecto cuando está apagado) */
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red, #e30613); 
  transition: background 0.3s ease;
}

/* Clase dinámica que el JS agregará cuando esté sonando (Verde Titilante) */
.live-dot.playing {
  background: #1f8b4c; 
  box-shadow: 0 0 0 0 rgba(31, 139, 76, 0.5);
  animation: greenPulse 1.5s infinite;
}

/* Animación del pulso verde */
@keyframes greenPulse {
  0%   { box-shadow: 0 0 0 0 rgba(31, 139, 76, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(31, 139, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 139, 76, 0); }
}

/* Botón estético de Reproducir */
.header-play-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--sans, Arial, Helvetica, sans-serif);
}

.header-play-btn:hover {
  background: var(--red, #e30613);
}

.header-play-btn:active {
  transform: scale(0.95);
}

/* =========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================= */
@media (max-width: 620px) {
  /* En celulares apilamos el logo arriba y el widget abajo en formato fila */
  .logo-and-radio {
    flex-direction: column;
    gap: 12px;
  }
  
  .header-radio-widget {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    align-items: center;
    flex-direction: row; /* Los pone uno al lado del otro */
    gap: 20px;
  }
}

/* =========================================
   POPUP MODAL DE INICIO
   ========================================= */
.p24-promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); /* Fondo oscuro semitransparente */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.p24-promo-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.p24-promo-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: modalScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p24-promo-content img {
    max-width: 100%;
    max-height: 85vh; /* Evita que la imagen se salga de la pantalla en móviles */
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: block;
}

.p24-promo-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--red, #e30613);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
    display: grid;
    place-items: center;
    transition: transform 0.2s;
}

.p24-promo-close:hover {
    transform: scale(1.1);
}

@keyframes modalScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}