.nbpl-slider-wrap {
    --nbpl-logo-height: 70px;
    --nbpl-gap: 54px;
    --nbpl-speed: 32s;
    --nbpl-transition: 800ms;
    width: 100%;
    overflow: hidden;
    padding: clamp(18px, 3vw, 34px) 0;
}

.nbpl-slider-heading {
    margin: 0 0 16px;
    text-align: center;
    font-weight: 800;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.1;
    color: currentColor;
}

.nbpl-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.nbpl-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: var(--nbpl-gap);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.nbpl-track.nbpl-is-moving {
    transition: transform var(--nbpl-transition) ease-in-out;
}

.nbpl-is-static .nbpl-marquee {
    mask-image: none;
    -webkit-mask-image: none;
}

.nbpl-is-static .nbpl-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.nbpl-logo-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.nbpl-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    height: calc(var(--nbpl-logo-height) + 34px);
    padding: 16px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .1);
    box-sizing: border-box;
}

.nbpl-logo img {
    display: block;
    max-height: var(--nbpl-logo-height);
    max-width: 190px;
    width: auto;
    object-fit: contain;
    transition: transform .25s ease, opacity .25s ease, filter .25s ease;
}

.nbpl-logo-link:hover img {
    transform: translateY(-2px) scale(1.03);
}

.nbpl-style-clean .nbpl-logo {
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.nbpl-style-cards .nbpl-logo {
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, .1);
}

.nbpl-style-mono .nbpl-logo img {
    filter: grayscale(1);
    opacity: .72;
}

.nbpl-style-mono .nbpl-logo-link:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.nbpl-empty-frontend {
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .nbpl-track,
    .nbpl-track.nbpl-is-moving {
        transition: none;
        transform: none !important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nbpl-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

@media (max-width: 640px) {
    .nbpl-slider-wrap {
        --nbpl-gap: 28px;
    }

    .nbpl-logo {
        min-width: 134px;
        height: calc(var(--nbpl-logo-height) + 28px);
        padding: 12px 16px;
        border-radius: 16px;
    }

    .nbpl-logo img {
        max-width: 140px;
    }
}
