/* ---- Slideshow ---- */
.slideshow-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-bottom: 0.5rem;
}
.mySlides {
  display: none;
  width: 100%;
}
.mySlides.active {
  display: block;
}
.mySlides img,
.mySlides video {
  width: 100%;
  height: auto;
  display: block;
}
.slideshow-banner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  background: #f5f5f5;
}
.banner-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #aaa;
  margin: 0;
  transition: color 0.2s;
}
.banner-title.active {
  color: #222;
  font-weight: 600;
}
.dot-container {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
  background: #f5f5f5;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.dot.active { background: #76b900; }

/* ---- Side-by-side image comparisons ---- */
.side-by-side-comparisons {
  display: flex;
  gap: 12px;
  margin: 1rem 0;
}
.comparison-column {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.comparison-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ---- Before/after image slider ---- */
.image-sliders-wrapper {
  display: flex;
  gap: 8px;
  margin: 1rem 0;
}
.image-container {
  flex: 1;
  min-width: 0;
}
.image-slider-container {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: 6px;
  user-select: none;
}
.image-slider-image {
  width: 100%;
  height: auto;
  display: block;
}
.image-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.image-slider-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #fff;
  cursor: ew-resize;
  box-shadow: 0 0 4px rgba(0,0,0,0.35);
}
.image-slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}
.image-slider-label {
  position: absolute;
  padding: 3px 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  pointer-events: none;
  transition: opacity 0.2s;
}
.before-label { top: 10px; left: 10px; }
.after-label  { top: 10px; right: 10px; }
.hide-left  .before-label { opacity: 0; }
.hide-right .after-label  { opacity: 0; }

/* ---- Alignment helpers ---- */
.align-left   { display: block; max-width: 100%; }
.align-bottom { display: block; max-width: 100%; margin-top: auto; }
