

/* Start:/local/templates/bekker-peregorodki/components/bitrix/news.list/news-common/style.css?17591590822260*/
/*----------------------------------------------------------------
Section news
----------------------------------------------------------------*/

.news-grid__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.news-grid__col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 20px;
    margin-bottom: 40px;
}

.news-item {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease 0s;
}

.news-item:hover {
    background: #003223;
}

.news-item__img {
    height: 400px;
    /*border: 2px solid #f5f5f5;*/
    border-bottom: none;
}

.news-item__img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-item__body {
    border: 2px solid #f5f5f5;
    /*border-top: none;*/
    padding: 30px;
    flex: 1;
    transition: all 0.4s ease 0s;
}

.news-item:hover .news-item__body {
    border-color: #003223;
}

.news-item__date {
    color: #706c6b;
    font-size: 18px;
    line-height: 150%;
    margin-bottom: 15px;
    transition: all 0.4s ease 0s;
}

.news-item__title {
    color: #261c1a;
    font-family: 'BellotaTextBold', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 130%;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    transition: all 0.4s ease 0s;
}

.news-item__description {
    color: #706c6b;
    font-size: 18px;
    line-height: 1.5;
    transition: all 0.3s ease 0s;
}


.news-item:hover .news-item__date, .news-item:hover .news-item__title, .news-item:hover .news-item__description {
    color: #fff;
}

@media only screen and (max-width: 1400px) {
    .news-grid__row {
        margin: 0 -10px;
    }

    .news-grid__col {
        padding: 0 10px;
    }

    .news-item__title{
        font-size: 22px;
    }
    
    .news-item__description{
        font-size: 17px;
    }
}


@media only screen and (max-width: 1000px) {

    .news-grid__row {
        flex-wrap: wrap;
    }

    .news-grid__col {
        margin: 0 0 30px;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .news-item__body {
        padding: 20px;
    }
}


@media only screen and (max-width: 640px) {
    .news-grid__col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* End */
/* /local/templates/bekker-peregorodki/components/bitrix/news.list/news-common/style.css?17591590822260 */
