/* REPPTRADE v4.4.28 — Playbill-standard headshot frame proportions.
   The supplied performer photographs share a 239:303 portrait aspect ratio.
   Preserve existing frame widths, tile grids, inks, borders, storage URLs,
   and centre/cover image treatment; adjust only frame HEIGHT through the ratio.
   Applies in Cast Index, performer profiles, and both detail cast screens.
   Loaded last so historic fixed-height / mobile !important rules cannot override. */

/* Portrait frames should track the photo aspect ratio without adding crops. */
.rc440-actor-portrait,
.rc419-cast-section .rc419-cast-portrait {
  aspect-ratio: 239 / 303 !important;
  height: auto !important;
  background-size: cover;
  background-position: center;
}

/* Cast Index thumbnails: same established 50px desktop, 42px tablet widths. */
#libraryCast .rc440-actor-card .rc440-actor-portrait {
  width: 50px !important;
  height: auto !important;
  aspect-ratio: 239 / 303 !important;
}

/* Actor profile: keep the familiar 91px width, make its headshot taller. */
.rc440-actor-heading .rc440-actor-portrait.large {
  width: 91px !important;
  height: auto !important;
  aspect-ratio: 239 / 303 !important;
}

/* Recording Details + Master Catalogue modern cast portrait frames. */
.rc419-cast-section .rc419-modern-grid .rc419-cast-portrait {
  width: 54px !important;
  height: auto !important;
  aspect-ratio: 239 / 303 !important;
}

@media (max-width: 760px) {
  .rc419-cast-section .rc419-modern-grid .rc419-cast-portrait {
    width: 43px !important;
    height: auto !important;
  }
}
@media (max-width: 700px) {
  #libraryCast .rc440-actor-card .rc440-actor-portrait {
    width: 42px !important;
    height: auto !important;
  }
}
