/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./packages/module-library/image-carousel/style.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/*
 * Swiper 12+ core CSS targets `.swiper` for overflow clipping. Our markup still
 * uses `swiper-container` (D4 / Swiper 4 era). Legacy `divi-4/public/css/swiper.css`
 * added `.dsm_image_carousel .swiper-container { overflow: hidden; width: 100%; }`.
 * Without this, slides/images extend past the module on the frontend.
 */
.et-db #et-boc .et-l .dsm_image_carousel .swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

/*
 * Swiper core (`assets/css/swiper.css`) sets `.swiper-wrapper` / `.swiper-slide { height: 100% }`.
 * On the frontend that usually collapses (auto-height parents). The Divi 5 Visual Builder canvas
 * iframe loads `style-modules-frontend-styles.css` + `swiper.css` (not `modules-vb-styles.css`),
 * and builder ancestors often have a resolved height — so the wrapper stretches and
 * `align-items: center` looks like huge top/bottom padding on logo carousels.
 * Must live in common.scss (frontend bundle), not vb.scss alone.
 * Keep slideshow + vertical on Swiper’s default height behavior.
 */
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow):not(.dsm_image_carousel_vertical) .dsm_image_carousel_container {
  height: auto;
}
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow):not(.dsm_image_carousel_vertical) .swiper-wrapper {
  height: auto;
}
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow):not(.dsm_image_carousel_vertical) .swiper-slide {
  height: auto;
}

/*
 * Firefox: flatten wrapper stacking for typical slides (fixes z-index glitches).
 * 3D effects need preserve-3d — flat breaks Swiper’s transform math.
 * Legacy Swiper 4 used .swiper-container-cube; Swiper 12+ uses .swiper.swiper-cube on
 * the root — our markup is still .swiper-container, so :not(.swiper-container-cube)
 * no longer excludes cube. Use data-effect (mirrors PHP / edit.js) + old class.
 */
@-moz-document url-prefix() {
  .et-db #et-boc .et-l .dsm_image_carousel .swiper-container:not(.swiper-container-cube):not(.swiper-cube) .swiper-wrapper {
    transform-style: flat !important;
  }
  /*
   * Must match or exceed the flat rule’s specificity (0,5,0): two :not() on the
   * wrapper’s parent beat a lone [data-effect]. Cube skips the flat rule via
   * .swiper-cube; coverflow/flip do not, so they need this bump or Firefox stays flat.
   */
  .et-db #et-boc .et-l .dsm_image_carousel .swiper-container.dsm_image_carousel_container[data-effect=coverflow] .swiper-wrapper, .et-db #et-boc .et-l .dsm_image_carousel .swiper-container.dsm_image_carousel_container[data-effect=flip] .swiper-wrapper, .et-db #et-boc .et-l .dsm_image_carousel .swiper-container.dsm_image_carousel_container[data-effect=cube] .swiper-wrapper {
    transform-style: preserve-3d !important;
  }
}
/*
 * Swiper 12+ navigation (swiper-bundle.css) positions arrows with
 * left/right: var(--swiper-navigation-sides-offset, 4px) and sibling selectors
 * (.swiper-horizontal ~ .swiper-button-prev). That often loads after our rules and wins
 * the cascade. Drive offsets via these variables so Swiper’s declarations stay correct.
 */
