/* G2 Badges Gallery Module */

.section-g2-badges {
    width: 100%;
    padding: 0;
    background-color: #ffffff;
}

.g2-badges-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Desktop version: static line (now hidden) */
.g2-badges-desktop {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

/* Animated version: used on ALL screen sizes */
.g2-badges-mobile {
    display: block;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.g2-badges-scroll-track {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: g2-scroll-badges 30s linear infinite;
    width: max-content;
}

/* Badge item styling - base */
.g2-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Ensure embed code content is styled properly */
.g2-badge-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.g2-badge-item img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Desktop badge item sizing - exact from Figma */
.g2-badges-desktop .g2-badge-item {
    height: 80px;
    width: 70px;
}

/* Mobile badge item sizing - exact from Figma */
.g2-badges-mobile .g2-badge-item {
    height: 57px;
    width: 50px;
}

/* Infinite scroll animation */
@keyframes g2-scroll-badges {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%); /* Move by one-third for 3-set loop */
    }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .section-g2-badges {
        padding: 30px 0;
    }
    
    .g2-badges-mobile {
        padding
