.room-galleries-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #ece8e4;
}

.room-galleries-section__intro {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.room-galleries-section__label {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin: 0 0 1rem;
}

.room-galleries-section__title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #2d2d2d;
    margin: 0 0 0.75rem;
}

.room-galleries-section__text {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

.room-galleries-section__list {
    display: grid;
    gap: 2.5rem;
}

.room-gallery-block {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #ece8e4;
    border-radius: 1.25rem;
    background: #fcfbfa;
}

@media (min-width: 768px) {
    .room-gallery-block {
        padding: 1.75rem;
    }
}

.room-gallery-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.room-gallery-block__label {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b74949;
    margin: 0 0 0.35rem;
}

.room-gallery-block__title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #2d2d2d;
    margin: 0;
}

.room-gallery-block__link {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b74949;
    text-decoration: none;
}

.room-gallery-block__link:hover {
    color: #933838;
}

.room-gallery-block__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .room-gallery-block__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.room-gallery-block__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: none;
    padding: 0;
    border-radius: 0.85rem;
    cursor: zoom-in;
    background: #eee9e4;
}

.room-gallery-block__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.room-gallery-block__item:hover img {
    transform: scale(1.05);
}

.room-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.88);
}

.room-gallery-lightbox.hidden {
    display: none;
}

.room-gallery-lightbox__figure {
    margin: 0;
    max-width: min(1100px, 92vw);
    width: 100%;
}

.room-gallery-lightbox__image {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 0.75rem;
}

.room-gallery-lightbox__caption {
    margin-top: 0.75rem;
    text-align: center;
    color: #fff;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9375rem;
}

.room-gallery-lightbox__close,
.room-gallery-lightbox__nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    cursor: pointer;
}

.room-gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
}

.room-gallery-lightbox__nav--prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.room-gallery-lightbox__nav--next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
