/*
Theme Name: RadiosPE
Theme URI: https://metricavisual.com/radiospe
Author: David
Author URI: https://metricavisual.com
Description: Un tema comercial de alto rendimiento optimizado para directorios de streaming y compatible al 100% con Elementor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radiospe
Tags: grid-layout, custom-menu, featured-images, full-width-template, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool.
*/

/**
 * Estilos base para el tema RadiosPE
 */

/**
 * Estilos Premium para el directorio de radios - RadiosPE
 */

/* Contenedor general del tema */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

/* Cuadrícula de Radios con diseño responsivo inteligente */
.radiospe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding: 30px 0;
    width: 100%;
}

/* Tarjeta individual de cada emisora */
.radio-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Efecto premium cuando el usuario pasa el mouse */
.radio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 115, 170, 0.15);
}

/* Contenedor y diseño del Logo de la Radio */
.radio-logo {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    background: #fcfcfc;
    border-radius: 12px;
    padding: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.radio-logo img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

/* Animación sutil del logo al hacer hover */
.radio-card:hover .radio-logo img {
    transform: scale(1.04);
}

/* Título o nombre de la emisora */
.radio-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e1e1e;
    margin: 8px 0 16px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.radio-card:hover .radio-title {
    color: #0073aa;
    /* El color cambia al azul corporativo de WordPress */
}

/* Botón de reproducción base (Escuchar en vivo) */
.play-btn {
    width: 100%;
    background: #0073aa;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.2);
    outline: none;
}

/* Efecto hover en el botón */
.play-btn:hover {
    background: #006699;
    box-shadow: 0 6px 14px rgba(0, 115, 170, 0.3);
}

/* El botón cambia de estilo automáticamente según los estados que maneja tu JS */
/* Estado: Cargando... */
.play-btn[style*="background: rgb(230, 126, 34)"],
.play-btn[style*="background: #e67e22"] {
    animation: pulso-carga 1.5s infinite ease-in-out;
}

/* Estado: Pausar (Sonando en vivo) */
.play-btn[style*="background: rgb(211, 47, 47)"],
.play-btn[style*="background: #d32f2f"] {
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3) !important;
}

/* Animación de pulso para cuando la señal está conectando */
@keyframes pulso-carga {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

/* Estilos para los botones de Filtros */
.filter-btn {
    background: #ffffff;
    color: #555555;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 4px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.filter-btn.active {
    background: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
    box-shadow: 0 3px 8px rgba(0, 115, 170, 0.2);
}

/* ==========================================================================
   📻 REPRODUCTOR FIJO INFERIOR (STICKY AUDIO PLAYER) - RESPONSIVE PRO
   ========================================================================== */

/* Contenedor principal pegado al fondo */
.sticky-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    z-index: 99999;
    /* Flota sobre Elementor y menús móviles */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Contenedor interno alineado */
.sticky-player-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Bloque Izquierdo: Info de la Radio */
.player-station-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    /* Evita que el texto rompa el diseño responsive */
}

/* Mini logo de la emisora */
.player-logo-placeholder {
    width: 48px;
    height: 48px;
    background: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
    /* El logo nunca se deforma en pantallas chicas */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.player-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bloque de Textos */
.player-text-info {
    min-width: 0;
    /* Clave para el truncado de texto (...) en móviles */
}

#sticky-player-title {

    margin: 0;

    font-size: 18px;

    font-weight: 700;

    color: #ffffff;

    letter-spacing: .2px;
}

#sticky-player-status {

    margin-top: 4px;

    color: #1ed760;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;
}

/* Bloque Derecho: Botón Maestro */
.player-controls {

    display: flex;

    align-items: center;

    gap: 18px;
}

/* Botón de reproducción de la barra */
.master-play-control {

    background: #1ed760;

    color: white;

    border: none;

    border-radius: 999px;

    padding: 12px 26px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(30, 215, 96, .35);

    transition: .25s;
}

.master-play-control:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(30, 215, 96, .45);
}

.master-play-control:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    box-shadow: none;
    cursor: not-allowed;
}

/* Estado cuando la barra está en pausa */
.master-play-control.is-paused {
    background: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

/* Añade un espacio abajo del todo para que la barra flotante no tape el footer de la web */
body {
    padding-bottom: 75px !important;
}

/* ==========================================================================
   📱 ADAPTACIÓN INTELIGENTE PARA SMARTPHONES (Pantallas de 600px a menos)
   ========================================================================== */
@media (max-width: 600px) {
    .sticky-audio-player {
        padding: 8px 0;
        /* Más delgada para ahorrar espacio vertical */
    }

    .sticky-player-container {
        padding: 0 15px;
        /* Menos margen a los lados */
    }

    .player-logo-placeholder {
        width: 40px;
        /* Reducimos un poco el logo */
        height: 40px;
        font-size: 16px;
    }

    #sticky-player-title {
        font-size: 13px;
        /* Texto compacto */
        max-width: 140px;
        /* Si el nombre es muy largo, le pone puntos suspensivos */
    }

    #sticky-player-status {
        display: none;
        /* 🚫 Escondemos el estado en móvil para que no se amontone todo */
    }

    .master-play-control {
        padding: 8px 16px;
        /* Botón perfecto para el dedo táctil */
        font-size: 12px;
    }
}

/* ==========================================================================
   🔤 MENÚ DE NAVEGACIÓN SUPERIOR
   ========================================================================== */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    /* Espacio entre cada botón del menú */
}

.main-navigation ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-navigation ul li a:hover {
    color: #0073aa;
    /* Cambia a azul al pasar el mouse */
}

/* Ocultar menú en móviles si se amontona, para luego controlarlo con un botón si deseas */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
}

/* Botón de Información en la Tarjeta */
.info-btn {
    display: inline-block;
    text-align: center;
    background: #f0f2f5;
    color: #4a5568;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Efecto cuando el usuario pasa el mouse */
.info-btn:hover {
    background: #e2e8f0;
    color: #1a202c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

/* Asegurar que el contenedor de botones no rompa el diseño */
.radio-card-controls {
    width: 100%;
}

/* ==========================================================================
   🖼️ VISTA DE PERFIL INDIVIDUAL (SINGLE RADIO)
   ========================================================================== */
.perfil-radio-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.radio-profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Columna Izquierda (Sidebar) */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-logo-box {
    width: 100%;
    aspect-ratio: 1;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.profile-radio-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Columna Derecha (Contenido) */
.profile-title {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #1a202c;
}

.profile-badge-frecuencia {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 25px;
}

.profile-description h3,
.profile-meta-links h3 {
    font-size: 18px;
    color: #2d3748;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.profile-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Cuadrícula de enlaces de contacto */
.links-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.meta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Colores de marca comerciales */
.link-wp {
    background: #25D366;
}

/* Verde WhatsApp */
.link-wp:hover {
    background: #20ba5a;
}

.link-web {
    background: #4a5568;
}

/* Gris Corporativo */
.link-web:hover {
    background: #2d3748;
}

.link-fb {
    background: #1877F2;
}

/* Azul Facebook */
.link-fb:hover {
    background: #166fe5;
}

/* 📱 RESPONSIVE: Adaptación para celulares */
@media (max-width: 768px) {
    .perfil-radio-container {
        padding: 20px;
    }

    .radio-profile-layout {
        grid-template-columns: 1fr;
        /* Se pone en una sola columna */
        gap: 25px;
    }

    .profile-sidebar {
        align-items: center;
    }

    .profile-logo-box {
        max-width: 200px;
    }

    .profile-title {
        font-size: 26px;
        text-align: center;
    }

    .links-grid {
        flex-direction: column;
    }

    .meta-link {
        justify-content: center;
    }
}

/* 💎 MEJORAS ESTÉTICAS PARA EL PERFIL INDIVIDUAL */
.perfil-radio-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    /* Sombra suave de última tendencia */
    padding: 45px;
    margin-top: 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* El botón de play grande dentro del perfil */
.profile-play-trigger {
    background: linear-gradient(135px, #0073aa 0%, #005177 100%) !important;
    /* Degradado elegante */
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 115, 170, 0.2);
    transition: all 0.3s ease !important;
}

.profile-play-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 115, 170, 0.3);
    filter: brightness(1.1);
}

/* Refinar la cuadrícula de enlaces de contacto */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Rejilla automática inteligente */
    gap: 15px;
    margin-top: 15px;
}

.meta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Espacio entre el ícono o texto */
    padding: 14px 20px;
    border-radius: 12px;
    /* Bordes más suaves y modernos */
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de brillo sutil en las redes al pasar el mouse */
.meta-link:hover {
    transform: translateY(-3px);
    filter: saturate(1.2);
}

/* ==========================================================================
   🧱 SECCIÓN RADIOS RELACIONADAS (SOLUCIÓN SIN CRUCES)
   ========================================================================== */
.radios-relacionadas-seccion {
    margin-top: 60px;
    border-top: 2px solid #edf2f7;
    padding-top: 40px;
}

.relacionadas-titulo {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 25px;
}

/* Rejilla independiente para que no choque con la de la portada */
.radios-relacionadas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

/* Tarjeta individual del bloque de abajo */
.radio-card-relacionada {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.radio-card-relacionada:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 115, 170, 0.1);
}

