.photo-gallery-section>p{color:#74756c;line-height:1.7;max-width:740px}.photo-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:30px 0 36px}.gallery-tile{display:block;width:100%;padding:0;border:1px solid #e2dfd5;border-radius:16px;overflow:hidden;background:#fff;color:#20211c;text-align:left;cursor:pointer;box-shadow:0 5px 18px #17171106}.gallery-image{position:relative;display:block;aspect-ratio:4/3;background:#eae8df;overflow:hidden}.gallery-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s}.gallery-tile:hover img{transform:scale(1.025)}.gallery-caption{display:block;padding:14px 16px;font-size:12px;font-weight:700;line-height:1.5}.gallery-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f4c430;color:#111}.gallery-tile:focus-visible{outline:3px solid #c09416;outline-offset:3px}.gallery-dialog{border:0;border-radius:18px;padding:16px;background:#11120f;color:#fff;width:min(1050px,94vw);max-width:94vw;max-height:94dvh;overflow:auto}.gallery-dialog::backdrop{background:#000d;backdrop-filter:blur(5px)}.gallery-full-image{height:min(70dvh,750px);display:grid;place-items:center}.gallery-full-image img{display:block;width:100%;height:100%;max-height:70dvh;object-fit:contain}.gallery-close{position:absolute;top:15px;right:15px;z-index:2;border:1px solid #fff5;background:#181a17;color:#fff;border-radius:50%;width:40px;height:40px;font-size:26px;cursor:pointer}.gallery-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.gallery-dialog-bar>div{text-align:center}.gallery-dialog-bar p{font-size:13px;margin:0 0 5px}.gallery-dialog-bar span{font-size:12px;color:#b2b4a8}.gallery-dialog-bar button{width:44px;height:44px;background:#f4c430;color:#111;font-size:26px;border:0;border-radius:10px;cursor:pointer}.gallery-open{overflow:hidden}.gallery-admin .photo-grid img{object-fit:contain;background:#eae8df}.gallery-admin .photo-grid form{display:grid;gap:8px;margin-bottom:12px}.gallery-admin .photo-grid label{font-size:12px}.gallery-admin .photo-grid input{max-width:100%;width:100%;box-sizing:border-box;padding:9px}.gallery-admin .photo-grid article>div{display:block}.gallery-admin .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1100px){.photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:750px){.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-caption{padding:10px;font-size:11px}.gallery-admin .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-full-image{height:65dvh}}@media(max-width:380px){.photo-gallery{gap:8px}.gallery-admin .photo-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.gallery-image img{transition:none}}
.gallery-close,.gallery-dialog-bar button{padding:0;line-height:1;display:grid;place-items:center}.gallery-full-image img{min-height:0}.gallery-dialog:not([open]){display:none}
