section {
    margin-top:0;
}



.st-news-detail-block {
    position: relative;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-news-detail {
    width: 100%;
    flex-shrink: 0;
    border-radius: 40px;
    background: #F2F1FD;
    margin-top: 100px;
    margin-bottom:236px;
    padding: 81px 100px 166px 130px;
}

.st-news-detail-bg {
    position: absolute;
    width: 100%;
    height: 1145px;
    background: #F2F1FD;
    border-radius: 40px 40px 0px 0px;
    left: 0;
    top: 80px;
    z-index: 0;
}


.st-news-detail-title {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    font-size: 52px;
    line-height: 52px;
    display: flex;
    align-items: center;
    color: #000000;
    margin-bottom: 20px;
}

.st-news-detail-info {
    margin-top: 97px;
}

.st-news-detail__files {
    width: 100%;
    margin-top:70px;
}

.st-news-detail__files-block {
    color: #000;
    font-family: Raleway;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: block;
}

.st-news-detail__files-button {
    display: flex;
    width: 170px;
    height: 60px;
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #170CBD;
    color: #FFF;
    text-align: center;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-top:30px;
}

/* Gallery slider */
.st-news-detail-slider {
    margin-top: 60px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
}

.st-news-detail-slider__items {
    width:100%;
    height: auto;
    overflow: hidden;
    border-radius: 20px;
    overflow:hidden;
}

.st-news-detail-slider__slides {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: nowrap;
    gap:26px;
}


.st-news-detail-slider__item {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 20px;
}


.st-news-detail-slider__image {
    width: 865px;
    height:583px;
}

.st-news-detail-slider__image img {
    width: 100%;
    height:100%;
    border-radius: 20px;
}

.st-news-detail-slider__text {
    position: absolute;
    left: 83px;
    top: 370px;
    z-index: 5;
}

.st-news-detail-slider__text span{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    font-size: 38px;
    line-height: 45px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    max-width: 710px;
}

.st-news-detail-slider__buttons {
    width: 100%;
    position: absolute;
    z-index:10000;
}

.st-news-detail-slider__prev {
    display: none;
    position: absolute;
    width: 70px;
    height: 70px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 40px;
    background: #AA355B;
    background-image: url("/media/images/design/next.svg");
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transform: scaleX(-1);
    left:-35px;
    top:-50px;
}

.st-news-detail-slider__prev.active {
    display: flex;
    transition: all 500ms;
}


.st-news-detail-slider__next {
    display: none;
    position: absolute;
    width: 70px;
    height: 70px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 40px;
    background: #AA355B;
    background-image: url("/media/images/design/next.svg");
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    right:500px;
    top:-50px;
}

.st-news-detail-slider__next.active {
    display: flex;
    transition: all 500ms;
}

@media (max-width: 1024px) {

    .st-news-detail {
        width:calc(100% - 30px);
        margin-top:45px;
        margin-bottom: 40px;
        padding: 30px 20px 20px 20px;
    }

    .st-news-detail-title {
        font-size: 24px;
        line-height: normal;
    }

    .st-news-detail-info {
        margin-top:0;
        margin-bottom: 40px;
    }

    .st-news-detail-slider {
        margin-top: 0px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        width:100%;
    }

    .st-news-detail-slider__items {
        height: 220px;
    }

    .st-news-detail-slider__item {
        width:100%;
        position: relative;

    }

    .st-news-detail-slider__text {
        left:22px;
        top: 138px;
    }

    .st-news-detail-slider__text span {
        color: #FFF;
        font-family: Raleway;
        font-size: 14px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    .st-news-detail-slider__image {
        width: 388px;
        height: 220px;
    }

    .st-news-detail-slider__next {
        display: none;
        position: absolute;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border-radius: 40px;
        background: #AA355B;
        background-image: url("/media/images/design/next.svg");
        background-size: 35px 35px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        right:337px;
        top:-15px;
    }

    .st-news-detail-slider__next.active {

    }

    .st-news-detail__files {
        margin-top:40px;
    }

    .st-news-detail__files-block {
        font-size: 16px;
        line-height: normal;

    }

    .st-news-detail__files-button {
        width: 107px;
        height: 25px;
        border-radius: 6px;
        font-size: 12px;
        line-height: normal;
        margin-top:10px;
    }
}