/* ... garder les styles précédents ... */

.media-content {
    width: 100%;
    height: 250px; /* Hauteur fixe pour l'harmonie de la grille */
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.modal-media {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Indicateur pour les vidéos dans la galerie */
.photo-card video::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.7;
}