/* The full-screen photo viewer (look-1-article.js), moved out of look-1-news.css on 17 Nov (P07) so the machine hire and for-sale
   pages can use it too. Same rules as before; news articles load this file as well. */
.lb{position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:72px 84px;background:rgba(8,8,8,.95);opacity:0;visibility:hidden;touch-action:pan-y pinch-zoom;transition:opacity .22s ease,visibility 0s .22s}
.lb.is-open{opacity:1;visibility:visible;transition:opacity .22s ease}
.lb:focus{outline:none}
.lb-img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 24px 70px rgba(0,0,0,.55);user-select:none;-webkit-user-drag:none}
.lb-btn{position:absolute;display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font:600 22px/1 Arial,sans-serif;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.lb-btn:is(:hover,:focus-visible){background:var(--orange);border-color:var(--orange);color:#0a0a0a}
.lb-kb .lb-btn:focus{background:var(--orange);border-color:var(--orange);color:#0a0a0a}
.lb-close{top:16px;right:16px}
.lb-prev{left:16px;top:50%;translate:0 -50%}
.lb-next{right:16px;top:50%;translate:0 -50%}
.lb-count{position:absolute;left:50%;bottom:20px;margin:0;translate:-50% 0;color:rgba(255,255,255,.72);font-size:13px;font-weight:700;letter-spacing:.14em}
.lb-single .lb-prev,.lb-single .lb-next,.lb-single .lb-count{display:none}
html.lb-lock{overflow:hidden}
@media (max-width:600px){
  .lb{padding:64px 0 84px}
  .lb-prev,.lb-next{top:auto;bottom:16px;translate:none}
  .lb-count{bottom:34px}
}
@media (prefers-reduced-motion:reduce){.lb,.lb.is-open{transition:none}}
