.podcast-main-title {
    color: #070E46;
    font-family: 'TiemposHeadline', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 56px;
    letter-spacing: 0%;
    text-align: center;
}

/**
 * Silo UI: Parámetros de Extensión y Simetría para Grilla de Podcasts
 * Corrección de anchos y proporciones tipo revista (image_382a20.jpg)
 */

/* Forzar la expansión fluida de las tarjetas eliminando anchos inline restrictivos */
.podcast-exact-card-horizontal {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    transition: transform 0.25s ease;
}

/* Pastillas flotantes oficiales de la guía de estilos */
.podcast-exact-floating-badge-ep {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #001391 !important;
    color: #FFFFFF !important;
    font-family: 'BentonSansBBVA-Book', sans-serif;
    font-weight: 400;
    font-style:italic;
    font-size: 15px;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 3;
}

.podcast-exact-pill-indicator {
    bottom: 15px;
    right: 15px;
    background-color: #001489; /* Azul sólido BBVA Provincial */
    min-width: 64px;
    min-height: 88px;
    z-index: 10;
}
.podcast-exact-pill-indicator .podcast-icon {
    filter: brightness(0) invert(1);
    display: block;
}

.podcast-exact-pill-indicator:hover {
    background-color: #000f66; /* Feedback sutil al pasar el mouse */
}

.podcast-exact-pill-indicator .podcast-time {
    font-family: 'BentonSansBBVA-Medium', sans-serif !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 16px;
    letter-spacing: 0%;
    margin-top: 5%;
}

/* Paginación limpia integrada */
.podcast-system-pagination-pill-box a,
.podcast-system-pagination-pill-box span {
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 14px;
    color: #004481;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.podcast-system-pagination-pill-box span.current {
    background-color: #004481;
    color: #FFFFFF !important;
}

.podcast-system-pagination-pill-box a:hover {
    background-color: #E9EDF5;
}

/* ==========================================================================
   ESTILOS AVANZADOS REPRODUCTOR MODAL COMPATIBLE CON LA IMAGEN ADJUNTA
   ========================================================================== */

/* Fondo oscurecido con azul institucional traslúcido */
.pf-podcast-custom-modal.modal {
    background-color: rgba(0, 19, 145, 0.85)
}

/* Tarjeta contenedora blanca */
.pf-podcast-custom-modal .modal-content {
    background-color: #ffffff;
    border-radius: 16px !important;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Encabezado del modal */
.pf-podcast-custom-modal .dynamic-modal-title {
    font-family: 'TiemposHeadline', Georgia, serif;
    font-weight: 700;
    font-size: 32px;
    color: #070E46;
    line-height: 40px;
    letter-spacing: 0%;
}

.pf-podcast-custom-modal .btn-close-modal-x {
    cursor: pointer;
    transition: transform 0.2s;
}

/* Cápsula gris claro en forma de píldora para el reproductor */
.audio-capsule-wrapper {
    background-color: #F7F8F8;
    border-radius: 50px;
    padding: 30px;
    width: 100%;
    box-shadow: -1px 0px 10px 0px #070E4626;
}

/* Botón de Escuchar interno */
.btn-audio-core-toggle {
    cursor: pointer;
}
.btn-audio-core-toggle .action-string-label {
    font-family: 'BentonSansBBVA-Bold', sans-serif;
    font-size: 14px;
    color: #004481;
    font-weight: 700;
}

/* Marcas de tiempo */
.time-stamp-indicator {
    font-family: 'BentonSansBBVA-Book', sans-serif;
    font-size: 13.5px;
    color: #4A5568;
}

/* Contenedor flexible del slider */
.progress-timeline-flex-grow {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Control deslizable personalizado (Slider de rango) */
.custom-audio-slider-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #DBE0EB;
    border-radius: 2px;
    outline: none;
}

/* El punto indicador azul del slider (Glow) */
.custom-audio-slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #004481;
    cursor: pointer;
    transition: transform 0.1s;
}
.custom-audio-slider-range::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Botones de acción inferiores */
.btn-modal-action-download {
    display: inline-block;
    background-color: #001391;
    color: #ffffff !important;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    transition: background-color 0.2s;
    text-align: center;
}
.btn-modal-action-download:hover {
    background-color: #070E46;
}

.btn-modal-action-share {
    background-color: #F8F9FA;
    border: none;
    color: #070E46;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-modal-action-share:hover {
    background-color: #E9EDF5;
}

/* ==========================================================================
   ESTILOS AVANZADOS PARA MODAL DE REPRODUCTOR COMPATIBLE 
   ========================================================================== */