.et-db #et-boc .et-l .dsm_image_carousel {
  --swiper-navigation-size: 40px;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_horizontal.dsm_image_carousel_arrow_outside {
  --swiper-navigation-sides-offset: -40px;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_horizontal.dsm_image_carousel_arrow_inside {
  --swiper-navigation-sides-offset: 0px;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical.dsm_image_carousel_arrow_outside {
  --swiper-navigation-sides-offset: -40px;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical.dsm_image_carousel_arrow_inside {
  --swiper-navigation-sides-offset: 0px;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-button-prev, .et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-button-next {
  transform: rotate(90deg);
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-button-next {
  top: auto !important;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next {
  height: 40px;
  width: 40px;
  background-image: none;
  background-size: initial;
  display: flex;
  align-items: center;
  margin-top: -30px;
  border-style: solid;
}

/* Horizontal left/right come from --swiper-navigation-sides-offset (see block above). */
.et-db #et-boc .et-l .dsm_image_carousel_vertical.dsm_image_carousel_arrow_inside .swiper-button-prev {
  top: 0px;
}

.et-db #et-boc .et-l .dsm_image_carousel_vertical.dsm_image_carousel_arrow_inside .swiper-button-next {
  bottom: 0px;
}

.et-db #et-boc .et-l .dsm_image_carousel_vertical.dsm_image_carousel_arrow_outside .swiper-button-prev {
  top: -40px;
}

.et-db #et-boc .et-l .dsm_image_carousel_vertical.dsm_image_carousel_arrow_outside .swiper-button-next {
  bottom: -40px;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev:after, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next:after {
  display: none;
}

/* Swiper 12+ ships SVG navigation icons; we use Divi/ET font icons via :before. */
.et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev .swiper-navigation-icon, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next .swiper-navigation-icon, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev svg, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next svg {
  display: none;
}

.et-db #et-boc .et-l .dsm_image_carousel_vertical .swiper-pagination {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.et-db #et-boc .et-l .dsm_image_carousel_pagi_placement_right .swiper-pagination {
  left: auto !important;
}

.et-db #et-boc .et-l .dsm_image_carousel_pagi_placement_left .swiper-pagination {
  right: auto !important;
}

/*
 * Horizontal bullet row: Swiper uses bottom: var(--swiper-pagination-bottom, 8px).
 * Default offset lives on the module so it doesn’t fight dots_horizontal_placement from CommonStyle.
 */
.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_horizontal {
  --swiper-pagination-bottom: -30px;
}

/*
 * Pagination is a sibling of `.dsm_image_carousel_container`, not a child — do not require
 * `.swiper-container-horizontal` / `.swiper-horizontal` as an ancestor (Swiper 12+ uses the latter).
 */
.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullets, .et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-custom, .et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-fraction {
  left: 0;
  width: 100%;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullets {
  left: 0;
  width: 100%;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullets .swiper-pagination-bullet, .et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 4px;
}

.et-db #et-boc .et-l .dsm_image_carousel_pagination_outside .dsm_image_carousel_container {
  padding-bottom: 30px;
}

.et-db #et-boc .et-l .dsm_image_carousel_pagination_outside .swiper-pagination-bullets, .et-db #et-boc .et-l .dsm_image_carousel_pagination_outside .swiper-pagination-custom, .et-db #et-boc .et-l .dsm_image_carousel_pagination_outside .swiper-pagination-fraction {
  bottom: 0;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: rgba(0, 0, 0, 0.75);
}

.et-db #et-boc .et-l .dsm_image_carousel .dsm_image_carousel_container .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-slide img {
  width: auto;
  border-style: solid;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-slide img {
  width: 100%;
  height: 100%;
}

/* SVG in custom-link slides only: fills the width-100% anchor when intrinsic sizing is unusable.
 * Raster JPEG/PNG/WebP keep `.swiper-slide img { width:auto }` + srcset/sizes. */
.et-db #et-boc .et-l .dsm_image_carousel .swiper-slide .dsm_image_carousel_link img:is([src$=".svg" i],
[src*=".svg?" i],
[src*=".svg#" i],
[src^="data:image/svg+xml" i]) {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-slide .dsm_image_carousel_link img:is([src$=".svg" i],
[src*=".svg?" i],
[src*=".svg#" i],
[src^="data:image/svg+xml" i]) {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.et-db #et-boc .et-l .dsm_image_carousel .dsm_image_carousel_item a {
  width: 100%;
  display: inline-block;
}

.et-db #et-boc .et-l .dsm_image_carousel_infinite_scroll .swiper-wrapper {
  transition-timing-function: linear !important;
}

