/* --- PODIUM SLIDER STYLE --- */
.podium-slider-container {
    width: 100%;
    margin: 0px 0px 40px 0px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.podium-wrapper {
    position: relative;
    background: #000;
}

.podium-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

/* Parte Izquierda: Visual */
.podium-visual {
    flex: 1.5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 350px;
}

.blur-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.2);
    opacity: 0.6;
}

.main-cover-container {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 280px;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.2);
}

.main-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-podium {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: var(--primary-purple);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.play-podium:hover { transform: translateX(-50%) scale(1.1); }

/* Parte Derecha: Info */
.podium-info {
    flex: 1;
    background: #000;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.podium-tag {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.podium-tag::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 10px auto;
}

.podium-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.podium-desc {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
}

/* Navegación */
.podium-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 4px;
}

.podium-nav:hover { background: #fff; color: #000; }
.prev { left: 20px; }
.next { right: calc(44% + 20px); }

.podium-dots {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .podium-item { flex-direction: column; }
    .next { right: 20px; }
    .podium-info { padding: 40px 20px; }
    .main-cover-container { width: 200px; height: 200px; }
}

/* --- EPISODE GRID SYSTEM --- */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.episode-card {
    transition: transform 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-5px);
}

.episode-program-tag {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: var(--text-titles);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.episode-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.episode-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-play-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(215, 235, 255, 0.9);
    display: flex;
    align-items: center;
    padding: 5px 12px 5px 5px;
    border-radius: 20px;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.play-circle {
    width: 28px;
    height: 28px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.duration-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #002d5a;
}

.episode-info { padding-top: 5px; }

.episode-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .episode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .episode-title { font-size: 13px; }
}

/* --- REPRODUCTOR FOOTER --- */
.podium-player-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    z-index: 9999;
    height: 80px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #222;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.player-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.player-img-mini {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.player-text span {
    font-size: 10px;
    font-weight: 900;
    display: block;
    color: #888;
}

.player-text h4 {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 2;
    justify-content: center;
}

.p-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
    position: relative;
}

.p-btn:hover { color: #ccc; }

.p-btn.play-main {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.player-progress-container {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #222;
    cursor: pointer;
}

.player-progress-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
}

/* --- RESPONSIVE DEL REPRODUCTOR (SOLO ESTRUCTURA) --- */
@media (max-width: 768px) {
    .player-meta {
        flex: 0; /* No empuja, solo ocupa su tamaño */
    }
    .player-text {
        display: none; /* Oculta texto en móvil para evitar el "Error de carga" visual */
    }
    .player-img-mini {
        width: 45px;
        height: 45px;
    }
    .player-controls {
        flex: 2;
        gap: 15px;
        justify-content: space-evenly;
    }
}

@media (max-width: 480px) {
    .player-container {
        padding: 0 10px;
    }
    .player-controls {
        gap: 10px;
    }
    .p-btn.play-main {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

.btn-cargar-mas {
    background-color: var(--btn2-bg);
    color: var(--btn2-txt);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-cargar-mas:hover { transform: scale(1.05); }
.btn-cargar-mas:disabled { opacity: 0.5; cursor: not-allowed; }