/* About page: show the entire team photograph and move its label below it. */
@media (min-width: 992px) {
  .team-member-cards-row .team-member-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 396px;
    overflow: hidden;
    background: #092e39;
  }
  .team-member-cards-row .team-member-card img.img-covered {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center top !important;
    background: #e9f1f3;
    flex: none;
  }
  .team-member-cards-row .team-member-card .team-member-card-content {
    position: static !important;
    width: 100%;
    min-height: 96px;
    box-sizing: border-box;
    background: #092e39 !important;
    flex: 1 0 auto;
  }
}
/* The compact banner crops horizontally; anchor it to the right so the logo and Gennady remain visible. */
@media (max-width: 1199px) {
  body.page #ehc-page-banner img.ehc-banner-img { object-position: right center !important; }
}


/* Keep heads visible in the existing mobile frames as well. */
@media (max-width: 991px) {
  .team-member-cards-row .team-member-card img.img-covered { object-position: center top !important; }
}

/* Match the About banner's desktop presentation on mobile. */
.ehc-home-about #ehc-page-banner .five-stars,
#ehc-page-banner.ehc-about-hero .five-stars { display: none !important; }
