.branch-teaser {
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    color: #302e2c;
}

.branch-teaser__inner {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.branch-teaser__img-wrap {
    order: 1; /* image below text-box in mobile stacked layout */
    overflow: hidden;
}
.branch-teaser__img-helper {
    /* intrinsic-ratio helper; height: 0 + padding-bottom% = server-driven aspect ratio */
    position: relative;
    height: 0;
}
.branch-teaser__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.branch-teaser__overlay {
    position: relative;
    padding: 20px 15px 30px;
}

.branch-teaser__text-box {
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
}
.branch-teaser__headline {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0.6em;
    color: #302e2c;
}

.branch-teaser__detail {
    display: flex;
    align-items: center;
    position: relative;
    list-style: none;
    margin: 10px 0 0;
    padding: 0 0 0 35px;
    min-height: 30px;
}
.branch-teaser__detail .svg-icon {
    position: absolute;
    left: 3px;
    top: 4px;
    width: 20px;
    height: 20px;
    color: #f96915;
}
.branch-teaser__address {
    font-style: normal;
}
.branch-teaser__phone {
    color: inherit;
}

/* over-qualification intended */
.branch-teaser__phone-btn.branch-teaser__phone-btn {
    margin-top: 20px;
    color: #fff;
}

@media ( min-width: 768px ) {
    .branch-teaser {
        border-bottom: 1px solid #f2f2f2;
    }
    .branch-teaser__inner {
        flex-direction: row;
    }
    /* Image pushes to the right, taking slightly more than half the viewport */
    .branch-teaser__img-wrap {
        flex: 0 0 auto;
        width: calc(37.5px + 50vw);
        margin-left: auto;
    }
    .branch-teaser__img-helper {
        height: 300px;
        padding-bottom: 0 !important;
    }
    .branch-teaser__img {
        max-width: none;
        object-fit: cover;
        object-position: right center;
        height: 100%;
    }
    /* Overlay absolutely covers the left column */
    .branch-teaser__overlay {
        position: absolute;
        top: 0;
        left: calc(-375px + 50vw);
        bottom: 0;
        width: calc(337.5px);
        padding: 0 40px 60px 15px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
}

@media ( min-width: 992px ) {
    .branch-teaser__img-wrap {
        width: calc(48.5px + 50vw);
    }
    .branch-teaser__img-helper {
        height: 320px;
    }
    .branch-teaser__overlay {
        left: calc(-485px + 50vw);
        width: calc(436.5px);
    }
}

@media ( min-width: 1200px ) {
    .branch-teaser__img-wrap {
        width: calc(58.5px + 50vw);
    }
    .branch-teaser__img-helper {
        height: 380px;
    }
    .branch-teaser__overlay {
        left: calc(-585px + 50vw);
        width: calc(526.5px);
        padding-bottom: 70px;
    }
}

@media ( min-width: 1600px ) {
    .branch-teaser__img-wrap {
        width: calc(70px + 50vw);
    }
    .branch-teaser__img-helper {
        height: 450px;
    }
    .branch-teaser__overlay {
        left: calc(-700px + 50vw);
        width: 630px;
    }
}

@media ( min-width: 1920px ) {
    /* Decorative left-edge separator line at max canvas width */
    .branch-teaser::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: #f2f2f2;
        pointer-events: none;
    }
    .branch-teaser__img-wrap {
        width: 1030px;
    }
    .branch-teaser__overlay {
        left: 260px;
        width: 630px;
    }
}

