.avtodigest {
    margin-bottom: 210px;
}

.product-categorymark-catalog .avtodigest__title {
    margin-top: 150px;
}

.avtodigest-full .avtodigest__title{
    margin-top: 62px;
}

.avtodigest__title {
    margin-top: 210px;
}

.avtodigest__news {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.news__item {
    position: relative;
    margin-bottom: 8px;
    margin-right: 4px;
    margin-left: 4px;
    flex: 0 0 32%;
    overflow: hidden;
    width: 374px;
    height: 210px;
}

.avtodigest__img-wrap {
    height: 210px;
}

.news__descr {
    width: 295px;
    position: absolute;
    color: #fff;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}

.news__title {
    margin-bottom: 32px;
    position: relative;
}

.news__title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: -17px;
}

.news__date {
    color: #fff;
}

.news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1A3C5E;
    color: #1A3C5E;
    height: 55px;
    width: 244px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
}

.news-btn:hover {
    background-color: #1A3C5E;
    color: #fff;
    transition: 0.5s;
}


.avtodigest__news {
    flex-wrap: wrap;
    justify-content: flex-start;
}



.news__item .news__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-btn:hover {
    background-color: #1A3C5E;
    color: #fff;
    border: 1px solid #1A3C5E;
    transition: .4s;
}

/* .news__item:not(:nth-of-type(3n)) {
    margin-right: 20px;
    margin-bottom: 20px;
} */
.video-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1A3C5E;
    color: #1A3C5E;
    height: 55px;
    width: 244px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    transition: .4s;
}

.news__item a{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news__item a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(229.18deg, rgba(35, 43, 74, 0.33) 2.51%, rgba(22, 27, 44, 0.77) 67.09%);
}

@media (max-width: 1080px) {

    .news__descr {
        width: 248px;
    }
}

@media (max-width: 1024px) {
    .avtodigest {
        margin-bottom: 90px;
    }
    .avtodigest__title {
        margin-top: 90px;
    }
}

@media (max-width: 944px) {
    .avtodigest__news {
        justify-content: flex-start;
    }

    .news__item {
        flex: 0 0 48%;
    }

    .news__descr {
        width: 295px;
    }

    .avtodigest__news .news__item.hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .news__descr {
        width: 250px;
    }
}

@media (max-width: 672px) {
    .news__item {
        flex: 0 0 80%;
    }

    .news__descr {
        width: 295px;
    }
    .avtodigest__news {
        justify-content: center;
    }
}


@media (max-width: 500px) {
    .avtodigest__news {
        justify-content: center;
    }    

    .avtodigest__img-wrap {
        height: 100%;
        min-height: 180px;
    }

    .avtodigest__img-wrap img {
        object-fit: contain;
    }

    .news__item {
        height: unset;
    }

}

@media (max-width: 425px) {
    .avtodigest__img-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news__item {
        flex: auto;
    }
}


@media (max-width: 360px) {
    .news__item .news__img {
        width: calc(100% + 20px);
        margin-left: -10px;
    }

    .news__descr {
        width: 250px;
    }
}