.cc-recent-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    margin: 40px 0 50px 0;
}

.cc-recent-posts .recent-element {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cc-recent-posts .image {
    height: 170px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 15px;
}

.cc-recent-posts .title, .cc-recent-posts .excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.cc-recent-posts .title {
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 10px;
    color: #303C49;
    min-height: 42px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cc-recent-posts .date {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #303C49;
    min-height: 24px;
    margin-bottom: 15px;
}

.cc-recent-posts .excerpt {
    font-size: 14px;
    line-height: 22px;
    min-height: 65px;
    margin-bottom: 25px;
    color: #555555;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

@media only screen and (max-width: 1200px) {
    .cc-recent-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 750px) {
    .cc-recent-posts {
        grid-template-columns: 1fr;
    }
}