/* ── SlideForge Frontend Slider ── */

.sf-slider-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

/* BeTheme full-width breakout: escape the content column */
.sf-fullwidth {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* BeTheme wraps content in #Content with padding — reset it for the slider row */
.sf-fullwidth .sf-shell {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Shell: sized by JS to exact scaled height, clips overflow */
.sf-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height set by JS */
}

/* Canvas: always 1240×600, scaled down by JS transform */
.sf-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 1240px;
  height: 600px;
  transform-origin: top left;
}

/* Slides */
.sf-fe-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.sf-fe-slide.sf-active { opacity: 1; z-index: 2; }

/* Navigation arrows */
.sf-nav-prev, .sf-nav-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.35);
  color: #fff; border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.sf-nav-prev { left: 12px; }
.sf-nav-next { right: 12px; }
.sf-nav-prev:hover, .sf-nav-next:hover { background: rgba(0,0,0,0.6); }

/* Dots */
.sf-dots-wrap {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
}
.sf-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; padding: 0;
}
.sf-dot.sf-on { background: #fff; }

/* Progress bar */
.sf-progress-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0%;
  background: #7c5cfc; z-index: 20;
}

/* ── Responsive adjustments ── */
@media (max-width: 778px) {
  .sf-nav-prev, .sf-nav-next {
    width: 32px; height: 32px;
    font-size: 22px;
  }
  .sf-nav-prev { left: 6px; }
  .sf-nav-next { right: 6px; }
  .sf-dots-wrap { bottom: 8px; gap: 6px; }
  .sf-dot { width: 8px; height: 8px; }
}

@media (max-width: 480px) {
  .sf-nav-prev, .sf-nav-next { display: none; }
}

/* ── Per-slider font overrides ── */
/* internet3 slide 1 title: cap size so it stays 2 lines */
.sf-slider-wrap .sf-fe-layer .sf-fe-title-clamp {
  font-size: clamp(22px, 2.5vw, 36px) !important;
  line-height: 1.2 !important;
}
