/* Lightweight image slider (replaces Smart Slider 3) */
.cs-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #f4f4f4;
  user-select: none;
}
.cs-track {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}
.cs-slide {
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  height: clamp(320px, 70vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cs-nav:hover,
.cs-nav:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}
.cs-prev { left: 15px; }
.cs-next { right: 15px; }
.cs-count {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 544px) {
  .cs-slide { height: 60vh; }
  .cs-nav { width: 36px; height: 36px; }
  .cs-prev { left: 8px; }
  .cs-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-track { transition: none; }
}
