.bdh-reviews-gallery-page {
    background: #fffdf8;
    padding: 72px 0 92px;
}

.bdh-reviews-gallery-page__inner {
    width: 100%;
}

.bdh-reviews-gallery-page__header {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.bdh-reviews-gallery-page__eyebrow {
    margin: 0 0 8px;
    color: #c99a3a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bdh-reviews-gallery-page__header h1 {
    margin: 0;
    color: #151515;
    font-family: "Prata", serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    font-family: "Bricolage Grotesque", Sans-serif;
}



.bdh-reviews-gallery-page__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 12px;
    color: #d1a64d;
}

.bdh-reviews-gallery-page__ornament span {
    width: 132px;
    height: 1px;
    background: #dfc17f;
}

.bdh-reviews-gallery-page__ornament b {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

.bdh-reviews-gallery-page__subtitle {
    margin: 0;
    color: #645f56;
    font-size: 16px;
    line-height: 1.6;
}

.bdh-reviews-gallery-page__intro {
    max-width: 760px;
    margin: -20px auto 34px;
    color: #5b564d;
    text-align: center;
}

.bdh-reviews-gallery-page__intro > :first-child { margin-top: 0; }
.bdh-reviews-gallery-page__intro > :last-child { margin-bottom: 0; }

.bdh-reviews-gallery {
    columns: 4;
    column-gap: 18px;
    width: 100%;
}

.bdh-reviews-gallery__item {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    break-inside: avoid;
    overflow: hidden;
    border: 1px solid rgba(29, 24, 16, .08);
    border-radius: 16px;
    background: #f7f3ea;
    box-shadow: 0 9px 30px rgba(27, 22, 14, .07);
    vertical-align: top;
}

.bdh-reviews-gallery__link {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.bdh-reviews-gallery__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .08);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.bdh-reviews-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    transition: transform .35s ease;
}

.bdh-reviews-gallery__item:hover .bdh-reviews-gallery__image {
    transform: scale(1.025);
}

.bdh-reviews-gallery__item:hover .bdh-reviews-gallery__link::after {
    opacity: 1;
}

.bdh-reviews-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 76px;
    background: rgba(10, 10, 10, .92);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.bdh-reviews-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.bdh-reviews-lightbox__image {
    display: block;
    max-width: min(1100px, 92vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .4);
}

.bdh-reviews-lightbox__close,
.bdh-reviews-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
    transition: background .2s ease;
}

.bdh-reviews-lightbox__close:hover,
.bdh-reviews-lightbox__nav:hover {
    background: rgba(255, 255, 255, .22);
}

.bdh-reviews-lightbox__close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.bdh-reviews-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 64px;
    border-radius: 10px;
    font-size: 42px;
}

.bdh-reviews-lightbox__nav.is-prev { left: 18px; }
.bdh-reviews-lightbox__nav.is-next { right: 18px; }

body.bdh-gallery-lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
    .bdh-reviews-gallery { columns: 3; }
}

@media (max-width: 767px) {
    .bdh-reviews-gallery-page { padding: 52px 0 66px; }
    .bdh-reviews-gallery-page__header { margin-bottom: 30px; }
    .bdh-reviews-gallery-page__ornament span { width: 86px; }
    .bdh-reviews-gallery { columns: 2; column-gap: 12px; }
    .bdh-reviews-gallery__item { margin-bottom: 12px; border-radius: 12px; }
    .bdh-reviews-gallery{
        padding: 0px 15px;
    }
    
    .bdh-reviews-lightbox { padding: 64px 16px; }
    .bdh-reviews-lightbox__nav { width: 42px; height: 52px; font-size: 34px; }
    .bdh-reviews-lightbox__nav.is-prev { left: 8px; }
    .bdh-reviews-lightbox__nav.is-next { right: 8px; }
}

@media (max-width: 480px) {
    .bdh-reviews-gallery-page__eyebrow { font-size: 12px; }
    .bdh-reviews-gallery-page__subtitle { font-size: 14px; }
    .bdh-reviews-gallery { columns: 2; }
}
