section.logos {
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
}

@media screen and (max-width: 768px) and (orientation: portrait) {

section.logos {
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
}
    }

section.logos .custom-container {
        max-width: 11.45rem;
        margin: 0 auto;
    }

:is(section.logos .custom-container) .label {
            text-align: center;
            margin-bottom: 0.4rem;
        }

:is(section.logos .custom-container) .logos-grid {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            justify-content: space-between;
        }

:is(:is(:is(section.logos .custom-container) .logos-grid) .logo) img {
                    display: block;
                    height: auto;
                    max-width: 3rem;
                }

@media screen and (max-width: 768px) and (orientation: portrait) {
        section.logos .custom-container {
            overflow: hidden;
        }

        section.logos .logos-grid {
            justify-content: flex-start;
            width: max-content;
        }

        section.logos .logos-grid.is-mobile-marquee {
            animation: logos-marquee 16s linear infinite;
        }

            :is(section.logos .logos-grid.is-mobile-marquee) .logo {
                flex: none;
            }
}

@keyframes logos-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.3rem));
    }
}