/* 게시글 본문의 이미지 구성에만 적용합니다. */
.jc-image-gallery { display: grid; gap: 8px; margin: 12px 0; min-width: 0; }
.jc-image-gallery > img { display: block; box-sizing: border-box; width: 100%; max-width: 100%; height: auto; }
.jc-image-gallery--grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jc-image-gallery--grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jc-image-gallery--slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.jc-image-gallery--slider > img { flex: 0 0 100%; min-width: 0; object-fit: contain; scroll-snap-align: start; }
.jc-gallery-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 6px 0 16px; }
.jc-gallery-controls button { padding: 5px 12px; border: 1px solid #cfd8e8; border-radius: 6px; background: #fff; color: #1c2e57; cursor: pointer; }
.jc-gallery-controls button:disabled { opacity: .4; cursor: default; }
