/* avemco-rotator v1 2026-11-10
   The in-flow .avemco-sizer image keeps the existing .nav-logo-sponsor
   footprint (60/80/100px tall, max-width on small screens). The visible
   slides are stacked on top at the same size. */

.avemco-rotator-link {
  display: block;
  line-height: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.avemco-rotator {
  position: relative;
  display: block;
  line-height: 0;
  min-width: 0;
}

.avemco-rotator img.avemco-sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.avemco-rotator img.avemco-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  pointer-events: none;
}

.avemco-rotator img.avemco-slide.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .avemco-rotator img.avemco-slide {
    transition: none;
  }
}