.modal-dialog {
    max-width: 808px !important;
    max-height: 276px !important;
}

.modal-content {
    height: 100%;
}
.podcast-module-fluid-layer .mt-5 {
    margin-top: 1rem !important;
}

.section-otros-podcasts-interes.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 0rem !important;
}

/* Proporciones de imagen de las tarjetas de podcast */
.podcast-horizontal-media-img {
    aspect-ratio: 19 / 9;
}

.podcast-vertical-media-header {
    aspect-ratio: 13 / 9;
}

/* Padding del wrapper de imagen y body de tarjetas verticales */
.podcast-vertical-img-wrapper {
    padding: 24px 24px 0 24px;
}

.podcast-vertical-body {
    padding: 1.5rem;
}

/* Hero */
.podcast-page-main-isolation {
    padding-top: 2rem;
}

.hero-programas {
    min-height: 488px;
}

/* ==========================================================================
   MEDIA QUERIES PARA TRANSFORMACIÓN RESPONSIVA DEL BLOQUE HORIZONTAL Y EL MODAL
   ========================================================================== */

@media (max-width: 991.98px) {
    .hero-programas {
    min-height: 380px;
    padding-top: 0rem !important;
    }
    .text-title-hero-podcast {
    font-size: 48px !important;
}
    .otros-podcasts-display-title {
    font-size: 32px !important;
    line-height: 34px !important;
    text-align: center;
    margin-top: -20px !important;
    margin-bottom: 0.5rem !important;
    }
    .section-display-title {
    font-size: 32px !important;
    line-height: 34px !important;
    text-align: left;
    margin-top: -20px !important;
    margin-bottom: -1.5rem !important;
}
    .podcast-exact-card-horizontal {
    flex-direction: column !important;
    padding: 4px !important;
    margin-bottom: -24px;
    }
    .podcast-horizontal-media {
    width: 100% !important;
    height: 240px !important;
    order: 1 !important;
    padding: 14px !important;
    }
    .podcast-horizontal-body{
    padding: 14px !important;
    }
    .podcast-horizontal-body {
    order: 2 !important;
    }
    .podcast-horizontal-media-img {
    aspect-ratio: 11 / 9;
}

.podcast-vertical-media-header {
    aspect-ratio: 11 / 9;
}
.podcast-vertical-img-wrapper{
    padding: 6px 6px 0 6px;
}
.podcast-exact-pill-indicator .podcast-icon{
    margin-bottom: 24px !important;
}
}

