﻿.story-wrapper {
    position: relative;
}

.story-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    justify-content: space-evenly;
}

    .story-slider::-webkit-scrollbar {
        display: none;
    }

.story-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.story-item {
    flex: 0 0 auto;
    text-align: center;
    max-width: 100px;
    min-width: 80px;
}

    .story-item img,
    .story-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

.story-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 20px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
    display: none;
    line-height: 36px;
    text-align: center;
    padding: 0;
}


    .story-arrow.left {
        left: -10px;
    }

    .story-arrow.right {
        right: -10px;
    }

@media (max-width: 768px) {
    .story-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
        line-height: 30px;
    }

        .story-arrow.left {
            left: -5px;
        }

        .story-arrow.right {
            right: -5px;
        }
}