/* Caja del logo de abajo */
.relacionada-logo-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.relacionada-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.relacionada-fallback {
    font-size: 40px;
}

.relacionada-card-title {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #2d3748;
    font-weight: 700;
}

.no-relacionadas {
    color: #718096;
    font-style: italic;
}

/* Botón Volver en el Perfil */
.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-volver:hover {
    color: #1a202c;
    transform: translateX(-3px);
    /* Hace un pequeño efecto de empuje a la izquierda */
}

/* ==========================================================================
   📱 MÓVIL: CUADRÍCULA REAL DE 4 LOGOS POR FILA (CLASE CORREGIDA)
   ========================================================================== */
@media (max-width: 480px) {

    /* 1. Forzamos al contenedor REAL a armar filas horizontales */
    body .radiospe-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        /* Permite que salte a la siguiente fila tras el 4to logo */
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px !important;
        box-sizing: border-box !important;
    }

    /* 2. Obligamos a la tarjeta a medir la cuarta parte de la fila */
    body .radiospe-grid .radio-card {
        display: block !important;
        /* Rompe el flex vertical de Elementor */
        width: calc(25% - 6px) !important;
        max-width: calc(25% - 6px) !important;
        min-width: calc(25% - 6px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        /* Cuadrado perfecto */
        margin: 0 !important;
        padding: 4px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 10px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* 3. El logo se adapta al tamaño del botón */
    body .radiospe-grid .radio-card .radio-logo {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .radiospe-grid .radio-card .radio-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* 4. Escondemos los textos */
    body .radiospe-grid .radio-card .radio-title,
    body .radiospe-grid .radio-card .info-btn {
        display: none !important;
    }

    /* 5. El control invisible para que el logo sea el botón de Play */
    body .radiospe-grid .radio-card .radio-card-controls {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        z-index: 5 !important;
    }

    body .radiospe-grid .radio-card-controls .play-btn,
    body .radiospe-grid .radio-card-controls .play-btn[style] {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        /* Evita el rojo de pausa */
        color: transparent !important;
        /* Quita el texto */
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10 !important;
        cursor: pointer !important;
    }
}       

/* ==========================================================================
   🍔 ESTRUCTURA DE CABECERA Y MENÚ HAMBURGUESA GENERAL
   ========================================================================== */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-texto {
    font-size: 22px;
    color: #0073aa;
    text-decoration: none;
}

/* Menú versión Escritorio */
.nav-menu .menu-links-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu .menu-links-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu .menu-links-list a:hover {
    color: #0073aa;
}

.menu-toggle {
    display: none;
    /* Escondido en PC */
}

/* 📱 MODAL O COMPORTAMIENTO PARA CELULARES */
@media (max-width: 768px) {

    /* Activamos el botón de 3 líneas */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Transformamos el menú en una cortina vertical oculta */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Escondido a la derecha de la pantalla */
        width: 70%;
        /* Ocupa el 70% del ancho del celular */
        height: 100vh;
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 3px 20px 30px;
        transition: right 0.3s ease;
        box-sizing: border-box;
    }

    .nav-menu .menu-links-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu .menu-links-list a {
        font-size: 18px;
        display: block;
    }

    /* Clase activar: Despliega la cortina cuando se presiona la hamburguesa */
    .nav-menu.is-active {
        right: 0;
        /* Entra a la pantalla */
    }

    /* Animación de la hamburguesa cambiando a una "X" al abrir */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}   

/* ==========================================================================
   🍔 1. ESTILOS DE LA CABECERA Y MENÚ HAMBURGUESA GENERAL
   ========================================================================== */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-texto {
    font-size: 20px;
    font-weight: 700;
    color: #0073aa;
    text-decoration: none;
}

/* Menú en versión Computadora (Horizontal) */
.nav-menu .menu-links-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu .menu-links-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu .menu-links-list a:hover {
    color: #0073aa;
}

.menu-toggle {
    display: none;
    /* Escondido en PC */
}

/* 📱 COMPORTAMIENTO EXCLUSIVO PARA CELULARES (Menor a 768px) */
@media (max-width: 768px) {

    /* Activamos el botón de 3 líneas (Hamburguesa) */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Transformamos el menú en una cortina lateral oculta */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Escondido a la derecha fuera de la pantalla */
        width: 70%;
        height: 100vh;
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px 30px;
        transition: right 0.3s ease;
        box-sizing: border-box;
    }

    .nav-menu .menu-links-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-menu .menu-links-list a {
        font-size: 18px;
        display: block;
    }

    /* Cuando se activa con JS, entra a la pantalla */
    .nav-menu.is-active {
        right: 0;
    }

    /* Animación de las barras convirtiéndose en una "X" al abrir */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ==========================================================================
       📻 2. REFUERZO MÓVIL: CUADRÍCULA DE 4 LOGOS POR FILA
       ========================================================================== */
    body .radiospe-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px !important;
        box-sizing: border-box !important;
    }

    body .radiospe-grid .radio-card {
        display: block !important;
        width: calc(25% - 6px) !important;
        max-width: calc(25% - 6px) !important;
        min-width: calc(25% - 6px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        padding: 4px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 10px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    body .radiospe-grid .radio-card .radio-logo {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .radiospe-grid .radio-card .radio-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    body .radiospe-grid .radio-card .radio-title,
    body .radiospe-grid .radio-card .info-btn {
        display: none !important;
    }

    body .radiospe-grid .radio-card .radio-card-controls {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        z-index: 5 !important;
    }

    body .radiospe-grid .radio-card-controls .play-btn,
    body .radiospe-grid .radio-card-controls .play-btn[style] {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        color: transparent !important;
        border: none !important;
        z-index: 10 !important;
    }
}

/* ==========================================================================
   📱 FILTROS HORIZONTALES CON SCROLL SUAVE (EXCLUSIVO MÓVIL)
   ========================================================================== */
@media (max-width: 480px) {

    /* Buscamos el contenedor que vimos en tu consola: .radiospe-filters-container */
    body .radiospe-filters-container {
        display: flex !important;
        flex-direction: column !important;
        /* Mantiene Géneros arriba y Ciudades abajo */
        gap: 12px !important;
        padding: 10px 15px !important;
        text-align: left !important;
        /* Alinea al inicio para el scroll */
    }

    /* Ajustamos las filas internas de botones (si tienen un div contenedor de botones) */
    body .radiospe-filters-container .filter-row,
    body .radiospe-filters-container div {
        display: flex !important;
        flex-direction: row !important;
        white-space: nowrap !important;
        /* Evita que los botones salten de línea */
        overflow-x: auto !important;
        /* Activa el scroll horizontal */
        overflow-y: hidden !important;
        gap: 8px !important;
        width: 100% !important;
        padding-bottom: 5px !important;
        /* Espacio para que no se corte la sombra */

        /* Oculta la barra de scroll fea en Xiaomi/Motorola pero mantiene el arrastre */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Ocultar barra de scroll en Chrome/Safari/Webkit */
    body .radiospe-filters-container div::-webkit-scrollbar {
        display: none !important;
    }

    /* Aseguramos que los botones mantengan su tamaño original al arrastrar */
    body .radiospe-filters-container button,
    body .radiospe-filters-container .filter-btn {
        flex-shrink: 0 !important;
        /* Obliga al botón a no encogerse */
        padding: 6px 16px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
    }
}

/* ==========================================================================
   🏠 ESTILOS DE LA PORTADA AUTOMÁTICA (MODO CAMALEÓN)
   ========================================================================== */
.radiospe-main-content {
    padding: 10px 0;
    text-align: center;
}

.radiospe-hero {
    margin-bottom: 30px;
}

/* El color hereda el entorno, pero le damos un gris oscuro base legible en fondos claros */
.main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: inherit;
    /* Si el fondo es negro y Elementor pone letras blancas, se vuelve blanco solo */
}

.sub-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

.container-radiospe {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   🎛️ ESTILOS PREMIUM PARA LOS FILTROS DESPLEGABLES
   ========================================================================== */
.radiospe-filtros-desplegables {
    display: flex;
    flex-direction: row;
    /* En computadora los ponemos uno al lado del otro */
    gap: 20px;
    max-width: 600px;
    /* Centramos el bloque */
    margin: 1px auto;
    padding: 0 20px;
    justify-content: center;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 220px;
    /* Ancho elegante para cada selector */
    text-align: left;
}

.filtro-group label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* El estilo moderno del selector */
.dropdown-filtro {
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    /* Le quitamos la flecha fea de Windows */
    /* Le inyectamos una flecha minimalista moderna */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Efecto cuando pasas el mouse o haces clic */
.dropdown-filtro:focus,
.dropdown-filtro:hover {
    border-color: #0073aa;
    /* Azul WordPress profesional */
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 📱 ADAPTACIÓN PARA CELULARES */
@media (max-width: 480px) {
    .radiospe-filtros-desplegables {
        flex-direction: column;
        /* En celular se apilan ordenados */
        gap: 15px;
    }

    .filtro-group {
        width: 100%;
    }

    .dropdown-filtro {
        padding: 12px 15px;
        /* Más cómodo para el dedo */
        font-size: 16px;
    }
}

/* ==========================================================================
   📻 TARJETAS DE RADIO INTERACTIVAS (EFECTO BOTÓN)
   ========================================================================== */
.radio-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    /* Transición suave para el efecto */
    cursor: pointer;
    /* 👈 AQUÍ PONEMOS LA MANITO DE CLIC */
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* 🚀 Cuando el usuario pasa el mouse por encima o el dedo en móvil */
.radio-card:hover {
    transform: translateY(-6px);
    /* Se levanta sutilmente */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    /* Sombra más profunda */
    border-color: #0073aa;
    /* Borde del color de tu marca */
}

/* Ajuste para el icono o placeholder del logo */
.radio-logo-placeholder {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.radio-card:hover .radio-logo-placeholder {
    transform: scale(1.15);
    /* El logo se agranda un poquito al pasar el mouse */
}

.radio-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

/* --- Barra de Audio Fija: Estándar Profesional --- */
#radiospe-sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    border-top: 1px solid #333;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
}

.sticky-player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.player-station-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-logo-placeholder {
    width: 50px;
    height: 50px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.player-text-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.player-text-info p {
    margin: 0;
    font-size: 12px;
    color: #ff5722;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Aseguramos que el logo sea el que mande */
#sticky-player-logo {
    display: none;
    /* Por defecto oculto hasta que JS lo active */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    /* Que esté por encima del icono */
    position: relative;
}

/* Si el logo está activo, el icono pasa a segundo plano */
#sticky-player-logo[style*="display: block"]+#sticky-player-icon {
    display: none !important;
}

/* Si la imagen no carga, ocultamos el hueco roto */
#sticky-player-logo[src=""] {
    display: none !important;
}

/* 1. Contenedor principal del Header: Mantiene Logo y Menú alineados en la misma fila */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
    /* Permite que el mensaje baje, pero mantiene logo y menú arriba */
}

/* Forzamos a que el logo y el menú mantengan su espacio arriba sin romperse */
.site-logo {
    order: 1;
}

.nav-menu,
.menu-toggle {
    order: 2;
}

/* --- BLOQUE DE BIENVENIDA OPTIMIZADO --- */

.header-mensaje-container {
    width: 95%;
    /* O el ancho que prefieras */
    max-width: 1200px;
    margin: 15px auto;
    /* Centrado automático */
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    /* Elimina el 'order' y 'flex' si los tenías */
}

/* Ajuste para Móviles (Pantallas menores a 768px) */
@media (max-width: 768px) {
    .header-mensaje-container {
        height: 150px;
        /* Altura más cómoda para celular */
    }

    .header-mensaje-overlay p {
        font-size: 20px !important;
        /* Texto un poco más pequeño en móvil */
    }
}

.header-mensaje-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    /* Evita que el texto toque los bordes laterales */
}

.header-mensaje-overlay p {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    text-align: center;
    line-height: 1.2;
    /* Mejora la lectura en varias líneas */
}

/*personalizador del logo*/
.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Espacio entre el logo y el texto */
}

.custom-logo {
    max-height: 50px;
    /* Ajusta el tamaño según tu preferencia */
    width: auto;
}

.site-title a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

/* Asegurar que el logo sea responsivo */
.site-logo img {
    max-width: 100%;
    /* No se saldrá de su contenedor */
    height: auto;
    /* Mantiene la proporción */
    display: block;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
        /* Tamaño máximo en móvil para que quepa el menú */
    }

    .header-container {
        padding: 10px;
        /* Menos espacio en móvil */
    }
}

