/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/post-carousel/style.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/*
 * Swiper 12+ core CSS targets `.swiper` for overflow. Markup uses `swiper-container` (D4 era).
 */
.dsm_post_carousel .swiper-container.dsm-post-carousel-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

/*
 * Firefox: flatten wrapper stacking for typical slides (fixes z-index glitches).
 * 3D effects need preserve-3d.
 */
@-moz-document url-prefix() {
  .dsm_post_carousel .swiper-container.dsm-post-carousel-container:not(.swiper-container-cube):not(.swiper-cube) .swiper-wrapper {
    transform-style: flat !important;
  }
  .dsm_post_carousel .swiper-container.dsm-post-carousel-container[data-effect=coverflow] .swiper-wrapper,
  .dsm_post_carousel .swiper-container.dsm-post-carousel-container[data-effect=flip] .swiper-wrapper,
  .dsm_post_carousel .swiper-container.dsm-post-carousel-container[data-effect=cube] .swiper-wrapper {
    transform-style: preserve-3d !important;
  }
}
/* Swiper 12 nav bundle reads these (aligned with dsm/card-carousel). */
.dsm_post_carousel {
  margin-bottom: 60px;
  --swiper-navigation-size: 60px;
}

/*swiper cube fix visibility*/
.dsm-post-carousel .swiper-container-cube .swiper-slide:not(.swiper-slide-active) {
  z-index: 0;
}

.dsm_post_carousel.dsm-post-item-equal-height .dsm-post-carousel-item {
  height: auto;
}

.dsm-post-carousel-item {
  border: 0 solid;
}

.dsm-bottom-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding-top: 10px;
}

.dsm-bottom-meta img {
  width: 60px;
  height: auto;
}

.dsm-bottom-meta .dsm-bottom-meta-image {
  margin-right: 10px;
  line-height: 0;
}

.dsm-bottom-meta-right {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dsm-entry-title {
  font-size: 18px;
  line-height: 1.3em;
}

.dsm_post_carousel .dsm-entry-image {
  position: relative;
  overflow: hidden;
}

.dsm_post_carousel .swiper-pagination {
  text-align: center;
  width: 100%;
}

.dsm_post_carousel .swiper-pagination .swiper-pagination-bullets {
  bottom: -40px;
  left: 0;
  width: 100%;
}

.dsm_post_carousel .swiper-pagination .swiper-pagination-bullet {
  margin: 0 4px;
  width: 8px;
  height: 8px;
}

.dsm_post_carousel .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.dsm_post_carousel .swiper-pagination .swiper-pagination-bullet:last-child {
  margin-right: 0;
}

.dsm_post_carousel .swiper-button-next,
.dsm_post_carousel .swiper-button-prev {
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--swiper-navigation-size, 60px);
  height: var(--swiper-navigation-size, 60px);
  font-size: var(--swiper-navigation-size, 60px);
  margin-top: 0;
  transform: translateY(-50%);
  transition: all 0.3s;
}

/*
 * Swiper 12+ default navigation uses ::after + optional SVG children. We render ET/Divi
 * icons on ::before (same pattern as dsm/card-carousel + dsm/image-carousel) so arrows are not doubled.
 */
.dsm_post_carousel .swiper-button-prev::after,
.dsm_post_carousel .swiper-button-next::after {
  display: none;
}

.dsm_post_carousel .swiper-button-prev .swiper-navigation-icon,
.dsm_post_carousel .swiper-button-next .swiper-navigation-icon,
.dsm_post_carousel .swiper-button-prev svg,
.dsm_post_carousel .swiper-button-next svg {
  display: none;
}

.dsm_post_carousel .swiper-button-prev {
  left: -50px;
}

.dsm_post_carousel .swiper-button-next {
  right: -50px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  cursor: pointer;
  pointer-events: all;
}

/*
 * Read-more: parent spans the slide so margin-auto on the inner wrapper can center/right/left
 * the block. Without width: fit-content, .et_pb_button_module_wrapper is block-level and fills
 * 100% — margin-left/right: auto then does not move the visible button.
 */
.dsm-post-carousel .dsm-readmore-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dsm-post-carousel .dsm-readmore-wrap .et_pb_button_module_wrapper {
  width: fit-content;
  width: -moz-fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.dsm-readmore-btn {
  display: inline-block;
}

.dsm-post-carousel .dsm-post-carousel-item {
  overflow: hidden;
}

/****** Vertical Pagination CSS *******/
.swiper-pagination.swiper-pagination-vertical {
  transform: translateY(-50%) !important;
  bottom: auto;
  width: auto !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

/****** Vertical Navigation CSS *******/
.dsm-post-carousel-slider-vertical .swiper-button-prev::before {
  transform: rotate(90deg);
}

.dsm-post-carousel-slider-vertical .swiper-button-next {
  top: auto;
}

.dsm-post-carousel-slider-vertical .swiper-button-next::before {
  transform: rotate(90deg);
}

@media (max-width: 767px) {
  .dsm_post_carousel .swiper-button-prev {
    left: -25px;
  }
  .dsm_post_carousel .swiper-button-next {
    right: -25px;
  }
}
.dsm_post_carousel .dsm-entry-title a {
  font-size: 18px;
  line-height: 1.3em;
}

.dsm_post_carousel .dsm-post-carousel-wrapper .dsm-post-carousel-item {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

.dsm_post_carousel .swiper-pagination.swiper-pagination-vertical {
  right: -40px;
  left: auto;
}

/*
 * Thumbnail tile: flex centers shrink-wrapped link (contain). Cover: link stretches to tile.
 * Overlay lives on `a::before` so contain mode matches the picture, not letterboxing.
 */
.dsm_post_carousel .dsm-entry-image .dsm-entry-thumbnail {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsm_post_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-cover > a {
  display: flex;
  flex: 1 1 0;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
  position: relative;
  z-index: 0;
}

.dsm_post_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-cover > a img {
  display: block;
}

.dsm_post_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-contain > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  z-index: 0;
}

.dsm_post_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-contain > a img {
  display: block;
}

.dsm_post_carousel.dsm-overlay-enabled .dsm-entry-image .dsm-entry-thumbnail > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dsm_post_carousel.dsm-overlay-enabled .dsm-entry-thumbnail > a:hover::before {
  opacity: 1;
}

.dsm_post_carousel .dsm-post-carousel-item {
  background: #ffffff;
}
