/* ─── Custom Slider ─── */

.cs-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fff;
}

.cs-container .cs-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
}

.cs-container .cs-slide a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cs-container .cs-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Prev / Next */

.cs-container .cs-prev,
.cs-container .cs-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff !important;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.cs-container .cs-prev:hover,
.cs-container .cs-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.cs-container .cs-prev {
  left: 10px;
}

.cs-container .cs-next {
  right: 10px;
}

/* Dot controls */

.cs-container .cs-controls {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
}

.cs-container .cs-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.cs-container .cs-dot.cs-active {
  background: #fff;
}

.cs-container .cs-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
