/* Shared photo frames across discovery, profiles, saved cards and comparison. */
.provider-card-photo,.home-clinic-photo,.home-doctor-photo,.spotlight-clinic-photo{position:relative;display:block;aspect-ratio:16/10;height:auto;min-width:0;flex-shrink:0;overflow:hidden;background:#e7eae3}
.provider-card-photo.doctor,.home-doctor-photo{aspect-ratio:4/5}
.provider-card-photo img,.home-clinic-photo img,.home-doctor-photo img,.spotlight-clinic-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:var(--photo-position,50% 50%)}
[data-photo-fit="contain"] img{object-fit:contain!important;object-position:center!important;background:#e7eae3}
.provider-profile-photo{width:100%;min-width:0;margin:0}
.provider-profile-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:var(--photo-position,50% 50%)}
.provider-profile-photo.doctor{max-width:440px;justify-self:center}
.provider-profile-photo.doctor img{height:auto;aspect-ratio:4/5;object-position:var(--photo-position,50% 12%)}
.provider-profile-photo figcaption{overflow-wrap:anywhere}
.provider-result,.comparison-card,.home-clinic,.home-doctor,.home-clinic-content,.doctor-copy,.provider-intro-grid>div{min-width:0}
.provider-placement{min-height:40px}
.provider-placement .featured-provider{margin:0 0 14px}
.provider-result .card-bottom{flex-wrap:wrap;row-gap:12px}
.home-clinic .clinic-index{min-height:24px;align-items:flex-start}
.home-doctor-grid{align-items:stretch}
.home-doctor .doctor-copy>small{min-height:3.4em}
.home-doctor .doctor-copy h3{min-height:2.4em}
.home-doctor .doctor-clinic{min-height:5.1em;line-height:1.7}
.home-doctor .doctor-copy .home-inline{margin-top:auto}
.comparison-card{display:flex;flex-direction:column}
.comparison-card .provider-card-photo{flex-shrink:0}
.comparison-card>.remove-compare{align-self:flex-start}
@media(max-width:800px){.provider-profile-photo.doctor{align-self:center}.provider-intro .provider-links{gap:16px}.provider-intro .provider-links .button{white-space:normal}.home-doctor .doctor-copy>small{min-height:3.4em}}
@media(max-width:480px){.home-doctor .doctor-copy h3,.home-doctor .doctor-clinic{min-height:0}.provider-profile-photo.doctor{max-width:360px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.provider-card-photo img,.home-clinic-photo img{transition:none}.provider-card-photo:hover img,.home-clinic-photo:hover img{transform:none}}
.provider-card-photo.doctor img,.comparison-card .provider-card-photo img{height:100%;object-position:var(--photo-position,50% 50%)}

/* Evidence-backed profile facts use the same editorial rhythm. */
.profile-facts dl{margin:0;display:grid;gap:0}.profile-facts dl>div{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:20px;padding:16px 0;border-bottom:1px solid #ddd9d0}.profile-facts dt{font-weight:600}.profile-facts dd{margin:0;overflow-wrap:anywhere}.profile-facts a{text-decoration:underline;text-underline-offset:3px}@media(max-width:600px){.profile-facts dl>div{grid-template-columns:1fr;gap:6px}}
