#content img{cursor:zoom-in}.image-gallery{z-index:1100;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s,visibility .25s;display:block;position:fixed;inset:0}.image-gallery.is-active{visibility:visible;opacity:1;pointer-events:auto}.image-gallery__backdrop{-webkit-backdrop-filter:blur(4px);background:#0d1c09ed;position:absolute;inset:0}.image-gallery__swiper{box-sizing:border-box;z-index:1;opacity:0;width:100%;height:100%;padding:72px 88px;transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .25s;position:absolute;inset:0;overflow:hidden;transform:scale(.96)}.image-gallery.is-active .image-gallery__swiper{opacity:1;transform:scale(1)}.image-gallery__swiper .swiper-slide{justify-content:center;align-items:center;display:flex}.image-gallery__figure{user-select:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;max-width:100%;max-height:100%;margin:0;padding:0;display:flex}.image-gallery__zoom{justify-content:center;align-items:center;width:auto;min-width:0;max-width:100%;height:auto;min-height:0;max-height:100%;display:flex}.image-gallery__img,.image-gallery__zoom>.image-gallery__img{object-fit:contain;-webkit-user-drag:none;cursor:zoom-in;border-radius:4px;width:auto;max-width:100%;height:auto;max-height:78vh;display:block;box-shadow:0 20px 60px #0006}.image-gallery[data-zoomed=true] .image-gallery__img{cursor:move}.image-gallery[data-zoomed=true] .image-gallery__nav,.image-gallery[data-zoomed=true] .image-gallery__caption{opacity:0;pointer-events:none}.image-gallery__caption{color:#e8e8e8;text-align:center;max-width:80ch;padding:0 8px;font-size:.875rem;font-style:italic;line-height:1.5;transition:opacity .2s}.image-gallery__btn{z-index:3;color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:9999px;justify-content:center;align-items:center;transition:background .15s,transform .15s,opacity .15s;display:inline-flex;position:absolute}.image-gallery__btn:hover,.image-gallery__btn:focus-visible{background:#ffffff3d;outline:none}.image-gallery__btn:active{transform:scale(.94)}.image-gallery__btn svg{width:50%;height:50%;display:block}.image-gallery__nav{color:#fff;width:48px;height:48px;margin:0;top:50%;transform:translateY(-50%)}.image-gallery__nav:active{transform:translateY(-50%)scale(.94)}.image-gallery__nav:after{content:none}.image-gallery__nav--prev{left:16px;right:auto}.image-gallery__nav--next{left:auto;right:16px}.image-gallery__nav.swiper-button-disabled{opacity:.25;pointer-events:none}.image-gallery[data-single=true] .image-gallery__nav,.image-gallery[data-single=true] .image-gallery__counter{display:none}.image-gallery__close{width:44px;height:44px;top:16px;right:16px}.image-gallery__download{width:44px;height:44px;top:16px;right:68px}.image-gallery__counter{z-index:3;color:#fff;letter-spacing:.02em;background:#00000059;border-radius:9999px;padding:6px 12px;font-family:var(--w-font,"Be Vietnam Pro",system-ui,sans-serif);font-size:.875rem;position:absolute;top:24px;left:24px}@media (width<=640px){.image-gallery__swiper{padding:56px 12px}.image-gallery__nav{width:36px;height:36px}.image-gallery__nav--prev{left:8px}.image-gallery__nav--next{right:8px}.image-gallery__close{width:36px;height:36px;top:8px;right:8px}.image-gallery__download{width:36px;height:36px;top:8px;right:52px}.image-gallery__counter{font-size:.75rem;top:12px;left:12px}.image-gallery__img,.image-gallery__zoom>.image-gallery__img{max-height:70vh}}
/* Bổ sung cho Cổng NQ57 */
.image-gallery{font-family:var(--w-font,"Be Vietnam Pro",system-ui,sans-serif)}
.image-gallery__btn:hover,.image-gallery__btn:focus-visible{background:var(--w-blue-2,#4a9a32)}
.image-gallery__btn:focus-visible{outline:2px solid var(--w-sky,#8fd16a);outline-offset:2px}
.image-gallery__caption{font-style:normal}
body.overlay-open{overflow:hidden}
/* Nút < > đứng yên khi bấm; hết ảnh thì mờ nhưng không đóng lightbox (không làm lọt click xuống nền). */
.image-gallery__nav:active{transform:translateY(-50%) scale(.94)!important}
.image-gallery__nav.swiper-button-disabled{pointer-events:auto!important}
/* Chú thích chiếm chỗ cố định 0px để ảnh các slide cùng một tâm khi vuốt trên điện thoại. */
.image-gallery__figure{gap:0!important}
.image-gallery__caption{height:0!important;overflow:visible!important;margin:0!important;padding:12px 8px 0!important}
/* CSS Swiper nạp sau (khi bấm ảnh) có `.swiper{position:relative}` cùng độ ưu tiên và sẽ thắng; nâng độ ưu tiên để lớp phủ luôn phủ kín khung. */
.image-gallery .image-gallery__swiper{position:absolute}
