/* ---news section--- */
.main_news {
    padding:85px 0 134px;
    background: #edfcff;
    position: relative;
}
.main_news:after,
.main_news::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    bottom: 0;
}
.main_news::before {
    width: 283px;
    height: 556px;
    left: 0;
    background: url('../../img/newsl.png');
}
.webp .main_news::before { background: url('../../img/newsl.webp');}
.main_news:after {
    width: 307px;
    height: 466px;
    right: 0;
    background: url('../../img/newsr.png');
}
.webp .main_news:after { background: url('../../img/newsr.webp');}
.main_news .wrapper {
    position: relative;
    z-index: 5;
}
.main_news h2 {
    padding-right: 32px;
    margin-right: 30px;
    position: relative;
    color: #f35740;
}
.news__link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
}
.main_news .block_head {
    margin-bottom: 18px;
}
.main_news h2:after {
    content: '';
    width: 2px;
    height: 14px;
    background: #daf3ff;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 0
}
.wrap_news {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
         justify-content: space-between;
}
.item_news {
    width: 275px;
    position: relative;
    margin: 0 7px 22px 8px
}
.item_news:hover {
    opacity: 0.8;
}
.item_news__img {
    width: 100%;
    height: 175px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
}
.item_news__img img {
    height: auto !important;
    opacity: 1 !important;
}
.item_news-img {
    position: relative;
    background-color: #008ab7;
    overflow: hidden;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
         border-radius: 20px;
}
.item_news-img::after,
.big_news::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
    border: 2px solid #d0f7ff;
    background: url('../../img/cursor.png') no-repeat center center;
}
.item_news-img::after {
    right: 12px;
    bottom: 6px;
}
.big_news::after {
    right: 20px;
    bottom: 15px;
    z-index: 2;
}
.item_news img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    opacity: 0.7;
}
.item_news .text_news {
    padding-top: 17px
}
.item_news .date_news {
    font-size: 14px;
    color: #a6a6a6;
    margin-bottom: 10px
}
.item_news .title_news {
    font-family: Circe-Bold;
    font-size: 16px;
    line-height: 18px;
    color: #008ab7;
    text-decoration: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s
}
.item_news .title_news:hover {
    color: #f35740
}
.item_news p {
    font-family: Circe-Light;
    font-size: 12px;
    line-height: 14px;
    color: #020202;
    max-width: 245px
}
.big_news {
    max-width: 505px;
    width: 43.2%;
    position: relative;
    margin-right: 22px;
    overflow: hidden;
    background: none;
    position: relative;
    -webkit-border-radius: 20px;
       -moz-border-radius: 20px;
            border-radius: 20px;
}
.item_news.big_news:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: rgb(19,134,179);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(19,134,179,1)), color-stop(70%, rgba(19,134,179,0)), to(rgba(19,134,179,0)));
    background: -webkit-linear-gradient(bottom, rgba(19,134,179,1) 0%, rgba(19,134,179,0) 70%, rgba(19,134,179,0) 100%);
    background: -moz-linear-gradient(bottom, rgba(19,134,179,1) 0%, rgba(19,134,179,0) 70%, rgba(19,134,179,0) 100%);
    background: -o-linear-gradient(bottom, rgba(19,134,179,1) 0%, rgba(19,134,179,0) 70%, rgba(19,134,179,0) 100%);
    background: linear-gradient(0deg, rgba(19,134,179,1) 0%, rgba(19,134,179,0) 70%, rgba(19,134,179,0) 100%);
    pointer-events: none;
}
.big_news .text_news {
    position: absolute;
    bottom: 30px;
    padding: 0 30px;
    z-index: 2;
}
.big_news .date_news,
.big_news .title_news,
.big_news .title_news:hover {
    color: #fff
}
.big_news p {
    color: #fff;
    max-width: 350px
}
.wrap_articles img {
    width: 100%;
    height: 200px;
    opacity: 1;
}
.wrap_articles .item_news {
    width: 30%;
}
@media screen and (max-width: 1200px) {
    .item_news {
        width: 25%;
    }
}
@media screen and (max-width: 993px) {
    .big_news {
        width: 41% !important;
    }
    .main_news {
        padding: 85px 0 50px;
    }
    .main_news:after, .main_news::before {
        display: none;
    }
    .wrap_articles .item_news {
        width: 48%;
        margin: 0 6px 22px 7px;
    }
}
@media screen and (max-width: 768px) {
    
    .item_news {
        width: 49%;
        margin: 0;
    }
    .big_news {
        width: 100% !important;
        max-width: unset;
        margin-bottom: 20px;
    }
    .wrap_articles .item_news {
        width: 100%;
    }
}
@media screen and (max-width: 577px) {
    .main_news h2:after {
        display: none;
    }
    .main_news {
        padding: 30px 0;
    }
    .item_news {
        display: none;
    }
    .wrap_articles .item_news {
        display: block;
    }
    .big_news {
        display: block;
    }
    .item_news .date_news {
        margin-bottom: 0;
    }
    .item_news .title_news {
        margin: 5px 0;
    }
    .big_news .text_news {
        bottom: 9px;
    }
    .item_news-img::after, .big_news::after {
        width: 25px;
        height: 25px;
        background: url(/templates/annamariya/img/cursor.png) no-repeat center center / 50%;
    }
    .big_news p {
        width: 80%;
        margin-top: 0;
    }
}
 