.wp-block-cover {
    &.is-style-rounded{
        border-radius: 20px;
        overflow: hidden;
    }

    &.is-style-gradient-hover{
        isolation: isolate;
        transition-property: translate;
        transition-duration: 0.4s;
        transition-timing-function: ease;

        &::before{
            background-image: url("../../../images/gradient.webp");
            background-position: bottom left;
            background-size: cover;
            content: '';
            height: 100%;
            left: 0;
            position: absolute;
            top: 0;
            width: 100%;
            z-index: -1;
        }

        .wp-block-cover__background,
        .wp-block-cover__image-background{
            transition-property: opacity;
            transition-duration: 0.4s;
            transition-timing-function: ease;
        }

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

            .wp-block-cover__background,
            .wp-block-cover__image-background{
                opacity: 0;
            }
        }
    }

    &.is-style-full-height-content{
        align-items: stretch;
    }

    &.is-style-sticky{
        margin-bottom: -30px !important;
        position: sticky;
        top: 0; /* Stick at the top of the viewport */

        + .wp-block-group,
        .wp-block-cover {
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
        }
    }

    &.has-ghub-link{
        img{
            transition-property: transform;
            transition-duration: 0.2s;
            transition-timing-function: ease;
        }
        &:hover{
            img{
                transform: scale(1.1);
            }
        }
    }
}