/* 운영 사본 보정 CSS (아임웹 JS 가 계산하던 값을 CSS 로 대체). site/assets/shim/shim.css 의 공통 부분에서 시작 */

/* 이미지 위젯: 호버 오버레이를 이미지 박스에 맞춤 (원래는 JS 가 px 로 계산) */
._img_box.img_wrap { position: relative; }
._img_box.img_wrap > ._hover_overlay { position: absolute !important; top: 0 !important; left: 0 !important; margin: 0 !important; width: 100% !important; height: 100% !important; }

/* 게시글 이미지 크게 보기 (shim.js, 원본 lightGallery 대신) */
.shim-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.shim-lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.shim-lightbox-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
