.gallery{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:12px;gap:12px}.gallery li{margin:0}.gallery a{display:block;border-radius:8px;overflow:hidden;background:var(--paper-2)}.gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .2s ease}.gallery a:focus-visible img,.gallery a:hover img{transform:scale(1.03)}.gallery p{font-size:.86rem;color:var(--ink-2);margin:6px 2px 0}.lightbox{border:0;padding:0;max-width:100vw;max-height:100vh;width:100vw;height:100vh;background:rgba(7,22,48,.94);color:#fff}.lightbox::-webkit-backdrop{background:rgba(7,22,48,.94)}.lightbox::backdrop{background:rgba(7,22,48,.94)}.lightbox figure{margin:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 56px 16px;box-sizing:border-box}.lightbox img{max-width:100%;max-height:calc(100vh - 120px);object-fit:contain}.lightbox figcaption{display:flex;justify-content:space-between;gap:16px;width:100%;max-width:1100px;padding-top:10px;font-size:.92rem}.lightbox figcaption a{color:var(--gold-200)}.lightbox__count{white-space:nowrap;opacity:.8}.lightbox__btn{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;width:44px;height:44px;border-radius:50%;font-size:1.8rem;line-height:1;cursor:pointer}.lightbox__btn:focus-visible,.lightbox__btn:hover{background:rgba(255,255,255,.25)}.lightbox__close{top:10px;right:10px}.lightbox__prev{left:8px;top:50%}.lightbox__next{right:8px;top:50%}@media (max-width:640px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lightbox figure{padding:52px 8px 12px}.lightbox figcaption{flex-direction:column;gap:4px}}