/* ================= SLIDER BASE ================= */

.containerSlider {
  position: relative;
  width: 100%;
  height: 250px;
  max-width: 56rem;
  min-height: 450px;
  overflow: hidden;
}

.containerSlider img {
  max-height: none;
}

/* Slides */

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Slide activo */

.slide.showMe {
  position: relative;
  opacity: 1;
  z-index: 1;
}

/* ================= FLECHAS ================= */

.arrowLeft, .arrowRight {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  cursor: pointer;
  opacity: 0.8;
  z-index: 10;
}

.arrowLeft {
  left: 10px;
}

.arrowRight {
  right: 10px;
}

.arrowLeft:hover, .arrowRight:hover {
  opacity: 1;
}

/* ================= DOTS ================= */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  width: 25px;
  background-color: #f9a643;
}

/* ================= MINIATURAS ================= */

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.thumb.active {
  opacity: 1;
  border: 2px solid #f9a643;
  transform: scale(1.1);
}

/* ================= MÓVIL ================= */

@media (max-width: 767px) {
  .containerSlider {
    min-height: 650px;
  }
}

@media (max-width: 767px) {
  .containerSlider img {
    max-height: 250px;
  }
}

.company-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

