.shorts-slider-buttons .shorts-slider-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    background-color: var(--bricks-color-ulyykd);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color: #fff;
    cursor:pointer;
    transform: translateY(-50%);
}

.shorts-slider-buttons .shorts-slider-button svg {
    width: 35px;
    height: 35px;
}

.shorts-slider-buttons .shorts-slider-button.prev {
    left: -20px;
    opacity: 0.5;
    cursor: not-allowed;
}

.shorts-slider-buttons .shorts-slider-button.next {
    right: -20px;
}

.shorts-container {
    position: relative;
    display:flex;
    flex-wrap:nowrap;
    overflow-x: scroll;
    scroll-behavior: smooth;
    max-width: 90%;
    gap: 20px;
    margin: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}

.shorts-container::-webkit-scrollbar {
    height: 0px;
}

.shorts-container::-webkit-scrollbar-track {
    background-color: #01384d30;
}

.shorts-container::-webkit-scrollbar-thumb {
    background-color: var(--brf-color-dark);
    border-radius: 0px;
}

.short-card {
    position: relative;
    cursor: pointer;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s linear;
    display:flex;
    flex-direction: column;
    flex: 1 0 20%;
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
}

.short-card:hover {
    transform: scale(1.02);
}

.short-card .short-info {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    width: 100%;
}

.thumbnail-wrapper {
    position: relative;
    padding-top: 177.77%;
    background: #000;
}

.thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.short-title {
    color: white;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

.shorts-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 415px;
    height: 100%;
    margin: 0 auto;
    background: #000;
    height: 740px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display:flex;
    justify-content:center;
    align-items:center;
    background-color: var(--bricks-color-ulyykd);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1002;
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

.modal-nav svg {
    width: 35px;
    height: 35px;
}

.prev-short {
    left: -100px;
}

.next-short {
    right: -100px;
}


@media(max-width: 991px) {
    .short-card {
        flex: 1 0 25%;
    }
}

@media(max-width: 767px) {
    .shorts-container {
        max-width: 100%;
    }

    .short-card {
        flex: 1 0 42%;
    }

.shorts-slider-buttons {
    display: flex;
    gap:10px;
    margin: 0 auto 15px auto;
    justify-content:end;
}

    .shorts-slider-buttons .shorts-slider-button {
        width: 55px;
        height: 55px;
        position: static;
        transform: translateY(0);
    }

    .shorts-slider-buttons .shorts-slider-button svg {
        width: 35px;
        height: 35px;
    }

    .modal-content {
        height: 550px;
        max-width: 310px;
    }

    .modal-nav {
        width: 60px;
        height: 60px;
    }

    .modal-nav svg {
        width: 30px;
        height: 30px;
    }

    .prev-short {
        left: -25px;
    }

    .next-short {
        right: -25px;
    }
}

@media(max-width: 477px) {
    .short-card {
        flex: 1 0 100%;
        height: 470px;
		max-width: 260px;
    }
}