.galleries{background:#fff}
.gallery-group{padding:30px 0 42px;border-top:1px solid #dce1e3}
.gallery-group+.gallery-group{margin-top:10px}
.gallery-heading{display:flex;gap:22px;align-items:baseline;margin-bottom:24px}
.gallery-heading>span{color:#ba8031;font:800 13px Manrope;letter-spacing:.12em}
.gallery-heading h3{font-size:26px;letter-spacing:-.035em;margin-bottom:5px}
.gallery-heading p{color:#65717a;font-size:14px}
.gallery-photos{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}
.gallery-photo{appearance:none;position:relative;display:block;border:0;padding:0;min-width:0;height:245px;background:#e5e9eb;overflow:hidden;cursor:zoom-in}
.gallery-photo.wide{height:245px}
.gallery-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .35s ease}
.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:scale(1.045);filter:brightness(.88)}
.gallery-photo:focus-visible{outline:3px solid #d69a4b;outline-offset:4px}
.gallery-video{display:grid;grid-template-columns:minmax(190px,260px) 1fr;align-items:center;gap:28px;background:#f0f3f5;margin-top:18px;padding:18px 25px}
.gallery-video video{display:block;width:100%;max-height:320px;background:#142331;object-fit:contain}
.gallery-video h4{font:800 23px/1.2 Manrope;margin:0 0 10px;letter-spacing:-.035em}
.gallery-video p{color:#65717a;margin:0}
.lightbox{position:fixed;inset:0;margin:auto;max-width:min(1040px,calc(100vw - 40px));max-height:calc(100vh - 50px);border:0;padding:20px;background:#101d27;color:#fff;box-shadow:0 25px 80px #0008}
.lightbox::backdrop{background:#07111bdc}
.lightbox img{max-height:calc(100vh - 160px);max-width:100%;width:auto;height:auto;object-fit:contain;margin:auto}
.lightbox-close{position:absolute;right:10px;top:10px;width:36px;height:36px;border:0;background:#fff;color:#152a39;cursor:pointer;font-size:18px}
@media(max-width:900px){.gallery-photos{grid-template-columns:1.5fr 1fr 1fr}.gallery-photo,.gallery-photo.wide{height:200px}}
@media(max-width:720px){.gallery-group{padding:25px 0 33px}.gallery-heading{gap:14px}.gallery-heading h3{font-size:22px}.gallery-photos{grid-template-columns:1fr 1fr;gap:8px}.gallery-photo.wide{grid-column:span 2;height:230px}.gallery-photo{height:150px}.gallery-video{grid-template-columns:1fr;padding:14px;gap:15px}.gallery-video video{max-height:360px}.lightbox{padding:12px;max-width:calc(100vw - 20px)}}
@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}
