.wedding-gallery{padding:100px max(5vw,24px);background:#f8f6f1;scroll-margin-top:110px}.gallery-heading{max-width:670px;margin-bottom:42px}.gallery-heading h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(36px,4.5vw,64px);line-height:1.08;margin:14px 0 22px}.gallery-heading>p:last-child{font-size:18px;color:#56625b;line-height:1.7}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;max-width:1400px}.gallery-item{margin:0}.gallery-open{display:block;position:relative;overflow:hidden;background:#e9e6dd;aspect-ratio:4/3}.gallery-open img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.gallery-open:hover img{transform:scale(1.035)}.gallery-open span{position:absolute;right:14px;bottom:14px;border:1px solid #ffffffb0;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;background:#263a3566;color:#fff;font-size:23px}.gallery-item figcaption{font-size:15px;color:#59645e;margin-top:12px}.gallery-open:focus-visible{outline:3px solid #997d47;outline-offset:4px}.gallery-lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:60px 70px;border:0;background:#14201df7;color:#fff;overflow:hidden}.gallery-lightbox::backdrop{background:#14201d}.gallery-lightbox[open]{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:14px}.gallery-lightbox figure{margin:0;min-width:0;max-height:calc(100dvh - 140px);text-align:center}.gallery-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 175px);width:auto;height:auto;object-fit:contain;margin:auto}.gallery-lightbox figcaption{margin-top:14px;font-size:16px;line-height:1.5}.gallery-lightbox button{padding:0;width:48px;height:48px;border:1px solid #ffffff70;background:transparent;color:white;font-size:25px;cursor:pointer}.gallery-lightbox button:focus-visible{outline:3px solid #d8c296;outline-offset:3px}.gallery-close{position:absolute;right:24px;top:20px}.gallery-position{position:absolute;bottom:20px;left:0;right:0;text-align:center;font-size:14px;letter-spacing:2px;margin:0}.gallery-previous:disabled,.gallery-next:disabled{visibility:hidden}@media(max-width:850px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wedding-gallery{padding-top:70px;padding-bottom:70px}.gallery-lightbox{padding:70px 12px 55px}.gallery-lightbox[open]{grid-template-columns:42px minmax(0,1fr) 42px;gap:5px}.gallery-lightbox button{width:40px;height:44px}.gallery-close{right:16px}.gallery-lightbox figure{max-height:calc(100dvh - 150px)}}@media(max-width:480px){.gallery-grid{gap:14px}.gallery-open{aspect-ratio:1/1}.gallery-heading>p:last-child{font-size:16px}.gallery-lightbox[open]{grid-template-columns:1fr}.gallery-previous,.gallery-next{position:absolute;bottom:13px}.gallery-previous{left:20px}.gallery-next{right:20px}.gallery-lightbox img{max-height:calc(100dvh - 180px)}.gallery-position{bottom:26px;pointer-events:none}}@media(prefers-reduced-motion:reduce){.gallery-open img{transition:none}}
.gallery-lightbox video{display:block;max-width:100%;max-height:calc(100dvh - 175px);width:auto;height:auto;object-fit:contain;margin:auto;background:#14201d}.gallery-lightbox [hidden]{display:none!important}.gallery-media-error{font-size:15px;line-height:1.5}.gallery-media-error a{color:#e8d3ab;text-decoration:underline}@media(max-width:480px){.gallery-lightbox video{max-height:calc(100dvh - 180px)}}
