/* Draw the complete frame above the photo, inside its clipped bounds.
   Two CSS pixels stay visible when the Wix canvas or browser is scaled down.
   The tiny image inset hides inconsistent rims baked into the source collages. */
.wixui-image:has(.before-after-photo),.wixui-image:has(img[alt*="before" i][alt*="after" i]),.gallery-grid>a{position:relative;isolation:isolate;overflow:hidden}
.wixui-image:has(.before-after-photo)::after,.wixui-image:has(img[alt*="before" i][alt*="after" i])::after,.gallery-grid>a::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:2px solid #a6a2eb;box-sizing:border-box;box-shadow:inset 0 0 0 1px #fff}
.wixui-image .before-after-photo,.wixui-image img[alt*="before" i][alt*="after" i],.gallery-grid>a>img{outline:none!important;border:0!important;transform:scale(1.018);transform-origin:center}
