/* Embla Carousel base + theme nav (replaces Owl Carousel) */
.embla {
  position: relative;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.embla--multi .embla__slide {
  flex: 0 0 25%;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  .embla--multi .embla__slide {
    flex: 0 0 25%;
  }
}

@media (max-width: 959px) {
  .embla--multi .embla__slide {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 767px) {
  .embla--multi .embla__slide {
    flex: 0 0 50%;
  }
}

.embla__button {
  appearance: none;
  border: 0;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.embla__button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Header slider nav — matches previous Owl styles */
.header-area:hover .header-slider .embla__button {
  opacity: 1;
}

.header-area .header-slider .embla__button {
  position: absolute;
  left: -30px;
  top: 50%;
  height: 60px;
  width: 60px;
  font-size: 16px;
  color: #fff;
  background-color: #d02027;
  border-radius: 50%;
  line-height: 60px;
  text-align: center;
  transform: translateY(-50%);
  transition: all 0.3s ease-in;
  opacity: 0;
}

.header-area .header-slider .embla__button--next {
  left: auto;
  right: -30px;
}

@media (max-width: 959px) {
  .header-area .header-slider .embla__button {
    display: none;
  }
}

/* About-page testimonial nav (legacy selector support) */
.about-page-testimonial .embla__button {
  position: absolute;
  left: 0;
  top: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  line-height: 60px;
  text-align: center;
  color: #fff;
  background: transparent;
  transform: translateY(-50%);
  transition: all 0.3s ease-in;
}

.about-page-testimonial .embla__button:hover {
  background-color: #d02027;
  border-color: #d02027;
}

.about-page-testimonial .embla__button--next {
  left: auto;
  right: 0;
}

@media (max-width: 959px) {
  .about-page-testimonial .embla__button {
    display: none;
  }
}
