/* 부산어디? — 가로 넘김 공통 (bw-swipe v1, 2026-11-20) · assets/v2/bw-swipe.js 짝 */
/* 끝에서 브라우저 뒤로가기 제스처·페이지 가로 밀림 막기 */
.bwsw{overscroll-behavior-x:contain}
/* 카드 줄 스냅(가까운 칸) — 이미 스냅이 있는 칸은 그대로 */
.bwsw-snap{scroll-snap-type:x proximity}
.bwsw-snap>*{scroll-snap-align:start}
/* 마우스로 끌 수 있는 칸 */
@media (hover:hover) and (pointer:fine){
  .bwsw.bwsw-on{cursor:grab}
  .bwsw.bwsw-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none;scroll-behavior:auto !important}
  .bwsw.bwsw-dragging *{pointer-events:none}
}
.bwsw img{-webkit-user-drag:none}
.bwsw:focus-visible{outline:2px solid #2563EB;outline-offset:2px;border-radius:6px}
/* 이전/다음 단추 — PC(마우스)에서만, 넘칠 때만, 끝에서는 숨김 */
.bwsw-host{position:relative}
html body button.bwsw-btn{position:absolute !important;z-index:6;display:none;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;
  transform:translateY(-50%);border:1px solid #E7E4DC;border-radius:999px;background:rgba(255,255,255,.96);color:#2A2F38;
  box-shadow:0 2px 10px rgba(20,24,31,.14);cursor:pointer;transition:opacity .15s,background .15s}
html body button.bwsw-btn:hover{background:#fff;color:#C2410C;border-color:#F3C9B5}
html body button.bwsw-btn--next svg{transform:scaleX(-1)}
html body button.bwsw-btn--sm{width:30px;height:30px}
html body button.bwsw-btn--sm svg{width:15px;height:15px}
@media (hover:hover) and (pointer:fine){ html body button.bwsw-btn{display:inline-flex} }
html body button.bwsw-btn[hidden]{display:none !important}
@media print{ html body button.bwsw-btn{display:none !important} }

/* 상세 사진첩 — 휴대폰에서 손가락으로 넘김(JS 가 사진 칸을 .bwsw-gal 줄로 옮긴다) */
@media (max-width:720px){
  html body .sd-gallery.bwsw-galhost,html body .fd-gallery.bwsw-galhost{display:block !important;position:relative;aspect-ratio:4/3;overflow:hidden}
  html body .bwsw-galhost>.bwsw-gal{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  html body .bwsw-galhost>.bwsw-gal::-webkit-scrollbar{display:none}
  html body .bwsw-galhost>.bwsw-gal>div{display:block !important;flex:0 0 100%;width:100%;height:100%;aspect-ratio:auto !important;scroll-snap-align:start;scroll-snap-stop:always;grid-row:auto !important;grid-column:auto !important}
  html body .bwsw-galhost>.bwsw-gal>div>img:not(.bw-icon){width:100%;height:100%;object-fit:cover}
  html body .bwsw-galhost>.bwsw-count{position:absolute;left:12px;bottom:12px;z-index:3;padding:3px 9px;border-radius:999px;background:rgba(17,20,26,.62);color:#fff;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.02em;pointer-events:none}
}
