.posts-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.posts-card .post-title a {
    text-decoration: none;
    color: inherit
}

.posts-card .post-title a:hover {
    text-decoration: underline 1px;
    color: var(--link-hover-color)
}

.post-preview {
    display: flex;
    flex-direction: column;
    position: relative;
}


a.post-button:hover {
    color: var(--button-text-hover-color);
    background-color: var(--button-background-hover-color);
    border-color: var(--button-background-hover-color)
}

.post-featured-image {
    height: 220px;
    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: brightness(1.13);
}

.post-category {
    text-transform: uppercase;
    color: white;
    font-size: 0.65rem;
    padding: 3px 5px;
    background-color: #000000c4;
    position: absolute;
    z-index: 44;
    right: 10px;
    top: 10px;
    border-radius: 4px
}

.post-meta {
    font-size: 0.72rem;       
    margin: 10px 0;
}

.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;
}

.post-details {        
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
}

h3.post-title {
    margin: 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.25);
    line-height: 1.2
}

.post-excerpt {
    font-size: 0.95rem;
    margin: 0
}

.author-image img {
    border-radius: 50%;
    margin-right: 3px;
}

.post-button {
    padding: 7px 22px;
    border: solid 1px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 4px;    
    text-decoration: none;
    font-size: 0.9rem
}

.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-excerpt {
        font-size: 14px;
    }

    .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;
    }

    .pagination .page-numbers {
        height: 35px;
        width: 35px;
    }

    h3.post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.1);
    }
}