.testimonials-section p {
  margin: 0 !important;
}
.testimonials-section {
  width: 100%;
  min-width: 100%;
  position: relative;
}

.nav-left,
.nav-right {
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: background 0.3s ease-in-out;
  top: 0;
  bottom: 0;
  max-width: fit-content;
  z-index: 999;
  width: 64px;
}

.nav-right,
.nav-left {
  top: 100%;
}

.nav-right {
  right: calc(50% - 100px);
}
.nav-left {
  left: calc(50% - 100px);
}

.nav-left:has(.swiper-button-disabled) {
  background: transparent;
}
.nav-right:has(.swiper-button-disabled) {
  background: transparent;
}

.nav-button {
  cursor: pointer;
}

.nav-button.swiper-button-disabled {
  filter: grayscale(1);
  cursor: not-allowed;
}

.rotate-180 {
  transform: rotate(180deg);
}

.swiper-testimonials--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.gallery-navigation-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-item {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  font-size: var(--wp--preset--font-size--large);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-slide:nth-child(odd) .slide-item {
  background-image: url("../images/testimonials-one.svg");
}

.swiper-slide:nth-child(even) .slide-item {
  background-image: url("../images/testimonials-two.svg");
}

.slide-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-size: var(--wp--preset--font-size--large);
  font-weight: bold;
}

.slide-author img {
  width: 67px;
  height: 56px;
  object-fit: cover;
  object-position: center;
}

.testimonials__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  pointer-events: none;
  max-width: 100%;
}

@media (min-width: 991px) {
  .slide-item {
    padding: 70px 96px;
  }
  .swiper-testimonials {
    display: flex !important;
  }
  .swiper-testimonials--mobile {
    display: none;
  }
  .gallery-navigation-container {
    width: 300px;
  }
}

@media (max-width: 1999px) {
  .nav-right,
  .nav-left {
    top: calc(100% - 40px);
    height: fit-content;
  }
  .testimonials-section {
    padding-bottom: 60px;
  }
}
@media (min-width: 1700px) {
  .nav-right {
    top: 50%;
    transform: translateY(-50%);
    right: unset;
    left: calc(100% + 40px);
  }
  .nav-left {
    top: 50%;
    transform: translateY(-50%);
    left: unset;
    right: calc(100% + 40px);
  }
}