.swiper-container {
	overflow: visible !important;
    cursor: grab;
}

.hervin-child-swiper {
    position: relative;
    width: 100vw;
    max-width: none;
    overflow: visible;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
  }

  .hervin-child-swiper.is-dragging {
    cursor: grabbing;
  }

  .hervin-child-swiper .swiper-slide {
    text-align: left;
    font-size: 18px;
    background: transparent;
    display: block;
    height: 100%;
    width: auto;
    padding-right: 10vw;
    overflow: visible !important;
  }
	.hervin-child-swiper .swiper-slide:last-child {
		padding-right: 0px;
	}

  .hervin-child-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    transform: matrix(1, 0, 0, 1, 0, 0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .hervin-child-swiper.is-pressing .swiper-slide img {
    transform: matrix(0.9, 0, 0, 0.9, 0, 0);
  }

  .hervin-child-swiper .swiper-pagination,
  .hervin-child-swiper .swiper-button-prev,
  .hervin-child-swiper .swiper-button-next {
    display: none !important;
  }

  /* wrapper per spostarlo a destra dentro il contenuto */
  .wp-block-hervin-child-swiper-slider,
  .hervin-swiper-offset-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .wp-block-hervin-child-swiper-slider .hervin-child-swiper {
    margin-left: 8vw;
  }

  @media (min-width: 1024px) {
    .wp-block-hervin-child-swiper-slider .hervin-child-swiper {
      margin-left: 10vw;
    }
  }

  @media (min-width: 1440px) {
    .wp-block-hervin-child-swiper-slider .hervin-child-swiper {
      margin-left: 12vw;
    }
  }

/* ─── #ball swiper-drag state ────────────────────────────────────────────────
   Scale 2.5 → visual radius 37.5 px.  Icons sit ~18 px outside the visual
   circle edge.  They enter with a fade + slide from further outside inward.
   ─────────────────────────────────────────────────────────────────────────── */

/* Entrance: left chevron slides in from further left */
@keyframes swiper-chevron-left-in {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Entrance: right chevron slides in from further right */
@keyframes swiper-chevron-right-in {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(5px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

#ball.swiper-drag {
  overflow: visible;
}

#ball.swiper-drag i.swiper-drag-prev,
#ball.swiper-drag i.swiper-drag-next {
  position: absolute !important;
  top: 50% !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 7px !important;
  color: #000;
  text-align: center;
  animation-duration: 0.35s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

#ball.swiper-drag i.swiper-drag-prev {
  left: -15px !important;
  animation-name: swiper-chevron-left-in;
}

#ball.swiper-drag i.swiper-drag-next {
  right: -15px !important;
  left: auto !important;
  animation-name: swiper-chevron-right-in;
}

.light-content #ball.swiper-drag i.swiper-drag-prev,
.light-content #ball.swiper-drag i.swiper-drag-next {
  color: #fff;
}
