/* The original photo class retains each page's existing dimensions and breakpoints. */
.inlife-websites .il-local-rotation { position:relative; display:block; overflow:hidden; isolation:isolate; }
.inlife-websites .il-local-rotation > img.il-local-frame { position:absolute; inset:0; display:block; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; border-radius:inherit; opacity:0; transition:opacity .8s ease; pointer-events:none; }
.inlife-websites .il-local-rotation > img.il-local-frame.is-current { opacity:1; }
.il-local-rotation .il-photo-arrow { position:absolute; z-index:2; top:50%; transform:translateY(-50%); width:44px; height:48px; min-height:0; display:grid; place-items:center; padding:0; border:0; border-radius:8px; background:rgba(18,27,34,.28); color:#fff; cursor:pointer; transition:background .2s ease; }
.il-local-rotation .il-photo-prev { left:10px; }
.il-local-rotation .il-photo-next { right:10px; }
.il-photo-arrow svg { display:block; width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.il-local-rotation .il-photo-arrow:hover { background:rgba(18,27,34,.65); }
.il-local-rotation .il-photo-arrow:focus-visible { outline:2px solid #fff; outline-offset:2px; }
/* A keyboard-accessible rotation control without a permanent visual pause button. */
.il-local-rotation .il-photo-pause { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.il-local-rotation .il-photo-pause:focus-visible { z-index:3; top:12px; left:50%; transform:translateX(-50%); width:auto; height:auto; padding:8px 14px; clip-path:none; border-radius:6px; background:#17212b; color:#fff; outline:2px solid white; }
@media(prefers-reduced-motion:reduce) { .inlife-websites .il-local-rotation > img.il-local-frame,.il-local-rotation .il-photo-arrow { transition:none; } }
