/**
 * Slideshow Frontend Styles
 */

 .wpss-slideshow {
  position: relative;
  margin: 0 auto 30px;
  max-width: 100%;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
}

.slideshow-slide {
  width: 100%;
  position: relative;
}

/* Image slides */
.slideshow-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* Text slides */
.text-slide .text-content {
  padding: 60px 30px;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-slide a {
  text-decoration: none;
  display: block;
}

.text-slide h3 {
  margin-top: 0;
  font-size: 28px;
  margin-bottom: 15px;
}

.text-slide .description {
  font-size: 16px;
  line-height: 1.6;
}

/* Caption for image slides */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 15px 20px 35px 20px;
}

.slide-caption h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.slide-caption .description {
  text-align: center;
  font-size: 18px;
  margin: 0;
}

/* Navigation buttons */
.slideshow-prev,
.slideshow-next {
  position: absolute;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
  padding: 0;
  z-index: 10;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.slideshow-prev {
  right: 10px;
}

.slideshow-next {
  left: 10px;
}

.slideshow-prev:hover,
.slideshow-next:hover {
  opacity: 1;
}

/* Dots navigation */
.slideshow-dots {
  text-align: center;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.slideshow-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  border: none;
  transition: background-color 0.3s ease;
}

.slideshow-dot.active,
.slideshow-dot:hover {
  background: #fff;
}

.wpss-slideshow .hidden {
  display: none;
}

.text-inner {
  display: flex;
  flex-direction: column;
}

.text-inner .description {
  color: unset;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-slide .text-content {
      padding: 40px 20px;
      min-height: 200px;
  }
  
  .text-slide h3 {
      font-size: 22px;
      margin-bottom: 10px;
  }
  
  .slideshow-prev,
  .slideshow-next {
      width: 30px;
      height: 30px;
      font-size: 18px;
      line-height: 28px;
  }
}

@media (max-width: 480px) {
  .text-slide .text-content {
      padding: 30px 15px;
      min-height: 180px;
  }
  
  .text-slide h3 {
      font-size: 18px;
  }
  
  .text-slide .description {
      font-size: 14px;
  }
  
  .slide-caption {
      position: relative;
      background: #333;
  }
}