.posts-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 100px;
    margin-bottom: 80px;
}

.posts-card a {
    text-decoration: none
}

.post-preview {
    display: flex;
    align-items: center;
    gap: 20px
}

.post-preview:nth-child(n + 3) {
    border-top: solid 1px #8e8e8e37;
    padding-top: 50px
}

.image-cont {
    flex: 0 0 45%;
    aspect-ratio:  1;
    background-color: var(--link-color);      
    border-radius: 4px;
}

.post-featured-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--link-color);       
    border-radius: 4px;
    box-shadow: 0 3px 6px #0000003f;
}

.post-meta {
    opacity: 0.8;
    font-size: 0.71rem;
    text-transform: uppercase;        
    margin-bottom: 7px;
    font-weight: 600;
}

.post-meta a {
    color: inherit;
}

.divider {
    margin: 0 5px;
}

.post-title {
    margin: 8px 0 5px;
    font-size: calc(var(--h3-font-size-desktop) / 1.35);
    font-weight: 600;
    line-height: 1.1;
}

.post-title a {
    color: inherit
}

.post-title a:hover {
    color: var(--link-hover-color)
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.2;
}

.pagination {
    gap: 15px;
    justify-content: center;
}

.pagination .page-numbers { 
    height: 40px;
    width: 40px;        
}

.pagination a {
    background-color: #8282820b;
    box-shadow: 0 2px 4px #00000017;
    color: inherit
}

.pagination .current {
    background-color: var(--button-background-color);
    color: var(--button-text-color);        
    font-weight: 600;
    box-shadow: 0 2px 4px #00000017
}

.pagination a:hover {
    background-color: var(--button-background-hover-color);
    color: var(--button-text-hover-color);        
    font-weight: 600;
    box-shadow: 0 2px 4px #00000017
}

.load-more {
    text-align: center;
}

.load-more-button {
    border: none;
    padding: 10px 20px;
    cursor: pointer
}

@media (max-width:786px) {

    .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.1);
    }

    .posts-card {
        gap: 20px 40px
    }

    .image-cont {
        aspect-ratio:  1 / 1.2;
    }

    .post-preview {
        gap: 15px
    }

    .post-preview:nth-child(n + 3) {
        border-top: solid 1px #8e8e8e37;
        padding-top: 20px 
    }
}

@media (max-width:480px) {
    .posts-card {
        gap: 30px;
        grid-template-columns: 1fr;
        margin-bottom: 40px
    }

    .post-preview {
        flex-direction: column;
    }

    .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.1);
    }

    .image-cont {
        width: 100%;
        aspect-ratio:  1.5 / 0.9;
    }

    .post-preview:nth-child(n + 2) {
        border-top: solid 1px #8e8e8e37;
        padding-top: 40px 
    }
}