.modern-case .wipe-layer img,.modern-case .original-photo>img{position:static;width:100%;height:100%;max-height:none;left:auto;top:auto;object-fit:contain;object-position:center}
.comment-source-note{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 28px;max-width:700px}
.study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;padding-bottom:50px}
.study-pair{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:4/3;overflow:hidden;background:#f5f3f0}
.study-pair img{display:block;width:100%;height:100%;object-fit:cover}
.study-card h2{font:400 30px/1.08 var(--serif);letter-spacing:-.02em;margin:22px 0 12px}
.study-card p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 18px}.study-card>span{font-size:12px;color:#214e38}
.study-card:focus-visible{outline:2px solid #214e38;outline-offset:8px}
@media(max-width:850px){.study-grid{grid-template-columns:1fr;gap:44px}.study-card h2{font-size:30px}.study-pair{aspect-ratio:3/2}}

.modern-case .wipe-layer img{object-fit:cover}

/* Both sides always occupy exactly the same comparison frame. */
.photo-comparison .wipe-layer img{position:absolute;inset:0;width:100%;height:100%;max-height:none;left:0;top:0;object-fit:cover;object-position:center;transform:none}
#portrait-edit .wipe-before img{top:0}

/* Crop each half independently while keeping the shared frame identical. */
.study-pair>span{position:relative;display:block;min-width:0;height:100%;overflow:hidden}
.study-card[data-case="101"] .study-pair img{transform:scale(1.65);transform-origin:50% 0%}
/* Match eye height, face center and face scale across the two source sizes. */
.study-card[data-case="104"] .study-pair img{position:absolute;width:226%;height:auto;max-width:none;left:50%;top:24%;transform:translate(-52.39%,-11.49%)}
.study-card[data-case="104"] .study-pair>span:last-child img{width:246.81%;transform:translate(-51.95%,-13.22%)}

/* Source 07 is a phone screenshot: show only the photo inside its frame.
   The square crop is x=30, y=25, size=970 in the 1030x1166 source. */
#selfie-edit .wipe-before img{inset:auto;width:106.185567%;height:auto;max-width:none;max-height:none;left:-3.092784%;top:-2.57732%;object-fit:initial}

/* Photos to cut sit last, with a red frame. */
.photo-comparison.photo-removed{padding:24px;background:#fff6f4;border:1px solid #eac4bd;border-radius:12px}
.photo-removed .photo-wipe{position:relative;outline:3px solid #bc302b;outline-offset:-3px}
.photo-removed .comparison-aside h2,.photo-removed .comparison-aside h3,.photo-removed .comparison-side-label{color:#a62a25}
@media(max-width:700px){.photo-comparison.photo-removed{padding:16px}}

/* Case 112: one 4:5 frame; independently align each pair's head scale and eye line. */
.modern-case .full-frame .wipe-layer{background:#f7f6f2}
.modern-case .full-frame .wipe-layer img,.modern-case .full-frame.original-photo>img{position:absolute;inset:auto;max-width:none;max-height:none;height:auto;object-fit:contain;transform:none}
.modern-case .full-frame .wipe-before img,.modern-case .full-frame.original-photo>img{width:var(--before-width,100%);left:var(--before-left,0%);top:var(--before-top,0%)}
.modern-case .full-frame .wipe-after img{width:var(--after-width,100%);left:var(--after-left,0%);top:var(--after-top,0%)}
.modern-case[data-case="112"] .comparison-aside h2,.modern-case[data-case="112"] .comparison-aside h3{font-weight:600}
.case-source{padding-bottom:50px;font-size:12px;line-height:1.6;color:var(--muted)}
.study-card[data-case="112"] .study-pair img{object-fit:contain;object-position:center top}



/* Versioned default for new reviews; shared by every case, never per-case typography. */
.review-standard .comparison-aside h2,.review-standard .comparison-aside h3{font-weight:var(--review-comment-weight,600)}
@media(min-width:851px){.review-standard .photo-comparison{grid-template-columns:minmax(0,1fr) minmax(0,var(--review-photo-width,460px)) minmax(0,1fr)}}

.published-prompt-reviews{padding-top:40px;padding-bottom:40px}.published-prompt-reviews>h2{font-size:32px;margin-bottom:32px}.published-prompt-review{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:32px 0;border-top:1px solid #dce2d7}.published-prompt-review h3{font-size:24px;line-height:1.2;font-weight:600;margin:10px 0 14px}.published-prompt-review p,.published-prompt-review blockquote{font-size:18px;line-height:1.55;margin:0}.published-prompt-review blockquote{font-style:italic}@media(max-width:680px){.published-prompt-review{grid-template-columns:1fr;gap:24px}.published-prompt-reviews>h2{font-size:28px}}
