/* ===== FAST FACTS SLIDER ===== */
.faulkner-rows-slider {
  padding: 40px 0 80px 0;
  overflow: hidden;
  position: relative;
}

.faulkner-rows-slider h2 {
  color: var(--Primary-Blue);
  font-family: var(--minion);
  font-size: var(--bigFontMax);
  text-align: center;
  margin-bottom: 40px;
}

.rows-slider-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  overflow: hidden;
}

.rows-slider-track {
  display: flex;
  transition: transform 0.3s ease;
  /* min-height: 400px; */
  align-items: center;
}

.rows-slider-item {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rows-slider-item .et_pb_row {
  width: 100%;
}
.rows-slider-nav {
  position: relative;
  text-align: center;
  margin-top: 80px;
  height: 50px;
}

.rows-slider-prev,
.rows-slider-next {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 0px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.rows-slider-prev {
  left: calc(50% - 60px);
  background-image: url('../img/arrow-left.svg');
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.rows-slider-next {
  left: calc(50% + 20px);
  background-image: url('../img/arrow-right.svg');
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.rows-slider-prev:hover,
.rows-slider-next:hover {
  opacity: 0.8;
}

.rows-slider-prev:disabled,
.rows-slider-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 981px) {
  .rows-slider-item {
    flex: 0 0 50%;
  }

  /* .rows-slider-prev,
  .rows-slider-next {
    left: calc(50% - 25px);
  } */

  .rows-slider-next {
    left: calc(50% + 5px);
  }
}

@media (max-width: 768px) {
  .rows-slider-item {
    flex: 0 0 100%;
  }

  /* .rows-slider-prev,
  .rows-slider-next {
    left: calc(50% - 25px);
  } */

  .rows-slider-next {
    left: calc(50% + 5px);
  }

  .faulkner-rows-slider h2 {
    margin-bottom: 0;
  }

  .rows-slider-nav {
    margin-top: 20px;
  }
}