/* ==================================================
   RADIOSPE PLAYER - SPOTIFY STYLE V1
   Pegar al final de style.css
================================================== */

.sticky-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    background: linear-gradient(135deg,
            #0f0f0f,
            #181818,
            #111111);

    border-top: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 -10px 30px rgba(0, 0, 0, .4);

    padding: 14px 0;

    z-index: 99999;
}

.sticky-player-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

/* =====================================
   INFO RADIO
===================================== */

.player-station-info {

    display: flex;

    align-items: center;

    gap: 15px;

    flex: unset;
}   

.player-logo-placeholder {

    width: 64px;

    height: 64px;

    border-radius: 14px;

    overflow: hidden;

    background: #222;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, .35);

    border: 1px solid rgba(255, 255, 255, .08);
}       

.logo-radio-fijo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sticky-player-icon {
    font-size: 28px;
}

.player-text-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nombre-emisora-fijo {
    margin: 0 !important;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.estado-radio {
    margin: 2px 0 0 0 !important;

    color: #1ed760;
    font-size: 13px;
    font-weight: 600;
}

/* =====================================
   CONTROLES
===================================== */

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-escuchar-fijo {
    background: #1ed760 !important;
    color: #ffffff !important;

    border: none !important;

    border-radius: 999px;

    padding: 12px 24px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;
}

.btn-escuchar-fijo:hover {
    transform: scale(1.05);
}

.btn-escuchar-fijo:active {
    transform: scale(.98);
}

/* =====================================
   VOLUMEN
===================================== */

.control-volumen-fijo {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

#icono-volumen {
    color: #ffffff;
    font-size: 18px;
}

#barra-volumen {
    accent-color: #1ed760;
    cursor: pointer;
}

