.clinical-lightbox { width:min(95vw,68rem); max-height:95dvh; padding:0; border:0; border-radius:.85rem; color:white; background:#0a2137; }
.clinical-lightbox::backdrop { background:#041323df; }
.clinical-lightbox-content:fullscreen { display:grid; grid-template-rows:auto 1fr auto; background:#0a2137; color:#fff; }
.lightbox-toolbar { display:flex; justify-content:space-between; align-items:center; gap:.5rem; padding:.65rem; }
.lightbox-toolbar button { padding:.55rem .8rem; color:#0b2545; background:#f5fbff; font:inherit; border:0; border-radius:.45rem; cursor:pointer; }
.lightbox-toolbar output { display:grid; text-align:center; min-width:0; }
.lightbox-stage { display:grid; place-items:center; touch-action:pan-y; }
.lightbox-stage img { width:100%; height:min(68dvh,680px); object-fit:contain; }
.post-photo { margin:1.25rem auto; text-align:center; }
.post-photo > a { display:inline-block; max-inline-size:min(100%, 880px); vertical-align:top; cursor:zoom-in; }
.post-photo img, .post-photo-gallery .editorial-prose img {
    display:block;
    max-inline-size:100%;
    block-size:auto;
    object-fit:contain;
    margin-inline:auto;
    border-radius:.75rem;
}
.post-photo-gallery .lightbox-stage img { width:auto; height:auto; max-width:100%; max-height:72dvh; }
.post-photo-gallery .clinical-lightbox-content:fullscreen .lightbox-stage img { max-height:82dvh; }
