.diensten-carousel {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.diensten-carousel.has-overflow {
  max-width: calc(100% + min(20vw, 20rem));
  margin: 0 max(-10vw, -10rem);
}

.carousel-section .carousel-intro {
  width: 100%;
}
.carousel-section .carousel-intro h1,
.carousel-section .carousel-intro p {
  text-align: center;
  margin-bottom: 3rem;
}

.splide__track {
  overflow: hidden;
}
.splide__slide {
  background: white;
  border-radius: 20px;
  width: 330px;
}
.slide-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.slide-content {
  flex: 1 1 auto;
  padding: 30px;
}
.slide-inner img {
  margin-top: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  min-height: 30rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 20px 20px;
  display: block;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}
.carousel-nav img {
  width: 45px;
  height: 45px;
  cursor: pointer;
}
.slide-content h3 {
  padding-top: 0;
  margin-top: 0;
}

section[data-bg="gradient"] {
  background: var(--gradient);
}

section[data-bg="white"] .splide__slide {
  background: linear-gradient(180deg, #fbfcfd 0%, #e9ebf4 100%);
}

.features-block + section[data-bg="white"].carousel-section {
  padding-top: 0;
  margin-top: -1rem;
}

.features-block + section[data-bg="white"].carousel-section > .diensten-carousel {
  padding-top: 0;
}
section.carousel-section {
  margin-bottom: 0;
}

.slide-link {
  height: 100%;
}
