/* Animare responsive act carousel v3 */
.animare-act-gallery-view {
  position: relative;
  --gallery-gap: 4px;
  --gallery-height: 320px;
  width: min(94%, 1480px);
  margin-inline: auto;
  overflow: hidden;
}

.animare-act-gallery-track {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  padding: 0;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.animare-act-gallery-track.is-contained {
  width: max-content;
  max-width: 100%;
  overflow-x: hidden;
}

.animare-act-gallery-track::-webkit-scrollbar {
  display: none;
}

.animare-act-gallery-track > .views-row {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
}

.animare-act-gallery-view .views-field-field-slider,
.animare-act-gallery-view .field-content,
.animare-act-gallery-view article,
.animare-act-gallery-view .field--name-field-media-image,
.animare-act-gallery-view .field__item,
.animare-act-gallery-view .glightbox {
  display: block;
  height: var(--gallery-height);
  margin: 0 !important;
  padding: 0 !important;
}

.animare-act-gallery-view img {
  display: block;
  width: auto !important;
  max-width: none !important;
  height: var(--gallery-height) !important;
  margin: 0 !important;
  object-fit: contain;
}

.animare-act-gallery-view .act-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 38px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.animare-act-gallery-view .act-gallery-nav--prev { left: 0; }
.animare-act-gallery-view .act-gallery-nav--next { right: 0; }

.animare-act-gallery-view .act-gallery-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (min-width: 600px) {
  .animare-act-gallery-view { --gallery-height: 380px; }
}

@media (min-width: 900px) {
  .animare-act-gallery-view { --gallery-height: 440px; }
}

@media (min-width: 1200px) {
  .animare-act-gallery-view { --gallery-height: 460px; }
}

@media (max-width: 599.98px) {
  .animare-act-gallery-view {
    width: 96%;
    --gallery-gap: 3px;
  }

  .animare-act-gallery-view .act-gallery-nav {
    width: 30px;
    height: 46px;
    font-size: 25px;
  }
}
