.swiper-button-next,
.swiper-button-prev {
    z-index: 5;
}

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    content: url("../img/Arrow---Right.svg");
}

.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-prev:after {
    content: url("../img/Arrow---Left.svg");
}

.swiper-container {
    background-color: transparent;
    max-height: 600px;
}

.title {
    height: auto;
    max-height: 1000px;
}

.slide_flex img {
    width: auto;
    max-width: 550px;
    max-height: 500px;
    object-fit: contain;
}

.swiper_ornam {
    height: 223px;
    /* height: 100px;
    background-size: contain; */
}

.big_button {
    width: calc(100% - 155px);
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.big_button a {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--white);
}

.slide_flex-text {
    align-items: start;
    margin-top: 0;
    width: 44vw;
}

.slide_flex-text .slide_button {
    min-height: 30px;
    min-width: 120px;
}

.transition_soc {
    justify-content: space-around;
    gap: 20px;
}

.slide_flex-text-title {
    text-align: start;
}

.swiper-notification {
    display: none;
}
.news_item {
    transform: translateY(200px);
}

.sect_bas_img-item_2 img {
    display: block;
    margin: auto;
}

.overflow-multiply {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

.object_fit_contain {
    object-fit: contain;
}

@keyframes ani {
    0% {
        transform: translateY(200px);
    }
    100% {
        transform: translateY(0);
    }
}

@media only screen and (min-width: 2000px) {
    .slide_flex-text {
        max-width: 700px;
        margin-left: min(120px, 4.5vw);
    }

    .slide_flex-text .slide_button {
        max-width: 350px;
    }

    .sect_bas_img-text {
        width: 100%;
    }
}

@media only screen and (min-width: 1240px) {
    .sect_bas_text {
        margin-left: 300px;
    }
}

@media only screen and (max-width: 950px) {
    .more_long {
        width: 100%;
        margin-left: 0;
    }

    .but_all_news {
        width: calc(100% - 40px);
    }
}

@media only screen and (min-width: 950px) and (max-height: 670px) {
    .swiper-container {
        height: 420px;
    }
}

@media only screen and (max-width: 1100px) {
    .slide_flex img {
        max-width: 500px;
        max-height: 350px;
        margin-left: 0;
    }

    .slide_flex-text .slide_button {
        width: 99%;
    }

    .swiper-container {
        background-color: transparent;
        max-height: 800px;
    }
}

@media only screen and (max-width: 1100px) and (max-height: 500px) {
    .slide_flex img {
        max-width: 250px;
    }
}

@media only screen and (max-width: 1100px) and (min-height: 500px),
    only screen and (max-width: 415px) {
    .title .container {
        width: 100%;
    }

    .slide_flex img {
        margin: 0;
        width: 95%;
        /*        min-height: 350px;*/
        object-fit: contain;
    }

    .slide_flex {
        flex-direction: column;
        align-items: center;
        /* justify-content: center; */
        width: 100%;
        margin: 0 auto;
    }

    .slide_flex-text {
        margin-top: 50px;
        width: 85%;
        text-align: start;
        margin-left: 0;
    }

    .slide_flex-text-title {
        margin-left: auto;
        margin-right: auto;
    }

    h2 {
        padding-left: 1.5vw;
    }

    .swiper_img {
        margin-top: 20px;
    }

    .next_first {
        margin: 0px auto;
    }

    .swiper-container {
        height: 120vh;
    }
}

@media only screen and (max-width: 415px) {
    .swiper-container {
        height: 100vh;
    }

    .swiper-slide {
        margin-top: 35px;
    }
}

@media only screen and (min-width: 415px) and (max-width: 950px) and (max-height: 499px) {
    .slide_flex {
        /* height: 100%; */
        align-items: normal;
    }

    .slide_flex-text {
        width: 30vw;
    }

    .slide_flex img {
        object-fit: contain;
    }
}

@media only screen and (min-width: 415px) and (max-width: 710px) and (max-height: 499px) {
    .slide_flex-text {
        width: 45vw;
    }
}

@media only screen and (max-height: 499px) {
    .slide_flex img {
        /* width: 35vw; */
        margin: 0 45px;
    }
}

@media only screen and (max-width: 850px) and (max-height: 499px) {
    .sect_bas_text {
        margin-left: 0;
        width: 100%;
    }

    .sect_bas_text-item {
        width: 45%;
    }
}

@media only screen and (max-width: 400px) and (min-height: 500px) {
    .slide_flex img {
        margin: 0;
    }
}

@media only screen and (max-width: 380px) and (min-height: 500px) {
    .slide_flex-text-title {
        font-size: 18px;
    }
}

@media screen and (min-width: 1900px) {
    .title {
        height: calc(765px * var(--scale));
        max-height: none;
    }

    .title > .container {
        transform-origin: top;
        transform: scale(var(--scale));
        max-height: 100%;
    }

    .swiper-container {
        height: 700px;
    }

    .swiper_ornam {
        transform-origin: left bottom;
        transform: scale(var(--scale));
    }

    .sect_bas_text {
        margin-left: calc(300px * var(--scale));
    }

    .big_button {
        height: calc(40px * var(--scale));
        font-size: calc(18px * var(--scale));
        width: calc(100% - 157px * var(--scale));
        border-radius: calc(100px * var(--scale));
    }
}
