/* Approved mobile-only height caps. No global image rule. */
@media (max-width: 640px) {
  .theme-comp #team .org-carousel .ph-frame { height:170px !important; }
  .theme-comp #team .org-carousel .ph-frame > img { width:100% !important; height:170px !important; max-height:170px !important; object-fit:contain !important; object-position:center !important; transform:none !important; }
  .teacher-hub .t-head > img { height:auto !important; max-height:240px !important; object-fit:contain !important; }
  .approved-teacher-photo > img { width:auto !important; max-width:100% !important; height:auto !important; max-height:240px !important; margin-inline:auto !important; object-fit:contain !important; }
  img[src="/assets/jie-portrait-LBHN2BAR.png"] { display:block !important; width:auto !important; max-width:100% !important; height:auto !important; max-height:280px !important; margin-inline:auto !important; object-fit:contain !important; }
}

@media(max-width:640px){.theme-comp #team .org-carousel .ph-frame{width:fit-content!important;max-width:100%!important;margin-inline:auto!important}.theme-comp #team .org-carousel .ph-frame>img{width:auto!important;max-width:100%!important}}
