/* ── Logo Grid Manager — Front-end Styles ──────────────────────────────────── */

.lgm-grid {
    display: grid;
    grid-template-columns: repeat(var(--lgm-cols, 5), 1fr);
    gap: var(--lgm-gap, 20px);
    width: 100%;
    /* Pas de défilement — grille statique */
}

.lgm-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    text-decoration: none;
}
.lgm-footer-bar{
	position:relative !important;
}
a.lgm-item {
    cursor: pointer;
}
.lgm-footer-bar{
	position:relative !important;
}
a.lgm-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
    border-color: #ccc;
}

.lgm-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    display: block;
    transition: opacity .2s;
}

a.lgm-item:hover img {
    opacity: .85;
}

.lgm-empty {
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .lgm-grid {
        grid-template-columns: repeat(min(var(--lgm-cols, 5), 4), 1fr);
    }
}

@media (max-width: 768px) {
    .lgm-grid {
        grid-template-columns: repeat(min(var(--lgm-cols, 5), 3), 1fr);
    }
}

@media (max-width: 480px) {
    .lgm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
