/* Front/back order must be the same while editing and while viewing. */
#hero-title{animation:none!important;transform:none!important;opacity:1!important;isolation:auto}
#hero-title .hero-dot{animation:none!important;scale:1!important}

/* No forced cover crop or hover zoom on a full photograph. */
.photo-natural-frame img,.photo-natural-image{object-fit:contain!important;object-position:center!important;scale:1!important;transform:none!important;translate:none!important}
.photo-natural-frame:hover img{scale:1!important;transform:none!important}
.hero-gallery:has(.photo-natural-frame){display:flex!important;justify-content:center;align-items:flex-start;height:auto!important;min-height:0!important;grid-template-rows:auto}
.hero-gallery .hero-main.photo-natural-frame{width:100%;max-width:calc(min(78svh,900px) * var(--photo-ratio,1.5));height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important;flex:none}
.hero-main.photo-natural-frame img{width:100%;height:100%;display:block}
.project-grid{align-items:start}
.project-grid .project-card .card-image.photo-natural-frame{height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important}
.about-photo.photo-natural-frame{height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important;align-self:start}
.about-photo.photo-natural-frame img{height:100%;width:100%}
.collection-photos{align-items:start}
#collection-photos>button.photo-natural-frame{width:100%;max-width:calc(min(80svh,900px) * var(--photo-ratio,1.5));height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important;justify-self:center}
.canvas-object-photo.photo-natural-frame{height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important}
.canvas-object-photo.photo-natural-frame img{height:100%;width:100%}
.custom-content img.photo-natural-image{height:auto!important;min-height:0!important;aspect-ratio:var(--photo-ratio,1.5)!important;max-width:100%}
.import-previews img{width:62px;height:auto;aspect-ratio:var(--photo-ratio,1.5);object-fit:contain}
#upload-preview img{width:auto;height:65px;object-fit:contain}
@media(prefers-reduced-motion:reduce){.photo-natural-frame img{transition:none}}
