/* =========================================================== */
/* 00. Widget - Elementor Content Carousel
/* =========================================================== */
.elementor-widget-dplf_content_carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dplf-content-carousel .swiper {
    width: 100%;
    height: auto;
}

.dplf-content-carousel .swiper-wrapper {
    display: flex;
    width: 100%;
}

.dplf-content-carousel .swiper-slide {
    width: auto;
    flex: 0 0 auto;
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Ensure proper column behavior */
.dplf-content-carousel .dplf-content-carousel-item {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.dplf-content-carousel-wrapper {
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper .dplf-content-carousel-image{
  position: relative;
  display: block;
  overflow: hidden;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper .dplf-content-carousel-image img{
  position: relative;
  width: 100%;
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel-main {
  position: relative;
  padding-top: 20px;
  z-index: 999;
  width: 100%;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel-title {
  margin: 0 0 12px;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.elementor-widget-dplf_content_carousel .dplf-content-carousel-subtitle,
.elementor-widget-dplf_content_carousel .dplf-content-carousel-subtitle .dplf-heading-tagline,
.elementor-widget-dplf_content_carousel .dplf-content-carousel-desc{
  margin: 0;
}

.dplf-content-carousel-wrapper.dplf-carousel-content-text-align--left {
  text-align: left;
}

.dplf-content-carousel-wrapper.dplf-carousel-content-text-align--right {
  text-align: right;
}

.dplf-content-carousel-wrapper.dplf-carousel-content-text-align--center {
  text-align: center;
}

@media (min-width: 768px) {
  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-image-position--left,
  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-image-position--right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-image-position--right {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .elementor-widget-dplf_content_carousel .dplf-image-position--right .dplf-content-carousel-main {
    padding-top: 0;
    padding-right: 30px;
  }

  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-image-position--left {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .elementor-widget-dplf_content_carousel .dplf-image-position--left .dplf-content-carousel-main {
    padding-top: 0;
    padding-left: 30px;
  }

  .elementor-widget-dplf_content_carousel .dplf-image-position--top .dplf-content-carousel-image {
    margin: auto;
  }

  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-content-vertial-alignment--top {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-content-vertial-alignment--middle {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .elementor-widget-dplf_content_carousel .dplf-content-carousel-wrapper.dplf-content-vertial-alignment--bottom {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }
}

@media (max-width: 767px) {
  .elementor-widget-dplf_content_carousel .dplf-content-carousel-image {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.dplf-content-carousel .swiper-slide {
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

/*Arrow Offset*/
.dplf-content-carousel .dplf-navigation-next {
  transition: all .3s ease-out;
  -webkit-transform: translate(var(--dplf-content-carousel-right-arrow-x-offset, 0), var(--dplf-content-carousel-arrow-y-offset, 0)) rotate(var(--dplf-content-carousel-arrow-rotate, 0));
  transform: translate(var(--dplf-content-carousel-right-arrow-x-offset, 0), var(--dplf-content-carousel-arrow-y-offset, 0)) rotate(var(--dplf-content-carousel-arrow-rotate, 0));
}

.dplf-content-carousel .dplf-navigation-prev {
  transition: all .3s ease-out;
  -webkit-transform: translate(var(--dplf-content-carousel-left-arrow-x-offset, 0), var(--dplf-content-carousel-arrow-y-offset, 0)) rotate(var(--dplf-content-carousel-arrow-rotate, 0));
  transform: translate(var(--dplf-content-carousel-left-arrow-x-offset, 0), var(--dplf-content-carousel-arrow-y-offset, 0)) rotate(var(--dplf-content-carousel-arrow-rotate, 0));
}

/* Enhanced transition effects */
.dplf-content-carousel.slide-transitioning .swiper-slide {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Effect-specific styles */
.dplf-content-carousel .swiper-slide.swiper-slide-duplicate {
    opacity: 1;
}

/*Arrows Position Outside*/
.dplf-arrows-position--outside .dplf-content-carousel {
    padding: 0 65px;
}

@media (max-width: 1200px) {
    .dplf-arrows-position--outside .dplf-content-carousel {
        padding: 0 25px;
    }
}

/*Pagination Position Outside*/
.dplf-pagination-position--outside .dplf-pagination {
  position: relative;
  top: 30px;
  padding-bottom: 30px;
}

/*Scrollbar Position Outside*/
.dplf-scrollbar-position--outside .dplf-content-carousel {
    padding-bottom: 40px;
}