/* Photo layouts for the portrait, service cards and directories. */
.photo-frame { margin: 0; min-width: 0; }
.about-img-seven img { object-position: 42% 38%; }
.blog-card-seven .blog-content-seven { padding-top: 1.1rem; }
.guide-intro .photo-frame { max-width: 26rem; }
.patient-guide .guide-photo { aspect-ratio: 1.65; max-width: none; object-position: center 45%; }

/* A horizontal Medixi Service Seven panel above the relevant service directory. */
.reading .topic-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.topic-intro .ser-content7 {
  align-items: flex-start;
  width: auto;
  margin: 0;
  padding: clamp(1.4rem, 3.5vw, 3.5rem);
}
.topic-intro .ser-content7 .lead { margin: 0; line-height: 1.55; }
.topic-intro .photo-frame { position: relative; min-height: clamp(13rem, 24vw, 18.5rem); }
.topic-intro .photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 54rem) {
  .patient-guide .guide-intro { display: contents; }
  .patient-guide .guide-intro .photo-frame { order: 1; width: 100%; }
  .patient-guide .guide-photo { display: block; margin: 0; }
}
@media (max-width: 39.99rem) {
  .reading .topic-intro { grid-template-columns: minmax(0, 1fr); }
  .topic-intro .photo-frame { min-height: clamp(10.5rem, 48vw, 15rem); }
}
@media print {
  .reading .topic-intro { display: block; box-shadow: none; }
  .topic-intro .photo-frame, .patient-guide .guide-intro { display: none; }
}