@media (max-width: 576px) {
    .podcast-page-main-isolation {
        padding-top: 0rem !important;
        margin-bottom: -50px;
    }
    .podcast-vertical-img-wrapper {
        padding: 6px 6px 0 6px;
        margin-bottom: 16px;
    }
    .podcast-vertical-body {
        padding: 0.5rem;
    }
    .hero-programas {
        min-height: 320px;
        padding-top: 1rem !important;
    }
    
    .pf-podcast-custom-modal .modal-content {
        padding: 24px 20px;
    }
    .audio-capsule-wrapper {
        padding: 10px 14px;
    }
    .progress-timeline-flex-grow {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
    .section-otros-podcasts-interes.py-5 {
    padding-top: 3rem !important;
}
  .podcast-pagination .prensa-mobile-pagination {
    width: 100%;
    gap: 82px;
}
}

@media (min-width: 768px) and (max-width: 991px) {
    .podcast-pagination .prensa-mobile-pagination {
    width: 100%;
    gap: 238px;
}
}

/* ==========================================================================
   REESTRUCTURACIÓN DE PAGINACIÓN - ESTILO MINIMALISTA SUBRAYADO (IMAGEN 2)
   ========================================================================== */
.prensa-custom-pagination {
    font-family: 'BentonSansBBVA-Medium', sans-serif !important;
    gap: 16px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    align-items: center !important;
    font-size: 15.01px !important;
}

.prensa-custom-pagination .page-separator {
    color: #DBE0EB !important; /* Gris suave de la guía de estilos BBVA */
    font-weight: 300 !important;
    user-select: none !important;
    margin: 0 4px !important;
    font-size: 15.01px !important;
}

.prensa-custom-pagination .page-numbers-container {
    gap: 24px !important; /* Separación elegante entre los números sueltos */
    align-items: center !important;
}

.prensa-custom-pagination .page-nav,
.prensa-custom-pagination .page-num {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 6px !important;
    font-size: 15.01px !important;
    font-weight: 500 !important;
    color: #001391 !important; /* Azul Corporativo */
    text-decoration: none !important;
    position: relative !important;
    display: inline-block !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease-in-out !important;
}

/* Estado del Número Actual Seleccionado (Línea inferior azul dinámica) */
.prensa-custom-pagination .page-num.current {
    color: #070E46 !important; /* Azul oscuro premium */
    font-weight: 300 !important;
    pointer-events: none !important;
}


.prensa-custom-pagination a.page-nav:hover,
.prensa-custom-pagination a.page-num:hover {
    color: #070E46 !important;
    opacity: 0.85;
}

/* Estado Deshabilitado (Páginas extremos o límites) */
.prensa-custom-pagination .page-nav.disabled {
    color: #A0B3D6 !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
    cursor: default;
}

/* ==========================================================================
   ESTILOS VENTANA EMERGENTE (MODAL PODCAST)
   ========================================================================== */
.podcast-modal-custom .modal-content {
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0px 12px 32px rgba(7, 14, 70, 0.15) !important;
}

.podcast-modal-custom .btn-close-custom {
    position: absolute !important;
    top: 16px;
    right: 16px;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    color: #070E46 !important;
    cursor: pointer;
    z-index: 1051;
    transition: transform 0.2s ease;
}

.podcast-modal-custom .btn-close-custom:hover {
    transform: scale(1.1);
}

.podcast-modal-custom .modal-podcast-image-container {
    width: 140px;
    height: 140px;
    overflow: hidden;
}

.podcast-modal-custom .modal-podcast-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-modal-custom .badge-episode-modal {
    font-family: 'BentonSansBBVA-Book', sans-serif !important;
    font-style: italic !important;
    font-size: 14px !important;
    color: #001391 !important;
}

.podcast-modal-custom .modal-title-custom {
    font-family: 'TiemposHeadline', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #070E46 !important;
    line-height: 28px;
}

/* Ajustes finos para el reproductor nativo del navegador */
.podcast-modal-custom .audio-player-wrapper audio {
    outline: none;
    height: 40px;
}

/* Ajustar el cuadro de diálogo para evitar que se desparrame o ensanche */
.pf-podcast-custom-modal .modal-dialog {
    max-width: 380px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - var(--bs-modal-margin) * 2) !important;
}

/* Caja contenedora sin bordes oscuros, fondo blanco puro y esquinas suavizadas */
.pf-podcast-custom-modal .modal-content {
    background-color: #FFFFFF !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(7, 14, 70, 0.08) !important;
    padding: 0px !important;
    overflow: hidden !important;
}

/* Remoción total de líneas divisorias en la cabecera nativa */
.pf-podcast-custom-modal .modal-header {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: auto !important;
}

/* Botón superior de cierre (X) minimalista */
.pf-podcast-custom-modal .btn-close {
    background-size: 10px;
    opacity: 0.4 !important;
    padding: 0 !important;
    margin-top: 16px !important;
    margin-right: 16px !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    transition: opacity 0.2s ease;
}

.pf-podcast-custom-modal .btn-close:hover {
    opacity: 0.8 !important;
}

/* Cuerpo del modal con espaciados internos idénticos a la guía visual */
.pf-podcast-custom-modal .modal-body {
    background-color: #FFFFFF !important;
    padding: 12px 36px 36px 36px !important;
    border: none !important;
}

/* Portada central perfectamente cuadrada */
.pf-podcast-custom-modal .podcast-modal-artwork-wrapper {
    width: 140px !important;
    height: 140px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 auto 20px auto !important;
    box-shadow: 0 6px 16px rgba(7, 14, 70, 0.10) !important;
    border: none !important;
}

.pf-podcast-custom-modal .podcast-modal-artwork-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: none !important;
}

/* Identificador del Episodio (Ej: EPISODIO 1) */
#js-modal-podcast-label {
    font-family: 'BentonSansBBVA-Medium', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #001391 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 6px !important;
    line-height: 1 !important;
}

/* Título Serif del Podcast */
#js-modal-podcast-title {
    font-family: 'TiemposHeadline', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #070E46 !important;
    line-height: 26px !important;
    max-width: 100% !important;
    margin: 0 auto 24px auto !important;
}

/* Contenedor Gris Claro del Reproductor de Audio */
.pf-podcast-custom-modal .audio-player-wrapper {
    background-color: #F4F6F9 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 0 auto 24px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
}

/* Elemento de Audio Nativo HTML5 */
.pf-podcast-custom-modal audio {
    width: 100% !important;
    height: 36px !important;
    outline: none !important;
    background-color: #F4F6F9 !important;
}

