/* Break hero out of .section_wrapper max-width to fill full viewport (like RevSlider layout:fullwidth) */
.hero-slider-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
/* Override betheme's .wpb_wrapper > div { margin-bottom: 35px } which doesn't apply
   to the original rs-module-wrap (custom element, not a div) */
.wpb_wrapper > .hero-slider-wrapper {
    margin-bottom: 0;
}
/* Remove .the_content_wrapper margins that squeeze the hero and add bottom whitespace.
   Original RevSlider sits inside same wrapper but its fullwidth JS overrides this. */
.the_content_wrapper:has(.hero-slider-wrapper) {
    margin: 0 !important;
}
.hero-slider {
    position: relative;
    width: 100%;
}
.hero-slide {
    display: none;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    height: 687px;
}
.hero-slide.active {
    display: block;
}
.hero-content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}
.hero-content {
    padding: 192px 125px 60px 125px;
}
.hero-btn:hover {
    background-color: #2b304a !important;
    color: #fff !important;
    border-radius: 20px !important;
}
.hero-btn .material-icons {
    font-size: inherit;
    line-height: inherit;
    vertical-align: top;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}
.hero-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-dot.active {
    background: #fff;
}
@media (max-width: 1024px) {
    .hero-slide {
        height: 768px;
    }
    .hero-content {
        padding: 158px 103px 60px 103px;
    }
    .hero-content .hero-title {
        font-size: 37px !important;
        line-height: 38px !important;
        max-width: 400px !important;
    }
    .hero-content .hero-subtitle {
        font-size: 14px !important;
        line-height: 19px !important;
        max-width: 412px !important;
    }
    .hero-content .hero-btn {
        font-size: 10px !important;
        line-height: 6px !important;
        letter-spacing: 1px !important;
        padding: 17px !important;
        margin-bottom: 6px !important;
    }
}
@media (max-width: 778px) {
    .hero-slide {
        height: 960px;
    }
    .hero-content {
        padding: 120px 78px 60px 78px;
    }
    .hero-content .hero-title {
        font-size: 28px !important;
        line-height: 28px !important;
        max-width: 303px !important;
    }
    .hero-content .hero-subtitle {
        font-size: 10px !important;
        line-height: 14px !important;
        max-width: 313px !important;
    }
    .hero-content .hero-btn {
        font-size: 7px !important;
        line-height: 6px !important;
        letter-spacing: 0 !important;
        padding: 13px !important;
        margin-bottom: 3px !important;
    }
}
@media (max-width: 480px) {
    .hero-slide {
        height: 600px;
    }
    .hero-content {
        padding: 95px 48px 40px 48px;
    }
    .hero-content .hero-title {
        font-size: 40px !important;
        line-height: 40px !important;
        max-width: 391px !important;
    }
    .hero-content .hero-subtitle {
        font-size: 16px !important;
        line-height: 22px !important;
        max-width: 303px !important;
    }
    .hero-content .hero-btn {
        font-size: 15px !important;
        line-height: 23px !important;
        letter-spacing: 0 !important;
        padding: 12px 12px 12px 16px !important;
        margin-bottom: 17px !important;
    }
}
