.posts-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 35px;
    margin-bottom: 50px;
}

.posts-card a {
    text-decoration: none;
    color: inherit
}

.posts-card a:hover {
    text-decoration: underline 1px var(--link-hover-color);
    color: var(--link-hover-color)
}

.post-preview {
    display: flex;
    flex-direction: column;
    background-color: #ffffffc7;
    box-shadow: 0 2px 20px #0000000a;
    transition: box-shadow 0.3s ease;
    border-radius: 3px;
}

.post-preview:hover {
    box-shadow: 0 12px 15px #00000015;
}

.post-featured-image {
    height: 260px;
    background-color: var(--link-color);
    background-size: cover;
    background-position: center;
    border-radius: 3px 3px 0 0;
}

.post-details {        
    padding: 15px 15px 20px;

}

.post-meta {
    opacity: 0.8;
    font-size: 0.71rem;
    text-transform: uppercase;        
    margin-bottom: 10px;
    font-weight: 600;
}

.post-meta a {
    color: inherit;
}

.divider {
    margin: 0 5px;
}

.post-title {
    margin: 0;
    line-height: 1.2;
    font-size: calc(var(--h3-font-size-desktop) / 1.36);
    font-weight: 500
}

.pagination {
    display: flex;
    gap: 8px;
}

.pagination .page-numbers {    
    display: inline-flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 2px;
    color: inherit;
}

.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);
}

.pagination a {
    background-color: #00000009;
}

.load-more {
    text-align: center;
}

.load-more-button {
    border: none;
    padding: 10px 20px;
    cursor: pointer
}

@media (max-width:786px) {
    .posts-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.2);
    }
}

@media (max-width:480px) {
    .posts-card {
        grid-template-columns: 1fr;
        column-gap: 20px;
        margin-bottom: 30px;
    }

    .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.15);
    }

    .post-featured-image {
        height: 200px;
    }
}