/* Sección de acciones del pie de página */
.pf-podcast-custom-modal .podcast-modal-footer-actions {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Botón inferior para compartir */
.pf-podcast-custom-modal .btn-share-link {
    font-family: 'BentonSansBBVA-Bold', sans-serif !important;
    font-size: 13.5px !important;
    color: #001391 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: none !important;
    background: transparent !important;
    transition: color 0.2s ease;
}

.pf-podcast-custom-modal .btn-share-link:hover {
    color: #070E46 !important;
}

/**
 * Componente Silo: Podcast Player Estilos de Alta Fidelidad (Imagen 1)
 */

:root {
    --podcast-midnight: #070E46;
    --podcast-blue: #001391;
    --podcast-light-bg: #F8F9FA;
    --podcast-track-gray: #E9EDF5;
}

/* Forzar ocultamiento absoluto del reproductor nativo del navegador */
audio#nativeAudioElement {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

/* Overlay del fondo */
.podcast-custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 19, 145, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Tarjeta contenedora blanca */
.podcast-custom-modal-card {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 808px;
    min-height: 276px;
    padding: 32px 36px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.podcast-modal-title {
    font-family: 'TiemposHeadline', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--podcast-midnight);
    line-height: 40px;
    letter-spacing: 0%;
}

.podcast-modal-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* Pastilla Gris del Reproductor (Imagen 1) */
.podcast-player-pill {
    background-color: #F7F8F8;
    border-radius: 100px;
    padding: 12px 24px;
    max-width: 768px;
    width: 100%;
    height: 88px;
    gap: 8px;
    opacity: 1;
    border-radius: 50px;
    padding: 24px;
    box-shadow: 0px 4px 16px rgba(7, 14, 70, 0.05), 
                -1px 0px 10px 0px rgba(7, 14, 70, 0.04) !important;
}

.btn-podcast-play-control {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.podcast-play-icon-circle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: var(--podcast-blue) !important; 
    border: none !important;
    transition: background-color 0.2s ease-in-out;
}

.btn-podcast-play-control:hover .podcast-play-icon-circle {
    background-color: var(--podcast-blue) !important; 
}

/* Control estricto sobre las dimensiones de los nuevos vectores */
.podcast-core-vector-icon {
    width: 13px !important;
    height: 18px !important;
    object-fit: contain !important;
    background: transparent !important;
    display: block;
}

/* Ajuste específico para centrar el icono de Play (compensa el eje del triángulo) */
img#playIconSvg {
    transform: translateX(1px);
}

.podcast-play-label {
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 15px;
    color: var(--podcast-blue);
    font-weight: 500;
}

/* Línea de Tiempo y Slider */
.podcast-time-text {
    font-family: 'BentonSansBBVA-Book', sans-serif;
    font-size: 15px;
    color: var(--podcast-midnight);
    min-width: 32px;
}

.podcast-progress-slider-wrapper {
    position: relative;
    height: 16px;
    display: flex;
    align-items: center;
}

/* Customización del Input Range para que parezca una línea con un punto */
.podcast-progress-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: #FFFFFF;
    height: 4px;
    border-radius: 2px;
    outline: none;
    position: relative;
    z-index: 5;
    cursor: pointer;
    margin: 0;
}

/* El punto indicador (Thumb) */
.podcast-progress-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--podcast-blue);
    transition: transform 0.1s ease;
}

.podcast-progress-input::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--podcast-blue);
    border: none;
}

.podcast-progress-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    width: 504px;
    height: 24px;
}

