/* SWIPER LOGHI */
.swiper-loghi-widget {
  width: 100%;
  overflow: visible;
}

.swiper-loghi-widget .swiper {
  overflow: hidden;
}

.swiper-loghi-widget .swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-loghi-widget .swiper-slide {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CARD */
.swiper-loghi-widget .logo-card {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.swiper-loghi-widget .logo-card img {
 /* max-width: 160px;*/
 /* max-height: 68px;*/
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* CONTROLS */
.swiper-loghi-widget .swiper-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 30px;
}

.swiper-loghi-widget .swiper-scrollbar {
  flex: 1;
  height: 4px;
  background: var(--lightgrey);
  border-radius: 50px;
  position: relative;
  left: 0;
}

.swiper-loghi-widget .swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--black);
  border-radius: 0;
  height: 4px;
}

.swiper-loghi-widget .swiper-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

.swiper-loghi-widget .swiper-button-prev,
.swiper-loghi-widget .swiper-button-next {
  width: 42px;
  height: 56px;
  cursor: pointer;
  color: var(--black);
  transition: color 0.3s ease;
  position: static;
  margin: 0;
}

.swiper-loghi-widget .swiper-button-prev:hover,
.swiper-loghi-widget .swiper-button-next:hover {
  color: var(--black);
}

.swiper-loghi-widget .swiper-button-prev::after,
.swiper-loghi-widget .swiper-button-next::after {
  display: none;
}

.swiper-loghi-widget .swiper-button-prev.swiper-button-disabled,
.swiper-loghi-widget .swiper-button-next.swiper-button-disabled {
  opacity: 0.2 !important;
}

/* PROGRESS BAR (mobile only) */
.swiper-loghi-widget .swiper-mobile-progress {
  display: none;
  flex: 1;
  height: 4px;
  background: var(--lightgrey);
  border-radius: 50px;
  overflow: hidden;
}

.swiper-loghi-widget .swiper-mobile-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--black);
  border-radius: 50px;
  will-change: width;
  transition: width 0.1s ease-out;
}

/* MOBILE */
@media only screen and (max-width: 768px) {
  .swiper-loghi-widget .swiper {
    overflow: hidden;
  }

  .swiper-loghi-widget .swiper-slide {
    flex-basis: calc((100% - 24px) / 2.5);
  }

  .swiper-loghi-widget .logo-card {
    height: 90px;
    padding: 0;

  }

  .swiper-loghi-widget .logo-card img {
   /* max-width: 120px;*/
    /* max-height: 48px;*/
  }

  .swiper-loghi-widget .swiper-controls {
    display: flex;
    gap: 15px;
  }

  .swiper-loghi-widget .swiper-scrollbar {
    display: block;
  }

  .swiper-loghi-widget .swiper-nav {
    display: flex;
    gap: 14px;
  }

  .swiper-loghi-widget .swiper-button-prev,
  .swiper-loghi-widget .swiper-button-next {
    width: 34px;
    height: 34px;
  }

  .swiper-loghi-widget .swiper-button-prev svg,
  .swiper-loghi-widget .swiper-button-next svg {
    width: 34px;
    height: 34px;
  }
}
