.title_block {
    margin: 40px 0 20px 0;
    border-bottom: 1px solid #BDBDBD;  
}

.title_block h2 {
    font-weight: bold;
    font-size: 30px;
    line-height: 37px;
    padding: 0;
    margin: 0;
}

.last_articles_block {
    display: grid;
    grid-template-columns: minmax(150px, 300px) minmax(150px, 300px) minmax(150px, 300px) minmax(150px, 300px);
    grid-gap:20px;
}

.item_last_article {
    background: #FFFFFF;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}


.item_last_article:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.img_last_article {
    height: 200px;
}


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

.text_last_block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    padding: 8px 10px 0 10px;
    height: 210px;
}

.title_last_article {
    padding: 0 0 8px 0;
}

.title_last_article h2 {
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;

    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.title_last_article:hover {
    text-decoration: underline;
}


.description_last_article p {
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden; 
    margin: 0;
}

.info_last_article {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 10px 0;
}

.info_last_article .date {
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
}

.info_last_article .category {
    font-weight: bold;
    font-size: 10px;
    line-height: 12px;
}

@media screen and (max-width: 1023px) { 
    .title_block {
    margin: 27px 0 20px 0;
    border-bottom: none;  
    }

    .title_block h2 {
        font-weight: bold;
        font-size: 28px;
        line-height: 34px;
        padding: 0;
        margin: 0;
    }

    .last_articles_block {
        grid-template-columns: repeat(auto-fill, minmax(320px, 372px));
        justify-content: center;
    }

    .title_last_article h2 {
        font-weight: normal;
        -webkit-line-clamp: 1;
    }

    .text_last_block {
        height: auto;
    }

    .description_last_article {
        display: none;
    }
}