/* ALTER v1.0.3 — Personnel card portrait framing
   Character headshots should read like portraits, not landscape banners. */
.entity-card[data-open-character] .entity-photo{
  height:auto!important;
  aspect-ratio:4 / 3;
  min-height:190px;
  max-height:none!important;
  border-radius:12px;
  background:#080b0f;
}
.entity-card[data-open-character] .entity-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 16%;
  display:block;
}
.entity-card[data-open-character] .entity-photo .placeholder{
  height:100%;
}
.entity-card[data-open-character]{
  min-height:0;
}

/* Give smaller desktop/mobile cards enough vertical room for a face as well. */
@media(max-width:760px){
  .entity-card[data-open-character] .entity-photo{
    height:auto!important;
    min-height:180px!important;
    aspect-ratio:4 / 3;
  }
  .entity-card[data-open-character] .entity-photo img{
    object-position:center 14%;
  }
}

@media(max-width:470px){
  .entity-card[data-open-character] .entity-photo{
    min-height:200px!important;
  }
}
