@charset "UTF-8";
/* CSS Document */

/* STYLES VIDÉOS - ADAPTÉS DE VOS STYLES AUDIOBOOKS */
        .videos-container {
            max-width: 1200px;
            padding: 20px 0;
        }

        .videos-section {
            margin-bottom: 50px;
        }

        .videos-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            margin-top: 30px;
            justify-content: flex-start;
        }

        .video-item {
            text-align: left;
            transition: transform 0.3s ease;
            width: 300px;
        }

        .video-item:hover {
            transform: translateY(-5px);
        }

        .video-thumbnail-link {
            display: block;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            transition: box-shadow 0.3s ease;
        }

        .video-thumbnail-link:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        }

        .video-thumbnail {
            width: 300px;
            height: 169px; /* Format 16:9 pour YouTube */
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .video-thumbnail-link:hover .video-thumbnail {
            transform: scale(1.05);
        }

        /* Overlay play button pour indiquer que c'est une vidéo */
        .video-thumbnail-link::after {
            content: "▶";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 2rem;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .video-thumbnail-link:hover::after {
            opacity: 1;
        }

        .video-info {
            margin-top: 15px;
            padding: 0 10px;
        }

        .video-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
            line-height: 1.3;
        }

        .video-description {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.4;
        }

        
     /* Responsive pour vidéos */
@media (max-width: 768px) {
    main .videos-grid {
        gap: 20px !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    main .video-item {
        width: 280px !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    main .video-item iframe {
        width: 280px !important;
        height: 158px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}
