/**
 * Logo Carousel Widget Styles
 */

.logo-carousel {
    padding: 0;
    overflow: hidden;
}

.logo-carousel__title {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    color: #0b0b0c;
    margin: 0 0 40px;
}

/* Track - Contains two lists for seamless loop */
.logo-carousel__track {
    display: flex;
    width: max-content;
    animation: logoScroll var(--scroll-speed, 30s) linear infinite;
}

.logo-carousel--reverse .logo-carousel__track {
    animation-direction: reverse;
}

.logo-carousel--pause-hover:hover .logo-carousel__track {
    animation-play-state: paused;
}

/* Logo List */
.logo-carousel__list {
    display: flex;
    align-items: center;
}

.logo-carousel__logo {
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.logo-carousel__logo img {
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-carousel__logo img:hover {
    opacity: 1;
}

/* Animation */
@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-carousel {
        padding: 40px 0;
    }

    .logo-carousel__title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .logo-carousel__logo {
        padding: 0 25px;
    }
}