/**
 * Galerie Loop — style.css
 */

 .galerie-loop-block {
    position: relative;
    width: 100%;
    padding-block: clamp(40px, 6vw, 80px);
    overflow: hidden;
}

.galerie-loop__stage {
    position: relative;
    width: 100%;
    /* La hauteur est calculée dynamiquement par JS selon le ratio */
}

.gl-card {
    position: absolute;
    border-radius: clamp(8px, 1vw, 16px);
    overflow: hidden;
    background: #ccc;
}

.gl-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.galerie-loop-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: #f0f0f1;
    border: 2px dashed #c3c4c7;
    border-radius: 4px;
    color: #50575e;
    font-size: 14px;
    padding: 24px;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .gl-card { transition: none !important; }
}

