/*
Theme Name: RadiosPE
Theme URI: https://radiosdeperu.metricavisual.com/
Author: David
Author URI: https://metricavisual.com
Description: Un tema gratuito de alto rendimiento optimizado para directorios de streaming y compatible al 100% con Elementor. Diseñado para ofrecer una carga rápida y una experiencia fluida.
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
Tested up to: 6.5
Requires PHP: 7.4
Requires at least: 6.0

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
   ========================================================================== */


.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) */








/* 📱 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: 860px;
    /* Centramos los dos filtros y el botón de registro */
    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,
.radiospe-filter-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
===================================== */



.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-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;
}







/* ==================================================
   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;
}







/* 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);
}



/* 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);
}
/* ==========================================================
   FORMULARIO PÚBLICO: AGREGAR EMISORA
   ========================================================== */
.radiospe-submission-page {
    min-height: 70vh;
    padding: 54px 20px 80px;
    background: #f7f8fb;
}

.radiospe-submit-wrap {
    width: min(920px, 100%);
    margin: 0 auto;
}

.radiospe-submit-heading {
    text-align: center;
    margin-bottom: 28px;
}

.radiospe-submit-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #f97316;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.radiospe-submit-heading h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
}

.radiospe-submit-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1.65;
}

.radiospe-submit-form {
    padding: clamp(22px, 4vw, 42px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .09);
}

.radiospe-form-section + .radiospe-form-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.radiospe-form-section h2 {
    margin: 0 0 20px;
    color: #1f2937;
    font-size: 21px;
}

.radiospe-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.radiospe-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.radiospe-field-full {
    grid-column: 1 / -1;
}

.radiospe-field > span {
    color: #273244;
    font-size: 14px;
    font-weight: 750;
}

.radiospe-field input,
.radiospe-field select,
.radiospe-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #d7dce3;
    border-radius: 11px;
    background: #fff;
    color: #111827;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.radiospe-field textarea {
    min-height: 112px;
    resize: vertical;
}

.radiospe-field input:focus,
.radiospe-field select:focus,
.radiospe-field textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}

.radiospe-field small {
    color: #758195;
    font-size: 12px;
    line-height: 1.45;
}

.radiospe-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 28px 0 20px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.radiospe-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #f97316;
    flex: 0 0 auto;
}

.radiospe-submit-button {
    width: 100%;
    min-height: 56px;
    padding: 14px 22px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #ff7a18, #f0441d);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(240, 68, 29, .23);
    transition: transform .2s ease, box-shadow .2s ease;
}

.radiospe-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(240, 68, 29, .3);
}

.radiospe-form-alert {
    margin: 0 0 22px;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.radiospe-form-success {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534;
}

.radiospe-form-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.radiospe-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .radiospe-submission-page {
        padding: 34px 14px 64px;
    }

    .radiospe-submit-form {
        border-radius: 18px;
    }

    .radiospe-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .radiospe-field-full {
        grid-column: auto;
    }
}


/* Botón para que los propietarios agreguen su emisora, alineado con los filtros */
.radiospe-add-radio-group {
    width: 220px;
}

.radiospe-filter-label {
    display: block;
}

.radiospe-add-radio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 15px;
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a18, #f0441d);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 9px 22px rgba(240, 68, 29, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.radiospe-add-radio-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(240, 68, 29, .32);
}

@media (max-width: 480px) {
    .radiospe-add-radio-group {
        width: 100%;
    }

    .radiospe-add-radio-button {
        min-height: 46px;
        font-size: 15px;
    }
}


/* =========================================================
   RADIOSPE PREMIUM 2026 — CAPA AISLADA
   Conserva tarjetas, filtros y reproductor existentes.
========================================================= */
.radiospe-premium-header.main-header {
    padding-top: 136px;
    background: #fff;
}

.radiospe-premium-header .header-nav-bar {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 38px rgba(15,23,42,.08);
}

.radiospe-header-top {
    border-bottom: 1px solid rgba(15,23,42,.07);
}

.radiospe-header-top-inner,
.radiospe-header-bottom-inner {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
}

.radiospe-header-top-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.radiospe-header-left { justify-self: start; }
.radiospe-header-logo { justify-self: center; }
.radiospe-header-socials { justify-self: end; }

.radiospe-header-logo img,
.radiospe-header-logo .custom-logo {
    max-width: 255px;
    max-height: 56px;
    width: auto;
    height: auto;
}

.radiospe-header-add,
.radiospe-tv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.radiospe-header-add {
    min-height: 46px;
    padding: 0 19px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg,#ff6a00 0%,#ff3d00 100%);
    box-shadow: 0 12px 26px rgba(255,81,0,.25);
    font-size: 14px;
}

.radiospe-header-add:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255,81,0,.32);
}

.radiospe-header-socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.radiospe-header-socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 5px 14px rgba(15,23,42,.05);
    transition: all .2s ease;
}

.radiospe-header-socials a:hover {
    color: #fff;
    border-color: #ff5a00;
    background: #ff5a00;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,90,0,.24);
}

.radiospe-header-socials svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
}

.radiospe-header-bottom {
    background: #fff;
}

.radiospe-header-bottom-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.radiospe-premium-header .nav-menu {
    flex: 1;
    justify-content: flex-start;
}

.radiospe-premium-header .menu-links-list a {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 13px;
    border-radius: 12px;
}

