/* G-LP-QA-REAL-FIX-01-R2 — real-device framing corrections only.
   Built over unapproved FIX-01 candidate, not the approved site baseline.
   Keep image bytes, card dimensions, modal geometry, and other coach portraits unchanged.
   User requested these additional shifts after testing on iPhone/iPad. */

/* REAL-04: raise the KICKBOXING mobile modal photo by about half a head
   relative to FIX-01, without changing the visual's 220px frame. */
@media (max-width:760px) {
  #program-dialog[data-active-program="3"] .program-dialog-photo {
    background-position:center calc(8% - 56px);
  }
}

/* REAL-05: Eri (coach index 3, NOT Erick index 4) moves DOWN within the
   original frame. Retain the existing 106% overscan so no empty top edge appears. */
@media (max-width:760px),
       (min-width:761px) and (max-width:1100px) and (orientation:portrait) {
  #coaches .coach-card[data-coach="3"] .coach-portrait {
    top:-3%;
    height:106%;
  }
}

/* REAL-07: on portrait iPad, retain the full-bleed coach card geometry and
   reduce Erick's black top strip and bring the hairline closer to other portraits. This
   adjusts image placement only, not the approved Erick source portrait. */
@media (min-width:761px) and (max-width:1100px) and (orientation:portrait) {
  #coaches .coach-card[data-coach="4"] .coach-portrait {
    top:10px;
    height:calc(100% - 10px);
  }
}
