.image-text-form {
    position: relative;
    z-index: 1;
    background: #fff;

    @media( min-width : 1200px ) {
        background: #12284C;
    }
}

.layout-two-column {
   @media (min-width: 1200px) {
        & .form-text {
            width: 35%;
        }
        
        & .form-area {
            width: 65%;
        }
        
        & .form-wrap {
            max-width: 800px;
        }
   }

   iframe {
        max-height: 685px;
        overflow: hidden;
    }
}

.image-text-form.bg-light-gradient {
    background: linear-gradient(180deg, #FFF 0%, #F5F5F7 100%); 

    & .form-text__wrap :is( h2, p ) {
        color: #12284C;
        -webkit-text-fill-color: #12284C;
    }
}

.image-text-form.bg-white {
    background: #fff; 

    & .form-text__wrap :is( h2, p ) {
        color: #12284C;
        -webkit-text-fill-color: #12284C;
    }
}

.image-text-form.bg-grey {
    background: #F5F5F7;

    & .form-text__wrap :is( h2, p ) {
        color: #12284C;
        -webkit-text-fill-color: #12284C;
    }
}

body.home .image-text-form::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 320px;
    background: linear-gradient(180deg, rgba(18, 40, 76, 0.10) 0%, #12284C 100%);
}

body.page-id-381 .image-text-form::before {
    display: none;
}


.form-bg {
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
    overflow-clip-margin: unset;
}

body.page-id-381 .form-bg {
    height: 100%;
}

.form-text {
    padding: 50px 0;
    color: #FFFFFF;
    text-align: center;
    position: relative;

}

.form-text h2 {
    margin-bottom: 20px;
    background: transparent;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.form-area {
    width: calc(100% + 44px);
    margin-left: -22px;
}

.form-wrap {
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 7px 7px 14px 3px rgba(107, 107, 107, 0.10);
    padding: 35px 40px 60px; 
    position: relative;
}

.form-headings {
    margin-bottom: 20px;
}

.form-text__wrap.black {
    & h2 {
        color: #12284C;
        -webkit-text-fill-color: #12284C;
    }

    & p {
        color: #6B6B6B;
    }
}

.image-text-form--inner {
    position: relative;

    &::after {
        content: '';
        background: linear-gradient(0deg, rgb(255 255 255 / 8%) 5%, rgba(255, 255, 255, 1) 100%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    & .container {
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 768px){

    .form-bg {
        width: 100%;
        height: 420px;
    }

    .image-text-form::before {
        height: 420px;
    }

    body:not(.home) .image-text-form::before {
        height: 100%;
    }

    .image-text-form__wrap {
        padding: 60px 46px;
    }
    
    .form-text {
        padding: 0 0 45px;
    }
    
    .form-text h2 {
        margin-bottom: 20px;
    }
    
    .form-area {
        width: 100%;
        margin-left: 0px;
    }
    
    .form-wrap {
        border-radius: 8px;
        box-shadow: 7px 7px 14px 3px rgba(107, 107, 107, 0.10);
        padding: 35px 40px 60px; 
        position: relative;
    }
}

@media (min-width: 1200px){
    .image-text-form::before {
        display: none;
    }

    .form-bg {
        height: 100%;
        object-position: top;
    }
    
    
    .image-text-form__wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 120px 0;
    }

    .form-text {
        padding: 0;
        text-align: left;
        width: 50%;
    }

    .form-text__wrap {
        max-width: 540px;
    }

    .form-area {
        width: 50%;
    }

    .form-wrap {
        border-radius: 8px;
        background: rgba(255, 255, 255, 1);
        padding: 75px 32px 65px;
        max-width: 572px;
        margin-left: auto;
    }

    .form-col-checkbox {
        margin: 4px 0 30px;
    }

}
