.dlpa-vennoten {
  background: var(--sec-bg, var(--dlpa-blauw));
  color: var(--sec-fg, var(--dlpa-wit));
}

.dlpa-vennoten__label {
  position: absolute;
  top: clamp(32px, 3.1vw, 58px);
  left: clamp(28px, 5vw, 94px);
  z-index: 2;
  color: var(--sec-fg, var(--dlpa-wit));
  margin: 0;
}

.dlpa-vennoten__media {
  position: relative;
  margin-bottom: clamp(64px, 6vw, 88px);
}

.dlpa-vennoten__picture {
  display: block;
}

.dlpa-vennoten__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1160 / 610;
  object-fit: cover;
  object-position: center 67%;
  border-radius: 5px;
  box-shadow: var(--dlpa-drop);
}

.dlpa-vennoten__photo--has-desktop {
  object-position: center center;
}

.dlpa-vennoten__grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(56px, 6vw, 88px);
  align-items: start;
  max-width: none;
  margin-inline: auto;
}

.dlpa-vennoten__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 340px;
}

/* Stat card */
.dlpa-statcard {
  position: absolute;
  left: clamp(28px, 3.6vw, 68px);
  bottom: clamp(28px, 3.4vw, 64px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--dlpa-wit);
  padding: 17px 20px 20px;
  border-radius: 5px 26px 5px 5px;
  text-align: center;
  width: 152px;
}

.dlpa-statcard__num {
  font-size: clamp(64px, 9vw, 90px);
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--dlpa-paars);
}

.dlpa-statcard__cap {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: var(--dlpa-paars);
}

.dlpa-vennoten__lead {
  font-size: 20px;
  font-weight: var(--dlpa-font-weight-regular);
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--sec-fg, var(--dlpa-wit));
}

.dlpa-hl-paars {
  background: var(--dlpa-paars);
  color: var(--dlpa-wit);
  border-radius: 3px;
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.dlpa-vennoten__body {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.dlpa-vennoten__body p {
  font-size: 13px;
  font-weight: var(--dlpa-font-weight-light);
  line-height: 1.4;
  letter-spacing: -0.13px;
  color: var(--sec-fg, var(--dlpa-wit));
}

.dlpa-vennoten__body strong {
  font-weight: 700;
}

/* Testimonials slot: responsive grid so any number of cards reflows neatly. */
.dlpa-vennoten__quotes {
  display: grid;
  grid-template-columns: repeat(2, 246px);
  gap: 8px;
  align-items: start;
  justify-content: end;
}

.dlpa-vennoten__quotes .dlpa-quote {
  width: 246px;
  height: auto;
  min-height: 360px;
  padding: 28px 30px 32px;
}

.dlpa-vennoten__quotes .dlpa-quote:nth-child(odd) {
  margin-top: 52px;
}

@media (min-width: 981px) {
  .dlpa-vennoten__quotes {
    padding-right: clamp(28px, 4vw, 64px);
  }
}

@media (max-width: 980px) {
  .dlpa-vennoten__grid {
    grid-template-columns: 1fr;
  }

  .dlpa-vennoten__quotes {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: start;
  }

  .dlpa-vennoten__quotes .dlpa-quote {
    width: auto;
  }

  .dlpa-vennoten__quotes .dlpa-quote:nth-child(odd) {
    margin-top: 0;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .dlpa-vennoten__grid {
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr);
    gap: clamp(18px, 3vw, 42px);
  }

  .dlpa-vennoten__col {
    max-width: 300px;
  }

  .dlpa-vennoten__quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-self: end;
    width: 100%;
    max-width: 500px;
  }

  .dlpa-vennoten__quotes .dlpa-quote {
    width: 100%;
    max-width: 246px;
    min-height: clamp(320px, 42vw, 360px);
    padding: clamp(22px, 2.8vw, 28px) clamp(18px, 2.8vw, 30px) clamp(26px, 3vw, 32px);
  }

  .dlpa-vennoten__quotes .dlpa-quote:nth-child(odd) {
    margin-top: clamp(28px, 5vw, 52px);
  }

  .dlpa-vennoten__quotes .dlpa-quote__avatar {
    width: clamp(58px, 7vw, 74px);
    height: clamp(58px, 7vw, 74px);
  }

  .dlpa-vennoten__quotes .dlpa-quote__avatar + .dlpa-quote__avatar {
    margin-left: -6px;
  }
}

@media (max-width: 640px) {
  /* Full-bleed image on phones: break out of the container's side padding and
     use a fixed 555px height instead of the landscape aspect-ratio. */
  .dlpa-vennoten__media {
    margin-inline: calc(-1 * var(--dlpa-gutter));
  }

  .dlpa-vennoten__photo {
    /* Responsive ratio (scales with width) showing the team + enough floor for
       the stat card, cropping the excess floor at the very bottom. */
    aspect-ratio: 5 / 6;
    height: auto;
    object-position: center 100%;
    border-radius: 0;
  }

  .dlpa-statcard {
    width: 124px;
    padding: 14px 16px 16px;
  }

  .dlpa-statcard__num {
    font-size: 58px;
  }

  /* Testimonial cards: single column, wider/shorter (design size 329 x 300). */
  .dlpa-vennoten__quotes {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dlpa-vennoten__quotes .dlpa-quote {
    width: 100%;
    max-width: 329px;
    height: auto;
    min-height: 300px;
    padding: 26px 30px 30px;
  }
}
