/* --- Block Hero Content
-------------------------------------------------------- */
.wp-block-section.wp-hero-content .wp-block-group-heading,
.wp-block-section.wp-hero-content-default .wp-block-group-heading,
.wp-block-section.wp-hero-content-with-collage-images .wp-block-group-heading {
    margin-bottom: 28px;
    position: relative;
}

.wp-block-cover.wp-block-section.wp-block-hero-content {
    padding-top: 0;
}

.wp-hero-content .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
}

.wp-hero-content .wp-block-media-text .wp-block-media-text__content {
    grid-column: 1;
    padding: 7% 5%;
}

body .wp-block-image-collage .is-layout-flex {
    display: flex;
    flex-wrap: nowrap !important;
}

.wp-block-section.wp-hero-content-default .wp-block-image img,
.wp-block-section.wp-hero-content .wp-block-image img {
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-content-with-stats .stats-four-columns {
    max-width: 1200px;
}

/* --- Hero Content Collage Image --- */
.wp-block-section.wp-hero-content-default.wp-hero-content-with-features {
    .wp-block-image-collage {
        position: relative;
        padding-right: 15%;
        padding-bottom: 15%;



        .wp-primary-image {
            img {
                width: 100% !important;
                border-top-right-radius: 200px;
            }
        }

        .wp-secondary-image {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: 9;
            width: 35%;

            img {
                border-bottom-left-radius: 80px;
            }
        }


    }

    .wp-block-stats-content {
        .wp-block-image {
            background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><path fill='%23ba8858' fill-opacity='0.15' d='M24.4,-45.2C32.1,-37.8,39.3,-32.3,46.6,-25.1C53.8,-17.9,61.2,-8.9,67.7,3.8C74.3,16.5,79.9,32.9,74.9,44.1C69.9,55.2,54.3,61.1,40,68.3C25.7,75.6,12.9,84.2,1.1,82.4C-10.7,80.5,-21.5,68.1,-35.3,60.7C-49.2,53.2,-66.1,50.6,-71,41.3C-75.8,32,-68.5,16,-60.3,4.7C-52.2,-6.5,-43.1,-13.1,-38.6,-23C-34.1,-32.9,-34.2,-46.2,-28.5,-54.8C-22.9,-63.4,-11.4,-67.3,-1.6,-64.6C8.3,-61.9,16.7,-52.6,24.4,-45.2Z' transform='translate(100 100)'/></svg>");
            background-repeat: no-repeat;
            background-size: 125%;
            background-position: center;
            transition: transform 0.4s ease, filter 0.4s ease;
            border-radius: 12px;
            width: max-content;

        }

        >.wp-block-columns:hover .wp-block-image {
            transform: scale(1.15);
            filter: brightness(1.1) saturate(1.2);
        }

    }
}

.wp-hero-content-with-features div.wp-block-columns+div.wp-block-columns {
    margin-block-start: calc(1.25 * var(--wp--style--block-gap));
}