/* Alliances Ecosystem Eco Carousel (namespaced: aeec-) */
.aeec-carousel{
  --aeec-logo-height: 400px;
  --aeec-slide-padding-x: 1px;
  --aeec-fade: 120px;
  --aeec-gap: 1px;
  --aeec-speed-px: 40;
  --aeec-bg: #fff;
  --aeec-item-width: 1375px;



  position: relative;
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
  background: var(--aeec-bg);
}

.aeec-carousel::before,
.aeec-carousel::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: var(--aeec-fade);
  pointer-events:none;
  z-index: 3;
}
.aeec-carousel::before{
  left:0;
  background: linear-gradient(to right, var(--aeec-bg), rgba(255,255,255,0));
}
.aeec-carousel::after{
  right:0;
  background: linear-gradient(to left, var(--aeec-bg), rgba(255,255,255,0));
}

.aeec-carousel__viewport{
  width: 100%;
  overflow: hidden;
}

.aeec-carousel__track{
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--aeec-gap);
  will-change: transform;
  transform: translate3d(0,0,0);
}

.aeec-carousel__item{
  flex: 0 0 auto;
  padding: 0 var(--aeec-slide-padding-x);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aeec-carousel__card{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--aeec-logo-height) + 18px);
  width: var(--aeec-item-width);
  max-width: var(--aeec-item-width);
}

.aeec-carousel__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  outline: none;
  border-radius: 10px;
  text-decoration: none;
}

.aeec-carousel__link:focus-visible{
  box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

.aeec-carousel__img{
  height: var(--aeec-logo-height);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: translateZ(0);
}

/* opzionale: pausa on hover (se NON la vuoi, elimina questo blocco) */

.aeec-carousel:hover .aeec-carousel__track{
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce){
  /* se vuoi, puoi anche fermare del tutto con JS (ma qui almeno non “forziamo” hover) */
}