@font-face {
    font-family: 'Lato';
    /* src: url('fonts/Involve-Regular.ttf') format('truetype'); */
    font-weight: 400;
    /* Соответствует обычному начертанию */
    font-style: normal;
    font-display: swap;
    /* Рекомендация для плавной загрузки */
}

.one-news-container {
    margin: 0 auto;
    width: 80%;
    max-width: 930px;
    margin-bottom: 30px;
    box-sizing: border-box;
    padding: 0 20px;
    max-width: 930px;
}

.news-content {
    display: flex;
    /* gap: 20px; */
    align-items: center;
    flex-direction: column;
}

.sub-flex-cont {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;

}

.links_back {
    color: #1A2B58;
    font-size: 16px;
    display: flex;
    gap: 10px;
    border: 1px solid #d5d5d5;
    padding: 10px;
    border-radius: 38px;
}

.news_date {
    /* border: 1px solid #1B2E6A; */
    padding: 8px 14px 9px 14px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;

    color: #447695;
    max-width: none;
    height: auto;
    background: rgba(165, 199, 220, 0.24);
    border-radius: 9px;
    width: max-content;
}

.news_date_dop {
    padding: 5px;
    /* max-width: 90px; */
    height: 27px;
    width: auto;

    background: #E1EAEF;
    border-radius: 9px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #447695;
    margin-bottom: 20px;
    z-index: 1;
    width: max-content;
}

.news-title {
    text-align: center;
    /* margin-top: 20px; */
    width: 100%;
}

.news-title h3 {
    margin: 0;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: rgba(68, 118, 149, 1);
}

.news-text {
    margin-top: 30px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    color: rgba(0, 0, 0, 1);
}

.news-text p {
    font-family: 'Lato';
}

.back-a {
    text-decoration: none;
    color: cornflowerblue;
    cursor: pointer;
}

.news-image {
    width: 100%;
    /* margin: 0 auto; */
    /* text-align: center; */
    margin-top: 16px;
    text-align: center;
}

.news-image img {
    /*max-width: 700px;*/
    max-width: 100%;
    border-radius: 15px;
}


/* breadcrumbs start */


.breadcrumbs-container {
    display: inline-flex;
    list-style-type: none;
    align-items: baseline;
    /* убирает стандартные маркеры списка */
    margin: 0;
    padding: 0;
    background-color: #E9F1FF;
    border-radius: 16.5px;

}

.breadcrumbs-container p {
    margin: 0;

}

.breadcrumbs-container div {
    padding-left: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.breadcrumbs-container div p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.breadcrumbs-container div.big {
    padding-right: 14px;
}

.breadcrumbs-container div.active {
    padding: 8px 14px 8px 14px;
    background-color: #DAE7FD;
    border-radius: 16px;
    box-shadow: 0px 1px 4px rgba(142, 184, 255, 0.5);
}

.breadcrumbs-container div.active p {
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #1B2E6A;
}

.breadcrumbs-container div a {
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #1B2E6A;
}

/* breadcrumbs end */

.other_news-container {
    display: flex;
    flex-direction: row;
    column-gap: 40px;
}

.o_news_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* gap: 50px; */
    margin: 0 auto;
    justify-content: space-between;
    padding: 15px;
    /* background-color: #E9F1FF; */
    background: #FFFFFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    position: relative;
}

.o_news_img {
    width: 100%;
    /* padding: 5px; */
    text-align: center;
    height: 211px;
    overflow: hidden;
    border-radius: 10px;
}

.o_news_img img {
    object-fit: cover;
    /* max-width: 90%; */
    /* height: 270px; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
    height: 211px;
}

.o_news_item .o_title {
    margin: 0;
    /* margin-top: 14px; */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #1B2E6A;
}

.o_news_item .o_title p {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;

    color: #447695;
}

.o_news_item .pre_description {
    margin: 0;
    margin-top: 25px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #1B2E6A;
}

.o_news_item .more {
    text-align: right;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    text-decoration-line: underline;
    color: #1B2E6A;
    margin: 0;
    margin-top: 13px;
    cursor: pointer;
}

.o_wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex-grow: 1;
    z-index: 1;
    /* max-height: 200px; */
    /* margin-top: 14px; */
}

.o_short_text p {
    margin: 0;
    font-size: 16px;
    color: #000;
    font-family: 'Lato';
}

.o_short_text {
    /* height: 300px; */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    /* min-height: 20px; */
    max-height: 255px;
    color: #1B2E6A;
    padding: 0 5px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
}

.o_subtitle {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    color: #000;
    margin: 0;
    margin-top: 36px;
    margin-bottom: 20px;
}

.back-button {
    padding: 10px 18px 10px 18px;
    display: inline-flex;
    flex-direction: row;
    column-gap: 8px;
    /* background-color: #1B2E6A; */
    background-image: linear-gradient(to right, #FFFFFF, #E1EAEF);
    color: #447695;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    /* width: 180px; */
    /* height: 29px; */
    border-radius: 10px;
    text-decoration: none;
    transition: background-image .6s;
}

.back-button span {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    transition: .3s;
}

.back-button:hover {
    background-image: linear-gradient(to left, #FFFFFF, #E1EAEF);
    transition: background-image .6s;
}

.back-button:hover span {
    /* color: #FFFFFF; */
    transform: scale(1.02);
}

.back-button img {
    transition: .3s;
}

.back-button:hover img {
    transform: scale(1.2);
    transition: .3s;
}

.back-to-news {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

@media(max-width: 800px) {
    .one-news-container {
        width: 100% !important;
    }

    .news-image {
        width: 96%;
    }

    .news-image img {
        width: 100%;
    }

    .other_news-container {
        flex-direction: column;
        row-gap: 20px;
    }

    .o_news_item {
        width: auto;
    }
}

@media(max-width: 600px) {
    .news_date {
        font-size: 14px;
    }

    .news-title h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .news-text p {
        font-size: 14px;
    }

    .o_subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .news_date_dop {
        font-size: 12px;
    }

    .o_news_item .o_title p {
        font-size: 15px;
    }

    .o_short_text p {
        font-size: 13px;
    }

    .news_link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 144px;
        height: 35px;
        font-size: 13px;
        padding: 0;
        margin: 0 auto;
    }

    .basemment-item2 {
        margin: 0;
    }

    .main_basement {
        margin-top: 15px;
    }

    .back-button span {
        font-size: 14px;
    }
}