/* ========== DSM GALLERY START ========== */
.dsm-gallery{display:grid;grid-template-columns:repeat(var(--dsm-cols),minmax(0,1fr));gap:12px;width:100%}
.dsm-gallery__item{display:block;position:relative;aspect-ratio:1/1;min-width:0;overflow:hidden;padding:0!important;margin:0!important;border:0!important;border-radius:15px;background:#ddd;cursor:pointer;box-shadow:none!important}
.dsm-gallery__item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .4s}
.dsm-gallery__item:hover img{transform:scale(1.1);filter:brightness(.85)}
.dsm-gallery__item:focus-visible{outline:3px solid #e87522;outline-offset:3px}
.dsm-lightbox[hidden]{display:none!important}
.dsm-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(12,10,10,.94);display:flex;align-items:center;justify-content:center;padding:60px 70px;animation:dsmFade .25s ease}
.dsm-lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.dsm-lightbox figure img{display:block;max-width:100%;max-height:calc(100vh - 130px);width:auto;height:auto;object-fit:contain;border-radius:8px;animation:dsmZoom .3s ease}
.dsm-lightbox figcaption{color:#eee;font-size:13px;text-align:center}
.dsm-lightbox button{position:absolute;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:#171111;color:#fff;cursor:pointer;font-size:24px;transition:background .25s}
.dsm-lightbox button:hover{background:#e87522}
.dsm-lightbox__close{top:20px;right:20px}.dsm-lightbox__prev{left:15px;top:50%}.dsm-lightbox__next{right:15px;top:50%}
@keyframes dsmFade{from{opacity:0}to{opacity:1}}@keyframes dsmZoom{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(max-width:1024px){.dsm-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.dsm-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dsm-lightbox{padding:55px 12px}.dsm-lightbox__prev{left:5px}.dsm-lightbox__next{right:5px}}
@media(prefers-reduced-motion:reduce){.dsm-gallery__item img,.dsm-lightbox figure img{animation:none;transition:none}}
/* ========== DSM GALLERY END ========== */
