.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;
}

.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;
}

.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;
    }
}

h2.c-hero__title {
    text-transform: none;
}

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

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

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

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

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

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