/* Frontend styles for the slider block */
.bootstrap-slider {
  margin-bottom: 30px;
}

.bootstrap-slider .carousel-item {
  height: 400px;
  background-size: cover;
  background-position: center;
}

.bootstrap-slider .carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
  margin: 0 auto;
}

.bootstrap-slider .carousel-caption h5 {
  font-size: 24px;
  margin-bottom: 10px;
}

.bootstrap-slider .carousel-caption p {
  margin-bottom: 15px;
}

.bootstrap-slider .carousel-caption .btn {
  display: inline-block;
}

/* Новые стили для мультислайдера */
.bootstrap-multi-slider {
  margin-bottom: 30px;
  position: relative;
}

.bootstrap-multi-slider .multi-slider-container {
  position: relative;
  overflow: hidden;
}

.bootstrap-multi-slider .multi-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.bootstrap-multi-slider .multi-slide-item {
  flex: 0 0 auto;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0 10px;
  box-sizing: border-box;
}

.bootstrap-multi-slider .multi-slide-caption {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  color: white;
}

.bootstrap-multi-slider .multi-slide-caption h5 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;
}

.bootstrap-multi-slider .multi-slide-caption p {
  font-size: 14px;
  margin-bottom: 10px;
}

.bootstrap-multi-slider .multi-slide-caption .btn {
  font-size: 14px;
  padding: 5px 10px;
}

.bootstrap-multi-slider .multi-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.bootstrap-multi-slider .multi-slider-control:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.bootstrap-multi-slider .multi-slider-prev {
  left: 10px;
}

.bootstrap-multi-slider .multi-slider-next {
  right: 10px;
}

/* Адаптивные стили */
@media (max-width: 991px) {
  .bootstrap-multi-slider .multi-slide-item {
    height: 250px;
  }
  
  .bootstrap-multi-slider .multi-slide-caption h5 {
    font-size: 16px;
  }
  
  .bootstrap-multi-slider .multi-slide-caption p {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .bootstrap-multi-slider .multi-slide-item {
    height: 200px;
  }
  
  .bootstrap-multi-slider .multi-slide-caption {
    padding: 10px;
  }
  
  .bootstrap-multi-slider .multi-slide-caption h5 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .bootstrap-multi-slider .multi-slide-caption p {
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  .bootstrap-multi-slider .multi-slider-control {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
} 