/* OSJ v10: genuine upright photos rather than cached rendered composite. */
.locations-grid .location-card .clinic-thumb:has(.borivali-portrait-mosaic),.premium-clinics .location-card .clinic-thumb:has(.borivali-portrait-mosaic){width:100%!important;height:auto!important;aspect-ratio:1.49/1!important;margin:0 0 22px!important;overflow:hidden!important;border-radius:18px!important;background:#fff4f3!important}
.borivali-portrait-mosaic{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:7px;padding:7px;height:100%;width:100%;background:#fff4f3;overflow:hidden;box-sizing:border-box;isolation:isolate}
.borivali-mosaic-item{min-width:0;min-height:0;display:block;overflow:hidden;border-radius:9px;background:#f2e5e2}
.borivali-mosaic-item:first-child{grid-row:1 / span 2}
.borivali-mosaic-item:nth-child(n+2){grid-column:2;grid-row:auto}
/* The 4 right-hand images must be laid out as a 2x2 grid, not stacked in a single column */
.borivali-portrait-mosaic{grid-template-columns:minmax(0,1.15fr) minmax(0,.425fr) minmax(0,.425fr)}
.borivali-mosaic-item:first-child{grid-column:1;grid-row:1/3}
.borivali-mosaic-item:nth-child(2){grid-column:2;grid-row:1}
.borivali-mosaic-item:nth-child(3){grid-column:3;grid-row:1}
.borivali-mosaic-item:nth-child(4){grid-column:2;grid-row:2}
.borivali-mosaic-item:nth-child(5){grid-column:3;grid-row:2}
.borivali-portrait-mosaic img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important;rotate:0deg!important;max-width:none!important;background:#f5ebeb}
.borivali-portrait-mosaic .borivali-mosaic-item:hover img{transform:none!important;filter:brightness(.96)}
.borivali-portrait-mosaic a:focus-visible{outline:3px solid #af6e87;outline-offset:-3px}
.location-photo:has(.borivali-portrait-mosaic){height:auto!important;min-height:0!important;aspect-ratio:1.5 / 1!important;overflow:hidden!important;border-radius:24px!important;padding:0!important}
.location-photo:has(.borivali-portrait-mosaic) .borivali-portrait-mosaic{min-height:0!important}
/* video-only card: no placeholder text, no clickable chrome below frame. */
.osj-reels-grid{max-width:1000px!important;gap:clamp(14px,2vw,30px)!important}
.osj-reel-video-only{background:#201a20!important;max-width:305px!important;border:4px solid white!important;border-radius:24px!important}
.osj-reel-video-only .osj-video-viewport{aspect-ratio:9/16!important;border-radius:19px!important;overflow:hidden!important}
.osj-reel-video-only .osj-reel-poster img{width:100%;height:100%;object-fit:cover}
.osj-reel-video-only .osj-video-viewport iframe{width:100%!important;min-width:100%!important;height:calc(100% + 525px)!important;top:0!important;left:0!important;transform-origin:center top!important;transform:translateY(-88px) scale(1.56)!important;border:0!important;pointer-events:auto!important}
.osj-reel-video-only .osj-reel-play-toggle{z-index:5!important}
/* Once the Instagram player is loaded, remove our large overlay so only its native Play is visible. */
.osj-video-viewport.is-playing .osj-reel-play-toggle{opacity:0!important;pointer-events:none!important;top:12px!important;right:12px!important}
.osj-video-viewport.is-playing:hover .osj-reel-play-toggle,.osj-video-viewport.is-playing .osj-reel-play-toggle:focus-visible{opacity:.96!important;pointer-events:auto!important}
.osj-video-viewport.is-playing .osj-reel-play-toggle{width:40px!important;height:40px!important}
.osj-reel-video-only iframe::part(embed-footer){display:none}
@media(max-width:650px){.osj-reel-video-only{max-width:330px!important}.borivali-portrait-mosaic{gap:4px;padding:4px}.borivali-mosaic-item{border-radius:5px}}
@media(prefers-reduced-motion:reduce){.osj-reel-video-only *, .borivali-portrait-mosaic *{transition:none!important;animation:none!important}}
