/* A consistent visible photograph, with the top of each original preserved. */
.page-id-17 .prof-about-portrait img {
  display: block;
  width: 200px !important;
  height: 260px !important;
  max-width: 100%;
  margin-inline: auto;
  object-fit: cover !important;
  object-position: 50% 0% !important;
  border-radius: 10px !important;
}
.page-id-17 .prof-about-portrait figcaption {
  margin-top: 10px;
}

/* Raise Malyshev within the shared portrait frame. */
.page-id-17 .elementor-element-c9776ee.prof-about-portrait img {
  object-position: 50% 20% !important;
}

/* Keep the same framing in the specialists directory. */
.category-25 .equipment_block .item[href$="/speczialisty/malyshev-roman-arturovich/"] .item_thumb img {
  object-position: 50% 20% !important;
}
