.ksse-partners {
    overflow:hidden;
    padding:0;
    background:#fff;
}

.ksse-partner-marquee {
    position:relative;
    overflow:hidden;
    padding:4px 0 46px;
    background:#fff;
}

.ksse-partner-marquee::before,
.ksse-partner-marquee::after {
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    z-index:2;
    width:110px;
    pointer-events:none;
}

.ksse-partner-marquee::before {
    left:0;
    background:linear-gradient(90deg, #fff, rgba(255,255,255,0));
}

.ksse-partner-marquee::after {
    right:0;
    background:linear-gradient(270deg, #fff, rgba(255,255,255,0));
}

.ksse-partner-track {
    display:flex;
    width:max-content;
    animation:kssePartnerFlow 150s linear infinite;
    will-change:transform;
}

.ksse-partner-group {
    display:flex;
    align-items:center;
    gap:46px;
    padding-right:46px;
}

.ksse-partner-logo {
    flex:0 0 auto;
    width:300px;
    height:160px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
}

.ksse-partner-logo img {
    display:block;
    max-width:260px;
    max-height:116px;
    object-fit:contain;
    transform:scale(1.35);
    transform-origin:center;
}

.ksse-external-links {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:96px;
    padding:16px 152px 16px 24px;
    background:#fff;
    border-top:1px solid #eef2f7;
}

.ksse-external-links a {
    flex:0 0 148px;
    width:148px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    text-decoration:none;
    border-radius:8px;
    background:#fff;
    border:1px solid #dfe7f1;
    transition:background-color .18s ease, transform .18s ease;
}

.ksse-external-links img {
    display:block;
    width:148px;
    height:54px;
    object-fit:contain;
}

.ksse-external-links a:nth-child(1) img {
    width:148px;
    height:54px;
}

.ksse-external-links a:nth-child(2) img {
    width:148px;
    height:54px;
}

.ksse-external-links a:nth-child(5) img {
    width:148px;
    height:54px;
}

.ksse-external-links a:hover,
.ksse-external-links a:focus-visible {
    background:#f7faff;
    transform:translateY(-1px);
}

@keyframes kssePartnerFlow {
    from {
        transform:translateX(0);
    }
    to {
        transform:translateX(-50%);
    }
}

@media (max-width:1100px) {
    .ksse-external-links {
        overflow-x:auto;
        justify-content:start;
        padding:12px 18px;
    }

    .ksse-external-links a {
        flex:0 0 148px;
    }
}

@media (max-width:760px) {
    .ksse-partners {
        padding-top:0;
    }

    .ksse-partner-marquee {
        padding:0 0 30px;
    }

    .ksse-partner-marquee::before,
    .ksse-partner-marquee::after {
        width:46px;
    }

    .ksse-partner-track {
        animation-duration:120s;
    }

    .ksse-partner-group {
        gap:28px;
        padding-right:28px;
    }

    .ksse-partner-logo {
        width:220px;
        height:122px;
    }

    .ksse-partner-logo img {
        max-width:190px;
        max-height:84px;
        transform:scale(1.22);
    }

    .ksse-external-links {
        min-height:78px;
        gap:8px;
        padding:10px 12px;
    }

    .ksse-external-links a {
        flex-basis:132px;
        width:132px;
        height:58px;
    }

    .ksse-external-links img {
        width:132px;
        height:48px;
    }

    .ksse-external-links a:nth-child(1) img,
    .ksse-external-links a:nth-child(2) img {
        width:132px;
        height:48px;
    }

}
