/* @group Text With Bottom Image
------------------------------------ */
.text-with-bottom-image {
    --row-default: 126.5rem;
    position: relative;
}
.text-with-bottom-image .text {
    margin-bottom: 3.2rem;
}
.text-with-bottom-image .text h2 {
    text-transform: capitalize;
    margin: 0 0 2rem;
}
.text-with-bottom-image .image .wp-block-image {
    height: 39rem;
    margin: 0;
}
@media only screen
and (min-width : 961px) {
    .text-with-bottom-image {
        padding: 10rem 0 15rem;
    }
    .text-with-bottom-image .text {
        margin-bottom: 6.1rem;
    }
    .text-with-bottom-image .image .wp-block-image {
        height: 90rem;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .text-with-bottom-image {
        padding: 5rem 0;
        margin-top: -2.5rem;
        margin-bottom: 10rem;
    }
    .text-with-bottom-image::before,
    .text-with-bottom-image::after {
        content: '';
        height: 100px;
        top: -5rem;
        width: 100%;
        position: absolute;
        pointer-events: none;
        mask-image: url('../../img/layout/text-with-bottom-image/shape-mobile.svg');
        mask-repeat: no-repeat;
        mask-size: cover;
        mask-position: top;
        background-color: var(--background-color);
        z-index: 1;
    }
    .text-with-bottom-image::after {
        top: unset;
        scale: -1;
        bottom: -10rem;
    }
    .text-with-bottom-image :is(.image, .text) {
        position: relative;
        z-index: 2;
    }
    .text-with-bottom-image .image .wp-block-column {
        padding: 0;
    }
    .text-with-bottom-image .image .wp-block-image {
        border-radius: 2.5rem;
    }
}

/* @end */


body.wp-admin .text-with-bottom-image .components-resizable-box__container {
    max-width: 100%!important;
}