.posts-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    margin-bottom: 20px;
}

.posts-card a {
    text-decoration: none;
    color: inherit
}

.posts-card a:hover {
    text-decoration: revert;
    color: var(--link-hover-color)
}

.post-preview {
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-featured-image {
    height: 300px;
    background-color: var(--link-color);
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    transition: filter ease-in 0.25s
}

.post-featured-image:hover {
    filter: saturate(0.6);
}

.post-category {
    text-transform: uppercase;
    color: white;
    font-size: 0.65rem;
    letter-spacing: 0.4px;
    padding: 2px 3px;
    background-color: #00000069;
    position: absolute;
    z-index: 44;
    right: 10px;
    top: 10px;
    border-radius: 4px
}

.post-details {        
    padding-top: 10px;

}

.post-meta {
    font-size: 0.76rem;       
    margin: 10px 0;
    flex-wrap: wrap;
    gap: 2px 5px;
}

.archive-posts .author, .post-date {
    opacity: 0.8
}

.post-meta, .post-author {
    display: flex;
    align-items: center;
}

.post-meta a {
    color: inherit;
}

.divider {
    margin: 0 10px;
}

h3.post-title {
    margin: 0 0 5px;
    font-size: calc(var(--h3-font-size-desktop) / 1.1);
    line-height: 1.2
}

.author-image img {
    border-radius: 50%;
    margin-right: 3px;
}

.pagination {
    gap: 15px;
    font-weight: 500;
    justify-content: center;
}

.pagination .page-numbers {
    height: 40px;
    width: 40px;
}

.pagination a {
    border: solid 1px #8c8c8c31;
}

.pagination .current {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
}

.pagination a:hover {
    background-color: var(--button-background-hover-color);
    color: var(--button-text-hover-color);
}

.load-more {
    text-align: center;
}

.load-more-button {
    border: none;
    padding: 15px 25px;
    cursor: pointer
}

@media (max-width:768px) {

    .posts-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-featured-image {
        height: 220px;
    }

    h3.post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.1);
    }
}

@media (max-width:480px) {
    .posts-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px 25px;
    }

    .post-featured-image {
        height: 200px;
    }

    h3.post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.1);
    }

    .pagination .page-numbers {
        height: 35px;
        width: 35px;
    }
}