/* Carosello */
.mySwiper {
  width: 100%;
  padding-bottom: 80px !important; /* spazio per i controlli sotto */
  position: relative;
}

.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  height: 600px; /* imposta altezza fissa */
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ritaglia mantenendo proporzioni */
  display: block;
}

/* Frecce e dotnav in basso */
.mySwiper .swiper-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px; /* distanza tra frecce e pallini */
}

/* Frecce */
.mySwiper .swiper-button-prev,
.mySwiper .swiper-button-next {
  position: static;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.mySwiper .swiper-button-prev:hover,
.mySwiper .swiper-button-next:hover {
  color: #fff;
}

.mySwiper .swiper-button-prev svg,
.mySwiper .swiper-button-next svg {
  width: 20px;
  height: 20px;
  fill: none !important;
}

/* Dotnav */
.mySwiper .swiper-pagination {
  position: static; /* disattiva posizionamento Swiper */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mySwiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}

.mySwiper .swiper-pagination-bullet-active {
  background: var(--dark-color);
}


/* SLIDER PARTNER PAGINA ABOUT */
.marquee-gallery {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.marquee-swiper-1, .marquee-swiper-2, .marquee-swiper-3  {
  width: 100%;
  overflow: visible;
  pointer-events: none;
}

.marquee-swiper-wrapper {
  display: flex;
  transition-timing-function: linear !important;
  pointer-events: none;
}

.marquee-swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  pointer-events: none;
}

.marquee-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 20px;
  background-color: var(--white-color);
  pointer-events: none;
}

.marquee-logo-container img {
  max-width: 200px;
  min-width: 150px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

@media screen and (min-width: 52em) {
  .marquee-logo-container img {
    max-width: 200px;
    min-width: 200px;
    height: 100px;
  }

  .marquee-logo-container {
    padding: 40px;
  }
}