.st-news-events {
    width: 110%;
}

.st-news-events-title {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    font-size: 75px;
    line-height: 75px;
    color: #000000;
}

.st-news-events__items {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.st-news-events__item {
    width: 490px;
    height: 680px;
    position: relative;
    border-radius: 15px;
    background: #fff;
}

.st-news-events__item-block {
    width: 490px;
    height: 680px;
    flex-shrink: 0;
    border-radius: 15px;
    background: #FFF;
    position: relative;
}

.st-news-events__item-photo {
    width: 100%;
    height: 330px;
    border-radius: 15px 15px 0px 0px;
    background: #D6D3FB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}


.st-news-events__item-info {
    margin-left: 40px;
    margin-top: 30px;
}

.st-news-events__item-title {
    display: flex;
    width: 400px;
    flex-direction: column;
    flex-shrink: 0;
    color: #000;
    font-size: 28px;
    font-family: Raleway;
    font-weight: 700;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.st-news-events__item-text {
    display: flex;
    width: 430px;
    flex-direction: column;
    flex-shrink: 0;
    color: #000;
    font-size: 24px;
    font-family: Raleway;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.st-news-events__item-date {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: #979393;
    font-size: 24px;
    font-family: Raleway;
    font-weight: 500;
    margin-top: 10px;
}

.st-news-events__item-button {
    width: 220px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #AA355B;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-family: Raleway;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    cursor: pointer;
    position: absolute;
    left: 35px;
    bottom: 51px;
}


/* news slider */
.st-news-slider {
    margin-top: 60px;
}

.st-news-slider__item {
    float: left;
}

.st-news-slider__item:first-child {
    position: relative;
    width: 1010px;
    height: 580px;
    background: #7E7E7E;
    border-radius: 20px;
}

.st-news-slider__item:nth-child(2) {
    position: relative;
    margin-left: 14px;
    width: 506px;
    height: 580px;
    background: #7E7E7E;
    border-radius: 20px;
}


.st-news-slider__text {
    position: absolute;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    font-size: 38px;
    line-height: 45px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    left: 63px;
    bottom: 93px;
}

.st-news-slider__buttons {
    position: absolute;
    left: calc(1010px - 30px);
    top: calc(580px / 2 + 35px);
}

.st-news-slider__buttons .st-news-slider__next {
    width: 70px;
    height: 70px;
    cursor: pointer;
    background: url("/media/images/design/slider/buttons/gallery_next.svg");
}

.st-news-events__pagination {
    width:100%;
    display: flex;
    align-items: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
    margin-top: 50px;
    margin-bottom: 130px;
}


.st-news-events__pagination-all {
    color: #7E7E7E;
    font-size: 20px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.st-news-events__pagination-buttons {
    display: flex;
    align-items: center;
    margin-left:25px;
    color: #7E7E7E;
    font-size: 24px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.st-news-events__pagination-buttons .prev {
    cursor:pointer;

}

.st-news-events__pagination-buttons .next {
    cursor:pointer;
    margin-left: 25px;
}

.st-news-events__pagination-buttons .prev[disabled] {
    pointer-events: none;
    opacity: 0.4;
}

.st-news-events__pagination-buttons .next[disabled] {
    pointer-events: none;
    opacity: 0.4;
}


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

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

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


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


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

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

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

.st-news-events-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-events-slider__buttons {
    width: 100%;
    position: absolute;
    z-index:10000;
}

.st-news-events-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-events-slider__prev.active {
    display: flex;
    transition: all 500ms;
}


.st-news-events-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:615px;
    top:-50px;
}

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



@media (max-width: 1024px) {


    .st-news-events-title {
        color: #000;
        font-family: Raleway;
        font-size: 24px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }


    .st-news-events__items {
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .st-news-events__item {
        width: calc(50% - 15px);
        height: 270px;
        border-radius: 10px;
    }

    .st-news-events__item-photo {
        width: 100%;
        height: 108px;
        border-radius: 10px 10px 0px 0px;
    }

    .st-news-events__item-info {
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 10px;
    }

    .st-news-events__item-title {
        width: 100%;
        color: #000;
        font-variant-numeric: lining-nums proportional-nums;
        font-family: Raleway;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
        text-overflow: ellipsis;
        overflow: hidden;

    }

    .st-news-events__item-text {
        width: 100%;
        color: #000;
        font-variant-numeric: lining-nums proportional-nums;
        font-family: Raleway;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .st-news-events__item-date {
        width: 100%;
        color: #979393;
        font-variant-numeric: lining-nums proportional-nums;
        font-family: Raleway;
        font-size: 10px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .st-news-events__item-button {
        width: 100%;
        width: 107px;
        height: 25px;
        color: #FFF;
        text-align: center;
        font-family: Raleway;
        font-size: 12px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        left: 10px;
        bottom: 19px;
        border-radius: 6px;
    }

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


    .st-news-events__pagination-all {
        font-size: 12px;
    }

    .st-news-events__pagination-buttons {
        font-size: 12px;
    }



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


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

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

    .st-news-events-slider {
        margin-top: 20px;
        margin-bottom: 30px;
        width: calc(100% - 13px);
    }

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

    .st-news-events-slider__item {
        position: relative;

    }

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

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

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





