.banner {    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;    
}
.banner.home_page:not(.ban_video_bg) {
    min-height: 600px;
    padding-top: var(--header-height, 120px);
    height: 100vh;
}
.banner:not(.home_page) {
    max-height: 600px;
    padding-top: var(--header-height, 120px);
    height: 100vh;    
}

.banner.ban_color_bg {
    background: var(--banner-bg-color);
}
/*.banner.ban_color_bg.grad_color {
    background-size: 600% 600%;
    animation: gradient 30s linear infinite;
    will-change: background-position;
}*/

.banner.ban_img_bg {
    background-image: var(--desktopBGImg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 2;    
}

.banner.ban_video_bg:not(.home_page) video {
    position: absolute;
    top: 49%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: initial;
    z-index: 1;
}
.banner.ban_video_bg video {
    width: 100%;
    height: auto;
}


.banner-title * {
    margin: 0;
}
.banner-title .banner-pre-heading {
    font-family: var(--h1FontFamily);
    font-size: clamp(var(--h3MobFont), 1.5vw, var(--h3DeskFont));
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white);
}
.banner-title .banner-pre-heading strong {
    font-family: var(--h1FontFamily);
    font-weight: 700;
}
.banner-title .banner-main-heading {
    font-family: var(--h1FontFamily);
    font-size: clamp(var(--h1MobFont), 8vw, var(--h1DeskFont));
    font-style: normal;
    font-weight: 700;
    line-height: var(--h1DeskLineHt);
    text-transform: uppercase;
    color: var(--white);
}
.banner-title .banner-sub-heading {
    font-family: var(--h1FontFamily);
    font-size: clamp(var(--h3MobFont), 2.9vw, var(--h3DeskFont));
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 10px;
}
/*body.home .banner-title .banner-main-heading {
    margin-left: -5px;
}*/

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .animation {
        animation: none;
    }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes waveFlow {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


@media (max-width: 767px) {
    .banner.home_page:not(.ban_video_bg) {
        height: 578px;
    }
    header:has(+ section.ban_video_bg.home_page) {
        position: relative;
    }
}