/* Standard practice portrait for team members added without their own photo. */
.team-card .portrait:has(> img[src$="/teamportret.webp"]) {
  background: var(--lavender);
}
.team-card .portrait > img[src$="/teamportret.webp"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.team-card .portrait:is(:not(:has(img[src]:not([src=""]))), :has(img[src$="/vrouw-silhouet.svg"])) {
  background: var(--lavender) url("assets/teamportret.webp") center / contain no-repeat;
}
.team-card .portrait:is(:not(:has(img[src]:not([src=""]))), :has(img[src$="/vrouw-silhouet.svg"])) > * {
  visibility: hidden;
}
.team-card:not(:has(.portrait, img[src]:not([src=""])))::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--lavender) url("assets/teamportret.webp") center / contain no-repeat;
}