:root {
    --deep-blue: #0a192f;
    --hydro-cyan: #0dcaf0;
}

body { font-family: 'Open Sans', sans-serif; background: #f8f9fa; }

/* Hero Podcast */
.podcast-hero {
    height: 60vh;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)), 
                url('https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.card-img-top{
    width: 100px;      /* Votre taille */
    height: 100px;
    border-radius: 50%; /* Transforme le carré de l'image en cercle */
    object-fit: cover;  /* S'assure que le logo est bien centré */
}

/* Style du résumé à droite */
.podcast-summary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    line-height: 1.6;
}

.summary-text p {
    font-size: 1rem;
    font-weight: 400;
}

/* On s'assure que le titre du résumé ressort bien */
.podcast-summary h2 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Ajustement pour mobile : on espace les colonnes */
@media (max-width: 991px) {
    .podcast-summary {
        margin-top: 20px;
    }
}
/* Header & Nav Style */
.custom-nav {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.controverse-header {
    height: 40vh;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), 
                url('https://images.unsplash.com/photo-1473800348333-97ad9059e99a?auto=format&fit=crop&w=1600&q=80') center/cover;
    background-color: var(--deep-blue);
}

/* Enjeux Boxes */
.enjeu-box {
    background: white;
    border-radius: 8px;
    height: 100%;
    transition: 0.3s ease;
}

.enjeu-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}


/* Lecteur Principal */
.custom-audio-player {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-range {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
}

.custom-range::-webkit-slider-thumb {
    background: var(--hydro-cyan);
    box-shadow: 0 0 10px var(--hydro-cyan);
}

/* Grille épisodes */
.episode-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.episode-card:hover {
    transform: translateY(-10px);
}

.episode-card img {
    height: 200px;
    object-fit: cover;
}

.mini-player {
    height: 35px;
    filter: sepia(100%) saturate(300%) hue-rotate(150deg); /* Teinte cyan pour le lecteur par défaut */
}

/* Footer (réutilisé) */
#dynamic-footer {
    position: fixed;
    bottom: -100px; /* Caché par défaut */
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 25, 47, 0.98); /* Bleu très profond */
    backdrop-filter: blur(15px);
    border-top: 2px solid #0dcaf0; /* La ligne cyan du visuel */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2000;
}

/* Classe ajoutée par le JavaScript au scroll */
#dynamic-footer.visible {
    bottom: 0;
}

.texte_footer {
    color: #f0f2f5;
}

.f-link {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: 0.3s;
}

.f-link:hover {
    opacity: 1;
    color: #0dcaf0;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* --- RESPONSIVE PODCAST --- */
@media (max-width: 991px) {
    .podcast-hero {
        height: auto;
        padding: 120px 0 60px 0;
        text-align: center;
    }

    /* Empiler les contrôles du lecteur audio */
    .custom-audio-player .d-flex.align-items-center {
        flex-wrap: wrap;
        justify-content: center;
    }

    #play-pause-btn {
        margin-bottom: 15px;
    }

    .custom-audio-player .flex-grow-1 {
        width: 100%; /* La barre de progression prend toute la largeur */
    }
}

@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2rem;
    }
    
    /* Ajustement des cartes épisodes */
    .episode-card img {
        height: 150px;
    }
}