.c-hero {
    position: relative;
    z-index: 1;

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .0125));
        z-index: -1;
    }
}

.c-hero__decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.c-hero__image {
    display: block;
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 30rem;
    z-index: -2;

    @screen lg {
        height: 40rem;
    }
}

.c-hero__icon {
    max-width: 50px;
}

.c-hero__text {
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-align: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 3rem;
    z-index: 1;
}

.c-hero__title {
    font-family: 'HeadingFontFamily', 'BaseFontFamily', serif;
    font-size: $heading-font-size--225;
    margin-top: 0;
    margin-bottom: 0;

    @screen md {
        font-size: $heading-font-size--3;
    }

    @screen lg {
        font-size: $heading-font-size--4;
    }
}

p.c-hero__title {
    text-transform: none;
    line-height: 1;
}

.c-hero__subtitle {
    font-size: 1.25em;
    max-width: 42rem;
    margin-top: 1rem;
}

.c-hero__button {
    margin-top: 2.5rem;
}

.c-hero__badge {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0 1rem 5rem 0;

    img {
        width: 6rem;
    }

    @screen lg {
        margin: 0 3rem 4rem 0;

        img {
            width: 8rem;
        }
    }
}

.c-hero__badge--left {
    left: 0;
    margin: 0 0 5rem 1rem;

    @screen lg {
        margin: 0 0 4rem 3rem;
    }
}

.c-hero.tb-swiper__slide {
    .c-hero__text {
        top: 40%;
        bottom: 1rem;
        margin-left: 1rem;
        align-items: baseline;
        justify-content: flex-start;
        text-align: left;

        @media screen and (min-width: 30rem) {
            bottom: 0;
            top: 55%;
        }

        @screen md {
            margin-left: 5rem;
        }

        @screen lg {
            margin-left: 7rem;
        }
    }
}
