/* =========================================================
   FILE: /assets/css/sections/partner-logos.css
   TEMA: Gieffe Classic
   SCOPO: Stili sezione loghi partner
   COPYRIGHT: 2026 by Gieffe Informatica
   VERSIONE: 1.0
   ========================================================= */

.gf-partner-logos__header {
    margin-bottom: clamp(28px, 4vw, 52px);
}

.gf-partner-logos__header h2 {
    margin-bottom: 0;
}

.gf-partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(18px, 2.8vw, 42px);
}

.gf-partner-logos__item {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.gf-partner-logos__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.gf-partner-logos__image {
    display: block;
    width: var(--gf-image-width, auto);
    max-width: min(240px, 42vw);
    height: var(--gf-image-height, 72px);
    object-fit: contain;
    object-position: center;
}

.gf-partner-logos__image.gf-image-mode--natural {
    width: var(--gf-image-width, auto);
    height: auto;
    max-height: var(--gf-image-height, 90px);
}

.gf-partner-logos__image.gf-image-mode--contain,
.gf-partner-logos__image.gf-image-mode--logo {
    object-fit: contain;
}

.gf-partner-logos__image.gf-image-mode--cover {
    object-fit: cover;
}

@media (max-width: 700px) {
    .gf-partner-logos {
        gap: 22px;
    }

    .gf-partner-logos__item {
        min-width: 44%;
    }

    .gf-partner-logos__image {
        max-width: 190px;
        height: var(--gf-image-height, 58px);
    }
}
