/* Gallery page only; the global theme/header/footer typography is untouched. */
.bhdbg-gallery-page{background:#fff}
.bhdbg-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.bhdbg-gallery-hero{padding:52px 0 40px;background:linear-gradient(135deg,#3f277c,#56359a);color:#fff;text-align:center}
/* Restore the site's original heading hierarchy instead of font-size:inherit. */
.bhdbg-gallery-page .bhdbg-gallery-hero h1{margin:8px 0 10px;line-height:1.12;color:#fff;font-family:'Aleo',Georgia,serif;font-size:clamp(2rem,3.5vw,2.8rem);font-weight:700}
.bhdbg-gallery-page .bhdbg-gallery-hero p{margin:0 auto;max-width:700px;line-height:1.65;color:#fff;font-size:17px;font-weight:400}
.bhdbg-gallery-page .bhdbg-eyebrow{font-weight:700;letter-spacing:1.5px;color:#ff9a83;font-size:13px}
.bhdbg-gallery-content{padding:52px 0 70px}
.bhdbg-gallery-page .bhdbg-group-title{text-align:center;margin:44px 0 24px;color:#4b3381;font-family:'Aleo',Georgia,serif;font-size:25px;font-weight:700;line-height:1.25}
.bhdbg-gallery-page .bhdbg-group-title:first-child{margin-top:0}
.bhdbg-gallery-page .bhdbg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:34px}
.bhdbg-gallery-page .bhdbg-card{background:#fff;border:1px solid #ebe7f3;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(52,35,92,.08)}
.bhdbg-gallery-page .bhdbg-media{aspect-ratio:4/3;background:#f5f3f9;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bhdbg-gallery-page .bhdbg-media img,.bhdbg-gallery-page .bhdbg-media video{width:100%;height:100%;object-fit:cover;display:block}
.bhdbg-gallery-page .bhdbg-copy{padding:18px 19px 21px}
.bhdbg-gallery-page .bhdbg-copy h3{margin:0 0 8px;color:#422780;line-height:1.35;font-family:'Poppins',sans-serif;font-size:20px;font-weight:700}
.bhdbg-gallery-page .bhdbg-copy p{margin:0;color:#4f4266;line-height:1.65;font-size:15px;font-weight:400}
.bhdbg-gallery-page .bhdbg-vendors .bhdbg-media{aspect-ratio:16/9;padding:18px;background:#fff}
.bhdbg-gallery-page .bhdbg-vendors .bhdbg-media img{object-fit:contain}
.bhdbg-gallery-page .bhdbg-empty{padding:35px;text-align:center;border:1px dashed #cfc6df;border-radius:12px;background:#faf9fc;color:inherit}
/* Uploaded original JPEGs are shown without downsampling to tiny thumbnails.
 * Portrait pictures use contain so faces and DreamBoxes are not cropped. */
.bhdbg-gallery-page .bhdbg-visit-photos .bhdbg-media{background:#f5f3f9}
.bhdbg-gallery-page .bhdbg-visit-photos .bhdbg-media img{object-fit:contain}
@media(max-width:900px){.bhdbg-gallery-page .bhdbg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .bhdbg-wrap{width:min(100% - 28px,1180px)}
 .bhdbg-gallery-hero{padding:42px 0 34px}
 .bhdbg-gallery-page .bhdbg-gallery-hero h1{font-size:32px}
 .bhdbg-gallery-page .bhdbg-group-title{font-size:23px}
 .bhdbg-gallery-page .bhdbg-grid{grid-template-columns:1fr;gap:18px}
 .bhdbg-gallery-content{padding:40px 0 54px}
 .bhdbg-gallery-page .bhdbg-group-title{margin-top:34px}
}
