/* Listing only: preserve hotel.js's generated DOM/classes/handlers, first
   section/nav and stylesheet order. Never scope these rules to Header/Footer. */
body.page-hotels { margin: 0; }
.page-hotels .container { margin: 0; }
.page-hotels .hotel-collection {
    --hotel-ink: #103b5c;
    --hotel-ocean: #126f82;
    --hotel-paper: #f8f7f3;
    --hotel-mist: #e8f4f6;
    --hotel-sand: #dca56b;
    --hotel-body: #46565e;
    --hotel-line: #d4dbd9;
    --hotel-serif: "PMingLiU", "Songti TC", serif;
    display: flow-root;
    background: var(--hotel-paper);
    color: var(--hotel-ink);
    font-family: var(--mbt-font-sans, "Microsoft JhengHei", sans-serif);
    font-size: var(--mbt-font-size-md, 1rem);
    line-height: 1.8;
}
.page-hotels .hotel-collection *,
.page-hotels .hotel-collection *::before,
.page-hotels .hotel-collection *::after { box-sizing: border-box; }
.page-hotels .hotel-collection :where(h1, p) { margin: 0; }
.page-hotels .area1 {
    width: min(calc(100% - 96px), var(--mbt-container-content, 75rem));
    margin-inline: auto;
    padding-bottom: 96px;
}
/* Editorial opening, distinct from the custom-travel photographic hero. */
.page-hotels .hotel-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
    align-items: end;
    padding-block: 80px 64px;
}
.page-hotels .hotel-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--hotel-ocean);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.page-hotels .hotel-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--hotel-ocean); }
.page-hotels .hotel-eyebrow > span { font-size: 11px; letter-spacing: 0.14em; }
.page-hotels .hotel-intro h1 {
    font-family: var(--hotel-serif);
    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
}
.page-hotels .hotel-intro h1 > span { color: var(--hotel-ocean); }
.page-hotels .hotel-intro__copy { max-width: 27rem; padding-bottom: 4px; }
.page-hotels .hotel-intro__copy > p:first-child { font-size: 22px; line-height: 1.7; }
.page-hotels .hotel-intro__copy > p + p { margin-top: 16px; color: var(--hotel-body); font-size: 16px; line-height: 1.9; }
.page-hotels .hotel-explore {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 44px;
    margin-top: 24px;
    padding-block: 8px;
    border-bottom: 1px solid var(--hotel-ocean);
    color: var(--hotel-ink);
    font-size: 15px;
    text-decoration: none;
    transition: color 160ms ease;
}
.page-hotels .hotel-explore:hover { color: var(--hotel-ocean); }
/* Original GET links, not client-side filters. No fabricated active state. */
.page-hotels .hotel-region-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--hotel-line);
    scroll-margin-top: 24px;
}
.page-hotels .hotel-region-heading > p { font-size: 16px; font-weight: 600; }
.page-hotels .hotel-region-heading > span { color: var(--hotel-body); font-size: 11px; letter-spacing: 0.12em; }
.page-hotels .area1_nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px 28px; border-bottom: 1px solid var(--hotel-line); }
.page-hotels .area1_nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #b6c8ca;
    border-radius: var(--mbt-radius-control, 8px);
    background: transparent;
    color: var(--hotel-ink);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.page-hotels .area1_nav > a:hover { background: var(--hotel-mist); border-color: var(--hotel-ocean); color: var(--hotel-ocean); }
