.bshRoomStream {
    --bsh-room-stream-text: var(--bsh-color-headline);
    --bsh-room-stream-muted: var(--bsh-color-body);
    --bsh-room-stream-line: rgba(94, 94, 94, .22);
    position: relative;
    overflow: clip;
    color: var(--bsh-room-stream-text);
    background: transparent;
}

/*
 * Keep reveal targets in their initial state before the footer scripts run.
 * This is intentionally duplicated from the global motion guard so the room
 * listing cannot flash its finished state even when its block stylesheet is
 * the first motion-related asset returned from cache.
 */
.bsh-js .bshRoomStream [data-bsh-room-stream-media]:not(.is-bsh-motion-init),
.bsh-js .bshRoomStream [data-bsh-split]:not(.is-bsh-motion-init),
.bsh-js .bshRoomStream [data-bsh-reveal]:not(.is-bsh-motion-init),
.bsh-js .bshRoomStream .bshRoomStream__facts li:not(.is-bsh-motion-init) {
    visibility: hidden;
    opacity: 0;
}

.bsh-js .bshRoomStream [data-bsh-room-stream-media]:not(.is-bsh-motion-init) {
    clip-path: inset(0 100% 0 0);
}

.bsh-js .bshRoomStream [data-bsh-room-stream-media].is-bsh-motion-init:not(.is-bsh-motion-visible) {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
}

.bsh-js .bshRoomStream [data-bsh-room-stream-media].is-bsh-motion-visible {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

.bshRoomStream--light,
.bshPageTheme--pastel .bshRoomStream {
    --bsh-room-stream-text: var(--bsh-color-white);
    --bsh-room-stream-muted: rgba(255, 255, 255, .72);
    --bsh-room-stream-line: rgba(255, 255, 255, .25);
}

.bshRoomStream--dark,
.bshPageTheme--white .bshRoomStream {
    --bsh-room-stream-text: var(--bsh-color-headline);
    --bsh-room-stream-muted: var(--bsh-color-body);
    --bsh-room-stream-line: rgba(94, 94, 94, .22);
}

/* On the immersive pastel page the section itself inherits the coloured
   canvas, so it follows the same outer rhythm as blocks with their own rich
   background. White-page room streams keep their existing editorial spacing. */
.bshRoomStream--light,
.bshPageTheme--pastel .bshRoomStream {
    padding-block: 0 var(--bsh-section-y-rich);
}

.bshRoomStream--light .bshRoomStream__heading,
.bshPageTheme--pastel .bshRoomStream__heading {
    padding-block: 0 var(--bsh-section-y-rich);
}

.bshRoomStream--light .bshRoomStream__footer,
.bshPageTheme--pastel .bshRoomStream__footer {
    padding-block: var(--bsh-section-y-rich) 0;
}

.bshRoomStream__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
    gap: 40px clamp(60px, 8vw, 150px);
    padding-block: 0 clamp(88px, 11vw, 190px);
}

.bshRoomStream__heading h2 {
    margin: 0;
    color: inherit;
    font-size: var(--bsh-fs-h2);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .94;
}

.bshRoomStream__eyebrow {
    color: currentColor;
}

.bshRoomStream__intro {
    align-self: end;
    color: var(--bsh-room-stream-muted);
    line-height: 1.75;
}

.bshRoomStream__list {
    display: grid;
    gap: clamp(90px, 16vw, 150px);
}

.bshRoomStream__roomFrame {
    width: 100%;
}

.bshRoomStream__visual {
    position: relative;
    width: min(100%, 1660px);
    margin-inline: auto;
    padding-left: clamp(62px, 7vw, 128px);
}

.bshRoomStream__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 8.2;
    color: var(--bsh-color-white);
    overflow: hidden;
    text-decoration: none;
}

.bshRoomStream__mediaInner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bshRoomStream__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), filter .55s ease;
}

.bshRoomStream__media:hover .bshRoomStream__image,
.bshRoomStream__media:focus-visible .bshRoomStream__image {
    filter: brightness(.88);
    transform: scale(1.055);
}

.bshRoomStream__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(17, 15, 14, .58));
    content: '';
    pointer-events: none;
}

.bshRoomStream__facts {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    width: clamp(48px, 5vw, 88px);
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 0;
    margin: 0;
    border-block: 1px solid var(--bsh-room-stream-line);
    border-left: 1px solid var(--bsh-room-stream-line);
    list-style: none;
}

.bshRoomStream__facts li {
    color: var(--bsh-room-stream-text);
    font-size: clamp(11px, .78vw, 15px);
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Facts keep their final vertical orientation for the whole reveal. Only
   opacity changes, so the labels never spin between animation states. */
.bsh-js .bshRoomStream__facts li.is-bsh-motion-init {
    transition-property: opacity, visibility;
}

.bshRoomStream__rate {
    position: absolute;
    z-index: 2;
    right: clamp(22px, 3vw, 58px);
    bottom: clamp(22px, 3vw, 54px);
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--bsh-color-white);
}

.bshRoomStream__rate small {
    font-size: clamp(10px, .72vw, 13px);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bshRoomStream__rate strong {
    font-size: clamp(19px, 1.7vw, 32px);
    font-weight: 500;
}

.bshRoomStream__rate.is-unavailable strong {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .55);
    font-size: clamp(11px, .8vw, 14px);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bshRoomStream__roomTitle {
    position: relative;
    z-index: 3;
    width: min(82%, 1180px);
    margin: clamp(-54px, -4vw, -30px) auto 0;
    color: var(--bsh-room-stream-text);
    font-size: clamp(58px, 7.4vw, 142px);
    font-weight: 300;
    letter-spacing: -.06em;
    line-height: .82;
    text-align: center;
}

.bshRoomStream__roomTitle a {
    color: inherit;
    text-decoration: none;
}

.bshRoomStream__description {
    width: min(720px, calc(100% - 120px));
    margin: clamp(34px, 4vw, 70px) auto 0;
    color: var(--bsh-room-stream-muted);
    font-size: clamp(16px, 1.15vw, 21px);
    line-height: 1.75;
    text-align: center;
}

.bshRoomStream__footer {
    display: flex;
    justify-content: center;
    padding-block: clamp(100px, 12vw, 220px);
}

.bshRoomStream__footer a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}

.bshRoomStream__footer svg {
    width: 18px;
}

@media (max-width: 900px) {
    .bshRoomStream__heading {
        grid-template-columns: 1fr;
    }

    .bshRoomStream__visual {
        padding-left: 0;
    }

    .bshRoomStream__facts {
        position: relative;
        inset: auto;
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border: 0;
        border-bottom: 1px solid var(--bsh-room-stream-line);
    }

    .bshRoomStream__facts li {
        padding: 18px 8px;
        text-align: center;
        writing-mode: initial;
        transform: none;
    }

    .bshRoomStream__media {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 600px) {
    .bshRoomStream__heading {
        padding-block: 0 88px;
    }

    .bshRoomStream__list {
        gap: 110px;
    }

    .bshRoomStream__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bshRoomStream__facts li:nth-child(odd) {
        border-right: 1px solid var(--bsh-room-stream-line);
    }

    .bshRoomStream__roomTitle {
        width: 96%;
        margin-top: -20px;
        font-size: clamp(52px, 17vw, 82px);
    }

    .bshRoomStream__description {
        width: calc(100% - 32px);
    }

    .bshRoomStream__rate {
        right: 16px;
        bottom: 16px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bshRoomStream__image {
        transform: none !important;
        transition: none;
    }
}
