/* LONG READ */

.long-read-photo-full {
    width: 100%;
	height: auto;

}
.long-read-img-full-txt {
    position: fixed;
    left: 20px;
    bottom: 20px;
    max-width: 500px;
    z-index: 99999999999999;
    background-color: #111;
}
.long-read-img-full-txt p {
    color: #fff;
    text-align: left;
    padding: 10px 20px 0px 20px;
    letter-spacing: 1.5px;
    font-size: 10px;
    line-height: 20px;
}


.fixed-audio-player figcaption {
    font-size: 14px;
    font-weight: bold;
}

.fixed-audio-player audio {
    width: 250px;
}
/* Player principal - État par défaut (VISIBLE) */
.main-audio-player {
    text-align: center;
    margin-bottom: 50px;
    height: auto; /* Laissez le contenu définir la hauteur ou mettez min-height: 60px */
min-height: 60px; /* IMPORTANT : garde l'espace même quand le player part */
    transition: opacity 0.3s;
    opacity: 1;
    transform: translateY(0);
}

/* Classe pour cacher le player principal */
.main-audio-player.hidden {
opacity: 0;
    /* Ne pas mettre display: none ici */
    transform: translateY(-20px);
    pointer-events: none;
}

@keyframes slideIn {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 20px;
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        bottom: 20px;
        opacity: 1;
    }
    to {
        bottom: -100px;
        opacity: 0;
    }
}

/* Player flottant */
.fixed-audio-player {
    display: none; /* Par défaut via le JS au début */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Apparition fluide */
.fixed-audio-player.show {
    animation: slideIn 0.4s ease-out forwards;
    pointer-events: auto; /* Active les interactions */
}

/* Disparition fluide */
.fixed-audio-player.hide {
    animation: slideOut 0.4s ease-out forwards;
    pointer-events: none; /* Désactive les interactions */
}
/* Styles pour le volume */
input[type="range"] {
    width: 100px;
    margin-left: 10px;
}
.long-read-audio {
    position: relative;
}