.slideshow-container {
  position: relative;
  max-width: 760px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Обёртка слайдов */
.slides-wrapper {
  display: flex;
  transition: transform 1.5s ease-in-out; /* плавный переход */
  width: calc(760px * 4); /* ширина = ширина слайда * количество слайдов */
}

/* Каждый слайд */
.slide {
  width: 760px; /* фиксируем ширину слайда */
  height: 400px;
  flex-shrink: 0; /* чтобы слайд не сжимался */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%; /* круг */
  user-select: none;
  z-index: 10;
  transition: background 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  padding: 10px 0;
  background: transparent;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
}

.active-dot {
  background-color: #717171;
}