/* Post preview - Gallery carousel in the thumbnails (cards_v2 layout) */
/* Heights are propagated through the slick wrappers for the layouts where the thumb fills the thumb_wrap */
.de_block_post_preview .thumb_gallery,
.de_block_post_preview .thumb_gallery .slick-list,
.de_block_post_preview .thumb_gallery .slick-track,
.de_block_post_preview .thumb_gallery .slick-slide,
.de_block_post_preview .thumb_gallery .thumb_slide {
  height: 100%;
}

.de_block_post_preview .thumb_gallery {
  position: relative;
}

/* Before slick init, only the first image is displayed */
.de_block_post_preview
  .thumb_gallery:not(.slick-initialized)
  .thumb_slide:not(:first-child) {
  display: none;
}

.de_block_post_preview .thumb_gallery .slick-slide {
  outline: none;
}

/* Vertical centring comes from the theme ".arrow" (top + negative margin): no transform, it would override the "next" rotation */
.de_block_post_preview .thumb_gallery .arrow {
  z-index: 2;
}

.de_block_post_preview .thumb_gallery .arrow.prev {
  left: 10px;
}

.de_block_post_preview .thumb_gallery .arrow.next {
  right: 10px;
}

.de_block_post_preview .thumb_gallery .slick-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  text-align: center;
  list-style: none;
}

.de_block_post_preview .thumb_gallery .slick-dots li {
  display: inline-block;
  margin: 0 8px;
}

.de_block_post_preview .thumb_gallery .slick-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0;
  cursor: pointer;
}

.de_block_post_preview .thumb_gallery .slick-dots .slick-active button {
  background: #fff;
}
