:root {
    --breadcrumb-height: 30px; /* altezza effettiva breadcrumb */
}

#marchi-inline {
    width: 100%;
    padding: 10px 15px;
    margin-top: calc(var(--breadcrumb-height) + 10px);
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.brands-logos-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 1%;
}

/* Link cliccabile prende la stessa larghezza dell’originale */
.brands-logos-inline a {
    display: block;
    width: calc((100% - 5%)/6); /* 6 loghi per riga desktop */
}

.brands-logos-inline a img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brands-logos-inline a img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .brands-logos-inline a {
        width: calc((100% - 5%)/6); /* mantiene tutti sulla stessa riga su mobile */
    }
    .brands-logos-inline a img {
        max-height: 40px;
    }
}