/* Styles pour le lecteur vidu00e9o modal */
.video-modal-open {
    overflow: hidden;
}

#video-modal {
    transition: opacity 0.3s ease;
}

#video-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#video-modal:not(.hidden) {
    opacity: 1;
}

#modal-overlay {
    transition: opacity 0.3s ease;
}

.modal-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
    height: auto !important;
    width: 90vw !important;
    max-width: 1200px !important;
}

#video-modal:not(.hidden) .modal-content {
    transform: scale(1);
}

#close-modal {
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

#close-modal:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Styles spu00e9cifiques pour le lecteur YouTube */
#youtube-player {
    width: 100% !important;
    height: 100% !important;
    min-height: 70vh !important;
}

#youtube-player iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 70vh !important;
}

/* Amu00e9lioration de l'aspect des boutons de lecture */
.play-video {
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-video:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Animation de pulsation pour les boutons de lecture */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.podcast-card:hover .play-video {
    animation: pulse 2s infinite;
}

/* Amu00e9lioration de l'accessibilitu00e9 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