.btn-podcast-volume {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.podcast-core-volume-icon {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    background: transparent !important;
    display: block;
}

.btn-podcast-volume {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px !important;
}

.btn-podcast-volume:hover .podcast-core-volume-icon {
    opacity: 0.7; /* Feedback sutil al pasar el mouse */
}

/* Botones Inferiores de Acción */
.btn-podcast-action-download {
    background-color: var(--podcast-blue);
    color: #FFFFFF !important;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 15.01px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    width: 137px;
    height: 56px;

    display: inline-flex;      /* O 'flex' si el botón ocupa toda su línea */
    align-items: center;       /* Centrado vertical */
    justify-content: center;   /* Centrado horizontal (opcional, por si el texto es corto) */
    text-align: center;
}

.btn-podcast-action-download:hover {
    background-color: var(--podcast-midnight);
}

.btn-podcast-action-share {
    background-color: var(--podcast-light-bg);
    color: var(--podcast-midnight);
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-size: 15.01px;
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 137px;
    height: 56px;
}

.btn-podcast-action-share:hover {
    background-color: var(--podcast-track-gray);
}

/* Animación de entrada */
.animate-fade-in {
    animation: fadeInPlayer 0.25s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

@keyframes fadeInPlayer {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/**
 * Corrección de visualización para el botón de cierre del modal de podcast
 */
.podcast-modal-close-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
}

.podcast-modal-close-icon-circle {
    background: #F7F8F8;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

.podcast-modal-close-btn:hover .podcast-modal-close-icon-circle {
    transform: scale(1.1);
}

.podcast-modal-close-img {
    width: 24px !important;
    height: 24px !important;
    display: block;
    background: transparent !important;
}

/* Contenedor del Widget de Compartir */
.podcast-share-widget-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Pastilla Social oculta por defecto detrás del botón */
.podcast-social-pill {
    position: absolute;
    left: 0;
    background-color: var(--podcast-blue); /* #001391 corporativo */
    border-radius: 10px;
    padding: 18px 18px;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 10;
}

/* Estado Activo: Se despliega de forma idéntica a Programa Editorial */
.podcast-share-widget-wrapper.is-active .podcast-social-pill {
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
    position: relative;
    margin-left: 12px;
}

/* Íconos de Redes Sociales internos */
.podcast-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.podcast-social-link:hover {
    transform: scale(1.15);
}

.podcast-social-link img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Botón compartir del reproductor */
.btn-share-blue {
    background-color: #001391;
    border: none;
    width: 54px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-share-blue:hover {
    background-color: #070E46;
}

/* Dropdown de redes sociales — se abre a la derecha del botón */
.dropdown-compartir-menu {
    min-width: 170px !important;
    padding: 0 !important;
    border-radius: 16px !important;
    border: none !important;
    background-color: #001391 !important;
    overflow: hidden !important;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    margin-left: 42px !important;
}
.dropdown-compartir-menu .social-link-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 56px !important;
    padding: 24px 16px !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer;
}
.dropdown-compartir-menu .social-link-item:hover {
    background-color: #070E46 !important;
}
.dropdown-compartir-menu .social-link-item img {
    width: 17.90px !important;
    height: 17.90px !important;
    display: block !important;
}
@media (max-width: 991px) {
    /* Forzar que el modal caiga hacia el fondo */
    .podcast-custom-modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
        background-color: rgb(16 27 105 / 50%);
    }
    .podcast-modal-title {
        font-size: 15.01px !important;
        line-height: 24px !important;
        text-align: center !important;
        font-family: 'BentonSansBBVA-Medium', sans-serif !important;
        font-weight: 500 !important;
        flex: 1 !important;
        margin-top: 10px !important;
    }

    /* Convertir la tarjeta en Bottom Sheet */
    .podcast-custom-modal-card.bottom-sheet-mobile {
        border-radius: 24px 24px 0 0 !important;
        padding: 32px 20px 32px 20px !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: auto; /* Se adapta al contenido */
        animation: slideUpBottomSheet 0.3s cubic-bezier(0.215, 0.610, 0.355, 1) forwards !important;
    }

    /* Animación exclusiva para móvil */
    @keyframes slideUpBottomSheet {
        from { opacity: 0; transform: translateY(100%); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Estilos del Drag Handle */
    .podcast-drag-handle-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 24px;
        cursor: grab;
    }

    .podcast-drag-handle {
        width: 80px;
        height: 2px;
        background-color: #070E46;
        border-radius: 4px;
    }
    .podcast-progress-input {
        background: var(--podcast-blue);
    }

    /* Texto "Cerrar" bajo la cruz */
    .podcast-modal-close-text {
        font-family: 'BentonSansBBVA-Medium', sans-serif;
        font-size: 10px;
        color: #001391;
    }

    /* Forzar botones inferiores al 100% de ancho en móvil */
    .podcast-actions-wrapper {
        width: 100%;
    }
    
    .podcast-actions-wrapper .btn-podcast-action-download,
    .podcast-actions-wrapper .podcast-share-widget-wrapper,
    .podcast-actions-wrapper .btn-podcast-action-share {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    /* Ajuste de márgenes internos del reproductor en pantallas pequeñas */
    .audio-capsule-wrapper, 
    .podcast-player-pill {
        padding: 14px 16px !important;
        height: auto !important;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .podcast-custom-modal-card.bottom-sheet-mobile {
        padding: 40px 48px 56px 48px !important; 
    }
    .podcast-player-pill {
        padding: 16px 32px !important;
        margin-bottom: 40px !important; /* Empuja los botones hacia abajo dando más altura */
    }
}