.fpg-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:calc(100% - 48px);max-width:1200px;margin:40px auto}.fpg-photo{margin:0;background:#fff;border:1px solid #ded8ca;border-radius:8px;overflow:hidden}.fpg-photo a{display:block}.fpg-photo img{display:block;width:100%;height:280px;object-fit:cover;transition:transform .2s ease}.fpg-photo a:hover img,.fpg-photo a:focus img{transform:scale(1.02)}.fpg-photo figcaption{padding:10px 12px;color:#002244;font-size:14px}.fpg-empty{width:calc(100% - 48px);max-width:1200px;margin:40px auto}@media(max-width:800px){.fpg-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.fpg-photo img{height:230px}}@media(max-width:520px){.fpg-gallery{grid-template-columns:1fr;width:calc(100% - 28px);gap:12px;margin:24px auto}.fpg-photo img{height:240px}}
.fpg-gallery img,.fpg-lightbox img{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}

body.fpg-lightbox-open{overflow:hidden}.fpg-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:56px 76px;background:rgba(0,22,44,.94);color:#fff}.fpg-lightbox.is-open{display:flex}.fpg-lightbox-content{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-width:0}.fpg-lightbox-content img{display:block;max-width:100%;max-height:calc(100vh - 135px);width:auto;height:auto;object-fit:contain;box-shadow:0 8px 30px rgba(0,0,0,.35)}.fpg-lightbox-meta{display:flex;justify-content:space-between;gap:24px;width:100%;max-width:1100px;padding-top:14px;font-size:15px}.fpg-lightbox-caption{overflow-wrap:anywhere}.fpg-lightbox-count{margin-left:auto;white-space:nowrap;color:#d7e0e5}.fpg-lightbox button{position:absolute;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(0,34,68,.72);color:#fff;cursor:pointer}.fpg-lightbox button:hover,.fpg-lightbox button:focus{background:#69be28;color:#002244;outline:2px solid #fff;outline-offset:2px}.fpg-lightbox-close{top:16px;right:18px;width:46px;height:46px;font-size:34px;line-height:1}.fpg-lightbox-prev,.fpg-lightbox-next{top:50%;width:54px;height:54px;margin-top:-27px;font-size:30px}.fpg-lightbox-prev{left:14px}.fpg-lightbox-next{right:14px}@media(max-width:700px){.fpg-lightbox{padding:58px 12px 70px}.fpg-lightbox-content img{max-height:calc(100vh - 150px)}.fpg-lightbox-prev,.fpg-lightbox-next{top:auto;bottom:12px;width:48px;height:48px;margin:0;font-size:25px}.fpg-lightbox-prev{left:calc(50% - 58px)}.fpg-lightbox-next{right:calc(50% - 58px)}.fpg-lightbox-close{top:10px;right:10px;width:42px;height:42px}.fpg-lightbox-meta{padding:10px 4px 0;font-size:13px}}
