// Advanced Hero Banner Content Block
.advanced-hero-banner {
    position: relative;
    width: 100%;

    &__heading {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        padding: 1rem;
    }

    &-slider {
        width: 100%;
        padding: 0 !important;

        .owl-stage-outer,
        .owl-stage {
            width: 100%;
        }

        .owl-item {
            width: 100% !important;
            float: none;
        }

        &--desktop {
            @media (max-width: $breakpoint-mobile) { display: none !important; }
        }

        &--mobile {
            @media (min-width: ($breakpoint-mobile + 1px)) { display: none !important; }
        }
    }

    &-static {
        &--desktop {
            @media (max-width: $breakpoint-mobile) { display: none; }
        }

        &--mobile {
            @media (min-width: ($breakpoint-mobile + 1px)) { display: none; }
        }
    }

    &-slide {
        position: relative;
        width: 100%;
        height: 65vh;
        min-height: 500px;
        max-height: 700px;
        overflow: hidden;
        display: flex;
        align-items: center;

        @media (max-width: $breakpoint-mobile) {
            height: 50vh;
            min-height: 350px;
        }

        &__bg {
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        &__picture {
            display: block;
            width: 100%;
            height: 100%;

            source,
            img {
                display: block;
            }
        }

        &__img {
            display: block;
            width: 100% !important;
            max-width: 100%;
            height: 100% !important;
            object-fit: cover;
            object-position: center;
        }

        &__wrap-link {
            position: absolute;
            inset: 0;
            z-index: 5;
            display: block;
        }

        &__content {
            position: relative;
            z-index: 4;
            width: 100%;
            padding: 2rem;
            color: $hero-text-color;

            @media (max-width: $breakpoint-mobile) {
                padding: 1rem;
            }
        }

        &__title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: inherit;

            @media (max-width: $breakpoint-mobile) {
                font-size: 1.5rem;
            }
        }

        &__desc {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: inherit;
        }

        &__btn {
            display: inline-block;
        }
    }
}
