.ehs-gallery-page .fq-hero {background:var(--dk) center/cover no-repeat}
.ehs-gallery-page .fq-qcount {grid-template-columns:1fr}
.ehs-photo-gallery.elementor-widget {width:min(calc(100% - 40px),1200px);min-width:0;margin:40px auto clamp(48px,7vw,100px)}
.ehs-photo-gallery .elementor-image-gallery {min-width:0}
.ehs-photo-gallery .elementor-image-gallery .gallery {margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(130px,13vw,190px);gap:12px;counter-reset:shot}
.ehs-photo-gallery .gallery::after,.ehs-photo-gallery .gallery::before {display:none}
.ehs-gallery-page .ehs-photo-gallery .elementor-image-gallery .gallery .gallery-item {display:block;margin:0;padding:0;width:100%;max-width:none;min-width:0;counter-increment:shot}
.ehs-photo-gallery .gallery-item:is(:nth-child(1),:nth-child(8),:nth-child(13),:nth-child(20)) {grid-column:span 2;grid-row:span 2}
.ehs-photo-gallery .gallery-item:is(:nth-child(11),:nth-child(12)){grid-column:span 2}
.ehs-photo-gallery .gallery-icon,.ehs-photo-gallery .gallery a {height:100%;width:100%}
.ehs-photo-gallery .gallery a {position:relative;display:block;border-radius:16px;overflow:hidden;background:#12261a;cursor:zoom-in}
.ehs-photo-gallery .gallery a:after {content:counter(shot,decimal-leading-zero);position:absolute;bottom:10px;left:12px;color:white;background:#12261acc;padding:5px 9px;border-radius:7px;font:700 13px Poppins,sans-serif}
.ehs-photo-gallery .gallery a:focus-visible {outline:3px solid #688e33;outline-offset:-3px}
.ehs-photo-gallery .gallery .gallery-item img {display:block;width:100%;height:100%;object-fit:cover;border:0;transition:transform .3s}
@media(hover:hover){.ehs-photo-gallery .gallery a:hover img{transform:scale(1.035)}}
.eg-bar,.eg-reel-controls {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.eg-bar {margin-bottom:22px;color:var(--mu);font:600 13px Poppins,sans-serif}
.eg-views {display:inline-flex;padding:4px;border-radius:40px;background:var(--mist)}
.eg-views button,.eg-reel-controls button,.eg-dialog button {cursor:pointer}
.eg-views button {padding:12px 18px;background:transparent;color:var(--tx);border:0;border-radius:30px;font:600 13px Poppins,sans-serif}
.eg-views button[aria-selected=true]{background:var(--dk);color:white}
.ehs-photo-gallery.is-film .elementor-image-gallery {background:#12261a;border-radius:16px;padding:24px 0 13px}
.ehs-photo-gallery.is-film .gallery {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:12px max(16px,calc((100% - min(78vw,560px))/2));gap:14px;scrollbar-width:thin;scrollbar-color:#72865a #12261a}
.ehs-photo-gallery.is-film .gallery .gallery-item {flex:0 0 min(78vw,560px);aspect-ratio:16/9;scroll-snap-align:center}
.eg-reel-controls {justify-content:center;margin:12px 16px 0;color:#fff;font:600 13px Poppins,sans-serif}
.eg-reel-controls button,.eg-dialog .eg-arrow {border:0;border-radius:50%;background:#a5d45b;color:#12261a;font-size:24px;width:44px;height:44px;line-height:1;padding:0}
.eg-reel-controls button:disabled {opacity:.4}
.eg-dialog {border:0;margin:0;inset:0;width:100%;height:100%;max-width:none;max-height:none;background:rgba(10,22,15,.97);color:white;padding:56px 72px 16px}
.eg-dialog[open]{display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;gap:12px}
.eg-dialog::backdrop{background:#0a160f}
.eg-dialog figure {margin:0;height:100%;min-width:0;max-width:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;gap:10px}
.eg-dialog figure img {max-width:100%;width:auto;max-height:100%;height:auto;object-fit:contain;border-radius:12px}
.eg-dialog figcaption{font:600 14px Poppins,sans-serif;color:#c5d4ca}
.eg-dialog .eg-close,.eg-dialog .eg-arrow {position:absolute}
.eg-dialog .eg-close {right:14px;top:10px;width:44px;height:44px;padding:0;border:1px solid #ffffff70;border-radius:50%;color:#fff;background:#15271e;font-size:26px;line-height:1}
.eg-dialog .eg-arrow {top:45%}
.eg-dialog .eg-prev {left:12px}.eg-dialog .eg-next {right:12px}
.eg-thumbs {display:flex;gap:6px;align-items:center;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;padding:4px;scrollbar-width:thin}
.eg-thumbs button {flex:0 0 auto;width:70px;height:44px;padding:0;border:2px solid transparent;border-radius:6px;background:#12261a;overflow:hidden;opacity:.6}
.eg-thumbs button[aria-current=true]{border-color:#a5d45b;opacity:1}
.eg-thumbs img {width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:900px){.ehs-photo-gallery .elementor-image-gallery .gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(120px,28vw,200px)}}
@media(max-width:640px){
 .ehs-photo-gallery.elementor-widget {margin-top:24px}
 .ehs-photo-gallery .elementor-image-gallery .gallery{gap:8px}
 .eg-bar{gap:6px}.eg-views button{padding:12px}
 .eg-dialog{padding:54px 10px 12px}
 .eg-dialog figure {padding-bottom:45px}
 .eg-dialog .eg-arrow{top:auto;bottom:73px}
 .eg-thumbs button{width:56px}
}
@media(prefers-reduced-motion:reduce){.ehs-photo-gallery .gallery img{transition:none!important}}
