/*
 * Shared hero-photo treatment for every profile in The People.
 * Source images retain their natural proportions and are never stretched.
 */
.hero .hero-photo,
.identity-hero .hero-photo {
  position: relative !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end !important;
  transform: none !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  isolation: isolate !important;
}

.hero .hero-photo::before,
.hero .hero-photo::after,
.identity-hero .hero-photo::before,
.identity-hero .hero-photo::after {
  content: none !important;
  display: none !important;
}

.hero .hero-photo img,
.identity-hero .hero-photo img {
  position: relative !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid #d8cbb9 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 26px rgba(30, 45, 64, .1) !important;
  transform: none !important;
}

.hero .hero-photo figcaption,
.hero .hero-photo .caption,
.identity-hero .hero-photo figcaption,
.identity-hero .hero-photo .caption {
  position: static !important;
  display: block !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #5d626a !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 800 12px/1.4 'DM Sans', Arial, sans-serif !important;
  letter-spacing: .1em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  transform: none !important;
}

@media (max-width: 850px) {
  .hero .hero-photo,
  .identity-hero .hero-photo {
    width: fit-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    justify-self: center !important;
  }
}
