.news-block_title {
    font: 600 21px/130% var(--title-font);
    color: var(--text-color);
    margin-bottom: 30px;
}

.news-block_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 20px;
}

.news-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
    position: relative;
    padding: 30px;
    border-radius: 4px;
    background: var(--block-background);
}

.news-item_title {
    font: 600 18px/130% var(--title-font);
    color: var(--text-color);
    margin-bottom: 20px;
}

.news-item_preview {
    font: 400 16px/150% var(--text-font);
    color: var(--dark-grey-color);
}

.news-item_preview.to-hide {
    display: none;
}

.news-item_date {
    font: 400 14px/150% var(--text-font);
    color: var(--dark-grey-color);
    margin-top: 20px;
}

.news-block .btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.news-block .btn-white {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background);
    color: var(--title-color);
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font: normal 500 12px var(--text-font);
    padding: 0 29px;
    transition: .3s all;
    margin-top: 60px;
}

.news-block .btn-white:hover {
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.news-block_container .news-item:hover .news-item_title {
    color: var(--main-color);
}

@media screen and (min-width: 640px) {

    .news-item_preview.to-hide {
        display: block;
    }

    .news-item_inner {
        max-width: 500px;
    }
}

@media screen and (min-width: 1200px) {
    
    .news-block_title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .news-block_container {
        flex-direction: row;
        column-gap: 30px;
    }
    
    .news-item {
        width: calc(33.3% - 20px);
        padding: 30px 50px 30px 30px;
        min-height: 266px;
    }

    .news-item_inner {
        max-width: unset;
    }

    .news-item_preview {
        padding-bottom: 41px;
    }

    .news-item_date {
        position: absolute;
        bottom: 30px;
        font-size: 16px;
    }
}
