/* Center slider CSS - minimal and responsive */
/* No non-ASCII characters or Persian text inside this file. */

.cis-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.cis-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.cis-slider {
  position: relative;
  width: 72%;
  max-width: 1000px;
  background: rgba(0,0,0,0.0);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  outline: none;
}

.cis-track {
  overflow: hidden;
  width: 100%;
}

.cis-track > .cis-slide {
  box-sizing: border-box;
  text-align: center;
  position: relative;
  padding: 8px;
}

.cis-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.cis-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 90%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
}

.cis-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 5;
  font-size: 18px;
  border-radius: 4px;
}

.cis-prev { left: 10px; }
.cis-next { right: 10px; }

.cis-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.cis-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}

.cis-dots button.active {
  background: rgba(255,255,255,1);
}

/* Make slider full-width on small screens */
@media (max-width: 640px) {
  .cis-slider { width: 94%; }
  .cis-caption { font-size: 13px; }
}
