/* Cover custom styles */
.wp-block-cover {
    /*&:not(.has-custom-content-position){*/
    /*    align-items: stretch;*/
    /*}*/

    @media (max-width: 781px) {
        & {
            padding: 24px;
        }
    }

    &.is-style-half-bleed-left{
        .wp-block-cover__background,
        .wp-block-cover__image-background{
            left: 0;
            right: unset;
            width: 50%;
        }
    }

    &.is-style-half-bleed-right{
        .wp-block-cover__background,
        .wp-block-cover__image-background{
            left: unset;
            right: 0;
            width: 50%;
        }
    }

    &.is-style-half-bleed-top{
        .wp-block-cover__background,
        .wp-block-cover__image-background{
            bottom: unset;
            top: 0;
            height: 50%;
        }
    }

    &.is-style-half-bleed-bottom{
        .wp-block-cover__background,
        .wp-block-cover__image-background{
            bottom: 0;
            top: unset;
            height: 50%;
        }
    }

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

        
    }

    &[style*="padding-top:var(--wp--preset--spacing--massive)"] {
        @media (min-width: 782px) and (max-width: 1024px) {
            & {
                padding-top: 40px !important;
            }
        }
    }

    &[style*="padding-bottom:var(--wp--preset--spacing--massive)"] {
        @media (min-width: 782px) and (max-width: 1024px) {
            & {
                padding-bottom: 40px !important;
            }
        }
    }

    &[style*="min-height:80vh"] {
        @media (max-width: 781px) {
            & {
                min-height: 60vh !important;
            }
        }

        @media (min-width: 782px) and (max-width: 1024px) {
            & {
                min-height: 60vh !important;
            }
        }
    }

    &[style*="min-height:760px"] {
        @media (max-width: 781px) {
            & {
                min-height: 500px !important;
            }
        }

        @media (min-width: 782px) and (max-width: 1280px) {
            & {
                min-height: 500px !important;
            }
        }
    }

    &[style*="min-height:700px"] {
        @media (max-width: 781px) {
            & {
                min-height: 500px !important;
            }
        }

        @media (min-width: 782px) and (max-width: 1024px) {
            & {
                min-height: 500px !important;
            }
        }
    }

    &[style*="min-height:500px"] {
        @media (max-width: 781px) {
            & {
                min-height: 350px !important;
            }
        }

        @media (min-width: 782px) and (max-width: 1280px) {
            & {
                min-height: 545px !important;
            }
        }
    }

    &[style*="min-height:50px"] {
        @media (min-width: 782px) and (max-width: 1280px) {
            & {
                margin-block-start: 20px !important;
            }
        }
    }
}

