.elementor-widget-custom-image-text {
    
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;
}

.image-text {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}
.image-text.has-background-color {
    max-width: 100%;
}
.elementor-widget-custom-image-text:has(.has-background-color) {
    border-radius:var(--element-border-radius);
}
.image-text .heading {
    text-align: left;
}
.image-text-content {
    padding: 35px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;

}
.elementor-widget-custom-image-text:has(.has-background-color) .image-text-content {
    padding: 35px var(--padding-side);
}
.image-text-content > div > * {
    margin-top: 0;
    margin-bottom: 0;
}
.image-text-content > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    max-width: 900px;
}

.image-text-content p:last-child {
    margin-bottom: 0;
}
.image-text-image {
    height: 50vw;

}
.image-text-image.image-fit-contain {
    height: auto;
}
.image-text:not(.has-background-color) .image-text-image {

}
.image-text-image > * {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius:var(--element-border-radius) !important;
    overflow: hidden; 
}
.image-text.has-background-color .image-text-image > * {
    border-radius: 0 0 var(--element-border-radius) var(--element-border-radius) !important;
}
.image-text-image.image-fit-contain > * {
    height: auto !important;
}
.image-text-top {
    
    
    
}
.image-text .heading {
    margin-bottom: 25px;
}
@media screen and (min-width: 768px) { 
    .image-text {
        gap: clamp(20px, 4vw, 40px);
        flex-direction: row;
    }
    .image-text.image-right {
        flex-direction: row-reverse;
    }
    .image-text-image {
        flex-basis: 50%;
        position: relative;
        max-height: 100%;
        height: auto;
    }
    .image-text-image > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        
    }
    .image-text-image.image-fit-contain > * {
        position: relative;
    }
    .image-text-content {
        flex-basis: 50%;

        max-width: 600px;
        margin: 0 0 0 auto;
        padding: 0;
    }
    .image-right .image-text-content {
        margin: 0 auto 0 0;
    }
    .image-text.has-background-color .image-text-image > * {
        border-radius: 0 var(--element-border-radius) var(--element-border-radius) 0 !important;
    }
    .image-text.image-right.has-background-color .image-text-image > * {
        border-radius: var(--element-border-radius) 0 0 var(--element-border-radius) !important;
    }
    
}
@media screen and (min-width: 1024px) {  
    .image-text-content ul.bullets {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .image-text-content ul.bullets li {
        width: 33.33%;
        padding-right: 15px;
        padding-top: 25px;
        padding-left: 0;
    }
    .image-text-content {

    }
}

.elementor-widget-custom-image-text:not(:first-child) {
    margin-top: var(--spacing-between);
}
.elementor-widget-custom-image-text:not(:last-child) {
    margin-bottom: var(--spacing-between) !important;
}