.et-db #et-boc .et-l .dsm_image_carousel_infinite_scroll:hover .swiper-wrapper {
  transition-timing-function: linear !important;
}

.et-db #et-boc .et-l .dsm_image_carousel_infinite_scroll .swiper-pagination {
  display: none;
}

/* Thumbnail strip Swiper roots: FE emits .swiper + .dsm_image_gallery_thumbs, VB emits .swiper-container. */
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_ic_slideshow_thumbs_custom) .dsm_image_gallery_thumbs.swiper, .et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_ic_slideshow_thumbs_custom) .dsm_image_gallery_thumbs.swiper-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs .swiper-slide .dsm_image_carousel_thumbs_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 21/9;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs .swiper-slide .dsm_image_carousel_thumbs_image[data-dsm-lazy-bg] {
  background-color: rgba(0, 0, 0, 0.04);
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow {
  width: 100%;
}

/*
 * Custom (absolute): class on thumbnail Swiper root (VB canvas may skip .et_pb_module_inner).
 */
.et-db #et-boc .et-l .dsm_image_carousel.dsm_ic_slideshow_thumbs_custom {
  position: relative;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_ic_slideshow_thumbs_custom .et_pb_module_inner {
  position: relative;
}

/*
 * Absolute overlay thumbnails: scoped to markup class so builder + frontend match regardless of wrapper.
 * Inset (top/right/bottom/left) comes from module styles when set in Thumbnail Position Offset.
 */
.et-db #et-boc .et-l .dsm_ic_slideshow_thumbs_absolute.swiper, .et-db #et-boc .et-l .dsm_ic_slideshow_thumbs_absolute.swiper-container {
  position: absolute;
  box-sizing: border-box;
  z-index: 5;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item .dsm_image_carousel_slideshow_bg {
  position: relative;
  height: 450px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-style: solid;
  transition: 0.2s all ease-in-out;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item .dsm_image_carousel_slideshow_bg[data-dsm-lazy-bg] {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Slideshow image overlay: above background image, below title (title follows in DOM). */
.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item .dsm_image_carousel_slideshow_bg .dsm_image_carousel_slideshow_overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
  border-radius: inherit;
}

/*
 * Carousel: tint/gradient overlay on each slide (`dsm_image_carousel_carousel_media`).
 * Wrapper must collapse to the raster height: module-level `a { display: inline-block }`
 * leaves a baseline gap under images, which makes `position:absolute; inset:0` overlays
 * extend past the image (dark strip at bottom). Force block/stacking + clip overflow.
 */
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow) .dsm_image_carousel_item .dsm_image_carousel_carousel_media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow) .dsm_image_carousel_item .dsm_image_carousel_carousel_media > a {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  box-sizing: border-box;
}

.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow) .dsm_image_carousel_item .dsm_image_carousel_carousel_media > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
}

/* Lightbox/custom link: image inside anchor (beats loose `.swiper-slide img { width: auto }`). */
.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow) .dsm_image_carousel_item .dsm_image_carousel_carousel_media a img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.et-db #et-boc .et-l .dsm_image_carousel:not(.dsm_image_carousel_slideshow) .dsm_image_carousel_item .dsm_image_carousel_carousel_media .dsm_image_carousel_slideshow_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: auto;
  height: auto;
  box-sizing: border-box;
  pointer-events: none;
  min-height: 0;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item .dsm_image_carousel_slideshow_bg .dsm_image_carousel_slide_title_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  box-sizing: border-box;
  pointer-events: none;
}

