.site-container .archive-banner {
    flex-direction: row;
    justify-content: space-between;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 30px
}

.post-preview {
    display: flex;
    gap: 60px;
}

.post-featured-image {
    height: 350px;
    background-color: var(--link-color);
    background-size: cover;
    background-position: center;
    width: 43%; /* Ensures it takes 40% */
    display: flex;
    justify-content: flex-end;  
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 10px
}

.post-tags {
    margin-top: 15px;
    display: flex;
    gap: 9px 12px;
    flex-wrap: wrap;
    font-weight: 400
}

.post-tags a {
    color: inherit;
    font-size: 0.8rem;
    opacity: 0.7
}

.post-tags a:hover {
    opacity: 1;    
    text-decoration: underline 0.5px;
}

.post-tags a:not(:last-child) {
    border-right: solid 1px;
    padding-right: 12px;
}


.post-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-right: 60px;
}

.extra-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.extra-meta .divider {
    opacity: 0.3
}

.post-categories {
    color: var(--link-color)
}

.post-category-link:not(:first-child) {
    margin-left: 2px
}

.post-details h3 {
    margin: 5px 0 3px;
    line-height: 1.1
}

.post-details a {
    text-decoration: none;
    color: inherit
}

.post-details a:hover {
    text-decoration: underline 0.5px;
    color: var(--link-hover-color)
}

.pagination {
    display: flex;
    gap: 12px;
}

.pagination .page-numbers {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: inherit
}

.pagination .current {
    background-color: var(--body-text-color);
    color: var(--site-background-color);
}

.pagination a {
    background-color: #00000009;
}

.pagination a:hover {
    background-color: var(--button-background-hover-color);
    color: var(--button-text-hover-color);
}

.load-more-button {
    border: none;
    font-size: 110%;
    padding: 14px 40px;
    border-radius: 2px;
    box-shadow: 0 2px 6px #00000013
}

.site-container .archive-wrapper {
    gap: 0
}

@media (max-width:768px) {
    .posts-list {
        gap: 50px
    }

    .post-preview {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px
    }
    .post-featured-image {
        width: 100%;
    }

    .post-tags {
        gap: 10px
    }

    .post-tags a:not(:last-child) {
        padding-right: 10px;
    }

    .post-excerpt {
        font-size: 15px
    }

    .load-more {
        align-self: center;
        width: 50%;            
    }

    .load-more-button {
        width: 100%
    }
}

@media (max-width: 480px) {
    .load-more {
        width: 80%;            
    }

    .pagination {
        gap: 10px;
    }

    .pagination .page-numbers {   
        height: 35px;
        width: 35px;
    }

    .post-featured-image {
        height: 250px;
    }
    
    .post-details {
        padding-right: unset
    }
    
    .site-container .archive-banner {
        flex-direction: column;
        justify-content: revert
    }
}