/* Photo hover colour wash + lightbox (used by versions F and G). */
.lb-open{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;border:0;background:none;font:inherit;color:inherit;cursor:zoom-in;border-radius:inherit;overflow:hidden;box-shadow:var(--shadow);-webkit-tap-highlight-color:transparent}
.lb-open img,.lb-open svg.s-art-svg{display:block;width:100%;height:100%;box-shadow:none!important;transition:transform .45s ease}
.mq-small .lb-open{height:auto;border-radius:.9rem}
.mq-small .lb-open img{height:auto}
.lb-open::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,138,31,.68),rgba(22,80,184,.72));opacity:0;transition:opacity .3s ease;pointer-events:none;border-radius:inherit}
.lb-plus{position:absolute;left:50%;top:50%;z-index:2;width:3.4rem;height:3.4rem;margin:-1.7rem 0 0 -1.7rem;border-radius:50%;background:#fff;box-shadow:0 8px 18px -6px rgba(0,0,0,.45);opacity:0;transform:scale(.8);transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.lb-plus::before,.lb-plus::after{content:"";position:absolute;left:50%;top:50%;background:var(--blue,#1650b8);border-radius:2px}
.lb-plus::before{width:1.4rem;height:.2rem;margin:-.1rem 0 0 -.7rem}
.lb-plus::after{width:.2rem;height:1.4rem;margin:-.7rem 0 0 -.1rem}
.lb-open:hover::after,.lb-open:focus-visible::after,.lb-open:hover .lb-plus,.lb-open:focus-visible .lb-plus{opacity:1}
.lb-open:hover .lb-plus,.lb-open:focus-visible .lb-plus{transform:scale(1)}
.lb-open:hover img,.lb-open:focus-visible img,.lb-open:hover svg.s-art-svg,.lb-open:focus-visible svg.s-art-svg{transform:scale(1.07)}
.lb-open:focus-visible{outline:4px solid #fff;outline-offset:-8px;box-shadow:0 0 0 4px #111,var(--shadow)}
.lb-active .mq-track{animation-play-state:paused!important}
.lb-active{overflow:hidden}

.lb{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(10,18,44,.92);padding:4.4rem 4.6rem 1rem;animation:lb-in .25s ease}
.lb[hidden]{display:none}
@keyframes lb-in{from{opacity:0}to{opacity:1}}
.lb-fig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:.6rem;min-height:0}
.lb-fig img,.lb-svgbox{display:block;max-width:100%;max-height:calc(100vh - 12.5rem);width:auto;height:auto;border-radius:.8rem;background:#fff;object-fit:contain;animation:lb-zoom .3s ease}
.lb-svgbox{width:min(88vw,calc(100vh - 12.5rem),34rem);aspect-ratio:1/1;overflow:hidden}
.lb-svgbox svg{display:block;width:100%;height:100%}
@keyframes lb-zoom{from{transform:scale(.94)}to{transform:scale(1)}}
.lb figcaption{color:#fff;font-size:1.05rem;line-height:1.45;text-align:center;max-width:44rem}
.lb-credit{color:#ffe29a;font-weight:700;font-size:1rem}
.lb-credit:hover{color:#fff}
.lb-count{position:absolute;left:1rem;top:1.2rem;color:#fff;font-weight:700;font-size:1rem}
.lb-btn{position:absolute;z-index:2;display:grid;place-items:center;width:3.4rem;height:3.4rem;min-width:48px;min-height:48px;border-radius:50%;border:3px solid #fff;background:var(--blue,#1650b8);color:#fff;font-size:1.9rem;line-height:1;cursor:pointer;font-family:inherit;font-weight:700}
.lb-btn:hover{background:#fff;color:var(--blue,#1650b8)}
.lb-btn:focus-visible{outline:4px solid #ffe29a;outline-offset:3px}
.lb-close{right:1rem;top:1rem}
.lb-prev,.lb-next{top:50%;margin-top:-1.7rem}
.lb-prev{left:.8rem}.lb-next{right:.8rem}
@media(max-width:40rem){
  .lb{padding:4.2rem .4rem 1rem}
  .lb-prev,.lb-next{top:auto;bottom:.8rem;margin:0}
  .lb-prev{left:1rem}.lb-next{right:1rem}
  .lb-fig img{max-height:calc(100vh - 16rem)}
  .lb-svgbox{width:min(94vw,calc(100vh - 16rem))}
}
@media(prefers-reduced-motion:reduce){
  .lb,.lb-fig img,.lb-svgbox{animation:none}
  .lb-open img,.lb-open svg.s-art-svg,.lb-open::after,.lb-plus{transition:none}
  .lb-open:hover img,.lb-open:focus-visible img,.lb-open:hover svg.s-art-svg,.lb-open:focus-visible svg.s-art-svg{transform:none}
}
