.slideshow-wrapper {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.slideshow-text {
  text-align: center;
  margin-bottom: 20px;
}

.slideshow-title {
  font-size: 24pt;
  font-weight: bold;
}

.slideshow-description {
  font-size: 14pt;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
}

/* Slideshow base */
.custom-slideshow {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.custom-slideshow .slides {
  position: relative;
}

.custom-slideshow .slide {
  display: none;
  width: 100%;
}

.custom-slideshow .slide.active {
  display: block;
}

/* Navigation */
.custom-slideshow .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}

.custom-slideshow .prev { left: 10px; }
.custom-slideshow .next { right: 10px; }

/* Dots */
.custom-slideshow .dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.custom-slideshow .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s, background 0.3s;
}

.custom-slideshow .dot.active {
  background-color: rgba(255,255,255,0.9);
  transform: scale(1.2);
}

.custom-slideshow img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Row spacing */
.slideshow-row-gap {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .slideshow-row-gap {
    margin-top: 2rem;
  }
}