.radiospe-header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.radiospe-header-tools .search-form {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.radiospe-header-tools .search-field {
    width: 215px;
    height: 40px;
    padding: 0 42px 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: all .2s ease;
}

.radiospe-header-tools .search-field:focus {
    width: 245px;
    border-color: rgba(255,90,0,.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,90,0,.09);
}

.radiospe-header-tools .search-submit {
    width: 34px;
    height: 34px;
    margin-left: -38px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    color: transparent;
    background: transparent;
    cursor: pointer;
}

.radiospe-header-tools .search-form::after {
    content: "⌕";
    position: absolute;
    right: 11px;
    color: #64748b;
    font-size: 22px;
    pointer-events: none;
}

.radiospe-tv-button {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 13px;
    color: #fff;
    background: #111827;
    box-shadow: 0 8px 18px rgba(15,23,42,.16);
    font-size: 13px;
}

.radiospe-tv-button:hover {
    background: #ff5a00;
    transform: translateY(-1px);
}

/* Slider premium */
.radiospe-hero-slider {
    position: relative;
    width: min(1240px, calc(100% - 36px));
    height: clamp(390px, 43vw, 535px);
    margin: 26px auto 0;
    overflow: hidden;
    border-radius: 34px;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15,23,42,.22);
}

.radiospe-hero-track,
.radiospe-hero-slide {
    position: absolute;
    inset: 0;
}

.radiospe-hero-slide {
    display: flex;
    align-items: flex-end;
    padding: clamp(34px,5vw,70px);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .75s ease, transform 1.2s ease, visibility .75s ease;
}

.radiospe-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.radiospe-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,rgba(4,8,18,.90) 0%,rgba(4,8,18,.64) 42%,rgba(4,8,18,.10) 78%),
        linear-gradient(0deg,rgba(4,8,18,.62),transparent 55%);
}

.radiospe-hero-slider .radiospe-hero-content {
    position: relative;
    z-index: 2;
    width: min(680px, 74%);
    color: #fff;
}

