.site-container .archive-banner {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 10px
}

.posts-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 100px;
}

.post-preview {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1 / 2;
    position: relative
}

.post-preview:nth-child(2n) {
    flex-direction: column-reverse;
}

.post-featured-image, .post-details {
    flex: 0 0 50%;
}

.post-featured-image {
    background-position: center;
    background-size: cover;
    min-height: 0;
    background-color: var(--link-color) 
}

.post-details {        
    box-sizing: border-box;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.post-categories {     
    font-size: 0.7rem;
    text-transform: uppercase
}

.post-categories a {
    text-decoration: none;
    color: inherit
}

.post-categories a:hover {
    text-decoration: underline 1px;
    color: var(--link-hover-color)
}

.post-title {
    margin: 0;
    line-height: 1.1;
    font-size: calc(var(--h3-font-size-desktop) / 1.3);
    font-weight: 600;
}

.post-title a {
    text-decoration: none;
    color: inherit
}

.post-title a:hover {
    text-decoration: underline 1.5px;
}

.extra-meta {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
}

.connector-arrow {
    width: 50px;
    height: auto;
    color: var(--site-background-color);
    text-shadow: 0 0 10px #000000a6;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    transform: translateX(-50%) translateY(-50%)
}

.posts-list .post-preview:nth-child(even) .connector-arrow {
        transform: translateX(-50%) translateY(-50%) rotate(180deg);
    }

.load-more {
    text-align: center
}

#load-more-posts {
    padding: 15px 40px;
    border: none;
}

.pagination {
    gap: 15px;
    font-weight: 500;
    justify-content: center;
}

.pagination .page-numbers {
    height: 40px;
    width: 40px;
}

.pagination a {
    border: solid 1px #8c8c8c62;
}

.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);
}

@media (max-width:768px) {
    .posts-list {
        grid-template-columns: repeat(2, 1fr);            
        margin-bottom: 60px;
    }

    .post-title {
        font-size: var(--h3-font-size-tablet);
    }    

    .post-categories {
        font-size: 0.85rem
    }

    .extra-meta {
        font-size: 1rem
    }

    .site-container.archive-wrapper {
        padding: 30px;
    }
}

@media (max-width:480px) {

    .posts-list {
        grid-template-columns: 1fr;         
        margin-bottom: 30px;
    }
    .post-preview, .post-preview:nth-child(2n) {
        flex-direction: column;
        aspect-ratio: 1 / 2;
    }

    .post-title {
        font-size: var(--h3-font-size-mobile);
    }

    .connector-arrow, .posts-list .post-preview:nth-child(even) .connector-arrow {
        width: 50px;
        transform: translateX(-50%) translateY(-50%) rotate(0)
    }

    .site-container .archive-banner {
        flex-direction: column;
        justify-content: revert
    }
}