.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

.hero .hero__video, .hero .hero__image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%
}

.hero .video, .hero .video .media, .hero .video .media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero .video .media video {
    object-fit: cover
}

.hero .hero__text {
    position: relative;
    height: 100%;
    z-index: 1
}

.hero .splide {
    position: absolute;
    width: 100%;
    height: 100%
}

.hero .splide__track {
    height: 100%
}

.hero .splide .splide__slide {
    flex-basis: 100%
}

.hero .hero__image picture {
    display: block;
    height: 100%
}

.hero .hero__image img, .hero .hero__image svg {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover
}

.hero .hero__text-container {
    display: flex;
    height: 100%;
    padding: calc(var(--grid-gap) * 2);
    max-width: calc(var(--ideal-width) + var(--grid-gap) * 4);
    margin: 0 auto;
    z-index: 2;
    position: relative
}

.hero .btn-group .btn {
    width: 100%
}

@media only screen and (max-width: 767px) {
    .hero--contained .hero__image, .hero--contained .hero__video {
        position: static
    }

    .hero--contained .hero__text {
        height: auto
    }

    .hero--contained .hero__text-container {
        padding: calc(var(--grid-gap) * 2) var(--gutter)
    }

    .hero--contained .hero__text:before {
        content: none !important
    }
}

@media only screen and (min-width: 768px) {
    .hero .btn-group .btn {
        width: revert
    }

    .sm-hero--contained .hero__image, .sm-hero--contained .hero__video {
        position: static
    }

    .sm-hero--contained .hero__text {
        height: auto
    }

    .sm-hero--contained .hero__text-container {
        padding: calc(var(--grid-gap) * 2) var(--gutter)
    }

    .sm-hero--contained .hero__text:before {
        content: none !important
    }

    .sm-hero--contained .sm-horizontal-justified {
        position: relative
    }

    .sm-hero--contained .sm-horizontal-justified .btn-group {
        position: absolute;
        right: 0;
        top: calc(var(--grid-gap) * 2);
        flex-direction: column
    }
}

@media only screen and (max-width: 767px) {
    #HeroBannerSection-template--hero .hero__image img,
    #HeroBannerSection-template--hero .hero__video video {
        object-position: 75% center;
    }

    #HeroBannerSection-template--hero .hero__title {
        font-size: 30px;
    }

    #HeroBannerSection-template--hero {
        color: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--primary {
        --text: #ffffff;
        --background: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--secondary {
        --text: #000000;
        --border: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--link {
        --text: #000000;
    }

    #HeroBannerSection-template--hero {
        height: 450px;
    }
}

@media only screen and (min-width: 768px) {
    #HeroBannerSection-template--hero .hero__title {
        font-size: 46px;
    }

    #HeroBannerSection-template--hero .hero__image img,
    #HeroBannerSection-template--hero .hero__video video {
        object-position: center center;
    }

    #HeroBannerSection-template--hero {
        color: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--primary {
        --text: #ffffff;
        --background: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--secondary {
        --text: #000000;
        --border: #000000;
    }

    #HeroBannerSection-template--hero .btn.btn--link {
        --text: #000000;
    }

    #HeroBannerSection-template--hero {
        height: 900px;
    }
}

@media only screen and (max-width: 768px) {
    #HeroBannerSection-template--hero .sm-text-align-center {
        text-align: center;
        display: none;
    }
}