.blog .post-wrapper {
    margin-bottom: 60px;
}

.post-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

a.post {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 4px;
    border: solid 1px #eee;
    text-decoration: none;
    color: var(--black-color);
    overflow: hidden;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0);
    transition: .2s ease;
}

a.post:hover {
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.06);
}

a.post h3 {
    font-size: 20px;
}

a.post p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: var(--text-color);
}

a.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.published-date {
    border-top: solid 1px var(--border-color);
    padding-top: 15px;
    font-size: 14px;
    margin-top: auto;
    color: var(--text-color);
}

.navigation.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

span.page-numbers,
a.page-numbers {
    border: solid 1px #eee;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--black-color);
    border-radius: 4px;
    font-weight: 500;
    transition: .2s ease;
    flex-shrink: 0;
}

a.prev.page-numbers,
a.next.page-numbers {
    width: auto;
    padding: 0 10px;
}

span.page-numbers.current {
    background: var(--black-color);
    color: white;
}

a.page-numbers:hover {
    background: var(--black-color);
    color: var(--white-color);
}

@media (max-width:1260px) {
    .post-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:1180px) {
    .post-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:767px) {
    .post-container {
        grid-template-columns: repeat(1, 1fr);
    }

    a.post img {
        width: 100%;
        height: 250px;
    }
}

@media (max-width:390px) {
    a.post img {
        width: 100%;
        height: 200px;
    }

    a.prev.page-numbers,
    a.next.page-numbers {
        font-size: 0;
        width: 40px;
    }

    a.prev.page-numbers:after,
    a.next.page-numbers:after {
        content: "";
        font-size: 16px;
    }

    a.prev.page-numbers:after {
        content: "«";
    }

    a.next.page-numbers:after {
        content: "»";
    }
}