.at-heroBanner + .Article--background {
    margin-top: calc(var(--articleMarginBottom) * -1);
}

/* Image */
.at-heroBanner__inner {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Content (main title, sub title and text) */
.at-heroBanner__contentWrapper {
    width: 100%;
}

.at-heroBanner__content {
    width: 100%;
}

.at-heroBanner__content--hasRoundedBorders {
    border-radius: var(--listRoundedCorners);
}

.at-heroBanner__title {
    margin: 0;
    padding: 25px;
}

.at-heroBanner__title--main:not(:only-child) {
    padding-bottom: 0;
}

.at-heroBanner__title--main + .at-heroBanner__buttonWrapper {
    padding-top: 15px;
}

.at-heroBanner__text {
    overflow: auto;
    padding: 25px;
}

.at-heroBanner__buttonWrapper {
    padding: 25px;
}

.at-heroBanner__buttonWrapper:not(:only-child) {
    padding-top: 0;
}

.at-heroBanner__button {
    margin-right: 0;
}

/* set height when there is no content */
.at-heroBanner__inner--noContent {
    height: 10em;
}

@media (min-width: 640px) {
    .at-heroBanner__contentWrapper {
        padding: 5vh 0;
    }

    .at-heroBanner__contentWrapper::after {
        content: '';
        display: block;
        clear: both;
    }

    .at-heroBanner__content {
        float: right;
        width: 80%;
    }

    .at-heroBanner__content--left {
        float: left;
    }

    .at-heroBanner__content--center {
        float: none;
        margin: 0 auto;
    }

    .at-heroBanner__title--sub {
        position: relative;
        margin: 0;
        padding-bottom: 15px;
    }

    .at-heroBanner__text {
        padding-top: 15px;
    }

    /* set height when there is no content */
    .at-heroBanner__inner--noContent {
        height: 20em;
    }
}

@media (min-width: 980px) {
    .at-heroBanner__content {
        width: 60%;
    }
}
