section.ecp-wide-text-over-image-block {
    position: relative;
    align-items: center;
    display: flex;
    width: 95%;
    /*height: 75vh;*/
    /*min-height: 55vh;*/
    margin-bottom: 5%;

}

.ecp-wide-text-over-image-block.image-right {
    margin-right: 0;
    flex-direction: row-reverse;
}

.ecp-wide-text-over-image-block.image-left {
    flex-direction: row;
    margin-left: 0;
    margin-right: 5%;

}

.ecp-wide-text-over-image-block .pull-img {
    z-index: 0;
    min-height: 600px;

}

.ecp-wide-text-over-image-block.image-left .pull-img {
    z-index: 0;
    margin-right: -10%;
}

.ecp-wide-text-over-image-block.image-right .pull-img {
    margin-left: -10%;
}

.ecp-wide-text-over-image-block .obj-fit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    aspect-ratio: auto;
    max-height: 100%;
}

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

.ecp-wide-text-over-image-block .image-left .text-blue-square {
    left: auto;
    right: 0;
}

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

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

.wide-text-over-image-block-content {
    width: 65%;
    aspect-ratio: auto;
    background-color: #E9F5F9FF;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5%;
    display: flex;
    position: relative;
    margin-bottom: 0;
}

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

.wide-text-over-image-block-img {
    width: 45%;
    aspect-ratio: 5/3;
    position: relative;
    height: 100%;
}

@media (max-width: 1080px) {
    .ecp-wide-text-over-image-block .wide-text-over-image-block-content {
        padding: 50px 5%;
    }

}

@media (max-width: 991px) {
    .ecp-wide-text-over-image-block .obj-fit-img img {
        aspect-ratio: 16/9;
        max-height: 100%;
    }

    section.ecp-wide-text-over-image-block {
        width: 100%;
        margin-bottom: 0;
    }



    .ecp-wide-text-over-image-block .yellow-border-right,
    .ecp-wide-text-over-image-block .yellow-border-left {
        border-width: 10px;
    }

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

    .ecp-wide-text-over-image-block.image-right,
    .ecp-wide-text-over-image-block.image-left {
        flex-direction: column-reverse;
        min-height: auto;
        margin-bottom: 0;
    }

    .ecp-wide-text-over-image-block .wide-text-over-image-block-content {
        width: 100%;
        min-height: auto;
        aspect-ratio: auto;
        margin-bottom: 0;

    }

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

}

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

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

}