/* 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 */
.main-audio-player {
    text-align: center;
    margin-bottom: 50px;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    height: 30px;
}

/* Classe pour cacher le player principal */
.main-audio-player.hidden {
    opacity: 0;
    transform: translateY(-20px); /* Légère remontée pour un effet fluide */
    pointer-events: none; /* Désactive l'interaction pour éviter les clics invisibles */
}

@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 {
    position: fixed;
    bottom: -100px; /* Caché en bas */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none; /* Désactive les interactions quand caché */
}

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