/* Collage heroes (home, /webparts, /bundles): a collage of web part illustrations, at most 700px wide, that may run past the
   1248px column toward the window edge and fades out at both ends. The hero clips at the window so the page never scrolls
   sideways. */
.webpartstudio-collagehero {
    overflow: hidden;
}

.webpartstudio-collagehero .reuise-splitcontainer_container {
    overflow: visible;
}

.webpartstudio-collagehero .webpartstudio-splitcontent_content {
    max-width: 520px;
}

.webpartstudio-collagehero .webpartstudio-homepreview_image {
    position: relative;
    min-height: 380px;
    overflow: visible !important;
}

.webpartstudio-collagehero .webpartstudio-homepreview_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: min(700px, calc(100% + max(0px, (100vw - 1248px) / 2)));
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 55%, transparent 100%);
}

@media (max-width: 599px) {
    .webpartstudio-collagehero .webpartstudio-homepreview_image {
        min-height: 240px;
    }

    .webpartstudio-collagehero .webpartstudio-homepreview_image img {
        -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%);
        mask-image: linear-gradient(to right, #000 70%, transparent 100%);
    }
}
