/* 
ROWS
*/
.blocks-row {
    width: 100%;
    margin-top: 2.5rem;
    overflow: hidden !important;
}
@media only screen and (min-width: 1024px) {
    .blocks-row {
        display: flex;
        justify-content: center;
        margin: 0;
    }
    .blocks-row:not(:first-of-type) {margin-top: 30rem;}

    .blocks-row.row-shared {
        height: 75vh;
        padding: 0 2.5rem;
        margin-bottom: calc(25vh / 2);
    }

    .blocks-row:not(:last-of-type) {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }


    .blocks-row.row-solo .no-crop {padding: 0 2.5rem;}
}

/* 
FIGURE
*/
.blocks-row figure {width: 100%;}
.blocks-row figure:not(:first-of-type) {margin-top: 2.5rem;}
@media only screen and (min-width: 1024px) {
    .blocks-row figure {
        margin-top: 0 !important;
    }

    .blocks-row.row-shared figure {
        width: fit-content;
        height: 100%;
    }

    .blocks-row.row-shared figure:not(:last-of-type) {
        margin-right: 1rem;
    }
}

/* 
IMG
*/
.blocks-row img {
    object-fit: cover;
    object-position: center top;
}

.blocks-row .pic-horizontal img {aspect-ratio: 3/2;}
.blocks-row .pic-vertical img {aspect-ratio: 2/3;}
.blocks-row figure.no-crop img {aspect-ratio: unset;}

@media only screen and (min-width: 1024px) {
    .blocks-row.row-solo .pic-horizontal img {
        height: 100%;
        object-fit: cover;
        aspect-ratio: 3/2;
    }

    .blocks-row.row-solo .pic-vertical img {
        width: auto;
        height: calc(100 * var(--vh));
        max-height: calc(100 * var(--vh));
        aspect-ratio: 2/3;
        object-fit: contain;
        margin: auto;
    }

    .blocks-row.row-solo .no-crop img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: unset;
    }

    .blocks-row.row-shared img {
        height: 75vh;
        width: auto;
    }

    .blocks-row video {
        width: 100%;
        max-height: 100vh;
    }
}

/* EMBED */
iframe {
    border: 0;
    outline: 0;
    aspect-ratio: 16/9;
}