/* Kariman custom styles for Slicebox (from tarbiat2 custom.css, themed) */

.reasons-slicebox-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 480;
}

.reasons-slicebox-wrapper .sb-slider {
  margin: 0 auto;
  max-width: none;
  width: 100%;
  height: 100%;
}

.reasons-slicebox-wrapper .sb-slider img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.reasons-slicebox-wrapper .shadow {
  display: none;
}

.reasons-slicebox-wrapper .nav-dots {
  text-align: center;
  position: absolute;
  bottom: 16px;
  height: 30px;
  width: 100%;
  left: 0;
  display: none;
  z-index: 20;
  padding: 6px 12px;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.28), transparent);
  border-radius: 0 0 28px 28px;
}

.reasons-slicebox-wrapper .nav-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 3px 6px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.reasons-slicebox-wrapper .nav-dots span:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.1);
}

.reasons-slicebox-wrapper .nav-dots span.nav-dot-current {
  background: #10b981;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(16, 185, 129, 0.45);
  transform: scale(1.15);
}

/* fallback: first slide visible before JS */
.reasons-slicebox-wrapper:not(.slicebox-ready) .sb-slider > li:first-child {
  display: block !important;
}
