/* About-page portrait and biography layout. */
.doctor-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  grid-template-areas: "biography portrait" "biography contact";
  column-gap: 2.5rem;
  row-gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}
.doctor-profile-copy { grid-area: biography; min-width: 0; }
.doctor-profile-copy > h2 { margin-top: 0; }
.doctor-profile-portrait { grid-area: portrait; min-width: 0; margin: 0; }
.doctor-profile-portrait img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 18px;
}
.doctor-profile > .clinic-identity-card {
  grid-area: contact;
  min-width: 0;
  margin: 0;
}
@media (max-width: 800px) {
  .doctor-profile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "portrait" "biography" "contact";
    gap: 1.5rem;
  }
}

.doctor-profile-copy > h2 { scroll-margin-top: 180px; }
