.sss-press-slider {
    --sss-press-slider-logo-height: 72px;
    height: var(--sss-press-slider-height);
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.sss-press-slider::-webkit-scrollbar {
    display: none;
}

.sss-press-slider-track {
    cursor: grab;
    height: 100%;
    min-width: 100%;
    user-select: none;
    width: max-content;
}

.sss-press-slider-track.is-dragging {
    cursor: grabbing;
}

.sss-press-slider-strip {
    display: flex;
    height: 100%;
    min-width: 100%;
    width: max-content;
}

.sss-press-slider-slide {
    align-items: center;
    display: flex;
    flex: 0 0 var(--sss-press-slider-slide-width, 16.6667%);
    height: 100%;
    justify-content: center;
    margin: 0;
}

.sss-press-slider-slide a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    max-width: calc(100% - 32px);
}

.sss-press-slider-slide img {
    display: block;
    filter: grayscale(100%);
    height: var(--sss-press-slider-logo-height) !important;
    max-height: var(--sss-press-slider-logo-height) !important;
    max-width: calc(100% - 32px) !important;
    object-fit: contain;
    opacity: 0.4;
    transition: filter 220ms ease, opacity 200ms ease-in-out;
    -webkit-user-drag: none;
    user-select: none;
    width: auto !important;
}

.sss-press-slider-slide:hover img,
.sss-press-slider-slide a:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

.sss-press-slider-empty {
    border: 1px solid #ddd;
    padding: 12px;
}

@media (max-width: 767px) {
    .sss-press-slider-slide {
        order: var(--sss-press-slider-mobile-order);
    }

    .sss-press-slider-slide a,
    .sss-press-slider-slide img {
        max-width: calc(100% - 24px) !important;
    }

    .sss-press-slider-slide.sss-press-slider-mobile-last,
    .sss-press-slider-slide.sss-press-slider-mobile-last a {
        justify-content: flex-end;
    }

}
