.fctel-home-carousel {
  position: relative;
  overflow: hidden;
  background: #063a79;
}

.fctel-home-carousel__viewport {
  position: relative;
  aspect-ratio: 3 / 1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.fctel-home-carousel.is-dragging .fctel-home-carousel__viewport {
  cursor: grabbing;
}

.fctel-home-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.fctel-home-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.fctel-home-carousel__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.fctel-home-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.fctel-home-carousel__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 60px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 35, 78, .48);
  font: 400 42px/1 Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease, background .2s ease;
}

.fctel-home-carousel:hover .fctel-home-carousel__arrow,
.fctel-home-carousel:focus-within .fctel-home-carousel__arrow {
  opacity: 1;
}

.fctel-home-carousel__arrow:hover,
.fctel-home-carousel__arrow:focus-visible {
  background: rgba(0, 35, 78, .82);
}

.fctel-home-carousel__arrow--prev { left: 18px; }
.fctel-home-carousel__arrow--next { right: 18px; }

.fctel-home-carousel__dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.fctel-home-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0, 35, 78, .5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  cursor: pointer;
}

.fctel-home-carousel__dot.is-active {
  background: #d71920;
}

@media (max-width: 767px) {
  .fctel-home-carousel__arrow {
    width: 34px;
    height: 48px;
    font-size: 34px;
    opacity: .82;
  }
  .fctel-home-carousel__arrow--prev { left: 6px; }
  .fctel-home-carousel__arrow--next { right: 6px; }
  .fctel-home-carousel__dots { bottom: 7px; gap: 7px; }
  .fctel-home-carousel__dot { width: 8px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fctel-home-carousel__slide { transition: none; }
}
