/* Real supplied portraits replace the initials without stretching the photos. */
.cv-profile .portrait.has-photo {
  align-self: start;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  max-height: none;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 4;
  background: #e8edf0;
}
.portrait.has-photo::after { content: none; }
.portrait.has-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.founder-mini-portrait.has-photo {
  height: auto;
  aspect-ratio: 4 / 3;
  background: #e8edf0;
}
.founder-mini-portrait.has-photo::before { content: none; }
.founder-mini-portrait.has-photo::after {
  height: 42%;
  background: linear-gradient(transparent, rgba(10, 22, 40, .72));
  clip-path: none;
}
.founder-mini-portrait.has-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}
