.ap-case-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 30px}.ap-case-gallery button{position:relative;overflow:hidden;min-width:0;padding:0;border:0;border-radius:14px;aspect-ratio:4/3;background:#eceef5;cursor:zoom-in}.ap-case-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}.ap-case-gallery button:hover img,.ap-case-gallery button:focus-visible img{transform:scale(1.045);filter:brightness(1.05)}.ap-case-gallery button:focus-visible{outline:3px solid #d5a83e;outline-offset:3px}.ap-case-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}.ap-case-lightbox::backdrop{background:#05051ee8;backdrop-filter:blur(8px)}.ap-case-lightbox img{position:absolute;inset:50% auto auto 50%;max-width:92vw;max-height:90vh;width:auto;height:auto;object-fit:contain;transform:translate(-50%,-50%);border-radius:10px;box-shadow:0 24px 80px #0009}.ap-case-lightbox__close{position:fixed;z-index:2;top:18px;right:20px;width:48px;height:48px;padding:0;border:2px solid #fff;border-radius:50%;background:#000099;color:#fff;font-size:30px;line-height:1;cursor:pointer}.ap-case-dialog .ap-case-gallery{margin-top:8px}.ap-case-dialog .ap-case-gallery button{aspect-ratio:4/3}@media(max-width:700px){.ap-case-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ap-case-lightbox__close{top:12px;right:12px}.ap-case-lightbox img{max-width:96vw;max-height:86vh}}
