/* Lightweight responsive slider styles */
.ss-root {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ss-viewport {
  position: relative;
  width: 100%;
  height: auto; /* updated via JS for smooth transitions */
}

.ss-slide img {
  display: block;
  width: 100%;
  height: auto; /* keep aspect ratio */
}

/* Caption overlay */
.ss-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  box-sizing: border-box;
}
.ss-caption h3 { margin: 0 0 6px; font-size: 1.5rem; line-height: 1.2; }
.ss-caption p { margin: 0; font-size: 1rem; line-height: 1.5; opacity: 0.95; }

/* Arrows */
.ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
}
.ss-arrow:hover { background: rgba(0,0,0,0.6); }
.ss-prev { left: 10px; }
.ss-next { right: 10px; }

/* Dots */
.ss-dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.ss-dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ss-dot.is-active { background: #fff; }

/* Utility for positioning caption parent */
.ss-slide { position: absolute; }
.ss-slide .ss-caption { pointer-events: none; }

/* Basic responsive typography scale */
@media (min-width: 640px) {
  .ss-caption h3 { font-size: 1.8rem; }
  .ss-caption p { font-size: 1.05rem; }
}
@media (min-width: 960px) {
  .ss-caption h3 { font-size: 2rem; }
  .ss-caption p { font-size: 1.1rem; }
}


