@charset "UTF-8";

/* Extend the existing editorial system; do not change shared section styles. */
.hotel-stay {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.hotel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hotel-heading .hotel-heading-note {
    margin: 0;
    color: var(--reading-ink);
    font-family: var(--serif);
    line-height: 1.9;
}

.hotel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px clamp(32px, 4vw, 56px);
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.hotel-stay figure { margin: 0; min-width: 0; }
.hotel-room { grid-column: 1; grid-row: 1; }
.hotel-room > img {
    display: block;
    height: auto;
    aspect-ratio: 3 / 2;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.hotel-stay figcaption {
    margin-top: 10px;
    color: var(--reading-ink);
    font-size: 14px;
    line-height: 1.7;
}
.hotel-room > figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
}

.hotel-copy { min-width: 0; grid-column: 2; grid-row: 1; }
.hotel-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 0 0 16px;
    color: var(--green);
    font-size: var(--reading-detail);
}
.hotel-location > span {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}
.hotel-copy h3 {
    margin: 0;
    font: 500 clamp(24px, 2.05vw, 30px)/1.65 var(--serif);
    letter-spacing: .015em;
}
.hotel-local-name {
    margin: 8px 0 20px;
    color: var(--reading-ink);
    font-size: 14px;
    letter-spacing: .06em;
}
.hotel-brand { display: block; white-space: nowrap; }
.hotel-description {
    margin: 0;
    color: var(--reading-ink);
    font-size: var(--reading-body);
    line-height: 1.95;
}
.hotel-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 24px 0 0;
    padding: 16px 0;
    border-block: 1px solid var(--line);
    list-style: none;
    color: var(--green);
    font-size: var(--reading-detail);
}
.hotel-facilities li { display: flex; align-items: center; gap: 10px; }
.hotel-facilities i { width: 20px; text-align: center; }
.hotel-details-photos {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.hotel-details-photos img {
    display: block;
    width: 100%;
    height: clamp(160px, 20vw, 260px);
    object-fit: cover;
}
.hotel-note {
    margin: 24px 0 0;
    color: var(--reading-ink);
    font-size: var(--reading-detail);
    line-height: 1.85;
}
.itinerary .day-copy > .day-hotel { margin: 10px 0; font-size: var(--reading-detail); }
.day-hotel a {
    display: inline-block;
    min-height: 44px;
    padding-block: 6px;
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.day-hotel i { margin-left: 6px; font-size: 12px; }
.day-hotel-english { display: block; font-size: 15px; line-height: 1.75; }
.day-hotel a:hover { text-decoration-thickness: 2px; }
.day-hotel a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

@media (max-width: 1000px) {
    .hotel-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
    .hotel-copy h3 { font-size: 24px; }
}

@media (max-width: 920px) {
    .hotel-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 28px; padding-top: 24px; }
    .hotel-room, .hotel-copy, .hotel-details-photos { grid-column: auto; grid-row: auto; }
}

@media (max-width: 767px) {
    .hotel-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
    .hotel-heading-note br { display: none; }
    .hotel-copy h3 { font-size: clamp(20px, 5.5vw, 28px); }
    .hotel-location { margin-bottom: 12px; }
    .hotel-details-photos { gap: 16px; }
    .hotel-stay figcaption { font-size: 13px; }
    .hotel-note { font-size: 15px; }
}

@media (max-width: 600px) {
    .hotel-details-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
    .hotel-guestroom { grid-column: 1 / -1; }
    .hotel-details-photos img { height: auto; aspect-ratio: 8 / 5; }
    .hotel-details-photos .hotel-guestroom > img { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
    .hotel-stay .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2027 three-stay editorial spread. Extra photographs stay in each album. */
.hotel-stay { padding-block: 64px 72px; }
.hotel-heading { align-items: flex-end; margin-bottom: 32px; }
.hotel-heading .hotel-heading-note { margin: 0 0 3px; color: var(--reading-ink, #53604d); font: 400 15px/1.9 var(--serif); }
.hotel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hotel-card { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--green); scroll-margin-top: 28px; }
.hotel-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding-block: 10px; }
.hotel-stay-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; line-height: 1.5; }
.hotel-stay-label strong { color: var(--green); font: 600 16px/1.5 var(--serif); }
.hotel-stay-label > span { color: var(--reading-ink, #53604d); font: 400 14px/1.5 var(--sans); }
.hotel-night { flex-shrink: 0; color: var(--green); font: 500 14px/1.5 var(--sans); white-space: nowrap; }
.hotel-night--consecutive { padding: 4px 10px; background: #e8eedf; }
.hotel-photo-link { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e8e9df; cursor: zoom-in; }
.hotel-photo-link > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hotel-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.hotel-thumbnail { display: block; min-width: 0; height: clamp(56px, 6vw, 76px); overflow: hidden; background: #e8e9df; cursor: zoom-in; }
.hotel-thumbnail > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity .18s ease; }
.hotel-thumbnail:hover > img { opacity: .8; }
.hotel-thumbnail:active > img { opacity: .65; }
.hotel-thumbnail:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#hotel-yaan .hotel-thumbnail:last-child > img { object-position: center 75%; }
#hotel-yaan .hotel-photo-link > img { object-position: center 23%; }
.hotel-photo-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #fff; background: rgba(19, 40, 29, .86); font: 400 13px/1.5 var(--sans); }
.hotel-photo-count svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.hotel-card-copy { display: flex; flex: 1; flex-direction: column; padding-top: 18px; }
.hotel-city { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 10px; color: var(--green); font: 500 15px/1.5 var(--sans); }
.hotel-city > span { color: #637359; font: 600 13px/1.5 var(--script); letter-spacing: .13em; }
.hotel-card h3 { min-height: 3.1em; margin: 0; color: var(--ink); font: 500 clamp(22px, 1.9vw, 25px)/1.55 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.hotel-card h3 > span { display: block; }
.hotel-card h3 > span:first-child { min-height: 1.55em; }
.hotel-card h3 .hotel-english-name { margin-top: 8px; color: #53604d; font: 400 15px/1.6 var(--serif); letter-spacing: .015em; overflow-wrap: normal; word-break: normal; }
.hotel-card h3 + .hotel-description { margin-top: 16px; }
.hotel-card .hotel-local-name { margin: 8px 0 14px; color: var(--reading-ink, #53604d); font: 400 14px/1.7 var(--sans); letter-spacing: .03em; }
.hotel-card .hotel-description { flex: 1; margin: 0 0 16px; color: var(--reading-ink, #53604d); font: 400 15px/1.9 var(--serif); }
.hotel-gallery-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding-block: 10px; border-block: 1px solid var(--line); color: var(--green); font: 500 16px/1.6 var(--sans); text-decoration: none; transition: background .18s ease; }
.hotel-gallery-link > span { font-size: 22px; font-weight: 400; line-height: 1; }
.hotel-gallery-link:hover { background: #edf1e6; }
.hotel-photo-link:hover .hotel-photo-count { background: var(--green); }
.hotel-photo-link:focus-visible, .hotel-gallery-link:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.hotel-notes { margin-top: 28px; }
.hotel-notes .hotel-note { margin: 0; color: var(--green); font: 400 16px/1.9 var(--sans); }
.hotel-photo-note { margin: 5px 0 0; color: var(--reading-ink, #53604d); font: 400 14px/1.8 var(--sans); }
[data-hotel-photos][hidden] { display: none; }

/* Independent hotel dialog, sharing only the panda album's visual controls. */
html.hotel-album-open { overflow: hidden; scrollbar-gutter: stable; }
.hotel-photo-album.panda-album { width: min(1040px, calc(100% - 40px)); }
.hotel-photo-album .panda-album-header h2 { font-size: 20px; letter-spacing: .02em; }
.hotel-photo-album .panda-album-header p { font: 500 13px/1.6 var(--sans); letter-spacing: .08em; }
.hotel-photo-album .panda-album-frame { display: grid; place-items: center; }
.hotel-photo-album .panda-album-image { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.hotel-photo-album [hidden] { display: none !important; }

@media (min-width: 768px) and (max-width: 1100px) {
    .hotel-grid { gap: 20px; }
    .hotel-stay-label { gap: 3px 8px; flex-direction: column; }
    .hotel-stay-label > span { font-size: 14px; }
    .hotel-card-meta { align-items: flex-start; min-height: 64px; padding-top: 12px; }
    .hotel-night { margin-top: 2px; }
    .hotel-card h3 { min-height: 0; font-size: 21px; }
    .hotel-card h3 > span:first-child { min-height: 3.1em; }
    .hotel-card h3 .hotel-english-name { min-height: 3.2em; }
    .hotel-card .hotel-local-name { min-height: 3.4em; }
    .hotel-card .hotel-description { font-size: 14px; }
}
@media (min-width: 1101px) and (max-width: 1199px) {
    .hotel-card h3 { min-height: 3.1em; }
}
@media (max-width: 767px) {
    .hotel-stay { padding-block: 48px; }
    .hotel-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 26px; }
    .hotel-heading .hotel-heading-note { font-size: 14px; }
    .hotel-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .hotel-card { scroll-margin-top: 12px; }
    .hotel-card-meta { min-height: 48px; }
    .hotel-photo-link { aspect-ratio: 16 / 9; }
    .hotel-thumbnail { height: 72px; }
    .hotel-card-copy { padding-top: 16px; }
    .hotel-card h3 { min-height: 0; font-size: 24px; line-height: 1.6; }
    .hotel-city { margin-bottom: 8px; }
    .hotel-card .hotel-local-name { margin-block: 6px 12px; }
    .hotel-card .hotel-description { font-size: 15px; margin-bottom: 14px; }
    .hotel-notes { margin-top: 24px; }
    .hotel-notes .hotel-note { font-size: 16px; }
    html.hotel-album-open { scrollbar-gutter: auto; }
}
@media (max-width: 640px) {
    .hotel-photo-album.panda-album { width: 100vw; }
    .hotel-photo-album .panda-album-header h2 { font-size: 17px; line-height: 1.6; }
    .hotel-photo-album .panda-album-caption strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hotel-gallery-link, .hotel-thumbnail > img { transition: none; } }

/* Keep the approved hotel type sizes independent of page-wide reading styles. */
.hotel-stay .hotel-heading .hotel-heading-note {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.95;
}
.hotel-stay .hotel-card .hotel-description {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: .015em;
}
.hotel-stay .hotel-note,
.hotel-stay .hotel-photo-note,
.itinerary .day-copy > .day-hotel { font-family: var(--serif); }
@media (max-width: 767px) {
    .hotel-stay .hotel-heading .hotel-heading-note,
    .hotel-stay .hotel-card .hotel-description { font-size: 17px; }
}
