/* Jan Rocha Itacaré | galeria de ensaios, v3.2 */
.inner-photos figure img{cursor:zoom-in}
.inner-photos figure img:focus-visible,.jri-added-grid .jri-zoom-trigger:focus-visible{outline:3px solid #111;outline-offset:3px}
.jri-essay-lightbox[hidden]{display:none!important}
.jri-essay-lightbox{position:fixed;inset:0;z-index:2147483600;background:rgba(8,8,8,.96);display:flex;align-items:center;justify-content:center;padding:45px 66px 60px;box-sizing:border-box}
.jri-essay-lightbox *{box-sizing:border-box}
.jri-essay-lightbox img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 112px);object-fit:contain;box-shadow:0 12px 60px rgba(0,0,0,.24)}
.jri-essay-lightbox button{position:absolute;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(20,20,20,.5);color:#fff;cursor:pointer;font-family:Arial,sans-serif;line-height:1}
.jri-essay-lightbox button:hover,.jri-essay-lightbox button:focus-visible{background:#fff;color:#111;outline-offset:3px}
.jri-essay-close{right:18px;top:16px;width:44px;height:44px;font-size:28px}
.jri-essay-prev,.jri-essay-next{top:50%;transform:translateY(-50%);width:46px;height:46px;font-size:35px}
.jri-essay-prev{left:12px}.jri-essay-next{right:12px}
.jri-essay-count{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#eee;font:12px/1.5 Arial,sans-serif;letter-spacing:.1em}
body.jri-essay-open{overflow:hidden!important}
@media(max-width:700px){.jri-essay-lightbox{padding:64px 12px 70px}.jri-essay-lightbox img{max-height:calc(100dvh - 144px)}.jri-essay-prev,.jri-essay-next{top:auto;bottom:12px;transform:none;width:44px;height:44px}.jri-essay-prev{left:18px}.jri-essay-next{right:18px}.jri-essay-close{top:12px;right:12px}.jri-essay-count{bottom:23px}}

.jri-added-grid .jri-zoom-trigger{width:100%;height:100%;padding:0;border:0;background:none;display:block;cursor:zoom-in}.jri-added-grid .jri-zoom-trigger img{width:100%;height:100%;object-fit:cover}
