.news {
    padding: 70px 0;
}
.container {
}
.news__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
}
.news__card {
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(max-width:1000px){
    .news__card{
        width: 49%;
    }
}
@media(max-width:640px){
    .news__wrapper{
        justify-content: center;
    }
    .news__card{
        width: 80%;
    }
    
}
@media(max-width:500px){
    .news__card{
        width: 95%;
    }
    .news__name{font-size: 16px;}
    .news__text{
        font-size: 14px;
    }
    
}
@media(max-width:380px){
    .news__card{
        width: 100%;
    }
    .news__more-bl {
        width: 122px !important;
        padding-left: 6px !important;
        margin-left: 6px !important;
    }
        .news__more{
            font-size: 14px !important;
        }
    
}


.news__top {
    position: relative;
}

.news__date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0f9f9d;

    display: inline-block;

    padding: 5px 10px;
    color: #fff;
    transition: 0.3s;

}
.news__top:hover .news__date{
    opacity: 0;
    visibility: hidden;
}
.news__img{
    width: 100%;
    height: 270px;
    object-fit: cover;
}
.news__top-link-bl{
    transition: 0.5s;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #12557f75;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    transform: rotateY(90deg);
    opacity: 0;
    visibility: hidden;
}
.news__top:hover .news__top-link-bl{
    transform: rotateY(0);
    opacity: 1;
    visibility: visible;
}
.news__top-link {
    transition: 0.5s;
    color: #fff;
    background-color: #0f9f9d;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 20px;
}
.news__top-link:hover{
    color: #fff;
    filter: brightness(1.2);
}
.news__content {
    
    padding: 10px 10px 0;


}

.news__name{
    color: #0f9f9d;
    font-size: 18px;
}
.news__text {
}
.news__more-bl{
    position: relative;
    display: inline-block;
    border: 1px solid #0f9f9d;
    padding: 5px 0;
    width: 136px;
    overflow: hidden;
    border-radius: 8px;
    padding-left: 10px;
    margin-left: 10px;
}
.news__arrow{

    transition: 0.4s;
}
.news__more-bl:hover .news__arrow{
    margin-left: 5px;
}
.news__more{
    color: #0f9f9d;
    transition: 0.4s;
}
.news__more-bl:hover .news__more::before,.news__more-bl:hover .news__more{
    left: 0;
    color: #fff;
}

.news__more::before{
    position: absolute;
    transition: 0.5s;
    content: '';
    background-color: #0f9f9d;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    z-index: -1;



}

.news__ramka{
    background-color: #f5f8fb;
    padding: 30px;
}

.news__d-flex{
    display: flex;
    padding: 20px 0;
    justify-content: space-between;
}
.news__d-flex div{
    width: 50%;
}
.news__list{
    list-style: disc;
    padding-left: 40px;
}
.news__list{
    font-size: 17px;
}
.news__ramka-date {
    display: flex;
    justify-content: center;
    align-items: center;
}
.news__ramka-date p{
    
    background-color: #12557f;
    color: #fff;
    padding: 10px 20px ;
    border-radius: 10px;
    font-size: 20px;
}
.news__title {
    font-size: 28px;
    padding: 0;
    display: inline-block;
    margin: 15px 0;
}

.news__img-big{width: 100%; margin-bottom: 20px;}
.news__ramka p{
    font-size: 18px;
}