/* =====================================
   EFECTOS
===================================== */

.sticky-audio-player::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: rgba(255, 255, 255, .08);
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .sticky-player-container {
        padding: 10px 15px;
        gap: 12px;
    }

    .player-logo-placeholder {
        width: 50px;
        height: 50px;
    }

    .nombre-emisora-fijo {
        font-size: 14px;
    }

    .estado-radio {
        font-size: 12px;
    }

    .btn-escuchar-fijo {
        padding: 10px 16px;
        font-size: 13px;
    }

    #barra-volumen {
    
        accent-color: #1ed760;
    
        width: 90px !important;
    }
}

@media (max-width: 480px) {

    .sticky-player-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .player-station-info {
        width: 100%;
    }

    .player-controls {
        width: 100%;
        justify-content: center;
    }
}

/* AJUSTE DEL  FOOTER COPIRIGHT */
.site-footer {
    padding-bottom: 50px !important;
}
/* AJUSTE DEL  FOOTER COPIRIGHT FINAL */

.radio-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-top: 6px;
    height: 16px;
}

.radio-wave span {
    width: 3px;
    border-radius: 10px;
    background: #1ed760;
    animation: wave 1s infinite ease-in-out;
}

.radio-wave span:nth-child(1) {
    height: 8px;
}

.radio-wave span:nth-child(2) {
    height: 14px;
    animation-delay: .1s;
}

.radio-wave span:nth-child(3) {
    height: 20px;
    animation-delay: .2s;
}

.radio-wave span:nth-child(4) {
    height: 14px;
    animation-delay: .3s;
}

.radio-wave span:nth-child(5) {
    height: 8px;
    animation-delay: .4s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(.6);
    }

    50% {
        transform: scaleY(1.2);
    }
}

/* ==================================================
   OPTIMIZACIÓN MÓVIL PREMIUM
   Radios de Perú Player
================================================== */

@media (max-width: 768px) {

    .sticky-audio-player {
        padding: 10px 0;
    }

    .sticky-player-container {
        padding: 0 12px;
        gap: 12px;
    }

    /* Logo más compacto */
    .player-logo-placeholder {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    /* Texto optimizado */
    #sticky-player-title {
        font-size: 14px !important;
        line-height: 1.2;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #sticky-player-status {
        font-size: 11px;
    }

    /* Ecualizador */
    .radio-wave {
        margin-top: 3px;
        height: 12px;
    }

    .radio-wave span {
        width: 2px;
    }

    /* Controles */
    .player-controls {
        gap: 10px;
    }

    /* Volumen compacto */
    .control-volumen-fijo {
        gap: 6px !important;
        padding: 0 !important;
    }

    #icono-volumen {
        font-size: 16px !important;
    }

    #barra-volumen {
        width: 60px !important;
    }

    /* Botón principal */
    .master-play-control,
    .btn-escuchar-fijo {

        padding: 10px 18px !important;

        font-size: 13px !important;

        border-radius: 999px;

        min-height: 42px;
    }

}

/* ==========================================
   MÓVILES PEQUEÑOS (360px aprox)
========================================== */

@media (max-width: 480px) {

    .sticky-player-container {

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 8px;
    }

    .player-logo-placeholder {
        width: 45px;
        height: 45px;
    }

    #sticky-player-title {
        font-size: 13px !important;
        max-width: 100px;
    }

    #sticky-player-status {
        font-size: 10px;
    }

    #barra-volumen {
        width: 50px !important;
    }

    #icono-volumen {
        font-size: 15px !important;
    }

    .master-play-control,
    .btn-escuchar-fijo {

        padding: 8px 14px !important;

        font-size: 12px !important;

        min-height: 38px;
    }

}

/* ==========================================
   iPhone SE y pantallas muy pequeñas
========================================== */

@media (max-width: 375px) {

    .player-logo-placeholder {
        width: 40px;
        height: 40px;
    }

    #sticky-player-title {
        max-width: 85px;
        font-size: 12px !important;
    }

    #barra-volumen {
        width: 40px !important;
    }

    .master-play-control,
    .btn-escuchar-fijo {

        padding: 8px 12px !important;

        font-size: 11px !important;
    }

}

@media (max-width: 768px) {

    /* Ocultar nombre y estado */
    .player-text-info {
        display: none !important;
    }

    /* Forzar una sola fila */
.sticky-player-container {

    justify-content: space-between !important;

    width: 100%;

    padding: 0 15px !important;
}   


    /* Bloque logo */
    .player-station-info {

        flex: 0 0 auto !important;

        width: auto !important;

        min-width: auto !important;

        margin: 0 !important;
    }

    /* Logo */
    .player-logo-placeholder {

        width: 45px !important;

        height: 45px !important;

        margin: 0 !important;
    }

    /* Controles */
    .player-controls {

        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 10px !important;

        width: auto !important;
    }

    /* Volumen */
    .control-volumen-fijo {

        display: flex !important;

        align-items: center !important;

        gap: 5px !important;

        padding: 0 !important;
    }

    #barra-volumen {

        width: 55px !important;
    }

    /* Botón */
    .master-play-control,
    .btn-escuchar-fijo {

        padding: 8px 14px !important;

        font-size: 12px !important;

        white-space: nowrap !important;
    }

}

@media (max-width:768px) {

    .player-text-info {
        display: none !important;
    }

    .sticky-player-container {

        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        align-items: center !important;

        justify-content: space-between !important;

        width: 100%;

        padding: 0 15px !important;
    }

    .player-station-info {

        flex: 0 0 auto !important;

        min-width: auto !important;
    }

    .control-volumen-fijo {

        flex: 0 0 auto !important;

        justify-content: center !important;
    }

        .player-controls {
    
            flex: 0 0 auto !important;
    
            margin-right: 20px !important;
        }

    .player-logo-placeholder {

        width: 45px !important;

        height: 45px !important;
    }

    #barra-volumen {

        width: 60px !important;
    }

    .master-play-control {

        padding: 8px 14px !important;

        font-size: 12px !important;
    }
}

/* ==================================================
   TARJETA TEMA ACTUAL - RADIOSPE
================================================== */

.now-playing-card {
    background: rgba(18, 18, 18, 0.58);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.now-playing-cover-wrap {
    width: 64px;
    height: 64px;

    border-radius: 14px;
    overflow: hidden;

    background: #222;

    flex: 0 0 auto;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .35);
}

#now-playing-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.now-playing-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.now-playing-label {
    color: #1ed760;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 3px;
}

#now-playing-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#now-playing-artist {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    margin-top: 3px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Móvil */
@media (max-width: 768px) {

    .now-playing-card {
        bottom: 82px;
        width: calc(100% - 24px);
        padding: 10px 12px;
        border-radius: 16px;
    }

    .now-playing-cover-wrap {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    #now-playing-title {
        font-size: 13px;
    }

    #now-playing-artist {
        font-size: 11px;
    }
}

/* ==================================================
   AJUSTE FINO MÓVIL - NOW PLAYING + PLAYER
================================================== */

