.modular-component__text-and-image-4:first-child {
    padding-top: 0;
}

.modular-component__text-and-image-4__inner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 70px);
    padding: 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.modular-component__text-and-image-4__text {
    max-width: 350px;
    position: relative;
    z-index: 1;
}

.modular-component__text-and-image-4__text .richtext {
    color: #FFF;
}

.modular-component__text-and-image-4__text .richtext h1 {
    text-transform: uppercase;
}

.modular-component__text-and-image-4[data-text-side="2"] .modular-component__text-and-image-4__text {
    margin-left: auto;
}

.modular-component__text-and-image-4__button {
    margin-top: 30px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modular-component__text-and-image-4__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modular-component__text-and-image-4[data-text-side="1"] .modular-component__text-and-image-4__overlay {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

.modular-component__text-and-image-4[data-text-side="2"] .modular-component__text-and-image-4__overlay {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

@media (max-width: 1050px) {
    .modular-component__text-and-image-4__inner {
        height: calc(100vh - 50px);
    }
}

@media (max-width: 650px) {
    .modular-component__text-and-image-4__inner {
        height: calc(100vh - 106px);
        padding: 30px;
        align-items: flex-end;
    }

    .modular-component__text-and-image-4__overlay {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    }

    .modular-component__text-and-image-4__text {
        max-width: none;
    }

    .modular-component__text-and-image-4__button {
        margin-top: 20px;
    }
}
