.rota-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 1.5rem;
}

.rota-carousel__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.rota-carousel__track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms ease;
  will-change: transform;
}

.rota-carousel__slide {
  flex: 0 0 13%;
  min-width: 0;
  padding: .5rem;
  box-sizing: border-box;
}

.rota-carousel__slide a {
  display: grid;
  min-height: 100px;
  place-items: center;
  padding: .5rem;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 1px 8px rgb(0 0 0 / 10%);
}

.rota-carousel__slide img {
  display: block;
  width: 115px;
  height: 115px;
  max-width: 100%;
  object-fit: contain;
}

.rota-carousel__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #1a4385;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.rota-carousel__button:hover,
.rota-carousel__button:focus-visible {
  background: #123363;
}

.rota-carousel__button:disabled {
  opacity: 1;
}

.rota-carousel__button--prev {
  left: 0;
}

.rota-carousel__button--next {
  right: 0;
}

.rota-carousel__dots {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: .5rem;
}

.rota-carousel__dots button {
  width: .55rem;
  height: .55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7c1cf;
  cursor: pointer;
}

.rota-carousel__dots button[aria-current="true"] {
  background: #1a4385;
  transform: scale(1.15);
}

@media (max-width: 767px) {

  .rota-carousel {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .rota-carousel__slide {
    flex-basis: 100%;
    padding: .5rem;
  }

}

@media (min-width: 768px) and (max-width: 991px) {

  .rota-carousel__slide {
    flex-basis: 50%;
  }

}

@media (prefers-reduced-motion: reduce) {

  .rota-carousel__track {
    transition: none;
  }

}