.block--gallery-slideshow {
  --card-count: 4;
  --swiper-transition-timing-function: linear;
}
.block--gallery-slideshow .gallery-slideshow {
  position: relative;
}
.block--gallery-slideshow .block--gallery-card .card {
  max-height: 90vh;
}
.block--gallery-slideshow .swiper {
  width: 100%;
}
.block--gallery-slideshow .swiper-wrapper[data-swiper-autoplay=true][data-swiper-delay="0"] {
  transition-timing-function: linear;
}
.block--gallery-slideshow.--stretch-width {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
}
.block--gallery-slideshow.--stretch-width .swiper-button-next, .block--gallery-slideshow.--stretch-width .swiper-button-prev {
  transform: translateX(0);
}
.block--gallery-slideshow .slide-navigation {
  align-items: center;
  color: var(--bs-primary);
  display: flex;
  flex-direction: row-reverse;
}
.block--gallery-slideshow .swiper-button-prev, .block--gallery-slideshow .swiper-button-next {
  position: relative;
  inset: 0;
  transform: initial;
  margin: 0;
}
.block--gallery-slideshow .swiper-button-prev:hover, .block--gallery-slideshow .swiper-button-prev:focus, .block--gallery-slideshow .swiper-button-next:hover, .block--gallery-slideshow .swiper-button-next:focus {
  filter: none;
  -webkit-text-decoration: 1px underline dashed;
          text-decoration: 1px underline dashed;
}

.editor-styles-wrapper .block--gallery-slideshow {
  --card-width: 100%;
}
@media (min-width: 768px) {
  .editor-styles-wrapper .block--gallery-slideshow {
    --card-width: calc(100% / max(1, (var(--card-count, 4) - 2))) ;
  }
}
@media (min-width: 992px) {
  .editor-styles-wrapper .block--gallery-slideshow {
    --card-width: calc(100% / (var(--card-count, 4) - 1)) ;
  }
}
@media (min-width: 1200px) {
  .editor-styles-wrapper .block--gallery-slideshow {
    --card-width: calc(100% / var(--card-count, 4));
  }
}
.editor-styles-wrapper .block--gallery-slideshow.--stretch-width {
  width: 100%;
  margin-left: initial;
}
.editor-styles-wrapper .block--gallery-slideshow .gallery-inner > .acf-innerblocks-container, .editor-styles-wrapper .block--gallery-slideshow .gallery-inner .swiper-wrapper > .acf-innerblocks-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.editor-styles-wrapper .block--gallery-slideshow .gallery-inner > .acf-innerblocks-container > .wp-block-wmx-gallery-card, .editor-styles-wrapper .block--gallery-slideshow .gallery-inner .swiper-wrapper > .acf-innerblocks-container > .wp-block-wmx-gallery-card {
  flex: 1 1 var(--card-width, 100%);
  max-width: var(--card-width, 100%);
  min-width: 300px;
  margin-bottom: 1.5rem;
  padding: calc(var(--bs-gutter-x) / 2);
  background-clip: content-box;
}
.editor-styles-wrapper .block--gallery-slideshow .gallery-inner > .block--gallery-card {
  flex: 1 1 var(--card-width, 100%);
  max-width: var(--card-width, 100%);
  margin-bottom: 1.5rem;
}
