@import url('/fonts/pretendard/pretendard.css');

.room-01 {
    --template-image-height-desktop: 820;
    --template-image-height-mobile: 272;
    position: relative;
    min-height: var(--template-image-height, clamp(620px, 72vw, 820px));
    overflow: hidden;
    background: #9d8875;
    color: #191919;
    font-family: var(--font-suit);
}

.room-01-item {
    position: absolute;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .6s ease;
}

.room-01-item.is-active {
    z-index: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.room-01-item.is-entering,
.room-01-item.is-leaving {
    visibility: visible;
}

.room-01-stage {
    position: absolute;
    inset: 0;
}

.room-01-mobile,
.room-01-mobile-arrow {
    display: none;
}

.room-01-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.room-01-item > img {
    object-fit: cover;
}

.room-01-card {
    position: absolute;
    z-index: 2;
    bottom: clamp(46px, 5.3vw, 80px);
    left: clamp(30px, 4.4vw, 45px);
    width: 345px;
    padding: 32px;
    background: rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(10px) brightness(1.2);
    backdrop-filter: blur(10px) brightness(1.2);
}

.room-01-card p {
    margin-bottom: 8px;
    font-family: var(--font-ivymode);
    font-size: 24px;
    line-height: 24px;
    font-weight: 600;
}

.room-01-card h2 {
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 600;
}

.room-01-card strong {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: -.77px;
}

.room-01-card > div {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: -.77px;
}

.room-01-actions {
    margin-top: 16px;
}

/* Match special-02's detail button, with each room's own color and typography. */
.room-01-more {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 30px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 17px;
    background: var(--room-01-link-background, #fff);
    color: #191919;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: normal;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.room-01-more:focus-visible {
    outline: 2px solid #191919;
    outline-offset: 3px;
}

.room-01-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #191919;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .160784);
    cursor: pointer;
    line-height: 0;
    transform: translateY(-50%);
}

.room-01-arrow-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    pointer-events: none;
}

.room-01-arrow.next .room-01-arrow-icon {
    transform: rotate(180deg);
    transform-origin: center;
}

/* Full-width room photos keep both tour-style arrows inside the image. */
.room-01-arrow.prev {
    left: 26px;
}

.room-01-arrow.next {
    right: 26px;
}

.room-01-arrow:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 860px) {
    .room-01-arrow {
        width: 32px;
        height: 32px;
    }

    .room-01-arrow.prev {
        left: 16px;
    }

    .room-01-arrow.next {
        right: 16px;
    }
}

/* Main_390 reference values, applied through the 480px mobile breakpoint. */
@media (max-width: 480px) {
    .room-01 {
        min-height: 0;
        overflow: hidden;
        background: #fff;
        color: #191919;
    }

    .room-01-stage {
        display: none;
    }

    .room-01-mobile {
        display: block;
        position: relative;
        padding-bottom: 1px;
    }

    .room-01-mobile-stack {
        position: relative;
    }

    .room-01-mobile-card {
        display: block;
        min-height: 408px;
        margin: 0 0 calc(38 * var(--template-space-unit, 1px)) 0;
        background: #fff;
    }

    .room-01-mobile-card > img {
        display: block;
        width: 100%;
        height: var(--template-image-height, 272px);
        object-fit: cover;
    }

    .room-01-mobile-card > div {
        padding: 0 15px;
    }

    .room-01-mobile-card p {
        margin: 0;
        font-family: var(--font-ivymode);
        font-size: 20px;
        font-weight: 600;
        line-height: 40px;
        letter-spacing: 1px;
    }

    .room-01-mobile-card h2 {
        margin: -6px 0 0;
        font-size: 24px;
        font-weight: 500;
        line-height: 40px;
    }

    .room-01-mobile-card strong {
        display: block;
        font-weight: 500;
        margin: 0;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: -.67px;
    }

    .room-01-mobile-card span {
        display: block;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -.67px;
    }

    .room-01[data-room-mobile-layout="scroll"] .room-01-mobile-stack {
        display: flex;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .room-01-mobile-stack::-webkit-scrollbar {
        display: none;
    }

    .room-01[data-room-mobile-layout="scroll"] .room-01-mobile-card {
        flex: 0 0 100%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .room-01[data-room-mobile-layout="scroll"] .room-01-mobile-arrow {
        position: absolute;
        z-index: 4;
        top: calc(var(--image-height, var(--template-image-height, 272px)) * .5);
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #191919;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, .160784);
        cursor: pointer;
        line-height: 0;
        transform: translateY(-50%);
    }

    .room-01-mobile-arrow.prev {
        left: 8px;
    }

    .room-01-mobile-arrow.next {
        right: 8px;
    }

    .room-01-mobile-arrow-icon {
        display: block;
        width: 100%;
        height: 100%;
        fill: currentColor;
        pointer-events: none;
    }

    .room-01-mobile-arrow.next .room-01-mobile-arrow-icon {
        transform: rotate(180deg);
        transform-origin: center;
    }

    .room-01-mobile-arrow:focus-visible,
    .room-01-mobile-stack:focus-visible {
        outline: 2px solid #191919;
        outline-offset: -2px;
    }
}

/* Main_768 artboard values. */
@media (min-width: 481px) and (max-width: 768px) {
    .room-01 {
        height: var(--template-image-height, 432px);
        min-height: var(--template-image-height, 432px);
    }

    .room-01-card {
        right: auto;
        bottom: 40px;
        left: 32px;
        width: 294px;
        min-height: 176px;
        padding: 24px;
    }

    .room-01-card p {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: .8px;
    }
    .room-01-card h2 {
        margin-bottom: 8px;
        font-size: 24px;
        line-height: 40px;
    }

    .room-01-card strong {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -.67px;
    }

    .room-01-card > div {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -.67px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .room-01-item {
        transition-duration: .15s;
    }
}

@media (hover: none), (pointer: coarse) {
    .room-01-more { min-height: 44px; }
}

@media (max-width: 600px) {
    .room-01-more {
        min-width: 70px;
        min-height: 23px;
        padding: 7px 8px 6px;
        font-size: 10px;
    }
}
