.voor-na-slider {
  margin: 2.5rem auto;
  max-width: 1100px;
}

.voor-na-slider__frame {
  aspect-ratio: 16 / 10;
  background: #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
  overflow: hidden;
  position: relative;
}

.voor-na-slider__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.voor-na-slider__before {
  clip-path: inset(0 50% 0 0);
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
}

.voor-na-slider__before .voor-na-slider__image {
  width: 100%;
}

.voor-na-slider__divider {
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
}

.voor-na-slider__divider span {
  align-items: center;
  background: #0b5d68;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
  aspect-ratio: 1/1;
}

.voor-na-slider__label {
  background: rgba(0, 0, 0, .7);
  border-radius: 999px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  left: 18px;
  letter-spacing: .04em;
  padding: 7px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
}

.voor-na-slider__label--after {
  left: auto;
  right: 18px;
}

.voor-na-slider__range {
  appearance: none;
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.voor-na-slider__range:focus-visible {
  opacity: .01;
  outline: 3px solid #0b5d68;
  outline-offset: -3px;
}

.voor-na-slider__placeholder {
  background: #f5f5f5;
  border: 2px dashed #bbb;
  border-radius: 12px;
  color: #555;
  padding: 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .voor-na-slider__frame { border-radius: 10px; }
  .voor-na-slider__label { left: 10px; top: 10px; }
  .voor-na-slider__label--after { left: auto; right: 10px; }
}
