/*
 * FigureAsia Leadership reported-feature image treatment.
 *
 * Standard Leadership reports use the complete media-library photograph on
 * the article page. Archive cards keep a compact editorial crop, framed high
 * enough to preserve the subject's full head.
 */
.article-page:not(.non-leadership-article) .article-hero img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.leadership-archive img[src*="/static/uploads/profiles/"] {
  object-position: 50% 24%;
}

.leadership-archive img[src*="/static/uploads/profiles/nikesh-arora.jpg"] {
  object-position: 50% 0%;
}

/*
 * Some editorial photographs place the subject at the extreme right edge.
 * Keep the supplied frame intact instead of pushing the face beneath the
 * right-hand headline column or clipping it on narrow screens.
 */
@media (min-width: 761px) {
  .leadership-profile-article.leadership-report-article.hero-layout-right-edge-subject .profile-hero-media img {
    width: 64%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
}

@media (max-width: 760px) {
  .leadership-profile-article.leadership-report-article.hero-layout-right-edge-subject:not(.magazine-profile) .profile-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .leadership-profile-article.leadership-report-article.hero-layout-right-edge-subject:not(.magazine-profile) .profile-hero-inner {
    padding-top: min(80vw, 610px);
  }
}
