/* A calm, frameless full-screen gallery. */
.room-lightbox:not([open]) { display: none; }
.room-lightbox[open] { position: fixed; inset: 0; display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; background: #f6f2ec; color: #493c2e; }
.room-lightbox::backdrop { background: #f6f2ec; }
.room-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; gap: 1.5rem; padding: 1.1rem clamp(1.25rem, 4vw, 4rem); }
.room-lightbox-toolbar small { display: block; color: #9a7c57; font-size: .58rem; letter-spacing: .18em; }
.room-lightbox-toolbar p { margin: .4rem 0 0; font-family: var(--xinoble-display); font-size: 1.15rem; line-height: 1.4; }
.room-lightbox button { display: grid; place-items: center; flex-shrink: 0; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; background: #fffdf9; box-shadow: 0 .25rem 1.5rem #493c2e0d; color: #64513c; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.room-lightbox button:hover { background: #e8d7bf; color: #3d3024; }
.room-lightbox button[hidden] { display: none; }
.room-lightbox button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.room-lightbox-close { background: transparent !important; box-shadow: none !important; }
.room-lightbox-stage { position: relative; display: flex; justify-content: center; flex: 1 1 auto; min-height: 0; margin: 0 clamp(1rem, 7vw, 7rem); }
.room-lightbox-stage > img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.room-lightbox-prev, .room-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.room-lightbox-prev { left: clamp(-4.5rem, -5.5vw, -.5rem); }
.room-lightbox-next { right: clamp(-4.5rem, -5.5vw, -.5rem); }
.room-lightbox-footer { flex-shrink: 0; padding: .8rem 1.25rem 1rem; }
.room-lightbox-description { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-bottom: .7rem; }
.room-lightbox-description p { margin: 0; font-size: .8rem; line-height: 1.6; }
.room-lightbox-description [data-room-counter] { padding-left: 1.5rem; border-left: 1px solid #cfbfa9; color: #9a7c57; font-size: .7rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room-lightbox-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.room-lightbox .room-lightbox-thumbnails > button { position: relative; display: block; width: clamp(3rem, 5vw, 4.5rem); height: clamp(2.75rem, 3.5vw, 3.15rem); border: 2px solid transparent; border-radius: 0; background: #e7ddcf; box-shadow: none; opacity: .55; }
.room-lightbox-thumbnails > button > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-lightbox-thumbnails .xinoble-photo-note { display: none; }
.room-lightbox .room-lightbox-thumbnails > button[aria-pressed="true"] { border-color: #a17f51; opacity: 1; }
.room-lightbox button:focus-visible { outline: 2px solid #9a7c57; outline-offset: 4px; }
.room-lightbox-active { overflow: hidden; }

/* Venue photographs and films stay alongside their own venue information. */
.xinoble-editorial-page .hub-venue-grid .hub-venue-card--video { grid-template-columns: minmax(0, 1fr); }
.xinoble-editorial-page .hub-venue-media--video { min-height: 0; }
.xinoble-editorial-page .hub-venue-media--video > .venue-video { position: static; width: 100%; height: auto; }
.venue-video { width: 100%; margin: 0; background: #221e19; }
.venue-video > video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #221e19; }
.venue-video figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem clamp(1rem, 2vw, 2rem); color: #e8dccb; font-size: .8rem; line-height: 1.75; }
.venue-video figcaption small { color: #cdbb9f; white-space: nowrap; }
.hub-venue-card--video .hub-venue-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 3rem; }
.hub-venue-card--video .hub-venue-title { grid-column: 1; grid-row: 1; }
.hub-venue-card--video .hub-venue-summary { grid-column: 1; grid-row: 2; }
.hub-venue-card--video .hub-venue-facts { grid-column: 1; grid-row: 3; }
.hub-venue-card--video .hub-venue-description { grid-column: 2; grid-row: 1 / 3; }
.hub-venue-card--video .hub-venue-details { grid-column: 2; grid-row: 3; }
.venue-arrangements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0 0 2rem; }
.venue-arrangement-album { min-width: 0; padding-top: .75rem; }
.venue-arrangement-album header { margin-bottom: 1.5rem; }
.venue-arrangement-album h3 { margin: .7rem 0 .8rem; font-family: var(--xinoble-display); }
.venue-arrangement-album header > p:last-child { margin: 0; color: var(--xinoble-muted); font-size: var(--xinoble-type-body); line-height: 1.8; }
.venue-album-pictures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.venue-album-photo { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #e9dfd1; }
.venue-album-photo--cover { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.venue-album-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.venue-album-photo > span[aria-hidden="true"] { position: absolute; right: .4rem; bottom: .3rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #f8f1e8df; color: #64513c; font-size: 1rem; }
.venue-album-photo--cover > span[aria-hidden="true"] { right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; font-size: 1.3rem; }
.venue-album-photo:not(.venue-album-photo--cover) .xinoble-photo-note { display: none; }
.venue-arrangement-note { margin: 0 0 2rem; color: var(--xinoble-muted); font-size: .85rem; line-height: 1.8; }
.venue-arrangement-album:first-child .venue-album-photo:not(.venue-album-photo--cover) { grid-column: span 2; }
@media (max-width: 48rem) {
	.room-lightbox-toolbar { gap: .75rem; padding: .9rem 1rem; }
	.room-lightbox-toolbar small { font-size: .5rem; letter-spacing: .1em; }
	.room-lightbox-toolbar p { font-size: 1rem; }
	.room-lightbox-stage { margin-inline: .5rem; }
	.room-lightbox button { width: 2.75rem; height: 2.75rem; }
	.room-lightbox-prev { left: .25rem; }
	.room-lightbox-next { right: .25rem; }
	.room-lightbox-footer { padding: .7rem .75rem max(1rem, env(safe-area-inset-bottom)); }
	.room-lightbox-description { gap: .75rem; }
	.room-lightbox-description p { max-width: 75%; font-size: .75rem; }
	.room-lightbox-description [data-room-counter] { padding-left: .75rem; }
	.room-lightbox .room-lightbox-thumbnails > button { width: 3.75rem; height: 2.75rem; }
	.venue-video figcaption { flex-direction: column; gap: .15rem; }
	.venue-arrangements { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.hub-venue-card--video .hub-venue-copy { display: block; }
	.hub-venue-card--video .hub-venue-copy > * { display: block; margin: 0 0 1rem; }
	.hub-venue-card--video .hub-venue-copy .hub-venue-facts { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .room-lightbox button { transition: none; } }
