.content {
    background: fixed var(--blog-background-image) center / cover no-repeat;
    display: flex;
    flex-direction: column;
}

.post-nav-container {
    display: flex;
    gap: .5em;
}

.post-nav {
    flex: 1 1 50%;
    font-size: xx-large;
    padding: 0.1em;

    button {
        background: var(--blog-post-read-more-button-background-color);
        color: var(--blog-post-read-more-button-text-color);
        border-radius: .25em;
        transition: .5s all;
    }

    button:hover {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    }
}

.previous, .next {
    text-align: center;
    margin: .5em;
}

.posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post-wrapper {
    background: var(--blog-post-background-color);
    color: var(--blog-post-text-color);
    max-width: 100%;
    overflow: hidden;
    margin: 1em;
    display: flex;
    flex: 1 1 50%;
    border-radius: .25em;
    /*filter: drop-shadow(0px 0px 10px rgba(2, 0, 0, 0.1));*/
    transition: .5s all;
}

.post-wrapper:hover {
    filter: drop-shadow(0px 0px 15px rgba(255, 255, 255, 0.2));

    img {
        transform: scale(1.2);
    }
}

.post {
    min-height: 100%;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}

.post-image-container::before {
    clip-path: inset(0 0 0 0);
}

.post-image-container {
    overflow: hidden;
    margin: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25em;

    img {
        transition: all .5s;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        width: 100%;
    }
}

.post-image-wrapper {
    display: flex;
    overflow: hidden;
    padding: 0;
    flex: 1 1 50%;
    border-radius: .25em;
}

.odd {
    text-align: left;
}

.odd.post {
    background: linear-gradient(0deg, rgba(0,0,0,0), rgba(255, 255, 255, 0.1));
}

.even.post {
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(255, 255, 255, 0.1));
}

.post-content-wrapper {
    flex: 0 1 0;
    display: flex;
    flex-direction: column;
    margin: 1em;
}

.post-item-header {
    transition: all .5s;
    background: none;
    flex: 0 1 0;
    text-transform: uppercase;
    font-weight: 800;
}

.post-item-content {
    /* border-radius: 0.5em; */   
    flex: 1 1 0;
    display: flex;
    font-weight: 100;

    em {
        line-height: 2.5em;
        min-width: 100%;
    }
}

.post-read-more {
    button:hover {
        opacity: 0.8;
    }

    button {
        border-radius: .25em;
        transition: .2s all;
        padding: .5em;
        background-color: var(--blog-post-read-more-button-background-color);
        color: var(--blog-post-read-more-button-text-color);
        font-size: 1.2em;
        text-transform: uppercase;
        font-weight: 150;
    }
}

@media screen and (min-width: 600px) {    
    .post-content-wrapper {
        flex: 1 1 50%;
    }

    .post-image-container {
        img {
            max-height: 500px;
        }
    }
}

@media screen and (min-width: 1000px) {
    .site-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .previous {
        order: 1;
    }

    .next {
        order: 2;
    }

    .posts, .post-nav-container {
        padding: 0em 10em;
    }

    .post-wrapper { 
        flex: 1 1 40%;
    }
}

@media screen and (min-width: 1441px) {
    .post { 
        flex-direction: row;
    }

    .even {
        text-align: right;

        .post-image-container {
            justify-content: flex-end;
        }
    
        .post-read-more {
            display: flex;
            justify-content: flex-end;
        }
    }

    .odd {
        .post-image-container {
            justify-content: flex-start;
        }
    }
}

@media screen and (min-width: 1920px) {
    .post-wrapper {
        flex: 1 1 25%;
    }
}