@media (max-width: 768px) {

    .now-playing-card {
        bottom: 84px !important;

        width: calc(100% - 32px) !important;

        padding: 10px 12px !important;

        border-radius: 16px !important;

        gap: 10px !important;
    }

    .now-playing-cover-wrap {
        width: 50px !important;
        height: 50px !important;

        border-radius: 12px !important;
    }

    .now-playing-label {
        font-size: 10px !important;
        letter-spacing: .5px !important;
        margin-bottom: 2px !important;
    }

    #now-playing-title {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    #now-playing-artist {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .sticky-audio-player {
        padding: 10px 0 !important;
    }
}

/* ==================================================
   NOW PLAYING - ICONO DE REPRODUCCIÓN / ECUALIZADOR
================================================== */

.now-playing-cover-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: #1b1b1b;
    flex: 0 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
    display: flex;
    align-items: center;
    justify-content: center;
}

#now-playing-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.now-playing-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(30, 215, 96, .18), rgba(255, 255, 255, .04));
}

.now-playing-icon span {
    width: 5px;
    border-radius: 999px;
    background: #1ed760;
    animation: nowPlayingBars 1s ease-in-out infinite;
}

.now-playing-icon span:nth-child(1) {
    height: 14px;
    animation-delay: 0s;
}

.now-playing-icon span:nth-child(2) {
    height: 24px;
    animation-delay: .15s;
}

.now-playing-icon span:nth-child(3) {
    height: 18px;
    animation-delay: .3s;
}

.now-playing-icon span:nth-child(4) {
    height: 28px;
    animation-delay: .45s;
}

@keyframes nowPlayingBars {

    0%,
    100% {
        transform: scaleY(.65);
        opacity: .75;
    }

    50% {
        transform: scaleY(1.15);
        opacity: 1;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .now-playing-cover-wrap {
        width: 50px !important;
        height: 50px !important;
        border-radius: 12px !important;
    }

    .now-playing-icon {
        padding: 10px;
        gap: 3px;
    }

    .now-playing-icon span {
        width: 4px;
    }

    .now-playing-icon span:nth-child(1) {
        height: 10px;
    }

    .now-playing-icon span:nth-child(2) {
        height: 18px;
    }

    .now-playing-icon span:nth-child(3) {
        height: 14px;
    }

    .now-playing-icon span:nth-child(4) {
        height: 20px;
    }
}

/* ==================================================
   FIX FINAL - TARJETA SONANDO AHORA
   Evita que se estire y que se esconda detrás del player
================================================== */

.now-playing-card {
    position: fixed !important;

    left: 50% !important;
    bottom: 118px !important;
    transform: translateX(-50%) !important;

    width: min(430px, calc(100% - 32px)) !important;
    max-width: 430px !important;

    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    padding: 12px 14px !important;

    background: rgba(18, 18, 18, 0.62) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;

    z-index: 99998 !important;

    overflow: hidden !important;
}

/* Imagen / icono */
.now-playing-cover-wrap {
    width: 58px !important;
    height: 58px !important;

    min-width: 58px !important;

    border-radius: 14px !important;
    overflow: hidden !important;

    background: #1b1b1b !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#now-playing-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Textos */
.now-playing-info {
    min-width: 0 !important;
    flex: 1 !important;

    display: flex !important;
    flex-direction: column !important;
}

.now-playing-label {
    color: #1ed760 !important;

    font-size: 11px !important;
    font-weight: 800 !important;

    text-transform: uppercase !important;
    letter-spacing: .5px !important;

    margin-bottom: 3px !important;
}

#now-playing-title {
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#now-playing-artist {
    color: rgba(255, 255, 255, 0.78) !important;

    font-size: 12px !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==================================================
   MÓVIL
================================================== */

@media (max-width: 768px) {

    .now-playing-card {
        bottom: 86px !important;

        width: calc(100% - 32px) !important;
        max-width: none !important;

        padding: 10px 12px !important;

        border-radius: 16px !important;

        gap: 10px !important;
    }

    .now-playing-cover-wrap {
        width: 50px !important;
        height: 50px !important;

        min-width: 50px !important;

        border-radius: 12px !important;
    }

    .now-playing-label {
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }

    #now-playing-title {
        font-size: 13px !important;
    }

    #now-playing-artist {
        font-size: 11px !important;
    }
}   
.radio-card-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.radio-card-controls .play-btn,
.radio-card-controls .info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: all .25s ease;
}

.radio-card-controls .play-btn {
    background: #1ed760;
    color: #ffffff;
    border: none;
}

.radio-card-controls .play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 215, 96, .25);
}

.radio-card-controls .info-btn {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, .08);
}

.radio-card-controls .info-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
}

.radio-card-controls .play-btn.disabled {
    background: #d1d5db;
    color: #777;
    cursor: not-allowed;
    box-shadow: none;
}

.radio-card-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.radio-card-controls .play-btn,
.radio-card-controls .info-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: all .25s ease;
}

.radio-card-controls .play-btn {
    background: #1ed760;
    color: #ffffff;
    border: none;
}

.radio-card-controls .info-btn {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, .08);
}

.radio-card-controls .info-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==================================================
   BOTONES DE TARJETAS DE RADIO
================================================== */

.radio-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.radio-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition: all .25s ease;
}

.radio-play-btn {
    background: #1ed760;
    color: #ffffff;
    border: none;
}

.radio-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 215, 96, .25);
}

.radio-info-btn {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, .10);
}

.radio-info-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Móvil */
@media (max-width: 768px) {
    .radio-card-actions {
        gap: 8px;
        margin-top: 12px;
    }

    .radio-action-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ==================================================
   SINGLE RADIO - PERFIL PREMIUM
================================================== */

.single-radio-page {
    background: #f5f7fb;
    padding-bottom: 140px;
}

.single-radio-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.single-radio-hero {
    padding: 50px 0 35px;
    background:
        radial-gradient(circle at top left, rgba(30, 215, 96, .14), transparent 35%),
        linear-gradient(135deg, #0f172a, #111827 55%, #050505);
}

.single-radio-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.single-radio-back:hover {
    color: #ffffff;
}

.single-radio-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: center;

    padding: 34px;

    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 28px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.single-radio-logo-area {
    display: flex;
    justify-content: center;
}

.single-radio-logo-box {
    width: 220px;
    height: 220px;
    border-radius: 30px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
}

.single-radio-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.single-radio-logo-fallback {
    font-size: 70px;
}

.single-radio-label {
    display: inline-flex;
    margin-bottom: 10px;

    color: #1ed760;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.single-radio-title {
    margin: 0;

    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    font-weight: 900;
}

.single-radio-taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 18px 0 24px;
}

.single-radio-taxonomies span {
    display: inline-flex;
    align-items: center;

    padding: 8px 12px;

    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;

    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 700;
}

.single-radio-player-trigger {
    display: inline-flex;
}

.single-radio-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    background: #1ed760;
    color: #ffffff;

    border: none;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 14px 30px rgba(30, 215, 96, .25);

    transition: all .25s ease;
}

.single-radio-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(30, 215, 96, .35);
}

.single-radio-play-btn.is-disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.single-radio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 18px;
}

.single-radio-share,
.single-radio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 16px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    cursor: pointer;
}

.single-radio-content-section {
    padding: 42px 0;
}

.single-radio-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

.single-radio-description,
.single-radio-contact-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;

    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

.single-radio-description h2,
.single-radio-contact-box h3 {
    margin-top: 0;
    color: #111827;
    font-size: 24px;
}

.single-radio-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.single-radio-contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-radio-contact-links a {
    display: flex;
    align-items: center;

    padding: 12px 14px;

    border-radius: 14px;

    background: #f8fafc;
    color: #111827;

    text-decoration: none;
    font-weight: 800;

    border: 1px solid rgba(15, 23, 42, .06);
}

.single-radio-related-section {
    padding: 10px 0 50px;
}