.radiospe-hero-slider .radiospe-hero-kicker {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.radiospe-hero-slider h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(38px,5.5vw,76px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.055em;
    text-shadow: 0 5px 8px rgba(0,0,0,.68),0 18px 42px rgba(0,0,0,.65);
}

.radiospe-hero-description {
    max-width: 600px;
    color: rgba(255,255,255,.88);
    font-size: clamp(15px,1.6vw,19px);
    line-height: 1.65;
    text-shadow: 0 3px 14px rgba(0,0,0,.78);
}
.radiospe-hero-description p { margin: 0; }

.radiospe-hero-cta {
    display: inline-flex;
    margin-top: 23px;
    min-height: 47px;
    align-items: center;
    padding: 0 20px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg,#ff6a00,#ff3d00);
    box-shadow: 0 13px 28px rgba(255,81,0,.33);
    font-weight: 900;
    text-decoration: none;
}

.radiospe-hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,12,24,.38);
    backdrop-filter: blur(12px);
    font-size: 32px;
    cursor: pointer;
}
.radiospe-hero-arrow.is-prev { left: 18px; }
.radiospe-hero-arrow.is-next { right: 18px; }
.radiospe-hero-arrow:hover { background: #ff5a00; }

.radiospe-hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 19px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}
.radiospe-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.radiospe-hero-dots button.is-active { width: 26px; background: #ff5a00; }

/* TV flotante */
.radiospe-tv-modal[hidden] { display: none !important; }
.radiospe-tv-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.radiospe-tv-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.82); backdrop-filter: blur(10px); }
.radiospe-tv-panel { position: relative; width: min(1040px,100%); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: #080d18; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
.radiospe-tv-panel-head { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; color: #fff; }
.radiospe-tv-panel-head span { color: #ff6a00; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.radiospe-tv-panel-head h2 { margin: 2px 0 0; color: #fff; font-size: 22px; }
.radiospe-tv-panel-head button { width: 42px; height: 42px; border: 0; border-radius: 13px; color: #fff; background: rgba(255,255,255,.10); font-size: 27px; cursor: pointer; }
.radiospe-tv-screen { aspect-ratio: 16/9; display: grid; place-items: center; background: #000; }
.radiospe-tv-screen iframe,.radiospe-tv-screen video { width: 100%; height: 100%; border: 0; background: #000; }
.radiospe-tv-empty { max-width: 520px; padding: 30px; color: #cbd5e1; text-align: center; line-height: 1.6; }
body.radiospe-tv-open { overflow: hidden; }

/* Noticias: ocultas en escritorio; visibles al final en móvil */
.radiospe-mobile-news { display: none; }

/* Blog independiente */
.radiospe-blog-page { background: #f8fafc; min-height: 70vh; }
.radiospe-blog-hero { padding: 72px 0 48px; color: #fff; background: radial-gradient(circle at 80% 10%,rgba(255,90,0,.35),transparent 30%),#0f172a; }
.radiospe-blog-hero span { color: #ff6a00; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.radiospe-blog-hero h1 { margin: 8px 0; color: #fff; font-size: clamp(38px,6vw,68px); letter-spacing: -.05em; }
.radiospe-blog-hero p { margin: 0; color: #cbd5e1; }
.radiospe-blog-listing { padding: 50px 0 80px; }
.radiospe-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.radiospe-blog-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.radiospe-blog-card-image { aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: #e2e8f0; color: #ff5a00; }
.radiospe-blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.radiospe-blog-card:hover img { transform: scale(1.04); }
.radiospe-blog-card-body { padding: 22px; }
.radiospe-blog-card-body time { color: #ff5a00; font-size: 12px; font-weight: 800; }
.radiospe-blog-card-body h2 { margin: 9px 0; font-size: 21px; line-height: 1.2; }
.radiospe-blog-card-body h2 a { color: #0f172a; text-decoration: none; }
.radiospe-blog-card-body p { color: #64748b; line-height: 1.65; }
.radiospe-blog-readmore { color: #ff5a00; font-weight: 900; text-decoration: none; }

@media (max-width: 900px) {
    .radiospe-header-top-inner,.radiospe-header-bottom-inner { width: min(100% - 24px,1240px); }
    .radiospe-header-top-inner { gap: 14px; }
    .radiospe-header-add { padding: 0 13px; }
    .radiospe-header-tools .search-field { width: 170px; }
    .radiospe-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .radiospe-premium-header.main-header { padding-top: 70px; }
    .radiospe-premium-header .header-nav-bar { min-height: 70px; }
    .radiospe-header-top { border: 0; }
    .radiospe-header-top-inner {
        position: relative;
        min-height: 70px;
        display: flex;
        justify-content: center;
    }
    .radiospe-header-left,.radiospe-header-socials,.radiospe-header-bottom .radiospe-header-tools { display: none !important; }
    .radiospe-header-logo img,.radiospe-header-logo .custom-logo { max-width: 190px; max-height: 44px; }
    .radiospe-premium-header .menu-toggle {
        position: absolute;
        right: 0;
        top: 13px;
        display: inline-flex;
        z-index: 4;
    }
    .radiospe-header-bottom { min-height: 0; }
    .radiospe-header-bottom-inner { min-height: 0; display: block; }
    .radiospe-premium-header .nav-menu {
        position: fixed;
        top: 80px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        display: block;
        padding: 14px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 24px 70px rgba(15,23,42,.22);
        transition: all .22s ease;
    }
    .radiospe-premium-header .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .admin-bar .radiospe-premium-header .nav-menu { top: 126px; }
    body.radiospe-menu-open { overflow: hidden; }

    .radiospe-hero-slider {
        width: calc(100% - 20px);
        height: 330px;
        margin-top: 12px;
        border-radius: 24px;
    }
    .radiospe-hero-slide { align-items: flex-end; padding: 28px 25px 45px; background-position: center; }
    .radiospe-hero-slide-overlay { background: linear-gradient(0deg,rgba(3,7,18,.92) 0%,rgba(3,7,18,.47) 66%,rgba(3,7,18,.12) 100%); }
    .radiospe-hero-slider .radiospe-hero-content { width: 100%; }
    .radiospe-hero-slider h1 { max-width: 94%; margin-bottom: 9px; font-size: clamp(29px,9.5vw,43px); line-height: 1.02; }
    .radiospe-hero-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.45; }
    .radiospe-hero-cta { min-height: 40px; margin-top: 14px; padding: 0 15px; font-size: 13px; }
    .radiospe-hero-arrow { display: none; }
    .radiospe-hero-dots { bottom: 14px; }

    /* La portada móvil conserva solo hero, radios y últimas noticias. */
    body.home .radiospe-section-filters,
    body.front-page .radiospe-section-filters,
    body.home .radiospe-main-content > .elementor,
    body.front-page .radiospe-main-content > .elementor { display: none !important; }

    .radiospe-mobile-news { display: block; padding: 36px 0 110px; background: #f8fafc; }
    .radiospe-mobile-news-heading { padding: 0 12px 14px; }
    .radiospe-mobile-news-heading span { color: #ff5a00; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
    .radiospe-mobile-news-heading h2 { margin: 4px 0 0; color: #0f172a; font-size: 27px; letter-spacing: -.04em; }
    .radiospe-mobile-news-grid { display: grid; gap: 12px; padding: 0 10px; }
    .radiospe-mobile-news-card { display: grid; grid-template-columns: 100px 1fr; gap: 13px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.06); }
    .radiospe-mobile-news-image { min-height: 82px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #f1f5f9; color: #ff5a00; }
    .radiospe-mobile-news-image img { width: 100%; height: 100%; object-fit: cover; }
    .radiospe-mobile-news-content { align-self: center; }
    .radiospe-mobile-news-content time { color: #ff5a00; font-size: 10px; font-weight: 800; }
    .radiospe-mobile-news-content h3 { margin: 5px 0 0; font-size: 15px; line-height: 1.25; }
    .radiospe-mobile-news-content h3 a { color: #0f172a; text-decoration: none; }

    .radiospe-tv-modal { padding: 10px; }
    .radiospe-tv-panel { border-radius: 20px; }
    .radiospe-tv-panel-head { min-height: 68px; padding: 12px 14px; }
    .radiospe-blog-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .radiospe-hero-slide { transition: none; }
}


/* =========================================================
   AJUSTE DE ORDEN DE CABECERA — SIN CAMBIAR EL DISEÑO BASE
========================================================= */
@media (min-width: 769px) {
    .radiospe-header-menu-row {
        border-bottom: 1px solid rgba(15,23,42,.07);
        background: #fff;
    }

    .radiospe-header-brand-row {
        border-bottom: 0;
        background: #fff;
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        position: relative;
        grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    }

    .radiospe-header-brand-row .radiospe-header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .radiospe-header-brand-row .radiospe-header-socials {
        grid-column: 3;
        justify-self: end;
    }
}

@media (max-width: 768px) {
    .radiospe-header-menu-row { min-height: 0; border: 0; }
    .radiospe-header-menu-row .radiospe-header-bottom-inner { min-height: 0; }
    .radiospe-header-menu-row .radiospe-header-tools { display: none !important; }
    .radiospe-header-brand-row .radiospe-header-top-inner { min-height: 70px; }
}

/* =========================================================
   AJUSTE FINAL: MENÚ IZQUIERDA / HERRAMIENTAS DERECHA
   Y HERO COMPACTO DE 230 PX
========================================================= */
@media (min-width: 769px) {
    .radiospe-header-menu-row {
        background: #e5e7eb;
        border-bottom: 1px solid #d1d5db;
    }

    .radiospe-header-menu-row .radiospe-header-bottom-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        min-height: 58px;
    }

    .radiospe-header-menu-row .nav-menu {
        width: auto;
        min-width: 0;
        display: flex;
        justify-content: flex-start !important;
        justify-self: start;
        order: 1;
    }

    .radiospe-header-menu-row .menu-links-list {
        width: auto;
        justify-content: flex-start !important;
        margin: 0 !important;
    }

    .radiospe-header-menu-row .menu-links-list a {
        min-height: 38px;
        padding: 9px 15px;
        color: #1f2937;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(15,23,42,.08);
        box-shadow: 0 4px 12px rgba(15,23,42,.06);
    }

    .radiospe-header-menu-row .menu-links-list a:hover,
    .radiospe-header-menu-row .menu-links-list .current-menu-item > a,
    .radiospe-header-menu-row .menu-links-list .current_page_item > a {
        color: #fff;
        background: #ff5a00;
        border-color: #ff5a00;
        box-shadow: 0 7px 16px rgba(255,90,0,.22);
    }

    .radiospe-header-menu-row .radiospe-header-tools {
        justify-self: end;
        order: 2;
    }

    .radiospe-header-menu-row .search-field {
        background: #fff;
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(15,23,42,.06);
    }

    .radiospe-header-menu-row .radiospe-tv-button {
        box-shadow: 0 7px 16px rgba(15,23,42,.18);
    }
}

.radiospe-hero-slider {
    height: 230px;
    margin-top: 18px;
    border-radius: 24px;
}

.radiospe-hero-slide {
    padding: 26px 54px 34px;
}

.radiospe-hero-slider .radiospe-hero-kicker {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 10px;
}

.radiospe-hero-slider h1 {
    max-width: 760px;
    margin-bottom: 8px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.02;
}

.radiospe-hero-cta {
    min-height: 40px;
    margin-top: 10px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 13px;
}

.radiospe-hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 27px;
}

.radiospe-hero-dots {
    bottom: 12px;
}

@media (max-width: 768px) {
    .radiospe-hero-slider {
        height: 230px;
        margin-top: 10px;
        border-radius: 20px;
    }

    .radiospe-hero-slide {
        padding: 22px 22px 38px;
    }

    .radiospe-hero-slider h1 {
        font-size: clamp(24px, 8vw, 36px);
    }
}


/* =========================================================
   AJUSTES PREMIUM FINALES - MENÚ / LOGO / TARJETAS / MÓVIL
========================================================= */
@media (min-width: 769px) {
    .radiospe-header-menu-row {
        background: linear-gradient(180deg,#374151 0%,#2f3947 100%) !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 26px rgba(15,23,42,.08);
    }

    .radiospe-header-menu-row .radiospe-header-bottom-inner {
        min-height: 74px;
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: center;
        grid-template-columns: minmax(0,1fr) auto;
        gap: 22px;
    }

    .radiospe-header-menu-row .nav-menu,
    .radiospe-header-menu-row .nav-menu > div {
        width: 100%;
    }

    .radiospe-header-menu-row .menu-links-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .radiospe-header-menu-row .menu-links-list li {
        margin: 0 !important;
    }

    .radiospe-header-menu-row .menu-links-list a {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        padding: 0 18px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px;
        color: #f8fafc !important;
        background: rgba(255,255,255,.07);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        transition: all .22s ease;
    }

    .radiospe-header-menu-row .menu-links-list a:hover,
    .radiospe-header-menu-row .menu-links-list .current-menu-item > a,
    .radiospe-header-menu-row .menu-links-list .current_page_item > a {
        color: #fff !important;
        background: linear-gradient(135deg,#ff6a00,#ff4d00);
        border-color: rgba(255,120,50,.55);
        box-shadow: 0 10px 22px rgba(255,90,0,.26);
        transform: translateY(-1px);
    }

    .radiospe-header-menu-row .radiospe-header-tools {
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 6px 8px 6px 14px;
        border-radius: 18px;
        background: rgba(255,255,255,.08);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }

    .radiospe-header-menu-row .search-form {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .radiospe-header-menu-row .search-form::after {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        width: 14px;
        height: 14px;
        transform: translateY(-50%);
        border: 2px solid #94a3b8;
        border-radius: 50%;
        pointer-events: none;
    }

    .radiospe-header-menu-row .search-form::before {
        content: "";
        position: absolute;
        left: 26px;
        top: calc(50% + 4px);
        width: 8px;
        height: 2px;
        background: #94a3b8;
        transform: rotate(45deg);
        border-radius: 999px;
        pointer-events: none;
        z-index: 2;
    }

    .radiospe-header-menu-row .search-field {
        width: 240px !important;
        height: 44px;
        padding: 0 16px 0 40px !important;
        border: 1px solid rgba(148,163,184,.28) !important;
        border-radius: 14px !important;
        color: #0f172a !important;
        background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
        box-shadow: inset 0 1px 2px rgba(15,23,42,.04), 0 8px 18px rgba(15,23,42,.08) !important;
        font-size: 14px !important;
        font-weight: 600;
    }

    .radiospe-header-menu-row .search-field:focus {
        border-color: rgba(255,106,0,.55) !important;
        box-shadow: 0 0 0 4px rgba(255,106,0,.14), inset 0 1px 2px rgba(15,23,42,.04), 0 8px 18px rgba(15,23,42,.08) !important;
        outline: none;
    }

    .radiospe-header-menu-row .search-submit {
        height: 44px;
        padding: 0 16px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        color: #fff;
        background: linear-gradient(180deg,#111827 0%,#0f172a 100%);
        box-shadow: 0 10px 20px rgba(2,6,23,.22);
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: all .22s ease;
    }

    .radiospe-header-menu-row .search-submit:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg,#ff6a00,#ff4d00);
        box-shadow: 0 12px 24px rgba(255,90,0,.26);
    }

    .radiospe-header-menu-row .radiospe-tv-button {
        min-height: 44px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 900;
        box-shadow: 0 12px 24px rgba(2,6,23,.22);
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        min-height: 86px;
        align-items: center;
        gap: 16px;
    }

    .radiospe-header-add {
        min-height: 42px !important;
        padding: 0 15px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        box-shadow: 0 10px 24px rgba(255,90,0,.18) !important;
    }

    .radiospe-header-add span:first-child {
        font-size: 15px;
    }

    .radiospe-header-logo img,
    .radiospe-header-logo .custom-logo {
        max-height: 54px !important;
        width: auto;
    }

    .radiospe-header-socials a {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    body.home .radiospe-grid,
    body.front-page .radiospe-grid,
    .radiospe-main-content .radiospe-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 16px !important;
        padding: 10px 0 28px !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 {
        min-height: 182px !important;
        padding: 16px 10px 14px !important;
        border-radius: 20px !important;
    }

    .radio-card-bottom-row--center {
        justify-content: center !important;
    }

    .radio-card-bottom-row--center .radio-card-info-link {
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
    }

    .radio-card-city {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    body.home .radiospe-grid,
    body.front-page .radiospe-grid,
    .radiospe-main-content .radiospe-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .radiospe-premium-header.main-header {
        padding-top: 74px;
    }

    .radiospe-premium-header .header-nav-bar {
        min-height: 74px;
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        min-height: 74px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-right: 58px;
    }

    .radiospe-header-logo {
        margin-right: auto;
    }

    .radiospe-header-logo img,
    .radiospe-header-logo .custom-logo {
        max-width: 180px !important;
        max-height: 42px !important;
    }

    .radiospe-premium-header .menu-toggle {
        width: 46px;
        height: 46px;
        right: 0;
        top: 14px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        background: linear-gradient(180deg,#111827 0%,#0f172a 100%);
        box-shadow: 0 14px 28px rgba(15,23,42,.20);
    }

    .radiospe-premium-header .menu-toggle .bar {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }

    .radiospe-premium-header .nav-menu {
        top: 84px;
        left: 12px;
        right: 12px;
        padding: 16px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 22px;
        background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
        box-shadow: 0 30px 60px rgba(15,23,42,.18);
    }

    .radiospe-premium-header .nav-menu .menu,
    .radiospe-premium-header .nav-menu .menu-links-list {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .radiospe-premium-header .nav-menu li {
        margin: 0;
    }

    .radiospe-premium-header .nav-menu a {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        color: #0f172a;
        background: #fff;
        box-shadow: 0 8px 18px rgba(15,23,42,.05);
        font-weight: 800;
        text-decoration: none;
    }

    .radiospe-premium-header .nav-menu .current-menu-item > a,
    .radiospe-premium-header .nav-menu .current_page_item > a {
        color: #fff;
        border-color: #ff5a00;
        background: linear-gradient(135deg,#ff6a00,#ff4d00);
        box-shadow: 0 10px 22px rgba(255,90,0,.20);
    }
}


/* =========================================================
   AJUSTE VISUAL FINAL: BUSCADOR, HERO Y NOTICIAS EN PORTADA
========================================================= */
@media (min-width: 769px) {
    .radiospe-header-menu-row .radiospe-header-tools form.search-form {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .radiospe-header-menu-row .radiospe-header-tools .search-form label {
        display: block !important;
        margin: 0 !important;
    }

    .radiospe-header-menu-row .radiospe-header-tools input.search-field,
    .radiospe-header-menu-row .radiospe-header-tools input[type="search"] {
        width: 250px !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 16px 0 42px !important;
        border: 1px solid rgba(148,163,184,.38) !important;
        border-radius: 14px !important;
        color: #0f172a !important;
        background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
        box-shadow: inset 0 1px 2px rgba(15,23,42,.05),0 10px 24px rgba(15,23,42,.12) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        outline: none !important;
        appearance: none !important;
    }

    .radiospe-header-menu-row .radiospe-header-tools input.search-field:focus,
    .radiospe-header-menu-row .radiospe-header-tools input[type="search"]:focus {
        border-color: #ff6a00 !important;
        box-shadow: 0 0 0 4px rgba(255,106,0,.16),0 12px 28px rgba(15,23,42,.15) !important;
    }

    .radiospe-header-menu-row .radiospe-header-tools input.search-submit,
    .radiospe-header-menu-row .radiospe-header-tools button.search-submit,
    .radiospe-header-menu-row .radiospe-header-tools input[type="submit"] {
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 18px !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        border-radius: 14px !important;
        color: #fff !important;
        background: linear-gradient(135deg,#ff6a00,#ff4d00) !important;
        box-shadow: 0 10px 22px rgba(255,90,0,.28) !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        cursor: pointer !important;
        appearance: none !important;
    }

    .radiospe-header-menu-row .radiospe-header-tools input.search-submit:hover,
    .radiospe-header-menu-row .radiospe-header-tools button.search-submit:hover,
    .radiospe-header-menu-row .radiospe-header-tools input[type="submit"]:hover {
        transform: translateY(-1px) !important;
        filter: brightness(1.04);
    }
}

.radiospe-hero-slider {
    height: 230px !important;
}

.radiospe-hero-slide {
    align-items: center !important;
    padding: 24px 72px !important;
}

.radiospe-hero-slider .radiospe-hero-content {
    width: min(620px,72%) !important;
}

.radiospe-hero-slider .radiospe-hero-kicker {
    margin-bottom: 10px !important;
    padding: 6px 12px !important;
    font-size: 9px !important;
    letter-spacing: .11em !important;
}

.radiospe-hero-slider h1 {
    max-width: 620px !important;
    margin: 0 0 8px !important;
    font-size: clamp(29px,3.7vw,48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
}

.radiospe-hero-cta {
    min-height: 38px !important;
    margin-top: 8px !important;
    padding: 0 15px !important;
    font-size: 12px !important;
}

.radiospe-mobile-news {
    display: block !important;
    padding: 46px 0 110px;
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

.radiospe-mobile-news-heading {
    margin-bottom: 20px;
    text-align: center;
}

.radiospe-mobile-news-heading span {
    color: #ff5a00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.radiospe-mobile-news-heading h2 {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: clamp(28px,4vw,42px);
    letter-spacing: -.04em;
}

.radiospe-mobile-news-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
}

.radiospe-mobile-news-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
    transition: transform .22s ease,box-shadow .22s ease;
}

.radiospe-mobile-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15,23,42,.12);
}

.radiospe-mobile-news-image {
    aspect-ratio: 16/10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #e2e8f0;
    color: #ff5a00;
}

.radiospe-mobile-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radiospe-mobile-news-content {
    padding: 18px;
}

.radiospe-mobile-news-content time {
    color: #ff5a00;
    font-size: 11px;
    font-weight: 800;
}

.radiospe-mobile-news-content h3 {
    margin: 7px 0 0;
    font-size: 17px;
    line-height: 1.3;
}

.radiospe-mobile-news-content h3 a {
    color: #0f172a;
    text-decoration: none;
}

@media (max-width: 900px) {
    .radiospe-mobile-news-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .radiospe-hero-slide {
        padding: 20px 50px 38px 24px !important;
        align-items: flex-end !important;
    }

    .radiospe-hero-slider .radiospe-hero-content {
        width: 100% !important;
    }

    .radiospe-hero-slider h1 {
        max-width: 92% !important;
        font-size: clamp(24px,8vw,34px) !important;
    }

    .radiospe-mobile-news {
        padding: 36px 0 110px !important;
    }

    .radiospe-mobile-news-heading {
        padding: 0 12px 14px !important;
        text-align: left;
    }

    .radiospe-mobile-news-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }

    .radiospe-mobile-news-card {
        display: grid !important;
        grid-template-columns: 100px 1fr !important;
        gap: 13px !important;
        padding: 10px !important;
        border-radius: 18px !important;
    }

    .radiospe-mobile-news-image {
        min-height: 82px !important;
        aspect-ratio: auto !important;
        border-radius: 13px !important;
    }

    .radiospe-mobile-news-content {
        align-self: center;
        padding: 0 !important;
    }

    .radiospe-mobile-news-content h3 {
        font-size: 15px !important;
    }
}


/* =========================================================
   CORRECCIÓN FINAL: CAMPO DE BÚSQUEDA PREMIUM + ENLACES HOME
========================================================= */
.radiospe-logo-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
}

.radiospe-logo-home-link:focus-visible {
    outline: 3px solid rgba(255,106,0,.35);
    outline-offset: 5px;
    border-radius: 8px;
}

.radiospe-directory-home-link {
    display: inline-flex;
    align-items: center;
    color: #ff5a00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.radiospe-directory-home-link:hover {
    color: #d94800;
    transform: translateY(-1px);
}

@media screen and (min-width: 769px) {
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"],
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 6px !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 18px !important;
        background: rgba(15,23,42,.28) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(2,6,23,.16) !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] label,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form label {
        display: block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] input[type="search"],
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form input.search-field {
        box-sizing: border-box !important;
        display: block !important;
        width: 260px !important;
        min-width: 260px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        margin: 0 !important;
        padding: 0 18px 0 44px !important;
        border: 1px solid #d7dee8 !important;
        border-radius: 13px !important;
        color: #111827 !important;
        background-color: #fff !important;
        background-image: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
        box-shadow: inset 0 1px 2px rgba(15,23,42,.06), 0 8px 20px rgba(2,6,23,.14) !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 46px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        outline: none !important;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] input[type="search"]::placeholder,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form input.search-field::placeholder {
        color: #94a3b8 !important;
        opacity: 1 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] input[type="search"]:focus,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form input.search-field:focus {
        border-color: #ff6a00 !important;
        background: #fff !important;
        box-shadow: 0 0 0 4px rgba(255,106,0,.18), 0 10px 24px rgba(2,6,23,.16) !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"]::after,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form::after {
        left: 20px !important;
        z-index: 3 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"]::before,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form::before {
        left: 32px !important;
        z-index: 4 !important;
    }
}


/* =========================================================
   CAMPO DE BÚSQUEDA PREMIUM + ESTADO DE RESULTADOS
   Ajuste aislado sobre la versión base solicitada.
========================================================= */
@media (min-width: 769px) {
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] {
        min-height: 58px !important;
        padding: 5px 6px 5px 8px !important;
        gap: 9px !important;
        border: 1px solid rgba(255,255,255,.13) !important;
        border-radius: 19px !important;
        background: linear-gradient(180deg,rgba(15,23,42,.42),rgba(15,23,42,.28)) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(2,6,23,.18) !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form label,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] label {
        display: flex !important;
        align-items: center !important;
        height: 48px !important;
        margin: 0 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"] {
        box-sizing: border-box !important;
        width: 280px !important;
        min-width: 280px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        margin: 0 !important;
        padding: 0 18px 0 46px !important;
        border: 1px solid #d8e0ea !important;
        border-radius: 14px !important;
        color: #0f172a !important;
        background: linear-gradient(180deg,#ffffff 0%,#f5f7fa 100%) !important;
        box-shadow: inset 0 2px 5px rgba(15,23,42,.06), 0 8px 18px rgba(2,6,23,.13) !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 650 !important;
        line-height: normal !important;
        letter-spacing: .01em !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        outline: none !important;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field::placeholder,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"]::placeholder {
        color: #7c899b !important;
        opacity: 1 !important;
        font-weight: 600 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field:hover,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"]:hover {
        border-color: #b7c2d0 !important;
        background: #fff !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field:focus,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"]:focus {
        border-color: #ff6500 !important;
        background: #fff !important;
        box-shadow: 0 0 0 4px rgba(255,101,0,.18), inset 0 1px 3px rgba(15,23,42,.04), 0 10px 24px rgba(2,6,23,.16) !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools .search-submit {
        height: 48px !important;
        min-height: 48px !important;
    }
}

.radiospe-search-status {
    margin: 4px 0 16px;
    padding: 13px 17px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #475569;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
    font-size: 14px;
    line-height: 1.5;
}
.radiospe-search-status strong { color: #ff5a00; }


/* =========================================================
   AJUSTE SEGURO: HAMBURGUESA MÓVIL SIEMPRE VISIBLE
========================================================= */
@media (max-width: 768px) {
    .radiospe-header-brand-row,
    .radiospe-header-brand-row .radiospe-header-top-inner {
        overflow: visible !important;
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        position: relative !important;
        width: calc(100% - 24px) !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 58px !important;
    }

    .radiospe-premium-header .menu-toggle,
    .radiospe-header-brand-row .menu-toggle,
    #menuToggle {
        position: absolute !important;
        top: 14px !important;
        right: 0 !important;
        left: auto !important;
        z-index: 9999 !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 15px !important;
        background: linear-gradient(180deg,#172033 0%,#0f172a 100%) !important;
        box-shadow: 0 12px 26px rgba(15,23,42,.24) !important;
    }

    #menuToggle .bar {
        display: block !important;
        width: 19px !important;
        height: 2px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        background: #fff !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   CORRECCIÓN DEFINITIVA DEL MENÚ HAMBURGUESA MÓVIL
   Mantener al final para neutralizar reglas antiguas duplicadas.
========================================================= */
@media (max-width: 768px) {
    .radiospe-premium-header,
    .radiospe-premium-header .header-nav-bar,
    .radiospe-header-brand-row {
        overflow: visible !important;
    }

    .radiospe-premium-header .header-nav-bar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 99990 !important;
    }

    body.admin-bar .radiospe-premium-header .header-nav-bar {
        top: 46px !important;
    }

    .radiospe-header-brand-row {
        position: relative !important;
        z-index: 3 !important;
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        position: relative !important;
        width: calc(100% - 24px) !important;
        min-height: 74px !important;
        margin: 0 auto !important;
        padding: 0 58px 0 0 !important;
        overflow: visible !important;
    }

    .radiospe-premium-header #menuToggle {
        position: absolute !important;
        top: 14px !important;
        right: 0 !important;
        left: auto !important;
        z-index: 100002 !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255,255,255,.12) !important;
        border-radius: 15px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        background: linear-gradient(180deg,#172033 0%,#0f172a 100%) !important;
        box-shadow: 0 12px 26px rgba(15,23,42,.25) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }

    .radiospe-premium-header #menuToggle .bar {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        background: #fff !important;
        transform-origin: center !important;
        transition: transform .22s ease, opacity .18s ease !important;
    }

    .radiospe-premium-header #menuToggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .radiospe-premium-header #menuToggle.is-active .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .radiospe-premium-header #menuToggle.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .radiospe-premium-header #navMenu {
        position: fixed !important;
        top: 84px !important;
        right: 12px !important;
        left: 12px !important;
        z-index: 100001 !important;
        width: auto !important;
        max-height: calc(100dvh - 104px) !important;
        display: block !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 14px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 20px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) scale(.985) !important;
        background: #fff !important;
        box-shadow: 0 24px 70px rgba(15,23,42,.25) !important;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
    }

    body.admin-bar .radiospe-premium-header #navMenu {
        top: 130px !important;
        max-height: calc(100dvh - 150px) !important;
    }

    .radiospe-premium-header #navMenu.is-open,
    .radiospe-premium-header #navMenu.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .radiospe-premium-header #navMenu > div,
    .radiospe-premium-header #navMenu .menu,
    .radiospe-premium-header #navMenu .menu-links-list {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .radiospe-premium-header #navMenu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .radiospe-premium-header #navMenu a {
        box-sizing: border-box !important;
        width: 100% !important;
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        padding: 10px 15px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 13px !important;
        color: #0f172a !important;
        background: #fff !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .radiospe-premium-header #navMenu .current-menu-item > a,
    .radiospe-premium-header #navMenu .current_page_item > a {
        color: #fff !important;
        border-color: #ff5a00 !important;
        background: linear-gradient(135deg,#ff6a00,#ff4d00) !important;
    }

    body.radiospe-menu-open {
        overflow: hidden !important;
        touch-action: none;
    }
}

@media (min-width: 769px) {
    .radiospe-premium-header #navMenu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

/* =========================================================
   CORRECCIÓN DEFINITIVA: HAMBURGUESA DENTRO DEL VIEWPORT
   Evita que el botón quede cortado por contenedores más anchos.
========================================================= */
@media (max-width: 768px) {
    .radiospe-premium-header,
    .radiospe-premium-header .header-nav-bar,
    .radiospe-header-brand-row {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
    }

    .radiospe-header-brand-row {
        position: relative !important;
    }

    .radiospe-header-brand-row .radiospe-header-top-inner {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding-left: 14px !important;
        padding-right: 76px !important;
        overflow: visible !important;
    }

    .radiospe-premium-header #menuToggle {
        position: absolute !important;
        top: 14px !important;
        right: max(14px, env(safe-area-inset-right)) !important;
        left: auto !important;
        box-sizing: border-box !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        clip: auto !important;
        clip-path: none !important;
        overflow: visible !important;
    }

    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}


/* =========================================================
   MÓVIL: FILA DE REDES + TV Y HERO OCULTO
   Capa final aislada para no alterar escritorio.
========================================================= */
.radiospe-mobile-actions {
    display: none;
}

@media (max-width: 768px) {
    .radiospe-premium-header.main-header {
        padding-top: 126px !important;
    }

    .radiospe-premium-header .header-nav-bar {
        min-height: 126px !important;
        overflow: visible !important;
    }

    .radiospe-mobile-actions {
        display: block;
        min-height: 56px;
        border-top: 1px solid rgba(15,23,42,.07);
        background: #f8fafc;
    }

    .radiospe-mobile-actions-inner {
        width: min(100% - 24px, 520px);
        min-height: 56px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .radiospe-mobile-actions-inner::-webkit-scrollbar {
        display: none;
    }

    .radiospe-mobile-socials {
        display: flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
    }

    .radiospe-mobile-socials a {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        border: 1px solid rgba(15,23,42,.09);
        border-radius: 11px;
        color: #334155;
        background: #fff;
        box-shadow: 0 4px 12px rgba(15,23,42,.06);
        text-decoration: none;
    }

    .radiospe-mobile-socials svg {
        width: 17px;
        height: 17px;
        fill: currentColor;
        stroke: currentColor;
        stroke-width: 1.8;
    }

    .radiospe-mobile-tv-button {
        min-height: 36px !important;
        padding: 0 13px !important;
        flex: 0 0 auto;
        border-radius: 11px !important;
        font-size: 12px !important;
        white-space: nowrap;
        box-shadow: 0 7px 16px rgba(15,23,42,.17) !important;
    }

    .radiospe-mobile-tv-button svg {
        margin: 0 !important;
        flex: 0 0 auto;
    }

    /* Slider y portada hero ocultos únicamente en móviles. */
    .radiospe-premium-header > .radiospe-hero-slider,
    .radiospe-premium-header > .radiospe-hero-portada,
    .radiospe-premium-header > .header-mensaje-container {
        display: none !important;
    }

    /* El panel desplegable comienza debajo de las dos filas móviles. */
    .radiospe-premium-header .nav-menu {
        top: 136px !important;
        max-height: calc(100vh - 156px) !important;
    }

    .admin-bar .radiospe-premium-header .nav-menu {
        top: 182px !important;
        max-height: calc(100vh - 202px) !important;
    }
}

@media (max-width: 370px) {
    .radiospe-mobile-actions-inner {
        gap: 8px;
    }

    .radiospe-mobile-socials {
        gap: 5px;
    }

    .radiospe-mobile-socials a {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .radiospe-mobile-tv-button {
        padding: 0 10px !important;
    }
}

/* =========================================================
   AJUSTE VISUAL FINAL: SEGUNDA FILA MÓVIL EN GRIS OSCURO
   Solo cambia la apariencia; no altera la lógica ni escritorio.
========================================================= */
@media (max-width: 768px) {
    .radiospe-mobile-actions {
        background: #252a31 !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        border-bottom: 1px solid rgba(0,0,0,.24) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 14px rgba(15,23,42,.12);
    }

    .radiospe-mobile-socials a {
        color: #ffffff !important;
        background: #343a43 !important;
        border-color: rgba(255,255,255,.12) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.22) !important;
    }

    .radiospe-mobile-socials a:hover,
    .radiospe-mobile-socials a:focus-visible {
        color: #ffffff !important;
        background: #444b56 !important;
        border-color: rgba(255,255,255,.24) !important;
        transform: translateY(-1px);
    }

    .radiospe-mobile-tv-button {
        border: 1px solid rgba(255,255,255,.18) !important;
        box-shadow: 0 7px 18px rgba(0,0,0,.32) !important;
    }
}

/* =========================================================
   CORRECCIÓN AISLADA: BOTÓN COMPLETO DEL BUSCADOR
   Evita que el botón se comprima o quede recortado.
========================================================= */
@media (min-width: 769px) {
    header.radiospe-premium-header .radiospe-header-menu-row,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-bottom-inner,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools {
        overflow: visible !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form.search-form label,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools form[role="search"] label {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"] {
        width: clamp(190px, 23vw, 280px) !important;
        min-width: 190px !important;
        max-width: 280px !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-submit,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools button.search-submit,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="submit"] {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 96px !important;
        max-width: none !important;
        margin-left: 0 !important;
        padding: 0 18px !important;
        overflow: visible !important;
        color: #fff !important;
        white-space: nowrap !important;
        text-indent: 0 !important;
        line-height: 1 !important;
    }
}

@media (min-width: 769px) and (max-width: 1050px) {
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-field,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="search"] {
        width: 190px !important;
        min-width: 190px !important;
    }

    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input.search-submit,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools button.search-submit,
    header.radiospe-premium-header .radiospe-header-menu-row .radiospe-header-tools input[type="submit"] {
        min-width: 90px !important;
        padding-inline: 14px !important;
    }
}
