/* Слайдер */
.slider-section {
  overflow-x: auto;
  padding: 10px 0;
}

.slider {
  display: flex;
  gap: 20px;
  padding-left: 20px;
}

.slide {
  min-width: 22%;
  height: 200px;
  background-color: #fff;
  border-radius: 8px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slide img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.slider-container.no-buttons {
  overflow: hidden;
  position: relative;
  padding: 20px 60px;
}

.infinite-slider {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.slide {
  min-width: 22%;
  height: 360px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.slide p {
    font-size: 32px;

}

.slide img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}


/* Адаптивность */
@media (max-width: 768px) {

  .slide {
    min-width: 80%;
  }
}


