/* JPG Hawaii in-page photo gallery (JP pt149u): images never open as a bare file. Vanilla, no CDN. */
.jh-lb-trigger{display:block;width:100%;padding:0;margin:0;border:0;background:none;font:inherit;color:inherit;cursor:zoom-in;text-align:inherit;-webkit-appearance:none;appearance:none}
.jh-lb-trigger:focus-visible{outline:3px solid #4db848;outline-offset:3px}
.jh-cs .gal .jh-lb-trigger{border-radius:10px;overflow:hidden;background:#eee}
.jh-cs .gal .jh-lb-trigger:hover img{transform:scale(1.03)}
.gallery .jh-lb-trigger{position:relative;height:100%}
.gallery .jh-lb-trigger img{height:100%;object-fit:cover;width:100%;display:block}
html.jh-lb-lock .jg-sticky{visibility:hidden}
html.jh-lb-lock,html.jh-lb-lock body{overflow:hidden!important;overscroll-behavior:none}
.jh-lb{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;background:rgba(10,14,12,.94);color:#fff;font-family:Averta-Regular,Arial,sans-serif;opacity:0;transition:opacity .18s ease}
.jh-lb[hidden]{display:none}
.jh-lb.on{opacity:1}
.jh-lb-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex:0 0 auto}
.jh-lb-count{font-size:15px;font-weight:700;letter-spacing:.02em;color:#fff}
.jh-lb-count b{color:#4db848}
.jh-lb-btn{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,.55);background:rgba(0,0,0,.45);color:#fff;cursor:pointer;padding:0;transition:background-color .2s,border-color .2s,color .2s}
.jh-lb-btn svg{width:22px;height:22px;display:block}
.jh-lb-btn:hover,.jh-lb-btn:focus-visible{background:#4db848;border-color:#4db848;color:#fff}
.jh-lb-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.jh-lb-stage{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 72px;touch-action:pan-y pinch-zoom;user-select:none}
.jh-lb-fig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;min-height:0}
.jh-lb-img{display:block;max-width:100%;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);width:auto;height:auto;object-fit:contain;border-radius:6px;box-shadow:0 8px 40px rgba(0,0,0,.6);background:#222;transition:opacity .15s}
.jh-lb-img.ld{opacity:.35}
.jh-lb-cap{margin:12px auto 0;max-width:60em;text-align:center;font-size:16px;line-height:1.45;color:#f2f2f2;padding:0 8px}
.jh-lb-prev,.jh-lb-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
.jh-lb-prev{left:14px}.jh-lb-next{right:14px}
.jh-lb-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:767px){
 .jh-lb-top{padding:10px 12px}
 .jh-lb-stage{padding:0 8px}
 .jh-lb-img{max-height:calc(100vh - 230px);max-height:calc(100dvh - 230px);border-radius:4px}
 .jh-lb-cap{font-size:15px}
 .jh-lb-prev,.jh-lb-next{top:auto;bottom:-64px;transform:none}
 .jh-lb-stage{margin-bottom:72px}
 .jh-lb-prev{left:calc(50% - 64px)}.jh-lb-next{right:calc(50% - 64px)}
}
@media (prefers-reduced-motion:reduce){.jh-lb,.jh-lb-img{transition:none}}