.page-hotels .area1_nav > span { display: none; }
.page-hotels .hotel-collection a:focus-visible { outline: 3px solid var(--hotel-ocean); outline-offset: 4px; }
.page-hotels .hotel-region-heading:focus { outline: 3px solid var(--hotel-ocean); outline-offset: 8px; }
/* Dynamic group headings and their text are left unchanged. */
.page-hotels .area1_content { padding-top: 48px; }
.page-hotels .item + .item { margin-top: 64px; }
.page-hotels .item > .title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 24px;
    padding-left: 16px;
    border-left: 3px solid var(--hotel-sand);
    margin-bottom: 28px;
}
.page-hotels .item > .title > .title1 { font-family: var(--hotel-serif); font-size: 32px; font-weight: 600; line-height: 1.4; }
.page-hotels .item > .title > .title2 { flex: 1 1 20rem; color: var(--hotel-body); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.page-hotels .item > .title > :where(br, hr) { display: none; }
.page-hotels .item > .content { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.page-hotels .item > .content > .h {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    min-width: 0;
    border: 1px solid var(--hotel-line);
    border-radius: var(--mbt-radius-card, 14px);
    background: var(--mbt-color-surface, #fff);
    box-shadow: 0 2px 8px rgb(16 59 92 / 3%);
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.page-hotels .item > .content > .h:hover { border-color: #7c9b9f; box-shadow: 0 6px 20px rgb(16 59 92 / 8%); }
/* The unsemantic div stays in the DOM. Its children become grid items so the
   existing photo, name/price and summary can be visually arranged without JS.
   All summary text remains visible on touch; no hover-only overlay or clamp. */
.page-hotels .h > .h_img { display: contents; }
.page-hotels .h > .h_img > img {
    display: block;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 13px 13px 0 0;
    background: var(--hotel-mist);
}
.page-hotels .h > .h_text { display: flex; grid-row: 2; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; min-width: 0; padding: 24px 24px 16px; }
.page-hotels .h_text > .name { flex-basis: 100%; min-width: 0; font-family: var(--hotel-serif); font-size: 23px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.page-hotels .h_text > br { display: none; }
.page-hotels .h_text > .location { flex: 1 1 5rem; min-width: 0; color: var(--hotel-body); font-size: 14px; overflow-wrap: anywhere; }
.page-hotels .h_text > .price { max-width: 100%; color: var(--hotel-body); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.page-hotels .price > span { margin-right: 6px; color: var(--hotel-ink); font-size: 23px; font-weight: 600; font-variant-numeric: tabular-nums; }
.page-hotels .h > .h_img > .img_t { grid-row: 3; min-width: 0; margin: 0 24px 24px; padding-top: 16px; border-top: 1px solid #e1e7e5; color: var(--hotel-body); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.page-hotels .nodata { padding: 64px 24px; border: 1px solid var(--hotel-line); border-radius: var(--mbt-radius-card, 14px); background: var(--mbt-color-surface, #fff); color: var(--hotel-body); font-size: 18px; line-height: 1.9; text-align: center; overflow-wrap: anywhere; }
/* Existing public-page boundaries; content-driven density replaces fixed sizes. */
@media (max-width: 1280px) {
    .page-hotels .hotel-intro { gap: 40px; padding-block: 64px 56px; }
}
/* Desktop keeps four real cards per row, including narrow laptops. Compact
   padding rather than clipping copy or making text too small. */
@media (min-width: 991px) and (max-width: 1280px) {
    .page-hotels .item > .content { gap: 28px 16px; }
    .page-hotels .h > .h_text { padding: 20px 16px 14px; }
    .page-hotels .h_text > .name,
    .page-hotels .price > span { font-size: 21px; }
    .page-hotels .h > .h_img > .img_t { margin: 0 16px 20px; }
}
@media (max-width: 990px) {
    .page-hotels .item > .content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .page-hotels .area1 { width: calc(100% - 48px); padding-bottom: 64px; }
    .page-hotels .hotel-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 48px 40px; }
    .page-hotels .hotel-eyebrow { margin-bottom: 20px; }
    .page-hotels .hotel-intro h1 { font-size: 48px; }
    .page-hotels .hotel-intro__copy { max-width: 32rem; }
    .page-hotels .hotel-intro__copy > p:first-child { font-size: 20px; }
    .page-hotels .hotel-intro__break { display: none; }
    .page-hotels .area1_nav { gap: 10px; }
    .page-hotels .area1_nav > a { flex: 1 1 auto; padding-inline: 18px; }
    .page-hotels .area1_content { padding-top: 36px; }
    .page-hotels .item + .item { margin-top: 48px; }
    .page-hotels .item > .title { gap: 8px 16px; margin-bottom: 24px; }
    .page-hotels .item > .title > .title1 { font-size: 28px; }
    .page-hotels .item > .content { gap: 24px 20px; }
    .page-hotels .h > .h_text { padding: 20px 18px 16px; }
    .page-hotels .h_text > .name { font-size: 21px; }
    .page-hotels .price > span { font-size: 21px; }
    .page-hotels .h > .h_img > .img_t { margin: 0 18px 20px; }
}
@media (max-width: 560px) {
    .page-hotels .area1 { width: calc(100% - 40px); }
    .page-hotels .hotel-intro { padding-block: 40px 36px; }
    .page-hotels .hotel-intro h1 { font-size: clamp(36px, 10vw, 44px); }
    .page-hotels .hotel-eyebrow { font-size: 13px; gap: 8px; }
    .page-hotels .hotel-eyebrow::before { width: 20px; }
    .page-hotels .hotel-eyebrow > span { font-size: 10px; }
    .page-hotels .hotel-intro__copy > p:first-child { font-size: 19px; }
    .page-hotels .hotel-region-heading { gap: 8px; }
    .page-hotels .hotel-region-heading > span { font-size: 10px; }
    .page-hotels .area1_nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-block: 16px 24px; }
    .page-hotels .area1_nav > a { min-width: 0; padding: 12px 4px; font-size: 14px; }
    .page-hotels .item > .title > .title2 { flex-basis: 100%; }
    .page-hotels .item > .content { grid-template-columns: minmax(0, 1fr); }
    .page-hotels .h > .h_text { padding-inline: 22px; }
    .page-hotels .h > .h_img > .img_t { margin-inline: 22px; }
    .page-hotels .nodata { padding: 40px 20px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(body.page-hotels) { scroll-behavior: auto; }
    .page-hotels .hotel-explore,
    .page-hotels .area1_nav > a,
    .page-hotels .item > .content > .h { transition: none; }
}
