/**********************************************************************

    ██████╗  ██████╗ ███████╗████████╗    ██████╗  ██████╗ ██╗  ██╗
    ██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝    ██╔══██╗██╔═══██╗╚██╗██╔╝
    ██████╔╝██║   ██║███████╗   ██║       ██████╔╝██║   ██║ ╚███╔╝
    ██╔═══╝ ██║   ██║╚════██║   ██║       ██╔══██╗██║   ██║ ██╔██╗
    ██║     ╚██████╔╝███████║   ██║       ██████╔╝╚██████╔╝██╔╝ ██╗
    ╚═╝      ╚═════╝ ╚══════╝   ╚═╝       ╚═════╝  ╚═════╝ ╚═╝  ╚═╝

 **********************************************************************/


 

/* Backend styles. */
.is-root-container .post-box a {
    pointer-events: none;
}

/* Main styles. */
.post-box {
    margin: 0 0 var(--nvm-grid-rhythm) 0;
}

    .post-box a.post-box__link {
        border-bottom: none;
        display: block;
        width: 100%;
        transition-property: opacity;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-timing-function: ease-in;
    }
    
    .post-box a.post-box__link:is( :hover ) {
        border-bottom: none;
        opacity: 0.8;
    }

    .post-box .post-content {
    }

    .post-box.orientation-vertical .post-content {
    }

    .post-box.orientation-reverse-vertical .post-content {
        flex-direction: column-reverse !important;
        flex-wrap: nowrap !important;
    }

    .post-box.orientation-horizontal .post-content {
    }

    .post-box.orientation-overlapping .post-content {
        position: relative;
        aspect-ratio: 4/3;
    }

        .post-box.orientation-overlapping .post-content .post-content__media {
            position: absolute;
            width: 100%;
            height: 100%;
        }

            .post-box.orientation-overlapping .post-content .post-content__media .image,
            .post-box.orientation-overlapping .post-content .post-content__media .image .image-box,
            .post-box.orientation-overlapping .post-content .post-content__media .video .video-box,
            .post-box.orientation-overlapping .post-content .post-content__media .video {
                height: 100% !important;
            }

        .post-box.orientation-overlapping .post-content .post-content__text {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba( 255, 255, 255, 0.8 );
        }

        .post-box .post-content .post-content__media {
        }

            .post-box .post-content .post-content__media .image {
            }

            .post-box .post-content .post-content__media .video {
                aspect-ratio: 4/3;
                object-fit: cover;
            }
        
        .post-box .post-content .post-content__text {
        }

            .post-box:is( .orientation-reverse-vertical ) .post-content .post-content__media,
            .post-box:not( .orientation-reverse-vertical, .orientation-overlapping, .no-media ) .post-content .post-content__text .title,
            .post-box .post-content .post-content__text .date,
            .post-box .post-content .post-content__text .taxonomies,
            .post-box:not( .orientation-overlapping ) .post-content .post-content__text .excerpt,
            .post-box .post-content .post-content__text .cta-text {
                margin: var(--nvm-text-rhythm) 0 0 0;
            }

            .post-box:is( .orientation-overlapping ) .post-content .post-content__text .title {
                padding: 0.35em;
            }

            .post-box:is( .orientation-overlapping ) .post-content .post-content__text .excerpt {
                padding: 0 0.35em 0.35em 0.35em;
                margin-top: 0;
            }

/* Hiding post box elements. */
.post-box.no-media .post-content .post-content__media,
.post-box.no-date .post-content .post-content__text .date,
.post-box.no-taxes .post-content .post-content__text .taxonomies,
.post-box.no-excerpt .post-content .post-content__text .excerpt,
.post-box.no-cta-text .post-content .post-content__text .cta-text {
    display: none;
}