.slider-content::-webkit-scrollbar {
    display: none;
}

.slider-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* For iOS devices */
@supports (-webkit-touch-callout: none) {
    .slider-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
        overscroll-behavior-x: none;
        /* Changed to pan-y to allow vertical page scrolling */
        touch-action: pan-y;
    }
}

/* For Android devices */
@supports not (-webkit-touch-callout: none) {
    .slider-content {
        scroll-behavior: auto;
        /* Changed to pan-y to allow vertical page scrolling */
        touch-action: pan-y;
    }
}

/* Added class for when slider is being horizontally swiped */
.slider-content.horizontal-swiping {
    touch-action: none; /* Disable all scrolling temporarily while swiping horizontally */
}

.slide-item {
    position: relative;
}

.slide-item::before {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.slide-item::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}