/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/blog-carousel/style.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/*
 * Swiper 12+ core CSS targets `.swiper` for overflow. Markup uses `swiper-container` (D4 era).
 */
.dsm_blog_carousel .swiper-container.dsm-blog-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 — flat breaks Swiper’s transform math.
 * Same pattern as dsm/card-carousel: broad `swiper-container` selector for `flat`,
 * then `data-effect` + `dsm-blog-carousel-container` for coverflow / flip / cube.
 */
@-moz-document url-prefix() {
  .dsm_blog_carousel .swiper-container:not(.swiper-container-cube):not(.swiper-cube) .swiper-wrapper {
    transform-style: flat !important;
  }
  .dsm_blog_carousel .swiper-container.dsm-blog-carousel-container[data-effect=coverflow] .swiper-wrapper,
  .dsm_blog_carousel .swiper-container.dsm-blog-carousel-container[data-effect=flip] .swiper-wrapper,
  .dsm_blog_carousel .swiper-container.dsm-blog-carousel-container[data-effect=cube] .swiper-wrapper {
    transform-style: preserve-3d !important;
  }
}
/* Swiper 12 nav bundle reads these (aligned with dsm/card-carousel). */
.dsm_blog_carousel {
  margin-bottom: 60px;
  --swiper-navigation-size: 60px;
}

/* Flip: hide back face in 3D (matches dsm/card-carousel `.swiper-flip` rule). */
.dsm_blog_carousel .swiper-flip .dsm-blog-carousel-item.swiper-slide {
  backface-visibility: hidden;
}

/*
 * Swiper cube: keep non-active slides behind the active face (stacking / visibility).
 * Scope under module root; `.swiper-container-cube` and `.swiper-cube` (Swiper 9+).
 */
.dsm_blog_carousel .swiper-container-cube .swiper-slide:not(.swiper-slide-active),
.dsm_blog_carousel .swiper-container.swiper-cube .swiper-slide:not(.swiper-slide-active) {
  z-index: 0;
}

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

.dsm-blog-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_blog_carousel .dsm-entry-image {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.dsm_blog_carousel .swiper-button-next,
.dsm_blog_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_blog_carousel .swiper-button-prev::after,
.dsm_blog_carousel .swiper-button-next::after {
  display: none;
}

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

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

.dsm_blog_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-blog-carousel .dsm-readmore-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dsm-blog-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-blog-carousel .dsm-blog-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-blog-carousel-slider-vertical .swiper-button-prev::before {
  transform: rotate(90deg);
}

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

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

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

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

.dsm_blog_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_blog_carousel .dsm-entry-image .dsm-entry-thumbnail {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsm_blog_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-contain {
  height: auto;
}

.dsm_blog_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-cover {
  min-height: 0;
}

.dsm_blog_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_blog_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-cover > a img {
  display: block;
}

.dsm_blog_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_blog_carousel .dsm-entry-thumbnail.dsm-thumbnail-fit-contain > a img {
  display: block;
}

.dsm_blog_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_blog_carousel.dsm-overlay-enabled .dsm-entry-thumbnail > a:hover::before {
  opacity: 1;
}

.dsm_blog_carousel .dsm-blog-carousel-item {
  background: #ffffff;
}
