@property --nile-photo-scale{syntax:'<number>';inherits:false;initial-value:1}
/* Move only photographs, preserving caption and card geometry. */
html body #main img.nile-motion-photo,html body #site-dialog img.nile-motion-photo{transform:scale(1);scale:1;translate:none!important;rotate:none!important;transform-origin:50% 50%;backface-visibility:hidden}
.nile-photo-frame{overflow:hidden}
.tool-photo-frame{height:100%;min-height:230px;position:relative;overflow:hidden}
.tool-photo-frame>img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
@media(max-width:900px){.tool-photo-frame{height:145px;min-height:0}}
@media(max-width:600px){.tool-photo-frame{height:100%;min-height:220px}}
#home .hero-slide{transition:opacity 1.8s ease-in-out!important}
.site-dialog .dialog-top .dialog-brand{grid-column:1;justify-self:start}
@media(prefers-reduced-motion:reduce){
 html body #main img.nile-motion-photo,html body #site-dialog img.nile-motion-photo{transform:none!important;scale:none!important}
 #home .hero-slide{transition:none!important}
}