/* Title span: box model for background, padding, border-radius, and shadow. */
.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_slide_title {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_slideshow_content {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  justify-content: flex-start;
  max-width: 100%;
  box-sizing: border-box;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_slide_description {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  margin-top: 0.35em;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item a.dsm_ic_slideshow_link_title {
  position: relative;
  display: block;
  width: 100%;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item a.dsm_ic_slideshow_link_title img {
  width: 100%;
  display: block;
}

.et-db #et-boc .et-l .dsm_image_carousel_slideshow .dsm_image_carousel_item a.dsm_ic_slideshow_link_title .dsm_image_carousel_slide_title_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  box-sizing: border-box;
  pointer-events: none;
}

/*
 * Slideshow slide title: avoid the next slide’s title appearing before the
 * entrance animation runs (slideChangeTransitionEnd adds Animate.css classes).
 * Only when Animation In is not "none" (out-only keeps titles always visible).
 *
 * - Non-active slides: title never peeks through during cross-fade.
 * - Active slide: hide until `.animated` is applied (in or out animation).
 */
.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-show-slide-title=true][data-slideshow-title-animation]:not([data-slideshow-title-animation=none]) .swiper-slide:not(.swiper-slide-active) .dsm_image_carousel_slide_title {
  opacity: 0;
  visibility: hidden;
}
.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-show-slide-title=true][data-slideshow-title-animation]:not([data-slideshow-title-animation=none]) .swiper-slide-active .dsm_image_carousel_slide_title:not(.animated) {
  opacity: 0;
  visibility: hidden;
}

.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-show-slide-description=true][data-slideshow-description-animation]:not([data-slideshow-description-animation=none]) .swiper-slide:not(.swiper-slide-active) .dsm_image_carousel_slide_description {
  opacity: 0;
  visibility: hidden;
}
.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-show-slide-description=true][data-slideshow-description-animation]:not([data-slideshow-description-animation=none]) .swiper-slide-active .dsm_image_carousel_slide_description:not(.animated) {
  opacity: 0;
  visibility: hidden;
}

.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-wrapper-animation-in]:not([data-slideshow-wrapper-animation-in=none]) .swiper-slide:not(.swiper-slide-active) .dsm_image_carousel_slideshow_content {
  opacity: 0;
  visibility: hidden;
}
.et-db #et-boc .et-l .dsm_image_carousel_container.dsm_image_carousel_slideshow[data-slideshow-wrapper-animation-in]:not([data-slideshow-wrapper-animation-in=none]) .swiper-slide-active .dsm_image_carousel_slideshow_content:not(.animated) {
  opacity: 0;
  visibility: hidden;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs {
  box-sizing: border-box;
  padding-top: 10px !important;
}

.et-db #et-boc .et-l .dsm_ic_slideshow_thumbs_absolute {
  padding-top: 0;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs .swiper-slide {
  cursor: pointer;
  height: 100%;
  opacity: 0.4;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.et-db #et-boc .et-l .dsm_image_gallery_thumbs .dsm_image_carousel_thumbs_image {
  border-style: solid;
  transition: 0.2s all ease-in-out;
}

@media only screen and (max-width: 768px) {
  .et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_horizontal.dsm_image_carousel_arrow_outside {
    --swiper-navigation-sides-offset: -36px;
  }
  .et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_horizontal.dsm_image_carousel_arrow_outside.dsm_image_carousel_arrow_mobile_inside {
    --swiper-navigation-sides-offset: 0px;
  }
  .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev:before, .et-db #et-boc .et-l .dsm_image_carousel .swiper-container-rtl .swiper-button-next:before, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next:before, .et-db #et-boc .et-l .swiper-container-rtl .swiper-button-prev:before {
    font-size: 36px;
  }
  .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next {
    height: 36px;
    width: 36px;
  }
  .et-db #et-boc .et-l .dsm_image_carousel {
    --swiper-navigation-size: 36px;
  }
}
.et-db #et-boc .et-l .dsm_image_carousel .swiper-wrapper {
  align-items: center;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-button-prev, .et-db #et-boc .et-l .dsm_image_carousel .swiper-button-next {
  font-size: 40px;
  color: #666;
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-pagination {
  top: 50%;
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: rgba(0, 0, 0, 0.75);
}

.et-db #et-boc .et-l .dsm_image_carousel .swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.2);
}

.et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-button-prev, .et-db #et-boc .et-l .dsm_image_carousel.dsm_image_carousel_vertical .swiper-button-next {
  left: 50%;
}
