/* JH photographic experience — scoped to the two gallery surfaces. */
body #galerie .jhx-home{display:flex;gap:12px;height:clamp(360px,39vw,560px);margin:44px auto 0;position:relative;align-items:stretch;}
body #galerie .jhx-home figure{flex:1 1 0;min-width:0;height:100%;margin:0!important;overflow:hidden;border-radius:22px;transition:flex .8s cubic-bezier(.2,.75,.2,1);position:relative;}
body #galerie .jhx-home figure.is-active{flex:5 1 0;}
body #galerie .jhx-home a{display:block;position:relative;width:100%;height:100%;overflow:hidden;outline-offset:-5px;}
body #galerie .jhx-home img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transform:none!important;}
body #galerie .jhx-home a:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0c1a1670);pointer-events:none;}
.jhx-badge{position:absolute;z-index:1;bottom:20px;left:16px;display:flex;align-items:center;gap:11px;white-space:nowrap;color:white;font-size:13px;letter-spacing:.015em;font-weight:500;pointer-events:none;}
.jhx-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#f2f1e9;color:#52634a;flex:none;}
.jhx-icon svg{width:23px;height:23px;}
.jhx-badge>span:last-child{opacity:0;transition:opacity .3s;}
.is-active .jhx-badge>span:last-child{opacity:1;}
.jhx-strip-controls{display:flex;justify-content:flex-end;margin:12px auto 0;}
.jhx-play{border:0;background:transparent;color:#52634a;padding:8px 0 8px 16px;font:inherit;font-size:12px;cursor:pointer;min-height:44px;}
body .jh-gallery-page{background:#f1f0e9;background-image:none;}
body .jh-gallery-page>h1{font-size:clamp(48px,6.8vw,96px);margin:30px auto 32px;}
body .jh-gallery-page .jhx-wall{display:block;columns:3;column-gap:clamp(22px,3.5vw,52px);margin:64px auto 0;}
body .jhx-wall figure{break-inside:avoid;margin:0 0 44px!important;width:100%;overflow:visible;}
body .jhx-wall figure:nth-child(6n+2){padding-top:40px;width:88%;margin-left:auto!important;}
body .jhx-wall figure:nth-child(6n+4){width:92%;}
body .jhx-wall a{display:block;border-radius:3px;overflow:hidden;background:transparent;transition:transform .4s;}
body .jhx-wall a:hover{transform:translateY(-5px);}
body .jhx-wall img{display:block;width:100%;height:auto;transform:none!important;}
body .jhx-wall figcaption{display:none;}
html.jhx-viewing{overflow:hidden;}
body dialog.jhx-viewer{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:100%;height:100svh;max-height:100svh;border:0;border-radius:0;padding:24px 36px;margin:0;background:#141816;color:#f1f0e9;overflow:hidden;}
body dialog.jhx-viewer[open]{display:grid;grid-template-rows:40px minmax(0,1fr) 52px;gap:12px;}
.jhx-viewer::backdrop{background:#141816;}
body dialog.jhx-viewer-gallery{background:#f1f0e9;color:#293e29;}
.jhx-stage{min-height:0;display:flex;align-items:center;justify-content:center;position:relative;}
.jhx-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:100%;object-fit:contain;object-position:center;}
.jhx-viewer-gallery .jhx-stage:before{content:'';width:24vw;height:24vw;border:1px solid #748f6630;border-radius:48% 52% 63% 37%;position:absolute;right:-10vw;bottom:-8vw;transform:rotate(25deg);pointer-events:none;}
.jhx-viewer-gallery .jhx-stage img{position:relative;box-shadow:0 10px 45px #293e2910;border-radius:2px;}
.jhx-viewer button{font:inherit;cursor:pointer;color:inherit;background:transparent;border:1px solid #a8b99c70;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;line-height:1;padding:0;}
.jhx-viewer button:hover{background:#748f6620;}
.jhx-viewer button:focus-visible,.jhx-play:focus-visible{outline:2px solid #748f66;outline-offset:4px;}
.jhx-viewer .jhx-close{justify-self:end;font-size:25px;width:40px;height:40px;}
.jhx-view-nav{display:flex;align-items:center;justify-content:center;gap:20px;}
.jhx-counter{min-width:60px;text-align:center;font-size:11px;letter-spacing:.13em;}
.jhx-toggle{font-size:13px;}
@media(max-width:900px){body .jh-gallery-page .jhx-wall{columns:2;column-gap:24px;}body .jhx-wall figure{margin-bottom:24px!important;}}
@media(max-width:700px){body #galerie .jhx-home{height:66svh;max-height:550px;min-height:330px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;}body #galerie .jhx-home figure,body #galerie .jhx-home figure.is-active{flex:0 0 92%;scroll-snap-align:start;border-radius:18px;}body #galerie .jhx-home img{object-position:center;}body .jhx-badge>span:last-child{opacity:1;}body .jh-gallery-page .jhx-wall{column-gap:16px;margin-top:40px;}body .jhx-wall figure:nth-child(6n+2){padding-top:24px;width:100%;}body .jhx-wall figure:nth-child(6n+4){width:100%;}body dialog.jhx-viewer{padding:12px;grid-template-rows:40px minmax(0,1fr) 52px;gap:8px;}.jhx-view-nav{gap:16px;}}
@media(prefers-reduced-motion:reduce){body #galerie .jhx-home figure,body .jhx-wall a{transition:none;}}
