.wp-block-group{
    &[class*="add-curve"] {
        isolation: isolate;
        position: relative;

        &::before{
            background-image: url("../../../images/white-curve.svg");;
            background-repeat: no-repeat;
            background-size: 100%;
            content: '';
            height: clamp(2.5rem, 1.462rem + 5.538vw, 7rem);
            left: 0;
            position: absolute;
            transform: scaleX(-1);
            width: 100%;
            z-index: 99;
        }

        &[class*="bottom"]{
            &::before{
                background-position: bottom;
                bottom: -1px;
            }
        }

        &[class*="top"]{
            &::before{
                background-position: top;
                rotate: 180deg;
                top: -1px;
            }
        }
    }

    &.is-style-toggle-drawer{
        cursor: pointer;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 118px 219px 1fr;
        place-items: stretch;

        > * {
            grid-column-start: 1;
            grid-row-start: 2;
            grid-row-end: span 2;
            width: 100%;
        }

        > :first-child {
            grid-row-start: 1;
            z-index: 1;
        }

        .is-style-toggle-drawer-content{
            display: grid;
            grid-template-columns: 1fr;
            overflow: hidden;
            transition-property: grid-template-rows;
            transition-duration: 0.2s;
            transition-timing-function: ease-in-out;

            * {
                min-height: 0;
            }
        }

        &.active{
            .is-style-toggle-drawer-content{
                grid-template-rows: 1fr;

            }
        }

        &:not(.active){
            > * {
                transition-property: background-color;
                transition-duration: 0.2s;
                transition-timing-function: ease-in-out;
            }

            &:not(:hover){
                > *{
                    background-color: transparent !important;
                }
            }

            .is-style-toggle-drawer-content{
                grid-template-rows: 0fr;
            }
        }
    }

    &.is-style-lift-on-hover{
        transition-property: translate;
        transition-duration: 0.2s;
        transition-timing-function: ease-in-out;

        &:hover{
            translate: 0 -10px 0;
        }
    }
}