.scrollable-images__wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Для Firefox */
    -ms-overflow-style: none; /* Для Internet Explorer та Edge */
    margin-left: -40px;
    padding-left: 40px;
    margin-right: -40px;
    padding-right: 40px;
}

.scrollable-images__wrapper::-webkit-scrollbar {
    display: none; /* Для Chrome, Safari, Opera */
}

.scrollable-images__item {
    position: relative;
    flex-basis: 440px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    flex-grow: 1;
}

.scrollable-images__img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    clip-path: polygon(0% 14%, 18% 0%, 100% 0%, 100% 86%, 82% 100%, 0% 100%);
}

.scrollable-images__item:nth-child(even) .scrollable-images__img {
    clip-path: polygon(0% 0%, 82% 0%, 100% 14%, 100% 100%, 18% 100%, 0% 86%);
}

.scrollable-images__inner {
    position: relative;
    border: 1px solid #FFFFFF24;
    width: 100%;
    min-height: 125px;
    backdrop-filter: blur(20px);
    background: rgba(10, 8, 0, 0.4);
    padding: 18px 95px 16px 20px;
    display: flex;
    flex-direction: column;
}

.scrollable-images__item:nth-child(odd) .scrollable-images__inner {
    clip-path: polygon(0 0, 100% 0, 100% 50px, 81% 100%, 0 100%);
}

.scrollable-images__item:nth-child(even) .scrollable-images__inner {
    padding: 18px 20px 16px 30px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 19% 100%, 0 50px);
}

.scrollable-images__item:nth-child(even) .scrollable-images__inner .scrollable-images__text {
    padding-left: 33px;
}

.scrollable-images__text *{
    color: rgba(255, 255, 255, 0.71);
}

.scrollable-images__heading {
    margin-bottom: 2px;
}

.scrollable-images__text p:not(:last-child) {
    margin-bottom: 0px;
}

.scrollable-images__item:nth-child(even) .scrollable-images__text p:nth-child(2) {
    padding-left: 24px;
}

.scrollable-images__item:first-child::before,
.scrollable-images__item:last-child::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
}


.scrollable-images__item:first-child::before {
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    content: "";
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000196129 50L50 0L0.000208782 0L0.000196129 50Z' fill='%23EFEAD5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.scrollable-images__item:last-child::before {
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    content: "";
    background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M49.9998 0L-4.37114e-06 50L49.9998 50L49.9998 0Z' fill='%23EFEAD5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.scrollable-images__item:nth-child(odd)::after,
.scrollable-images__item:nth-child(even)::after{
    content: '';
    width: 118px;
    height: 60px;
    position: absolute;
    display: flex;
    right: -69px;
}

.scrollable-images__item:nth-child(odd)::after {
    background: url("data:image/svg+xml,%3Csvg width='118' height='60' viewBox='0 0 118 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M57.7053 0L118 60L0 60L57.7053 0Z' fill='%23EFEAD5'/%3E%3C/svg%3E")
    center / contain no-repeat;
    bottom: 0;
}

.scrollable-images__item:nth-child(even)::after {
    background: url("data:image/svg+xml,%3Csvg width='118' height='60' viewBox='0 0 118 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M57.7053 60L118 0L0 0L57.7053 60Z' fill='%23EFEAD5'/%3E%3C/svg%3E")
    center / contain no-repeat;
    top: 0;
}


@media screen and (min-width: 1025px) {
    .scrollable-images__item {
        min-width: 440px;
        height: 580px;
    }

    .scrollable-images__item:nth-child(odd):last-child::after,
    .scrollable-images__item:nth-child(even):first-child::after,
    .scrollable-images__item:nth-child(even):last-child::after {
        content: none;
    }

}

@media screen and (max-width: 1024.98px) {
    .scrollable-images__wrapper {
        gap: 10px;
        margin-left: -20px;
        padding-left: 20px;
        margin-right: -20px;
        padding-right: 20px;
    }

    .scrollable-images__item {
        min-width: 310px;
        height: 410px;
    }
    .scrollable-images__item {
        padding: 10px;
    }

    .scrollable-images__inner {
        padding: 15px 27px 10px 16px;
        min-height: 91px;
    }

    .scrollable-images__item:nth-child(odd)::before,
    .scrollable-images__item:nth-child(odd)::after,
    .scrollable-images__item:nth-child(even)::before,
    .scrollable-images__item:nth-child(even)::after{
        width: 40px;
        position: absolute;
        height: 40px;
        content: '';
    }

    .scrollable-images__item:nth-child(odd)::before {
        background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000196129 50L50 0L0.000208782 0L0.000196129 50Z' fill='%23EFEAD5'/%3E%3C/svg%3E")
        center / contain no-repeat;
        top: 0;
        left: 0;
    }

    .scrollable-images__item:nth-child(odd)::after {
        background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39.9998 0L-3.49691e-06 40L39.9998 40L39.9998 0Z' fill='%23EFEAD5'/%3E%3C/svg%3E")
        center / contain no-repeat;
        bottom: 0;
        right: 0;
    }

    .scrollable-images__item:nth-child(even)::before {
        background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000156903 0L40 40L0.000170523 40L0.000156903 0Z' fill='%23EFEAD5'/%3E%3C/svg%3E")
        center / contain no-repeat;
        bottom: 0;
        left: 0;
    }

    .scrollable-images__item:nth-child(even)::after {
        background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000156903 40L40 0L0.000167026 0L0.000156903 40Z' fill='%23EFEAD5' transform='scale(-1,1) translate(-40,0)'/%3E%3C/svg%3E")
        center / contain no-repeat;
        top: 0;
        right: 0;
    }

    .scrollable-images__item:nth-child(odd) .scrollable-images__inner {
        clip-path: polygon(0 0, 100% 0, 100% 38px, 81% 100%, 0 100%);
    }

    .scrollable-images__item:nth-child(even) .scrollable-images__inner {
        padding: 15px 16px 10px 19px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 19% 100%, 0 38px);
    }

    .scrollable-images__item:nth-child(even) .scrollable-images__inner .scrollable-images__text {
        padding-left: 24px;
    }

    .scrollable-images__item:nth-child(even) .scrollable-images__text p:nth-child(2) {
        padding-left: 20px;
    }

    .scrollable-images__heading {
        margin-bottom: 0;
    }
}