.project-gallery-count{display:block;font-size:10px;color:var(--olive);margin-top:8px;font-weight:600}
.gallery-dialog{width:min(1100px,94vw);max-width:94vw;max-height:94dvh;padding:25px;overflow:auto}.gallery-heading{display:flex;justify-content:space-between;gap:35px;padding-right:25px}.gallery-heading .eyebrow{margin-bottom:7px}.gallery-dialog h2{margin:0;font-size:27px}.gallery-heading .close-dialog{top:14px;right:18px;width:40px;height:40px;line-height:1}.gallery-filter{display:flex;align-items:center;gap:16px;margin:18px 0}.gallery-filter label{margin:0;white-space:nowrap}.gallery-filter select{max-width:380px;min-height:40px;padding:8px 12px;font-size:12px}.gallery-stage{position:relative;background:#e8ebe2;display:flex;align-items:center;justify-content:center;height:min(53vh,540px);border-radius:3px;overflow:hidden;touch-action:pan-y}.gallery-stage>img{width:100%;height:100%;max-height:none;object-fit:contain}.gallery-stage>button{position:absolute;z-index:1;top:calc(50% - 22px);width:44px;height:44px;border-radius:50%;border:1px solid #dce0d2;background:#ffffffed;display:grid;place-items:center;color:var(--ink);box-shadow:0 2px 8px #203d3920}.gallery-stage>button:disabled{opacity:.35;cursor:default}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-stage svg{width:20px;height:20px}.gallery-prev svg{transform:rotate(180deg)}.gallery-details{display:flex;justify-content:space-between;align-items:center;gap:20px}.gallery-details p{font-size:12px;margin:12px 0;color:var(--ink)}#gallery-count{white-space:nowrap;font-weight:700}.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:4px 3px 10px}.gallery-thumbnails button{border:2px solid transparent;border-radius:3px;padding:2px;background:transparent;flex:0 0 85px;height:64px;overflow:hidden}.gallery-thumbnails img{width:100%;height:100%;object-fit:cover}.gallery-thumbnails button[aria-pressed=true]{border-color:var(--olive)}.gallery-hint{font-size:10px;margin:7px 0 0;text-align:center}
@media(max-width:760px){.gallery-dialog{padding:18px 12px;width:96vw;max-width:96vw;max-height:94dvh}.gallery-dialog h2{font-size:21px}.gallery-heading .eyebrow{font-size:8px;letter-spacing:1px}.gallery-filter{display:block;margin:14px 0}.gallery-filter label{font-size:10px;margin-bottom:5px}.gallery-filter select{max-width:none}.gallery-stage{height:43dvh}.gallery-stage>button{width:36px;height:36px;top:calc(50% - 18px)}.gallery-prev{left:6px}.gallery-next{right:6px}.gallery-details p{font-size:11px}.gallery-thumbnails button{flex-basis:65px;height:52px}}
