@media (min-width: 600px) {
    .arboretum-posts-lists li.wp-block-post,
    #arboretum-stories-main-container .arboretum-posts-lists li.wp-block-post {
        margin-right: 1.5vw;
        margin-bottom: var(--wp--preset--spacing--50);
    }
}

@media (min-width: 1070px) {
    .arboretum-posts-lists li.wp-block-post,
    #arboretum-stories-main-container .arboretum-posts-lists li.wp-block-post {
        border-left: 1px solid #e5ddd0;
        border-top: none;
        padding-left: 20px;
    }
}

.arboretum-posts-lists .wp-block-post-featured-image,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-featured-image {
    margin-top: 20px;
}

.arboretum-posts-lists .wp-block-post-featured-image img,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-featured-image img {
    border: 1px solid var(--wp--preset--color--leaf);
    border-radius: 0;
}

.arboretum-posts-lists .wp-block-post-title,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-title {
    line-height: 1.2;
    text-align: left;
    font-size: 24px;
    font-weight: 300;
    margin-top: 20px;
}

.arboretum-posts-lists .wp-block-post-terms,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-terms {
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 300;
    line-height: 1.5;
    color: var(--wp--preset--color--gray);
    margin: 20px 0;
    text-align: left;
}

.arboretum-posts-lists .wp-block-post-terms a:not(:first-child),
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-terms a:not(:first-child),
.arboretum-posts-lists .wp-block-post-terms .wp-block-post-terms__separator,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-terms .wp-block-post-terms__separator {
    display: none;
}

.arboretum-posts-lists .wp-block-post-terms a,
#arboretum-stories-main-container .arboretum-posts-lists .wp-block-post-terms a {
    color: var(--wp--preset--color--gray);
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post-template {
    display: flex;
    flex-wrap: wrap;
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post-template {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.arboretum-posts-lists .wp-block-post-template {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    margin-bottom: var(--wp--preset--spacing--60);
}

.arboretum-first-larger .wp-block-post:not(:first-child) {
    flex: 1;
    width: 100%;
    min-width: 100%;
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title {
    margin-top: 20px;
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.2;
    box-shadow: inset 0 -0.2em #e5ddd0;
    display: inline;
    transition: box-shadow .3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

@media (min-width: 600px) {
    .arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a {
        font-size: calc(40px + (60 - 40) * (100vw - 400px) / (1400 - 400));
    }
}

@media (min-width: 1400px) {
    .arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a {
        font-size: 60px;
    }
}

.arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a:hover,
.arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a:focus .arboretum-posts-lists.arboretum-first-larger .wp-block-post:first-child .wp-block-post-title a:active {
    box-shadow: inset 0 -0.2em #69e261;
    text-decoration: none;
}

@media (min-width: 768px) {
    .arboretum-posts-lists .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arboretum-posts-lists:not(.arboretum-first-larger) .wp-block-post {
        display: flex;
        flex-direction: row-reverse;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: flex-end;
        border-top: 1px solid #e5ddd0;
        gap: var(--wp--preset--spacing--60);
        margin-bottom: var(--wp--preset--spacing--60);
    }

    .arboretum-first-larger .wp-block-post:not(:first-child) {
        width: 50%;
        min-width: 40%;
        max-width: calc( 50% - 1.5vw );
        border-top: 1px solid #e5ddd0;
        display: flex;
        flex-direction: row;
        align-content: center;
        align-items: center;
        gap: var(--wp--preset--spacing--60);
    }

    .arboretum-first-larger .wp-block-post:first-child {
        display: flex;
        flex-direction: row;
        align-content: center;
        align-items: center;
        gap: var(--wp--preset--spacing--60);
        margin-bottom: var(--wp--preset--spacing--60);
    }

    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-featured-image,
    .arboretum-first-larger .wp-block-post:not(:first-child) .wp-block-post-featured-image {
        width: 50%;
    }

    .arboretum-posts-lists:not(.arboretum-first-larger) .wp-block-post .wp-block-post-featured-image {
        width: 50%;
        min-width: 40%;
    }

    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-featured-image img {
        border: 1px solid var(--wp--preset--color--leaf);
    }

    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-terms {
        font-size: var(--wp--preset--font-size--normal);
        font-weight: 300;
        line-height: 1.5;
        margin: 20px 0;
        text-align: left;
    }

    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-terms,
    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-terms a {
        color: var(--wp--preset--color--gray);
    }

    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-terms a:not(:first-child),
    .arboretum-first-larger .wp-block-post:first-child .wp-block-post-terms .wp-block-post-terms__separator {
        display: none;
    }
}

@media (min-width: 1070px) {
    .arboretum-posts-lists .wp-block-post-template {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .arboretum-first-larger .wp-block-post:not(:first-child) {
        width: 25%;
        min-width: 20%;
        max-width: calc(25% - 4vw);
        display: block;
        border-top: none;
    }

    .arboretum-posts-lists.arboretum-first-larger.directors-cut .wp-block-post-template {
        align-items: flex-start;
    }

    .arboretum-posts-lists.arboretum-first-larger.directors-cut .wp-block-post:not(:first-child) {
        width: 25%;
        min-width: 15%;
        max-width: calc(25% - 4vw);
    }

    .arboretum-posts-lists:not(.arboretum-first-larger) .wp-block-post {
        display: block;
        border-top: none;
    }

    .arboretum-first-larger .wp-block-post:not(:first-child) .wp-block-post-featured-image,
    .arboretum-posts-lists:not(.arboretum-first-larger) .wp-block-post .wp-block-post-featured-image {
        width: auto;
        margin-top: 20px;
    }
}

.wp-block-query-pagination {
    margin: var(--wp--preset--spacing--60) auto;
    padding: var(--wp--preset--spacing--60) 0;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers {
    display: flex;
    justify-content: center;
    gap: var(--wp--preset--spacing--40);
}

.wp-block-query-pagination .wp-block-query-pagination-next {
    margin-left: var(--wp--preset--spacing--40);
}

.wp-block-query-pagination .wp-block-query-pagination-previous {
    margin-right: var(--wp--preset--spacing--40);
}