/* Consistent, responsive media geometry; captions never compete with images. */
.medical-visual:has(.clinical-frame),.topicart:has(.clinical-frame){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;overflow:hidden!important;gap:0!important;background:#edf4f3!important}
.medical-visual:has(.clinical-frame){margin:0 0 20px!important;border-radius:12px!important}
.medical-visual:has(.clinical-frame):before,.topicart:has(.clinical-frame):before{display:none!important}
.clinical-frame,.photo-frame{display:block!important;position:relative!important;width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#edf4f3!important;border-radius:0!important;isolation:isolate}
.clinical-frame img.clinical-image,.procedure-grid figure .clinical-frame img.clinical-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;border-radius:0!important;filter:none!important;background:transparent!important;display:block!important}
.clinical-photo img.clinical-image,.photo-frame img{object-fit:cover!important;object-position:center!important}
.clinical-frame img.clinical-fallback{object-fit:contain!important}
.clinical-credit{position:static!important;display:block!important;padding:9px 12px!important;line-height:1.45!important;background:#edf4f3!important;color:#36535a!important;flex:none!important;overflow-wrap:anywhere}
.photo-frame img{position:absolute;inset:0;width:100%;height:100%}
.photo-frame a:not([hidden]){position:absolute;inset:0;display:grid;place-items:center}
.procedure-card figure{display:block!important;height:auto!important;min-height:0!important}
.cards,.procedure-grid,.photo-grid{align-items:stretch}
@media(prefers-reduced-motion:reduce){.clinical-frame img,.photo-frame img{transform:none!important;transition:none!important}}
