
 .rw-testimonials {
  --rw-gap: 50px;
  --rw-card-w: 600px;
  --rw-radius: 14px;
  --rw-control-bg: #f3f3f3;
  --rw-control-bg-hover: #eaeaea;
  --rw-control-size: 52px;
  --rw-pill-h: 52px;
  --rw-pill-px: 18px;
  --rw-dot: 8px;
  --rw-dot-gap: 10px;
  --rw-dot-opacity: .18;
  --rw-dot-active: 1;
}

.rw-testimonials {
  width: 100%;
  box-sizing: border-box;
}

.rw-swiper { position: relative; }
.rw-swiper .swiper { overflow: visible; }
.rw-swiper .swiper-wrapper { align-items: flex-start; }
.rw-swiper .swiper-slide {
  width: var(--rw-card-w);
  height: auto;
  margin-right: 0;
}

.rw-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rw-card img,
.rw-card .rw-img-placeholder {
  width: 100%;
  object-fit: cover;
  border-radius: var(--rw-radius);
  display: block;
}

.rw-card .rw-img-placeholder {
  background: #f0ede8;
}

.rw-card h4 {
  margin: 14px 0 6px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
  color: white;
}

.rw-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: white;
}

.rw-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.rw-btn-prev,
.rw-btn-next {
  width: var(--rw-control-size);
  height: var(--rw-control-size);
  border-radius: 999px;
  border: none;
  background: var(--rw-control-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
  flex-shrink: 0;
}

.rw-btn-prev:hover,
.rw-btn-next:hover {
  background: var(--rw-control-bg-hover);
}

.rw-btn-prev svg,
.rw-btn-next svg {
  width: 20px;
  height: 20px;
  display: block;
}

.rw-btn-prev.swiper-button-disabled,
.rw-btn-next.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.rw-dots-wrap {
  display: flex;
  align-items: center;
  gap: var(--rw-dot-gap);
  background: var(--rw-control-bg);
  border-radius: 999px;
  min-height: var(--rw-pill-h);
  padding: 0 var(--rw-pill-px);
  width: auto !important;
  position: static !important;
  bottom: auto !important;
  left: auto !important;
}

.rw-dot {
  width: var(--rw-dot);
  height: var(--rw-dot);
  border-radius: 999px;
  background: #111;
  opacity: var(--rw-dot-opacity);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity .15s ease;
}

.rw-dot.is-active {
  opacity: var(--rw-dot-active);
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  .rw-testimonials {
    --rw-card-w: calc(100vw - 40px); /* Volledig schermbreed, 20px marge per kant */
    --rw-gap: 16px;                  /* Kleinere ruimte tussen slides */
  }

  .rw-card h4 {
    font-size: 20px;
  }

  .rw-card p {
    font-size: 15px;
  }

  /* Verberg pijlknoppen, toon alleen dots */
  .rw-btn-prev,
  .rw-btn-next {
    display: none;
  }

  /* Dots gecentreerd zonder de knoppen */
  .rw-controls-wrap {
    justify-content: center;
  }
}
.rwlp .rw-testimonials .swiper-slide {max-width:100%;box-sizing:border-box}

.rwlp .rw-testimonials .rw-card {
  box-sizing: border-box;
  padding: 40px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(255 255 255 / 5.5%), rgb(255 255 255 / 2%));
  box-shadow: 0 14px 45px rgb(0 0 0 / 18%);
}
@media (max-width: 767px) {
  .rwlp .rw-testimonials .rw-card { padding: 24px; }
}

.rwlp > .rwlp-project-section {
  padding-block: 150px;
}
@media (max-width: 767px) {
  .rwlp > .rwlp-project-section {
    --rw-shape-top-height: 60px !important;
    --rw-shape-top-offset: 0px !important;
    --rw-shape-bottom-height: 0px !important;
    --rw-shape-bottom-offset: -1px !important;
  }
}

/* Keep the top divider's negative offset inside the carousel section. */
.rwlp > .rwlp-project-section {
  clip-path: inset(0 0 -100px);
}
