/* The same inset photographs, paper surface and reading order as the case above. */
.home-redesign #vrachi { padding-block-start: clamp(14px, 1.4vw, 22px); }
#vrachi .lh-heading { align-items: flex-start; gap: 4px 24px; }
#vrachi .team-intro {
  margin-top: 8px;
  color: var(--pp-muted);
  font-size: 16px;
  line-height: 1.45;
}
#vrachi .lh-doctors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
#vrachi .lh-doctor {
  display: grid;
  grid-template-columns: clamp(138px, 12vw, 174px) minmax(0, 1fr);
  grid-template-areas: "photo name" "photo help" "photo actions";
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 12px clamp(18px, 1.65vw, 26px);
  min-width: 0;
  padding: clamp(16px, 1.4vw, 22px);
  border: 1px solid var(--pp-line);
  border-radius: 20px;
  background: var(--pp-paper);
}
#vrachi .lh-portrait {
  grid-area: photo;
  align-self: stretch;
  position: relative;
  min-height: 187px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--pp-lilac);
}
#vrachi .lh-portrait img {
  display: block;
  position: absolute;
  left: 50%;
  top: -4%;
  width: var(--portrait-width, 145%);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
/* Match head sizes despite the different transparent margins of these originals. */
#vrachi [data-portrait-id="1120"] { --portrait-width: 173%; }
#vrachi .team-identity { grid-area: name; align-self: center; min-width: 0; }
#vrachi .team-identity h3 {
  color: var(--pp-ink);
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
#vrachi .team-identity h3 span { display: block; }
#vrachi .team-identity p {
  margin-top: 6px;
  color: var(--pp-muted);
  font-size: 15px;
  line-height: 1.35;
}
#vrachi .team-help {
  grid-area: help;
  max-width: 40ch;
  color: var(--pp-ink);
  font-size: 16px;
  line-height: 1.45;
  text-wrap: balance;
}
#vrachi .lh-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
}
@media (max-width: 1099px) {
  #vrachi .lh-doctor {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas: "photo name" "help help" "actions actions";
    gap: 12px 15px;
  }
  #vrachi .lh-portrait { min-height: 0; height: 90px; align-self: center; }
  #vrachi .team-identity h3 { font-size: 21px; }
  #vrachi .team-identity p { font-size: 14px; }
}
@media (max-width: 700px) {
  #vrachi .lh-heading { align-items: flex-start; margin-bottom: 12px; }
  #vrachi .lh-doctors { grid-template-columns: 1fr; }
  #vrachi .lh-doctor { padding: 16px; }
}
@media (max-width: 560px) {
  #vrachi .lh-heading { display: block; }
  #vrachi .team-intro { margin-top: 6px; font-size: 15px; }
  #vrachi .lh-more { font-size: 15px; }
  #vrachi .lh-doctor { grid-template-columns: clamp(64px, 19vw, 84px) minmax(0, 1fr); }
  #vrachi .lh-portrait { height: 84px; }
  #vrachi .team-identity h3 { font-size: clamp(18px, 5vw, 21px); }
  #vrachi .team-help { font-size: 15px; }
}
@media (max-width: 365px) {
  #vrachi .team-identity h3 span { display: inline; }
  #vrachi .lh-actions { column-gap: 10px; }
  #vrachi .lh-button { padding-inline: 16px; }
}
