/* Full-page captures work identically on HTTPS and when opened from the desktop. */
body:has(main.studio-main) .website-preview>img.preview-tour,
body:has(main.studio-main) #portfolio-landings .lp-screen-shot.preview-tour{
 display:block;width:100%;height:auto;aspect-ratio:900/1250;
 object-fit:cover;object-position:50% 0%;
}
body:has(main.studio-main) img.preview-tour.is-touring{animation:noga-full-page-tour 24s linear infinite}
body:has(main.studio-main) .hp-static-preview>img{animation:none!important;object-position:50% 0%!important}
@keyframes noga-full-page-tour{
 0%,5%{object-position:50% 0%}
 75%,84%{object-position:50% 100%}
 100%{object-position:50% 0%}
}
@media(prefers-reduced-motion:reduce){body:has(main.studio-main) img.preview-tour.is-touring{animation:none}}

/* Keep the selected artwork full width, static and proportional on mobile. */
body:has(main.studio-main) .hero .hp-website .hp-static-preview{display:block;width:100%;height:auto;aspect-ratio:2/3;background:#101112;overflow:hidden}
body:has(main.studio-main) .hero .hp-website .hp-static-preview>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:2/3;object-fit:cover;object-position:top;animation:none!important}
@media(max-width:700px){
 body:has(main.studio-main) .hero .hero-example-landing{max-width:390px;width:100%;min-width:0}
 body:has(main.studio-main) .hero .hero-example-landing .hp-website{max-width:100%;border-width:3px;border-radius:18px}
 body:has(main.studio-main) .hero .hero-example-landing .hp-browser{min-height:30px;padding:7px 8px;gap:6px}
 body:has(main.studio-main) .hero .hero-example-landing .hp-browser small{font-size:10px;line-height:1.4}
 body:has(main.studio-main) .hero .hero-example-landing .hp-site-link{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:10px;font-size:12px;line-height:1.5}
}
