/* Amélioration des images dans le volet Point d'Intérêt */
.poi-detail-image {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Style pour les images dans les cartes POI des panneaux liste et fondation */
.poi-card-image {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

/* Style pour les images dans les cartes POI du panneau liste (ancien) */
.poi-list .poi-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Pas de overflow-x: hidden pour permettre le scroll */

/* Style hover pour indiquer que l'image est cliquable */
.poi-detail-image:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Masquer la lightbox sur mobile pour les images POI */
@media (max-width: 768px) {
    .poi-detail-image.popup-thumbnail {
        cursor: default;
        pointer-events: none;
    }
    
    .poi-detail-image.popup-thumbnail:hover {
        transform: none;
        opacity: 1;
    }
}