.acf-block.header-block .text-wrapper {
    min-height: 500px;
    max-width: 780px;
    padding: 0 200px 0 0;
}

.acf-block.header-block .no-image .text-wrapper {
    min-height: auto;
    text-align: center;
    padding: 0;
    margin: 0 auto;
}

.acf-block.header-block img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 45%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    width: 55%;
    height: 100%;
}

.acf-block.header-block h1 {
    margin-top: 0;
}

.acf-block.header-block .button,
.acf-block.header-block .button:visited {
    margin-bottom: 0 !important;
}

/* Responsive */
@media only screen and (max-width: 1920px) {

}

@media only screen and (max-width: 1599.98px) {

    .acf-block.header-block .text-wrapper {
        max-width: 750px;
    }

}

@media only screen and (max-width: 1399.98px) {

    .acf-block.header-block .text-wrapper {
        min-height: 400px;
        padding: 100px 200px 100px 0;
    }

    .acf-block.header-block img {
        left: 55%;
        min-height: 400px;
    }

}

@media only screen and (max-width: 1199.98px) {

    .acf-block.header-block .text-wrapper {
        max-width: 650px;
    }

}

@media only screen and (max-width: 991.98px) {

    .acf-block.header-block .text-wrapper {
        min-height: unset;
        max-width: 100%;
        padding: 0 0 50px;
    }

    .acf-block.header-block img {
        position: static;
        width: calc(100% - 45px);
        max-height: 500px;
        height: unset;
        top: unset;
        right: unset;
        bottom: unset;
        left: unset;
        min-height: unset;
        object-fit: cover;
        object-position: center;
        float: right;
    }

    .acf-block.header-block::after {
        content: "";
        display: block;
        clear: both;
    }

    .acf-block.header-block:first-of-type {
        padding-top: 30px;
    }

}

@media only screen and (max-width: 767.98px) {

    .acf-block.header-block img {
        max-height: 400px;
    }

    .acf-block.header-block p {
        margin-bottom: 10px;
    }

}

@media only screen and (max-width: 575.98px) {

    .acf-block.header-block img {
        width: 100%;
        max-width: 100%;
        max-height: 300px;
        float: none;
        padding-left: 45px;
    }

    .acf-block.header-block::after {
        clear: unset;
    }

    .acf-block.header-block .text-wrapper {
        padding: 0 0 40px;
    }

}

@media only screen and (max-width: 499.98px) {

    .acf-block.header-block .text-wrapper {
        padding: 0 0 30px;
    }

}

@media only screen and (max-width: 449.98px) {
    body:not(.wp-admin) .acf-block.header .button.secondary{
        margin-left: 0px!important;
    }
}

@media only screen and (max-width: 399.98px) {

    .acf-block.header-block img {
        padding-left: 0;
    }

}

@media only screen and (max-width: 349.98px) {

}

@media only screen and (max-width: 319.98px) {

}
