.ecp-image-text-block {
    position: relative;
    align-items: center;
    display: flex;
    /*min-height: 55vh;*/
    margin-bottom: 5%;
}

.image-right {
    flex-direction: row-reverse;
}

.pull-img {
    z-index: 1;
}

.image-left .pull-img {
    margin-right: -5%;
    margin-left: 0;
}

.image-right .pull-img {
    margin-left: -5%;
    margin-right: 0;
}

.entry .obj-fit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    aspect-ratio: 4/3;
    max-height: 550px;
}

.contain-image .obj-fit-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.contain-image .obj-fit-img img {

}

.aspect-2-1 .obj-fit-img img {
    aspect-ratio: 2/1;
}

.ecp-blue-square {
    width: 30px;
    height: 30px;
    background-color: #45a2da;
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
}

.image-right .ecp-blue-square {
    left: auto;
    right: 0;
}

.yellow-border-right {
    border-right: 20px solid #F9D147;
}

.yellow-border-left {
    border-left: 20px solid #F9D147;
}

.image-text-block-content {
    width: 65%;
    aspect-ratio: 5/3;
    max-height: 100%;
    background-color: #E9F5F9FF;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5% 5% 5% 10%;
    display: flex;
    position: relative;
}

.image-text-block-content p:last-child {
    margin-bottom: 0;
}

.image-right .image-text-block-content {
    padding: 5% 10% 5% 5%;
}

.image-text-block-img {
    width: 40%;
    position: relative;
}

.image-white-background .image-text-block-img {
    display: flex;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #c1c1c1;
    box-shadow: 6px 0px 5px 1px #0000001a;
}

.entry .image-white-background .image-text-block-img img {
    object-fit: contain;
    object-position: center;
}

.has-video .image-text-block-img {
    border: 1px solid #e2e2e2;
    background: #fff;
}

.image-text-block-img {
    text-align: center;
}

.image-text-block-img h3.media-text {
    margin-top: 10px;
    margin-bottom: 10px;
}

.has-video .ecp-blue-square {
    display: none;
}

.has-video.image-left .image-text-block-img {
    border-left: 0;
}

@media (max-width: 1080px) {
    .ecp-image-text-block .image-text-block-content {
        padding-top: 100px;
        padding-bottom: 100px;

    }

}

@media (max-width: 991px) {

    .has-video .image-text-block-img {
        border: 0;
    }

    .entry .obj-fit-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 16/9;
    }

    .ecp-image-text-block .yellow-border-right,
    .ecp-image-text-block .yellow-border-left {
        border: 0;
    }

    .ecp-blue-square {
        display: none;
    }

    .ecp-image-text-block .pull-img {
        margin-right: 0;
        margin-left: 0;
    }

    .ecp-image-text-block {
        flex-direction: column;
        min-height: auto;
        margin-bottom: 0;
    }

    .ecp-image-text-block .image-text-block-content {
        width: 100%;
        padding: 50px 5%;
        min-height: auto;
        max-height: 100%;
        aspect-ratio: auto;

    }

    .image-text-block-img {
        width: 100%;
        height: auto;
    }

}

@media (min-width: 2880px) {
    .ecp-image-text-block .image-text-block-content {
        padding-top: 250px;
        padding-bottom: 250px;
    }

    .obj-fit-img img {
        max-height: 600px;
    }

}