.single-radio-related-title {
    margin-bottom: 22px;

    color: #111827;
    font-size: 28px;
    font-weight: 900;
}

.single-radio-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.single-related-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;

    text-align: center;

    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);

    cursor: pointer;
}

.single-related-logo {
    width: 92px;
    height: 92px;

    margin: 0 auto 14px;

    background: #f8fafc;
    border-radius: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.single-related-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.single-related-card h3 {
    margin: 0 0 14px;

    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.single-related-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.single-related-play,
.single-related-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 13px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;
}

.single-related-play {
    background: #1ed760;
    color: #ffffff;
    border: none;
}

.single-related-info {
    background: #111827;
    color: #ffffff;
}

/* ==================================================
   RESPONSIVE SINGLE RADIO
================================================== */

@media (max-width: 900px) {

    .single-radio-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 28px 22px;
    }

    .single-radio-taxonomies,
    .single-radio-actions,
    .single-radio-player-trigger {
        justify-content: center;
    }

    .single-radio-content-grid {
        grid-template-columns: 1fr;
    }

    .single-radio-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .single-radio-hero {
        padding: 34px 0 26px;
    }

    .single-radio-logo-box {
        width: 160px;
        height: 160px;
        border-radius: 24px;
        padding: 18px;
    }

    .single-radio-title {
        font-size: 34px;
    }

    .single-radio-card {
        border-radius: 22px;
    }

    .single-radio-description,
    .single-radio-contact-box {
        padding: 22px;
        border-radius: 20px;
    }

    .single-radio-play-btn {
        width: 100%;
    }

    .single-radio-actions {
        flex-direction: column;
    }

    .single-radio-share,
    .single-radio-link {
        width: 100%;
    }
}

/* ==================================================
   FIX RADIOS RELACIONADAS - SINGLE RADIO
   Mantiene diseño horizontal/grid sin usar .radio-card
================================================== */

.single-radio-related-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

.single-related-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 24px !important;

    text-align: center !important;

    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 240px !important;

    transition: all .25s ease !important;
}

.single-related-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12) !important;
}

.single-related-logo {
    width: 92px !important;
    height: 92px !important;

    margin: 0 auto 14px !important;

    background: #f8fafc !important;
    border-radius: 22px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
}

.single-related-logo img {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
}

.single-related-card h3,
.relacionada-card-title {
    margin: 0 0 14px !important;

    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.single-related-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-top: auto !important;
}

.single-related-play,
.single-related-info {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 9px 13px !important;

    border-radius: 999px !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    text-decoration: none !important;

    cursor: pointer !important;

    transition: all .25s ease !important;
}

.single-related-play {
    background: #1ed760 !important;
    color: #ffffff !important;
    border: none !important;
}

.single-related-info {
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
}

.single-related-play:hover,
.single-related-info:hover {
    transform: translateY(-2px) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .single-radio-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    .single-radio-related-grid {
        grid-template-columns: 1fr !important;
    }

    .single-related-card {
        min-height: auto !important;
        padding: 22px !important;
    }
}

/* ==================================================
   FIX FINAL RADIOS RELACIONADAS - SINGLE RADIO
================================================== */

.single-radio-related-section {
    padding: 20px 0 60px;
}

.single-radio-related-title {
    margin: 0 0 24px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    text-align: left;
}

.single-radio-related-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.single-related-card {
    width: 100% !important;

    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 24px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    text-align: center !important;

    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08) !important;

    overflow: hidden !important;
}

.single-related-logo {
    width: 92px !important;
    height: 92px !important;

    margin: 0 auto 14px !important;

    background: #f8fafc !important;
    border-radius: 22px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.single-related-logo img {
    width: 80% !important;
    height: 80% !important;
    max-width: 80% !important;
    max-height: 80% !important;

    object-fit: contain !important;

    display: block !important;
}

.single-related-fallback {
    font-size: 34px;
}

.single-related-title {
    margin: 0 0 16px !important;

    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

.single-related-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;
    flex-wrap: wrap !important;

    width: 100% !important;
    margin-top: auto !important;
}

.single-related-play,
.single-related-info {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 9px 13px !important;

    border-radius: 999px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    cursor: pointer !important;

    transition: all .25s ease !important;
}

.single-related-play {
    background: #1ed760 !important;
    color: #ffffff !important;
    border: none !important;
}

.single-related-info {
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
}

.single-related-play:hover,
.single-related-info:hover {
    transform: translateY(-2px) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .single-radio-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Móvil */
@media (max-width: 600px) {
    .single-radio-related-grid {
        grid-template-columns: 1fr !important;
    }

    .single-related-card {
        padding: 22px !important;
    }
}

/* Ocultar radios relacionadas en móvil */
@media (max-width: 768px) {
    .single-radio-related-section {
        display: none !important;
    }
}

/* Detalles administrables en single radio */
.single-radio-eslogan {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}

.single-radio-details-box {
    margin-bottom: 20px;
}

.single-radio-detail-list {
    display: grid;
    gap: 12px;
}

.single-radio-detail-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.single-radio-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.single-radio-detail-item strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.4;
}

/* =========================================================
   PORTADA - MEJORAS TARJETAS DE RADIOS
========================================================= */

.radiospe-filters-header {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.radiospe-filters-header span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 0, 0.10);
    color: #ff5a00;
    font-size: 13px;
    font-weight: 800;
}

.radiospe-filters-header h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
}

.radiospe-filters-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.radio-card-content {
    width: 100%;
    text-align: center;
}

.radio-logo-placeholder img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
}

.radio-logo-fallback {
    font-size: 42px;
    line-height: 1;
}

.radio-card-eslogan {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.radio-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.radio-card-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}

.radio-play-btn.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.radio-play-btn.is-disabled:hover {
    transform: none;
}

/* =========================================================
   PORTADA - TARJETA CON LOGO REPRODUCTOR
   Visible: logo, nombre, ciudad, información
========================================================= */

.radio-card.radio-card-logo-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 210px;
    padding: 24px 20px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.radio-card.radio-card-logo-player:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 90, 0, 0.24);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.radio-card-logo-zone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-logo-play {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    border: 1px solid rgba(255, 90, 0, 0.16);
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.12), rgba(255, 255, 255, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.radio-logo-play::after {
    content: "▶";
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #ff5a00;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(255, 90, 0, 0.35);
}

.radio-logo-play:hover {
    transform: scale(1.05);
    border-color: rgba(255, 90, 0, 0.35);
    box-shadow: 0 18px 35px rgba(255, 90, 0, 0.18);
}

.radio-logo-play img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 18px;
}

.radio-logo-play.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.radio-logo-play.is-disabled::after {
    content: "×";
    background: #9ca3af;
    box-shadow: none;
}

.radio-logo-fallback {
    font-size: 40px;
    line-height: 1;
}

.radio-card-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.radio-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.radio-card-city,
.radio-card-info-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.radio-card-city {
    background: rgba(255, 90, 0, 0.10);
    color: #ff5a00;
}

