.wpl-advance-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wpl-advance-carousel .swiper-wrapper {
    display: flex;
}

.wpl-advance-carousel .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wpl-advance-carousel .content-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.875rem, 1.5865rem + 1.2821vw, 3.125rem) clamp(1.25rem, 0.8173rem + 1.9231vw, 3.125rem); /* 20px to 50px */
    border-radius: clamp(1.25rem, 1.1058rem + 0.641vw, 1.875rem); /* 30px */
}

.wpl-advance-carousel .media-wrapper {
    overflow: hidden;
    line-height: 0;
}

.wpl-advance-carousel .media-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.wpl-advance-carousel .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
}

.wpl-advance-carousel .icon-wrapper svg {
    fill: currentColor;
    width: 1em;
    height: 1em;
    font-size: inherit;
}

.wpl-advance-carousel .title-wrapper h3,
.wpl-advance-carousel .subtitle-wrapper h6,
.wpl-advance-carousel .description-wrapper p {
    margin: 0;
}

.wpl-advance-carousel .button-wrapper a {
    display: inline-block;
    text-decoration: none;
}

.wpl-advance-carousel .pagination-area {
    position: relative;
    margin-top: 0;
    text-align: center;
}

.wpl-advance-carousel .swiper-pagination {
    position: relative;
    display: inline-block;
}

.wpl-advance-carousel .swiper-pagination-bullet {
    display: inline-block;
    margin: 0 5px;
}

.wpl-advance-carousel .swiper-button-prev,
.wpl-advance-carousel .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpl-advance-carousel .swiper-button-prev:before,
.wpl-advance-carousel .swiper-button-prev:after,
.wpl-advance-carousel .swiper-button-next:before,
.wpl-advance-carousel .swiper-button-next:after {
    display: none !important;
}

.wpl-advance-carousel .swiper-button-prev {
    left: 10px;
}

.wpl-advance-carousel .swiper-button-next {
    right: 10px;
}

.wpl-advance-carousel.rtl .swiper-button-prev {
    right: 10px;
    left: auto;
}

.wpl-advance-carousel.rtl .swiper-button-next {
    left: 10px;
    right: auto;
}

.wpl-advance-carousel.vertical {
    height: 500px; /* Fallback height for vertical carousels; adjust as needed */
}

/* Responsive breakpoints for layout shifting fix */
@media (min-width: 1541px) {
    .wpl-advance-carousel:not(.swiper-initialized).desktop-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-desktop) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-desktop) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-desktop) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-desktop) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-desktop) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).desktop-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-desktop) !important;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1540px) {
    .wpl-advance-carousel:not(.swiper-initialized).laptop-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-laptop) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-laptop) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-laptop) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-laptop) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-laptop) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).laptop-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-laptop) !important;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-tablet-lan) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-tablet-lan) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-tablet-lan) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-tablet-lan) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-tablet-lan) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-lan-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-tablet-lan) !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wpl-advance-carousel:not(.swiper-initialized).tablet-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-tablet) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-tablet) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-tablet) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-tablet) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-tablet) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).tablet-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-tablet) !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-mobile-lan) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-mobile-lan) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-mobile-lan) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-mobile-lan) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-mobile-lan) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-lan-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-mobile-lan) !important;
    }
}

@media screen and (min-width: 1px) and (max-width: 479px) {
    .wpl-advance-carousel:not(.swiper-initialized).mobile-1 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 1) - (0 * 1 / 1));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-2 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 2) - (var(--wpl-slides-gap-mobile) * 1 / 2));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-3 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 3) - (var(--wpl-slides-gap-mobile) * 2 / 3));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-4 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 4) - (var(--wpl-slides-gap-mobile) * 3 / 4));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-5 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 5) - (var(--wpl-slides-gap-mobile) * 4 / 5));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-6 .swiper-wrapper > div.swiper-slide {
        width: calc((100% / 6) - (var(--wpl-slides-gap-mobile) * 5 / 6));
    }
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-10 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-20 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-30 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-40 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-50 > .swiper-wrapper > div.swiper-slide,
    .wpl-advance-carousel:not(.swiper-initialized).mobile-g-60 > .swiper-wrapper > div.swiper-slide {
        margin-right: var(--wpl-slides-gap-mobile) !important;
    }
}



/* Style 1 For Slider */
.wpl-advance-carousel .swiper-slide { cursor: grab; }
.wpl-advance-carousel .swiper-slide .wpl-slider-grid-overlap { display: grid; align-items: end; }
.wpl-advance-carousel .swiper-slide .wpl-slider-grid-overlap > div { grid-area: 1 / -1; }
.wpl-advance-carousel .swiper-slide .wpl-slider-grid-overlap h1,
.wpl-advance-carousel .swiper-slide .wpl-slider-grid-overlap h2 { font-size: 190px; font-weight: 700; text-transform: uppercase; letter-spacing: 40px; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; pointer-events: none; }
.wpl-advance-carousel .swiper-slide .wpl-slider-grid-overlap h2 { background-image: linear-gradient(266deg, #5e5e5e 0%, transparent 29%, #fff, transparent 100%); background-size: 200% auto; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 2px; -webkit-animation: wpl-letter-space 4s ease-out infinite; animation: wpl-letter-space 4s ease-out infinite; display: inline-block; line-height: 1; opacity: .4; }
@-webkit-keyframes wpl-letter-space { 0%, 100% { letter-spacing: 40px; } 50% { letter-spacing: 8px; } }
@keyframes wpl-letter-space { 0%, 100% { letter-spacing: 40px; } 50% { letter-spacing: 8px; } }

.wpl-advance-carousel:has(.wpl-slider-grid-overlap) .elementor-widget-container p { font-size: 24px; pointer-events: none; }
.wpl-advance-carousel:has(.wpl-slider-grid-overlap) .pagination-area { position: absolute; text-align: center; top: 0; left: 0; right: 0; bottom: 0; margin: auto; }