.workshop-gallery{background:#fff;border-bottom:1px solid var(--line)}
.workshop-gallery .section{padding-block:85px}
.workshop-gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:34px}
.workshop-gallery-heading h2{font-size:clamp(3.6rem,6vw,5.7rem)}
.workshop-gallery-heading p{max-width:340px;font-size:1rem;line-height:1.7}
.workshop-gallery-stage{display:grid;grid-template-columns:2fr 1fr;gap:20px}
.workshop-gallery-main{position:relative;display:block;aspect-ratio:3/2;min-width:0;background:#f1f2ef;touch-action:pan-y pinch-zoom;overflow:hidden}
.workshop-gallery-main img{width:100%;height:100%;object-fit:cover}
.workshop-gallery-expand{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:12px;background:var(--ink);color:#fff;padding:10px 14px;font-size:.875rem;font-weight:700;pointer-events:none}
.workshop-gallery-expand span{color:var(--yellow);font-size:1.2rem;line-height:1}
.workshop-gallery-previews{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:20px;min-height:0}
.workshop-gallery-preview{position:relative;min-height:0;display:block;overflow:hidden;border:0;padding:0;background:#f1f2ef}
.workshop-gallery-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.workshop-gallery-preview:hover img{transform:scale(1.025)}
.workshop-gallery-preview::after{content:'';background:var(--ink) url('/assets/icons/arrow-up-right.svg') center/20px no-repeat;position:absolute;right:10px;bottom:10px;display:grid;place-items:center;background-color:var(--yellow);color:var(--ink);width:32px;height:32px;font-size:1.2rem}
.workshop-gallery-main:hover .workshop-gallery-expand{background:var(--yellow);color:var(--ink)}
.workshop-gallery-main:hover .workshop-gallery-expand span{color:var(--ink)}
.workshop-gallery-main:focus-visible,.workshop-gallery-preview:focus-visible{outline:3px solid var(--green);outline-offset:5px}
.workshop-gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:20px}
.workshop-gallery-caption{font-size:1rem;color:var(--ink);font-weight:600}
.workshop-gallery-nav{display:flex;align-items:center;gap:13px;flex-shrink:0}
.workshop-gallery-nav button,.workshop-lightbox-nav button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border:1px solid var(--ink);font-size:1.25rem;color:var(--ink)}
.workshop-gallery-nav button:hover{background:var(--yellow)}
.workshop-gallery-count{font-size:.8125rem;font-variant-numeric:tabular-nums;min-width:55px;text-align:center;color:var(--muted)}
.workshop-gallery-nav[hidden]{display:none}
.workshop-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding-top:26px;border-top:1px solid var(--line)}
.workshop-gallery-footer p{font-size:1rem;color:var(--ink)}
.workshop-gallery-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workshop-lightbox{padding:0;border:1px solid #5a6051;width:min(1180px,calc(100vw - 40px));max-height:calc(100dvh - 40px);background:var(--ink);color:#fff;overflow:auto}
.workshop-lightbox::backdrop{background:#080a07ed}
.workshop-lightbox-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px}
.workshop-lightbox-header h2{font-family:Manrope,Arial,sans-serif;font-size:1rem;line-height:1.4;letter-spacing:0}
.workshop-lightbox-close{min-height:44px;padding:8px 14px;background:none;color:#fff;border:1px solid #828976;font-size:.875rem}
.workshop-lightbox-close:hover{background:var(--yellow);color:var(--ink)}
.workshop-lightbox-image{display:block;width:100%;height:auto;max-height:min(68dvh,760px);object-fit:contain;background:#000}
.workshop-lightbox-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px}
.workshop-lightbox-caption{color:#fff;font-size:.9375rem}
.workshop-lightbox-nav{display:flex;gap:12px;flex-shrink:0}
.workshop-lightbox-nav button{border-color:#828976;color:#fff}
.workshop-lightbox-nav button:hover{background:var(--yellow);color:var(--ink)}
.workshop-lightbox :focus-visible{outline-color:var(--yellow)}
.workshop-gallery-open{overflow:hidden}
@media(max-width:900px){.workshop-gallery-stage,.workshop-gallery-previews{gap:14px}.workshop-gallery-heading{gap:25px}.workshop-gallery-heading p{max-width:280px}.workshop-gallery-expand{padding:8px 11px;right:12px;bottom:12px}}
@media(max-width:760px){.workshop-gallery .section{padding-block:58px}.workshop-gallery-heading{display:block;margin-bottom:25px}.workshop-gallery-heading h2{font-size:3.6rem}.workshop-gallery-heading p{max-width:none;margin-top:20px}.workshop-gallery-stage{display:block}.workshop-gallery-previews{display:none}.workshop-gallery-main{aspect-ratio:3/2}.workshop-gallery-meta{align-items:flex-start;gap:15px}.workshop-gallery-caption{font-size:.875rem;line-height:1.6}.workshop-gallery-nav{gap:7px}.workshop-gallery-count{min-width:45px;font-size:.75rem}.workshop-gallery-expand{font-size:.8125rem}.workshop-gallery-footer{display:block;margin-top:25px;padding-top:22px}.workshop-gallery-footer .button{margin-top:18px;min-height:54px;width:100%}.workshop-lightbox{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.workshop-lightbox-header,.workshop-lightbox-footer{padding:12px 14px}.workshop-lightbox-image{max-height:min(60dvh,600px)}.workshop-lightbox-footer{align-items:flex-start}.workshop-lightbox-caption{font-size:.875rem}}
@media(max-width:370px){.workshop-gallery-meta{display:block}.workshop-gallery-nav{justify-content:flex-end;margin-top:13px}.workshop-gallery-heading h2{font-size:3.25rem}}
@media(prefers-reduced-motion:reduce){.workshop-gallery-preview img{transition:none}.workshop-gallery-preview:hover img{transform:none}}