.radio-card-info-link {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.radio-card-info-link:hover {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 768px) {
    .radio-card.radio-card-logo-player {
        min-height: 190px;
        padding: 20px 16px;
        border-radius: 24px;
    }

    .radio-logo-play {
        width: 76px;
        height: 76px;
        border-radius: 22px;
    }

    .radio-card-title {
        font-size: 18px;
    }

    .radio-card-bottom-row {
        gap: 8px;
    }

    .radio-card-city,
    .radio-card-info-link {
        font-size: 11px;
        padding: 6px 9px;
    }
}

/* =========================================================
   HEADER / BARRA DE NAVEGACIÓN RADIOSPE
========================================================= */

.main-header {
    position: relative;
    z-index: 999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.header-container {
    width: min(1200px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img,
.site-logo .custom-logo {
    width: auto;
    max-height: 54px;
    display: block;
}

.site-logo-text {
    color: #111827;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-links-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-links-list li {
    margin: 0;
    padding: 0;
}

.menu-links-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.menu-links-list a:hover,
.menu-links-list .current-menu-item>a,
.menu-links-list .current_page_item>a {
    background: rgba(255, 90, 0, 0.10);
    color: #ff5a00;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.menu-toggle .bar {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform .2s ease, opacity .2s ease;
}

/* Banner administrable de portada */
.header-mensaje-container {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-mensaje-overlay {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px 20px;
    text-align: center;
}

.header-mensaje-overlay p {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* Móvil */
@media (max-width: 768px) {
    .header-container {
        min-height: 68px;
        width: min(100% - 24px, 1200px);
    }

    .site-logo img,
    .site-logo .custom-logo {
        max-height: 44px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 12px;
        right: 12px;
        display: none;
        padding: 14px;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    }

    .nav-menu.is-open {
        display: block;
    }

    .menu-links-list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .menu-links-list a {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-mensaje-container,
    .header-mensaje-overlay {
        min-height: 230px;
    }

    .header-mensaje-overlay {
        padding: 42px 18px;
    }

    .header-mensaje-overlay p {
        font-size: clamp(30px, 10vw, 46px);
    }
}

/* =========================================================
   HEADER FIJO - SOLO LOGO + MENÚ
========================================================= */

.main-header {
    position: relative;
    z-index: 999;
    width: 100%;
    padding-top: 78px;
    background: #ffffff;
}

.header-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.header-container {
    width: min(1200px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Si estás logueado en WordPress, respeta la barra negra del admin */
.admin-bar .header-nav-bar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .header-nav-bar {
        top: 46px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .main-header {
        padding-top: 68px;
    }

    .header-container {
        min-height: 68px;
        width: min(100% - 24px, 1200px);
    }

    .nav-menu {
        top: 68px;
    }

    .admin-bar .nav-menu {
        top: 114px;
    }
}   

/* =========================================================
   PORTADA MÓVIL - TARJETAS SIMPLES
   Solo logo + nombre de radio
========================================================= */

@media (max-width: 768px) {

    .radio-card.radio-card-logo-player {
        min-height: auto;
        padding: 16px 10px;
        border-radius: 20px;
        gap: 10px;
    }

    .radio-logo-play {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        padding: 8px;
    }

    .radio-logo-play img {
        border-radius: 15px;
    }

    .radio-logo-play::after {
        width: 26px;
        height: 26px;
        right: -5px;
        bottom: -5px;
        font-size: 10px;
    }

    .radio-card-title {
        margin: 0;
        font-size: 15px;
        line-height: 1.25;
        font-weight: 900;
        text-align: center;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .radio-card-bottom-row {
        display: none !important;
    }

}

@media (max-width: 768px) {

    .radiospe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}

@media (max-width: 380px) {

    .radiospe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .radio-logo-play {
        width: 66px;
        height: 66px;
    }

    .radio-card-title {
        font-size: 14px;
    }

}

/* =========================================================
   FIX MÓVIL - TÍTULO DE RADIO EN TARJETAS
========================================================= */

@media (max-width: 768px) {

    .radio-card.radio-card-logo-player {
        min-height: 150px;
        padding: 14px 8px 16px;
        gap: 8px;
        overflow: visible;
    }

    .radio-card.radio-card-logo-player .radio-card-title {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 4px;
        color: #111827;
        font-size: 13px !important;
        line-height: 1.25 !important;
        font-weight: 800;
        text-align: center;
        word-break: normal;
        overflow-wrap: anywhere;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .radio-logo-play {
        width: 68px;
        height: 68px;
    }
}

/* =========================================================
   PORTADA MÓVIL - TARJETAS EN 3 COLUMNAS
   Visible: logo + nombre de radio
========================================================= */

@media (max-width: 768px) {

    .radiospe-section-grid {
        padding-top: 14px;
    }

    .radiospe-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 10px 24px !important;
    }

    .radio-card.radio-card-logo-player {
        min-height: 138px !important;
        padding: 12px 6px 10px !important;
        border-radius: 18px !important;
        gap: 8px !important;
        background: #ffffff;
        border: 1px solid rgba(255, 90, 0, 0.12);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
        overflow: visible !important;
    }

    .radio-card-logo-zone {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .radio-logo-play {
        width: 62px !important;
        height: 62px !important;
        padding: 6px !important;
        border-radius: 18px !important;
        background: #fff7f2;
        border: 1px solid rgba(255, 90, 0, 0.20);
        box-shadow: 0 8px 18px rgba(255, 90, 0, 0.10);
    }

    .radio-logo-play img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 13px;
        background: #ffffff;
    }

    .radio-logo-play::after {
        width: 24px !important;
        height: 24px !important;
        right: -5px !important;
        bottom: -5px !important;
        font-size: 9px !important;
        background: #ff5a00;
        box-shadow: 0 7px 14px rgba(255, 90, 0, 0.35);
    }

    .radio-card.radio-card-logo-player .radio-card-title {
        width: 100%;
        max-width: 100%;
        min-height: 30px;
        margin: 0 !important;
        padding: 0 2px !important;
        color: #111827;
        font-size: 11.5px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        text-align: center;

        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .radio-card-bottom-row {
        display: none !important;
    }
}

/* =========================================================
   FIX FUERTE - PORTADA MÓVIL 3 COLUMNAS
========================================================= */

@media screen and (max-width: 768px) {

    body.home .radiospe-grid,
    body.front-page .radiospe-grid,
    .radiospe-main-content .radiospe-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px 24px !important;
    }

    body.home .radio-card.radio-card-logo-player,
    body.front-page .radio-card.radio-card-logo-player,
    .radiospe-main-content .radio-card.radio-card-logo-player {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 128px !important;
        height: auto !important;
        padding: 10px 5px 9px !important;
        margin: 0 !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        text-align: center !important;
        overflow: visible !important;
        background: #ffffff !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
    }

    body.home .radio-card-logo-zone,
    body.front-page .radio-card-logo-zone,
    .radiospe-main-content .radio-card-logo-zone {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.home .radio-logo-play,
    body.front-page .radio-logo-play,
    .radiospe-main-content .radio-logo-play {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
        padding: 6px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 90, 0, 0.20) !important;
        background: #fff7f2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }

    body.home .radio-logo-play img,
    body.front-page .radio-logo-play img,
    .radiospe-main-content .radio-logo-play img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
        display: block !important;
    }

    body.home .radio-logo-play::after,
    body.front-page .radio-logo-play::after,
    .radiospe-main-content .radio-logo-play::after {
        width: 22px !important;
        height: 22px !important;
        right: -5px !important;
        bottom: -5px !important;
        font-size: 9px !important;
        line-height: 1 !important;
    }

    body.home .radio-card.radio-card-logo-player .radio-card-title,
    body.front-page .radio-card.radio-card-logo-player .radio-card-title,
    .radiospe-main-content .radio-card.radio-card-logo-player .radio-card-title {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 28px !important;
        margin: 0 !important;
        padding: 0 2px !important;
        font-size: 11px !important;
        line-height: 1.18 !important;
        font-weight: 900 !important;
        color: #111827 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.home .radio-card-bottom-row,
    body.front-page .radio-card-bottom-row,
    .radiospe-main-content .radio-card-bottom-row {
        display: none !important;
    }
}

/* =========================================================
   FIX FINAL MÓVIL - TARJETA RADIO COMPACTA Y EQUILIBRADA
========================================================= */

@media screen and (max-width: 768px) {

    .radiospe-main-content .radiospe-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px 24px !important;
        align-items: start !important;
    }

    .radiospe-main-content .radio-card.radio-card-logo-player {
        min-height: 134px !important;
        height: 134px !important;
        padding: 12px 6px 8px !important;
        border-radius: 18px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 0 !important;
        overflow: hidden !important;
    }

    .radiospe-main-content .radio-card-logo-zone {
        width: 100% !important;
        height: 72px !important;
        min-height: 72px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 0 5px 0 !important;
        padding: 0 !important;
    }

    .radiospe-main-content .radio-logo-play {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        min-height: 68px !important;
        max-width: 68px !important;
        max-height: 68px !important;

        padding: 6px !important;
        border-radius: 18px !important;
    }

    .radiospe-main-content .radio-logo-play img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 13px !important;
    }

    .radiospe-main-content .radio-logo-play::after {
        width: 23px !important;
        height: 23px !important;
        right: -5px !important;
        bottom: -5px !important;
        font-size: 9px !important;
    }

    .radiospe-main-content .radio-card.radio-card-logo-player .radio-card-title {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 2px !important;

        font-size: 11px !important;
        line-height: 1.15 !important;
        font-weight: 900 !important;
        text-align: center !important;

        min-height: 26px !important;
        max-height: 26px !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .radiospe-main-content .radio-card-bottom-row {
        display: none !important;
    }
}

/* =========================================================
   HERO PORTADA - ESTILO RADIO / APP MUSICAL
   Más limpio, moderno y visual
========================================================= */

.header-mensaje-container {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    min-height: 360px;
    margin: 24px auto 0;
    border-radius: 34px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

/* Overlay moderno */
.header-mensaje-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.82) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.18) 100%),
        radial-gradient(circle at 20% 25%, rgba(255, 90, 0, 0.35), transparent 32%);
}

/* Forma decorativa inferior */
.header-mensaje-container::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    z-index: 2;
    pointer-events: none;

    background: rgba(255, 90, 0, 0.22);
    filter: blur(4px);
}

/* Contenido */
.header-mensaje-overlay {
    position: relative;
    z-index: 3;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 58px;
    text-align: left;
}

/* Título */
.header-mensaje-overlay p {
    max-width: 650px;
    margin: 0;
    padding: 0;

    color: #ffffff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.055em;

    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* Franja decorativa superior */
.header-mensaje-overlay p::before {
    content: "RADIOS DE PERÚ";
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;

    background: rgba(255, 90, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #ffffff;

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* Línea naranja */
.header-mensaje-overlay p::after {
    content: "";
    display: block;
    width: 96px;
    height: 5px;
    margin-top: 24px;
    border-radius: 999px;

    background: linear-gradient(90deg, #ff7a00, #ff3d00);
    box-shadow: 0 14px 28px rgba(255, 90, 0, 0.45);
}

/* =========================================================
   HERO MÓVIL
========================================================= */

@media (max-width: 768px) {

    .header-mensaje-container {
        width: min(100% - 24px, 1200px);
        min-height: 270px;
        margin-top: 16px;
        border-radius: 26px;
        background-position: center;
    }

    .header-mensaje-overlay {
        min-height: 270px;
        padding: 42px 24px;
        align-items: center;
    }

    .header-mensaje-overlay p {
        max-width: 92%;
        font-size: clamp(30px, 9vw, 46px);
        line-height: 1.04;
        letter-spacing: -0.045em;
    }

    .header-mensaje-overlay p::before {
        margin-bottom: 13px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .header-mensaje-overlay p::after {
        width: 74px;
        height: 4px;
        margin-top: 18px;
    }

    .header-mensaje-container::after {
        width: 220px;
        height: 220px;
        right: -90px;
        bottom: -100px;
    }
}

/* =========================================================
   FIX HERO PORTADA - LIMPIO, ORDENADO Y SIN DUPLICADOS
========================================================= */

/* Evita duplicado de "RADIOS DE PERÚ" generado por estilos anteriores */
.header-mensaje-overlay p::before,
.radiospe-hero-portada-overlay p::before {
    content: none !important;
    display: none !important;
}

/* Contenedor principal del hero */
.radiospe-hero-portada {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 300px !important;
    height: 300px !important;
    margin: 22px auto 0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    position: relative !important;

    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;

    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18) !important;
}

/* Overlay oscuro elegante */
.radiospe-hero-portada::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;

    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.78) 0%, rgba(15, 23, 42, 0.45) 48%, rgba(15, 23, 42, 0.08) 100%) !important;
}

/* Quitamos decoraciones anteriores */
.radiospe-hero-portada::after {
    display: none !important;
}

/* Overlay interno */
.radiospe-hero-portada-overlay {
    position: relative !important;
    z-index: 3 !important;

    height: 300px !important;
    min-height: 300px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    padding: 42px 58px !important;
    text-align: left !important;
    background: transparent !important;
}

/* Caja del contenido */
.radiospe-hero-content {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
}

/* Etiqueta superior única */
.radiospe-hero-kicker {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 0 14px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;

    background: rgba(255, 90, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* Título controlado */
.radiospe-hero-content p {
    margin: 0 !important;
    padding: 0 !important;

    max-width: 560px !important;

    color: #ffffff !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: -0.04em !important;

    text-align: left !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.48) !important;
}

/* Línea decorativa */
.radiospe-hero-content p::after {
    content: "" !important;
    display: block !important;

    width: 78px !important;
    height: 4px !important;
    margin: 20px 0 0 !important;
    border-radius: 999px !important;

    background: linear-gradient(90deg, #ff7a00, #ff3d00) !important;
    box-shadow: 0 12px 24px rgba(255, 90, 0, 0.38) !important;
}

/* =========================================================
   HERO PORTADA MÓVIL
========================================================= */

@media (max-width: 768px) {

    .radiospe-hero-portada {
        width: min(100% - 24px, 1180px) !important;
        min-height: 220px !important;
        height: 220px !important;
        margin-top: 14px !important;
        border-radius: 24px !important;
        background-position: center right !important;
    }

    .radiospe-hero-portada-overlay {
        height: 220px !important;
        min-height: 220px !important;
        padding: 28px 22px !important;
        align-items: center !important;
    }

    .radiospe-hero-content {
        max-width: 78% !important;
    }

    .radiospe-hero-kicker {
        margin-bottom: 10px !important;
        padding: 7px 11px !important;
        font-size: 10px !important;
    }

    .radiospe-hero-content p {
        max-width: 100% !important;
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.03em !important;
    }

    .radiospe-hero-content p::after {
        width: 56px !important;
        height: 3px !important;
        margin-top: 14px !important;
    }
}   

/* =========================================================
   AJUSTE TEXTO HERO - TAMAÑO, PESO Y TIPOGRAFÍA
========================================================= */

.radiospe-hero-content p {
    font-family: "Poppins", Arial, sans-serif !important;
    font-size: clamp(28px, 3.2vw, 42px) !important;
    line-height: 1.12 !important;
    font-weight: 9  00 !important;
    letter-spacing: -0.025em !important;
}

/* =========================================================
   TARJETA FLOTANTE / SONANDO AHORA - OCULTA HASTA DAR PLAY
   La barra fija del reproductor NO se oculta.
========================================================= */

.radiospe-now-playing,
.now-playing-card,
.itunes-now-playing,
.itunes-floating-card,
.floating-now-playing,
.radio-now-playing,
.sonando-ahora-card {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

body.radiospe-player-visible .radiospe-now-playing,
body.radiospe-player-visible .now-playing-card,
body.radiospe-player-visible .itunes-now-playing,
body.radiospe-player-visible .itunes-floating-card,
body.radiospe-player-visible .floating-now-playing,
body.radiospe-player-visible .radio-now-playing,
body.radiospe-player-visible .sonando-ahora-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}