.wp-block-media-text.has-min-height {
    min-height: 500px;
}

.wp-block-media-text.has-min-height .wp-block-media-text__content´{
    text-align: center;
}

.is-style-fadeout-right figure {
    background: linear-gradient(to right, #273163 40%, white 100%) #273163;
}

.has-lightgrey-background-color.is-style-fadeout-right figure {
    background: linear-gradient(to right, #273163 40%, var( --wp--preset--color--lightgrey ) 100%) #273163;
    
}
.is-style-fadeout-left figure {
    background: linear-gradient(to left, #273163 40%, white 100%) #273163;
}

.is-style-maschinenpark {
    background: #f0f0f0;
}

.is-style-maschinenpark figure {
    background: linear-gradient(to right, #041049 40%, #08004b 100%) #273163;
}
.is-style-fadeout-left img,
.is-style-fadeout-right img,
.is-style-maschinenpark img {
    min-height: 100%;
    mix-blend-mode: screen;
    transition: x-blend-mode 0.5s ease-in-out;
}

.is-style-maschinenpark img:hover {
    mix-blend-mode: normal;
}

.is-style-fadeout-right figure {
    position: relative;
}
.is-style-fadeout-right figure:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent 40%, white 100%) transparent;
}

.has-lightgrey-background-color.is-style-fadeout-right figure:after {
    background: linear-gradient(to right,transparent 40%, var( --wp--preset--color--lightgrey ) 100%) transparent;
}

.wp-block-media-text__media {
    position: relative;
}

/* .wp-block-media-text__media {
	border-bottom: 10px solid var( --wp--preset--color--accent-1 );
} */

:not(.has-media-on-the-right) .wp-block-media-text__media:after {
    position: absolute;
    content: "";
    height: 70%;
    width: 100%;
    max-width: 70%;
    bottom: -6px;
    left: -6px;
    top: inherit;
    background: linear-gradient(to bottom left, #fff 0%, #ffffff00 50%, #e4672c 96%) transparent;
    z-index: -9;
    transition: max-width 0.5s ease-in-out;
}
:not(.has-media-on-the-right) .wp-block-media-text__media:hover:after {
    max-width: 100%;
    background: linear-gradient(to bottom left, #fff 0%, #ffffff00 50%, #e4672c 100%) transparent;
}

.has-media-on-the-right .wp-block-media-text__media:after {
    position: absolute;
    content: "";
    height: 70%;
    width: 100%;
    max-width: 70%;
    top: inherit;
    bottom: -6px;
    right: -6px;
    left: inherit;
    background: linear-gradient(to bottom right, #fff 0%, #ffffff00 50%, #e4672c 96%) transparent;
    z-index: -9;
    transition: max-width 0.5s ease-in-out;
}
.has-media-on-the-right  .wp-block-media-text__media:hover:after {
    max-width: 100%;
    background: linear-gradient(to bottom right, #fff 0%, #ffffff00 50%, #e4672c 100%) transparent;
}


.is-maschinenpark .wp-block-media-text__content {
    margin-top: 20px;
    @media (min-width: 601px) {
        position: relative;
        left: -100px;
        z-index: 10;
        width: calc(100% + 100px);
    }
    padding: 0;
    /* border: 1px solid #e76732; */
    .wp-block-group {
        padding: 30px;
        background: #f7f7f7;
    }
}

.has-media-on-the-right.is-maschinenpark .wp-block-media-text__content {
    left: 0;
}

.is-maschinenpark img,
.is-style-fadeout-left img,
.is-style-fadeout-right img {
    max-height: 300px;
    @media (min-width: 601px) {
        max-height: 600px;
    }
    object-fit: cover;
}

.wp-block-media-text > .wp-block-media-text__content {
    padding: 0 !important;
}