/* Group
-------------------------------------------------- */

/* Overlap Bottom
------------------------- */

.is-style-group-overlap-bottom {
    margin-bottom: calc(var(--wp--preset--spacing--50) * -1) !important;
    position: relative;
    z-index: 9;
}

/* Margin collapse hack for negative margin-bottom overlap */
.wp-block-group:has(> .is-style-group-overlap-bottom) {
    padding-bottom: 1px !important;
}

/* Overlap Left
------------------------- */

.is-style-group-overlap-left {
    @media (min-width: 1280px) {
        margin-left: calc(var(--wp--preset--spacing--50) * -1) !important;
        position: relative;
        z-index: 9;
    }
}

/* Overlap Right
------------------------- */

.is-style-group-overlap-right {
    @media (min-width: 1280px) {
        margin-right: calc(var(--wp--preset--spacing--50) * -1) !important;
        position: relative;
        z-index: 9;
    }
}

/* Overlap Top
------------------------- */

.is-style-group-overlap-top {
    margin-top: calc(var(--wp--preset--spacing--50) * -1) !important;
    position: relative;
    z-index: 9;
}

/* Margin collapse hack for negative margin-top overlap */
.wp-block-group:has(> .is-style-group-overlap-top) {
    padding-top: 1px !important;
}

/* Overlap Top Half Height
------------------------- */

.is-style-group-overlap-top-half {
    @media (min-width: 960px) {
        position: relative;
        z-index: 9;
        transform: translateY(-50%);
    }
}

/* Reverse Mobile Flex Direction On Stack Blocks
------------------------- */

@media (max-width: 1079px) {
    .is-style-group-reverse-mobile {
        flex-direction: column-reverse !important;
    }
}

/* Shadows
------------------------- */

.is-style-group-shadow-small {
    box-shadow: var(--wp--preset--shadow--small);
}

.is-style-group-shadow-large {
    box-shadow: var(--wp--preset--shadow--large);
}