.posts-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.post-preview {
    display: flex;
    gap: 30px;
    position: relative
}

.post-content {       
    display: flex;
    flex: 1;
    gap: 30px;
    padding-bottom: 50px
}

.post-preview:not(:last-child) .post-content {        
    border-bottom: solid 1px #8a8a8a1e; 
}

.post-date {
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 5px;
    min-width: max(70px, 8%);
    border-top: 2px solid;        
    margin-top: 1px;
    padding-top: 20px;
}

.post-date .date {
    font-weight: 500;
    font-size: 2.2rem;
}

.monyear {
    text-transform: uppercase;
    opacity: 0.8;
    font-size: 0.65rem;
    font-weight: 600;
}

.post-featured-image {
    background-color: var(--link-color);
    aspect-ratio: 1;
    height: 300px;
    background-position: center;
    background-size: cover;
}

.post-title a {
    text-decoration: none;
    color: inherit
}

.post-title a:hover {
    text-decoration: underline 1.5px;
    color: var(--link-hover-color);
}

.post-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 1
}

.post-category {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    opacity: 0.;
    letter-spacing: 0.4px;
    margin-left: 2px;
}

.post-category a {
    text-decoration: none;
    color: inherit
}

.post-category a:hover {
    text-decoration: underline 1px;
    color: var(--link-hover-color)
}

.post-title, .post-excerpt {
    margin: unset
}

.load-more {
    margin-left: calc(max(70px, 8%) + 29px)
}

#load-more-posts {
    padding: 14px 30px;
    border: none
}

.pagination {
    gap: 15px;
    margin-left: calc(max(70px, 8%) + 29px)
}

.pagination .page-numbers {
    width: 45px;
    height: 45px;
    border-radius: 2px;      
    font-weight: 600;
}

.pagination a {        
    background-color: #f5f5f5;
    color: inherit;
    border: solid 1px #0000001a;
}

.page-numbers.current {
    background-color: var(--body-text-color);
    color: var(--site-background-color);
}

.pagination a:hover {
    background-color: var(--button-background-hover-color);
    color: var(--button-text-hover-color);
}

@media (max-width: 768px) {

    .post-content {
        gap: 20px
    }
    .post-date {
        min-width: unset;
        position: absolute;
        top: 20px;
        left: 20px;
        color: white;
        padding: 10px 5px 0 0;
        gap: 0;
        z-index: 99;
        text-shadow: 0 1px 3px #0000001a
    }

    .post-date .date {
        font-size: 1.6em;
    }

    .post-preview, .post-content {
        flex-direction: column
    }

    .post-details {
        gap: 5px
    }

    .post-featured-image {
        height: 320px;
    }

    .load-more, .pagination {
        margin-left: 0
        }
}

@media (max-width: 480px) {
        .post-content {
            gap: 10px
        }
    .post-featured-image {
        height: 240px;
    }

    .post-date {
        padding-top: 7px;
    }

    .pagination .page-numbers {
        height: 40px;
        width: 40px
    }
}