/* =========================================================
   RESPONSIVE SWIPER BANNER
   Image ratio: 1600 × 804
   Swiper: 5.4.5
   ========================================================= */


/* =========================================================
   1. SWIPER CORE
   Keep only the Swiper rules required by this slider
   ========================================================= */

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    width: 100%;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
}


/* =========================================================
   2. MAIN SLIDER
   ========================================================= */

.main-slider-style2 {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1;
    line-height: 0;
}


/* =========================================================
   3. SWIPER CONTAINER
   ========================================================= */

.main-slider-style2 .swiper-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* =========================================================
   4. SWIPER WRAPPER
   ========================================================= */

.main-slider-style2 .swiper-wrapper {
    width: 100%;
    height: auto;
}


/* =========================================================
   5. SLIDE
   ========================================================= */

.main-slider-style2 .swiper-slide {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}


/* =========================================================
   6. CLICKABLE SLIDE
   ========================================================= */

.main-slider-style2 .swiper-slide > a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 0;
}


/* =========================================================
   7. BANNER INNER
   ========================================================= */

.main-slider-style2__inner {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}


/* =========================================================
   8. BANNER IMAGE
   IMPORTANT:
   Do not use fixed height.
   This prevents mobile cropping.
   ========================================================= */

.main-slider-style2 .responsive-banner,
.main-slider-style2 img.responsive-banner {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    object-fit: contain !important;
    object-position: center top;
}


/* =========================================================
   9. IMAGE LAYER
   Only used if your HTML contains .image-layer
   ========================================================= */

.main-slider-style2 .image-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;

    z-index: 2;
    pointer-events: none;
}


/* =========================================================
   10. BANNER CONTENT CONTAINER
   ========================================================= */

.main-slider-style2 .container {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    z-index: 10;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   11. BANNER CONTENT
   ========================================================= */

.main-slider-style2__content {
    position: relative;
    z-index: 11;
    width: 100%;
    line-height: normal;
}


/* =========================================================
   12. HEADINGS
   ========================================================= */

.main-slider-style2__content h1,
.main-slider-style2__content h2,
.main-slider-style2__content h3 {
    margin-top: 0;
    line-height: 1.1;
}


/* =========================================================
   13. SWIPER NAVIGATION
   ========================================================= */

.main-slider-style2 .swiper-button-next,
.main-slider-style2 .swiper-button-prev {
    z-index: 20;
}


/* =========================================================
   14. SWIPER PAGINATION
   ========================================================= */

.main-slider-style2 .swiper-pagination {
    z-index: 20;
}


/* =========================================================
   15. DESKTOP
   768PX+
   ========================================================= */

@media (min-width: 768px) {

    .main-slider-style2 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .main-slider-style2__inner {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }

    .main-slider-style2 .responsive-banner,
    .main-slider-style2 img.responsive-banner {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

}


/* =========================================================
   16. TABLET
   768PX - 991PX
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .main-slider-style2 .container {
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* =========================================================
   17. DESKTOP
   992PX - 1199PX
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .main-slider-style2 .container {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   18. LARGE DESKTOP
   1200PX+
   ========================================================= */

@media (min-width: 1200px) {

    .main-slider-style2 {
        width: 100%;
    }

    .main-slider-style2__inner {
        width: 100%;
    }

}


/* =========================================================
   19. MOBILE
   UP TO 767PX
   ========================================================= */

@media (max-width: 767px) {

    /*
     IMPORTANT:
     Mobile header/navigation is above the banner.

     The 95px top margin prevents the banner
     from going underneath the mobile navigation.
    */

    .main-slider-style2 {
        position: relative;
        width: 100%;
       margin-top: 5px !important;
        padding-top: 0 !important;
        z-index: 1;
        overflow: hidden;
    }


    /* -----------------------------------------
       Mobile banner wrapper
       ----------------------------------------- */

    .main-slider-style2__inner {
        position: relative;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: hidden;
    }


    /* -----------------------------------------
       Mobile image
       NO CROPPING
       ----------------------------------------- */

    .main-slider-style2 .responsive-banner,
    .main-slider-style2 img.responsive-banner {

        display: block;

        width: 100% !important;
        height: auto !important;

        max-width: 100% !important;

        object-fit: contain !important;
        object-position: center top;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* -----------------------------------------
       Mobile image layer
       ----------------------------------------- */

    .main-slider-style2 .image-layer {

        width: 100%;
        height: 100%;

        background-size: 100% auto;
        background-position: center top;

        z-index: 2;
    }


    /* -----------------------------------------
       Mobile content
       ----------------------------------------- */

    .main-slider-style2 .container {

        position: absolute;

        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 100%;

        padding: 10px 15px;

        z-index: 10;

        box-sizing: border-box;
    }


    .main-slider-style2__content {
        width: 100%;
        min-height: 0;
        z-index: 11;
    }


    /* -----------------------------------------
       Mobile headings
       ----------------------------------------- */

    .main-slider-style2__content h1 {
        font-size: clamp(22px, 7vw, 42px);
        line-height: 1.1;
    }

    .main-slider-style2__content h2 {
        font-size: clamp(20px, 6vw, 36px);
        line-height: 1.1;
    }

    .main-slider-style2__content h3 {
        font-size: clamp(18px, 5vw, 30px);
        line-height: 1.1;
    }

    .main-slider-style2__content p {
        font-size: clamp(12px, 3.5vw, 18px);
        line-height: 1.4;
    }


    /* -----------------------------------------
       Mobile navigation arrows
       ----------------------------------------- */

    .main-slider-style2 .swiper-button-next,
    .main-slider-style2 .swiper-button-prev {
        z-index: 30;
    }


    /* -----------------------------------------
       Mobile pagination
       ----------------------------------------- */

    .main-slider-style2 .swiper-pagination {
        z-index: 30;
    }


    /* -----------------------------------------
       Mobile site navigation
       ALWAYS ABOVE BANNER
       ----------------------------------------- */

    header,
    .site-header,
    .main-header,
    .mobile-header,
    .mobile-nav,
    .mobile-menu,
    .sticky-header {

        z-index: 999 !important;
    }

}


/* =========================================================
   20. SMALL MOBILE
   UP TO 480PX
   ========================================================= */

@media (max-width: 480px) {

    .main-slider-style2 {
        margin-top: 5px !important;
    }

    .main-slider-style2__inner {
        width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .main-slider-style2 .responsive-banner,
    .main-slider-style2 img.responsive-banner {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .main-slider-style2 .container {
        padding: 8px 12px;
    }

}


/* =========================================================
   21. VERY SMALL MOBILE
   UP TO 360PX
   ========================================================= */

@media (max-width: 360px) {

    .main-slider-style2 {
        margin-top: 5px !important;
    }

    .main-slider-style2 .container {
        padding: 5px 10px;
    }

}


/* =========================================================
   22. REMOVE UNWANTED THEME SPACING
   ========================================================= */

.main-slider-style2 p:empty {
    display: none;
}


/* Don't hide all <br> globally inside slider content.
   Theme/content may legitimately use them. */


/* =========================================================
   23. PREVENT HORIZONTAL SCROLL
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   24. BOX SIZING
   ========================================================= */

.main-slider-style2,
.main-slider-style2 *,
.main-slider-style2 *::before,
.main-slider-style2 *::after {
    box-sizing: border-box;
}