/* =================================
   Home Page Slider
================================= */


/* Slider container */

.mySwiper {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    position: relative;

    box-sizing: border-box;

    padding-bottom: 10px;

}


/* =================================
   Slide Image
================================= */


.mySwiper .swiper-slide {

    aspect-ratio: 2 / 1;

    width: 100%;

    position: relative;

    overflow: hidden;

}


.mySwiper .swiper-slide a {

    display: block;

    width: 100%;

    height: 100%;

}


.mySwiper .swiper-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



/* =================================
   Title Overlay
================================= */

.slide-title {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 30%;

    box-sizing: border-box;

    padding: 1rem 1.5rem;

    display: flex;
    flex-direction: column;

    justify-content: flex-end;
    align-items: center;

    text-align: center;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.72) 40%,
        rgba(0,0,0,0.35) 75%,
        rgba(0,0,0,0.00) 100%
    );

}

/* =================================
   Title Text
================================= */

.slide-heading {

    display: block;

    color: #fff;

    font-size: clamp(1.2rem, 2vw, 2rem);

    font-weight: 400;

    line-height: 1.15;

    margin: 0;

    padding: 0;

}


.slide-heading strong {

    font-weight: 700;

}


.slide-meta {

    display: block;

    color: #fff;

    font-size: .85rem;

    line-height: 1.15;

    margin: 0;

    padding-top: 4px;

    opacity: .9;

}



/* =================================
   Navigation Arrows
================================= */


.swiper-button-next,
.swiper-button-prev {

    color: #FF7B00;

}


.swiper-button-next:hover,
.swiper-button-prev:hover {

    color: #fff;

}



/* =================================
   Pagination
================================= */


.swiper-pagination {

    position: absolute;

    bottom: 0;

    left: 0;


    width: 100%;

    height: 8px;


    display: flex;

    justify-content: center;

    align-items: center;


    gap: 6px;

}


.swiper-pagination-bullet {

    width: 6px;

    height: 6px;


    margin: 0 !important;


    background: #fff;


    border: 1px solid #FF7B00;


    opacity: 1;

}


.swiper-pagination-bullet-active {

    background: #FF7B00;

}



/* =================================
   Mobile
================================= */


@media (max-width: 768px) {


    .slide-title {

        height: 30%;

        padding: .5rem;

    }


    .slide-meta {

        display: none;

    }


    .slide-heading {

        font-size: clamp(1rem, 4vw, 1.4rem);

    }


    .swiper-pagination {

        height: 8px;

    }


}