.about-gallery{background:var(--white);scroll-margin-top:var(--nav-h)}
.about-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:2.25rem}
.about-gallery-heading .s-title{margin-bottom:.8rem}
.about-gallery-hint{color:var(--text-muted);font-size:.85rem;flex-shrink:0}
.about-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem 1.25rem}
.about-gallery-photo{display:block;background:none;border:0;width:100%;padding:0;cursor:zoom-in;border-radius:8px;overflow:hidden}
.about-gallery-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:var(--photo-position,center);background:var(--cream)}
.about-gallery-photo:focus-visible{outline:3px solid var(--brown);outline-offset:5px}
.about-gallery-grid figcaption{font-size:.9rem;color:var(--deep);line-height:1.6;margin-top:.7rem;word-break:keep-all}
.about-gallery-note{color:var(--text-muted);font-size:.83rem;line-height:1.8;margin-top:2rem;max-width:760px;word-break:keep-all}
body.about-gallery-open{overflow:hidden}
.about-gallery-viewer{position:fixed;inset:0;margin:auto;width:min(1120px,calc(100% - 2rem));max-width:none;max-height:calc(100dvh - 2rem);padding:1rem;border:1px solid rgba(232,201,122,.3);border-radius:12px;background:var(--deep);color:#fff;overflow:auto;box-shadow:0 24px 80px rgba(0,0,0,.4)}
.about-gallery-viewer::backdrop{background:rgba(18,16,12,.88)}
.about-gallery-toolbar,.about-gallery-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.about-gallery-toolbar{padding-bottom:.75rem}
.about-gallery-toolbar h2{font-family:'Noto Sans KR',sans-serif;font-size:1rem;font-weight:500;color:#fff}
.about-gallery-viewer button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:44px;min-height:44px;padding:.5rem .8rem;font:inherit;font-size:.9rem;color:#fff;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:6px;cursor:pointer;flex-shrink:0}
.about-gallery-viewer button:hover{background:rgba(255,255,255,.1)}
.about-gallery-viewer button:focus-visible{outline:3px solid var(--gold-light);outline-offset:3px}
.about-gallery-full{width:100%;height:min(68dvh,760px);object-fit:contain;background:#19160f;touch-action:pan-y}
.about-gallery-viewer-footer{padding-top:1rem}
.about-gallery-viewer-caption{text-align:center;line-height:1.7;word-break:keep-all}
.about-gallery-viewer-caption p{font-size:.95rem;color:#fff}
.about-gallery-viewer-caption span{display:block;font-size:.8rem;color:var(--gold-light);margin-top:.15rem}
@media(max-width:900px){
  .about-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about-gallery-heading{display:block}
  .about-gallery-hint{margin-top:1rem}
}
@media(max-width:480px){
  .about-gallery-grid{gap:1.4rem .8rem}
  .about-gallery-grid figcaption{font-size:.8rem;margin-top:.55rem}
  .about-gallery-heading{margin-bottom:1.6rem}
  .about-gallery-viewer{width:calc(100% - 1rem);padding:.75rem;max-height:calc(100dvh - 1rem)}
  .about-gallery-full{height:60dvh}
  .about-gallery-viewer-footer{gap:.5rem;align-items:flex-start}
  .about-gallery-viewer-caption p{font-size:.8rem}
  .about-gallery-viewer button{padding:.4rem .6rem;font-size:.8rem}
}

/* ── Viewer: same full-screen photo overlay as the news page ── */
.about-gallery-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:1rem;border:0;border-radius:0;background:rgba(10,8,5,.95);box-shadow:none;overflow:hidden;color:#fff}
.about-gallery-viewer[open]{display:flex;align-items:center;justify-content:center}
.about-gallery-viewer::backdrop{background:transparent}
.about-gallery-viewer .ag-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.about-gallery-viewer .ag-stage{display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0;max-width:100%}
.about-gallery-viewer .about-gallery-full{width:auto;height:auto;max-width:min(95vw,1400px);max-height:78dvh;border-radius:18px;object-fit:contain;background:transparent;touch-action:pan-y;animation:agFade .28s ease}
@keyframes agFade{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}
.about-gallery-viewer .about-gallery-viewer-caption{text-align:center;max-width:min(90vw,760px);line-height:1.7;word-break:keep-all}
.about-gallery-viewer .about-gallery-viewer-caption p{font-size:1rem;font-weight:500;color:#fff}
.about-gallery-viewer .about-gallery-viewer-caption span{display:block;font-size:.8rem;color:var(--gold-light);margin-top:.15rem;letter-spacing:.04em}
.about-gallery-viewer button.ag-close,.about-gallery-viewer button.ag-nav{position:fixed;z-index:2;padding:0;background:rgba(17,15,11,.58);color:#fff;border:0;border-radius:50%;cursor:pointer;transition:background .2s,transform .2s}
.about-gallery-viewer button.ag-close:hover,.about-gallery-viewer button.ag-nav:hover{background:rgba(17,15,11,.82)}
.about-gallery-viewer button.ag-close{top:18px;right:18px;width:46px;height:46px;font-size:1.5rem;line-height:1}
.about-gallery-viewer button.ag-nav{top:50%;width:48px;height:48px;font-size:1.2rem;transform:translateY(-50%)}
.about-gallery-viewer button.ag-nav:active{transform:translateY(-50%) scale(.94)}
.about-gallery-viewer .ag-prev{left:16px}
.about-gallery-viewer .ag-next{right:16px}
@media(max-width:480px){
  .about-gallery-viewer{padding:.5rem}
  .about-gallery-viewer .about-gallery-full{max-height:70dvh;border-radius:14px}
  .about-gallery-viewer button.ag-nav{top:auto;bottom:18px;transform:none;width:44px;height:44px}
  .about-gallery-viewer button.ag-nav:active{transform:scale(.94)}
  .about-gallery-viewer .ag-prev{left:18px}
  .about-gallery-viewer .ag-next{right:18px}
  .about-gallery-viewer .about-gallery-viewer-caption{margin-bottom:3.4rem}
}
@media(prefers-reduced-motion:reduce){.about-gallery-viewer .about-gallery-full{animation:none}}
