.work-card[data-gallery]::before{content:"VIEW GALLERY";position:absolute;z-index:2;top:16px;right:16px;padding:7px 10px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(7,17,31,.78);backdrop-filter:blur(8px);color:#fff;font-size:10px;font-weight:800;letter-spacing:.12em;pointer-events:none}
.ehp-gallery-stage{display:flex;align-items:center;justify-content:center;width:min(1100px,84vw);height:min(78vh,820px);touch-action:pan-y;user-select:none}
.ehp-lightbox .ehp-gallery-stage img,.ehp-lightbox .ehp-gallery-stage video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.5);background:#02070d}
.ehp-lightbox .ehp-gallery-stage [hidden]{display:none}
.ehp-gallery-nav{position:absolute;z-index:2;top:50%;width:52px;height:52px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(7,17,31,.8);backdrop-filter:blur(8px);color:#fff;font-size:38px;line-height:1;cursor:pointer;transform:translateY(-50%)}
.ehp-gallery-prev{left:22px}.ehp-gallery-next{right:22px}
.ehp-gallery-nav:hover,.ehp-gallery-nav:focus-visible{border-color:#d8b46a;background:#14233a;outline:none}
.ehp-gallery-counter{position:absolute;left:50%;bottom:46px;transform:translateX(-50%);padding:5px 10px;border-radius:999px;background:rgba(7,17,31,.78);color:#fff;font-size:12px;font-weight:800;letter-spacing:.08em}
.ehp-lightbox p{bottom:16px}
@media(max-width:700px){.work-card[data-gallery]::before{top:12px;right:12px;font-size:9px}.ehp-lightbox{padding:12px}.ehp-gallery-stage{width:94vw;height:74vh}.ehp-gallery-nav{top:auto;bottom:70px;width:46px;height:46px;font-size:32px;transform:none}.ehp-gallery-prev{left:18px}.ehp-gallery-next{right:18px}.ehp-gallery-counter{bottom:62px}.ehp-lightbox p{bottom:18px;width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
