/* Preserve the full source frame. Small face photographs are inline portraits. */
body [data-sem-photo]{object-position:center;object-fit:contain}
body .creds-portrait:has([data-sem-photo="portrait"]){aspect-ratio:auto;width:min(100%,150px);height:auto;justify-self:center;align-self:start}
body .creds-portrait [data-sem-photo="portrait"]{display:block;width:100%;height:auto;max-width:150px;object-fit:contain}
.split-img:has(.sem-story-link){display:grid;align-items:center;aspect-ratio:auto;background:transparent;border:0}
body .sem-story-link{display:grid;position:relative;align-items:center;justify-items:center}
body .sem-story-link::after{content:'↗';position:absolute;bottom:8px;right:8px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #69a6a3;border-radius:50%;background:#082b2ee8;color:#d0eeeb;font:500 17px/1 Barlow,sans-serif}
body .split-img .sem-story-link img[data-sem-photo],body .split-img:hover .sem-story-link img[data-sem-photo]{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transform:none}
body .sem-story-link:has([data-sem-photo="treatment"]){width:min(100%,260px);justify-self:center}
body .front-review-image a:has([data-sem-photo="treatment"]){display:grid;place-items:center}
body .front-review-image a img[data-sem-photo="treatment"]{width:auto;height:auto;max-width:min(100%,240px);max-height:260px;object-fit:contain;transform:none}
body .sem-film-link{color:#afeae4;font:500 14px/1.4 Barlow,sans-serif;text-underline-offset:3px}
@media(max-width:760px){
  body .creds-portrait:has([data-sem-photo="portrait"]){width:min(100%,112px)}
  body .mtile img[data-sem-photo]{object-fit:contain;transform:none}
  body .mtile img[data-sem-photo="portrait"]{max-width:132px;inset-inline:0;margin-inline:auto}
  body .hc-bg img[data-sem-photo]{object-fit:contain;transform:none;object-position:center bottom}
  body .hc-bg img[data-sem-photo="treatment"]{max-width:185px;position:absolute;inset:auto 8px 0 auto;height:auto}
  body .offer-photo img[data-sem-photo="treatment"]{width:min(100%,185px);height:auto;display:block;margin-inline:auto;object-fit:contain}
  body .sem-story-link:has([data-sem-photo="treatment"]){max-width:180px}
  body .front-review-image{height:auto;min-height:0}
  body .front-review-image a img[data-sem-photo="treatment"]{max-width:175px;max-height:175px}
  body .door img[data-sem-photo],body .shot img[data-sem-photo]{object-fit:contain;transform:none}
  body .bd-portrait:has([data-sem-photo="portrait-art"]){width:min(100%,150px);justify-self:center}
  body .bd-portrait:has([data-sem-photo="portrait-art"]) img{object-fit:contain;transform:none}
  body [data-seminar-backdrop]::before{background-size:contain;background-repeat:no-repeat}
}
