/* Voyage East: Journey pages, the Journeys overview and compact product layouts.
   Loaded after editorial.css and motion.css. Scoped by component class or by
   body.journey-page, so nothing here reaches the other product pages except
   the shared date and offer components. Existing tokens only. */

/* ---------- Hero: tighter opening for the two Journeys ---------- */
.journey-page .product-hero { padding-top: calc(var(--editorial-header) + 36px); padding-bottom: 36px; }
.journey-page .product-heading { padding-bottom: 24px; }
.journey-page .product-photo { min-height: 360px; }
.journey-page .product-description { line-height: 1.65; }
.journey-page .product-meta + .product-meta { margin-top: 10px; }
.journey-page .product-actions { margin-top: 22px; }

/* An offer that belongs next to the price (Xinchang party discount). */
.product-meta--offer { border-left: 2px solid var(--ve-cinnabar); padding-left: 12px; color: var(--fg1); }
.product-meta--offer strong { font-weight: 600; color: var(--ve-cinnabar-deep); }
.product-meta--offer span { display: block; }

/* Product-only notice under the enquiry product select. */
.product-notice { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ve-teal); }

/* ---------- Journey highlights ---------- */
.journey-highlights { padding-block: clamp(28px, 3.2vw, 44px); }
.jh-title { font-size: clamp(30px, 3vw, 40px); margin: 0 0 clamp(16px, 1.8vw, 24px); }
.jh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 28px) clamp(32px, 5vw, 72px); }
.jh-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 20px; border-top: 1px solid var(--rule); }
.jh-item--text { grid-template-columns: minmax(0, 1fr); }
.jh-photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.jh-photo picture { display: block; height: 100%; }
.jh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jh-item--host .jh-photo img { object-position: 50% 20%; }
.jh-copy h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -.01em; color: var(--ve-teal); margin: 0 0 8px; }
.jh-copy p { font-size: 16px; line-height: 1.55; color: var(--fg2); max-width: 46ch; margin: 0; }
.jh-summary { margin: clamp(18px, 2.4vw, 28px) 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--fg2); }

/* ---------- Route at a glance + compact daily itinerary ---------- */
.route-days-section { padding-block: clamp(30px, 3.6vw, 52px); }
.sec-head--row { max-width: none; margin-bottom: clamp(18px, 2.2vw, 28px); }
.sec-head--row .eyebrow { margin-bottom: 12px; }
.sec-head--row .body-text { max-width: 62ch; margin-top: 12px; }
.route-band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(24px, 3vw, 40px); }
.route-map { margin: 0; }
.route-map figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--fg3); }
.route-svg { display: block; width: 100%; height: auto; }
.rm-frame { fill: var(--bg); stroke: var(--rule); stroke-width: 1; }
.rm-lake { fill: var(--ve-celadon-wash); stroke: var(--ve-celadon); stroke-width: 1.5; }
.rm-water { font: italic 400 22px var(--font-serif); fill: var(--ve-celadon-deep); }
.rm-far { stroke: var(--fg3); stroke-width: 1.3; stroke-dasharray: 4 5; }
.rm-stay { fill: var(--ve-cinnabar); }
.rm-tag { font: 400 16px var(--font-sans); fill: var(--fg2); }
.rm-place { font: 400 19px var(--font-sans); fill: var(--fg1); }
.rm-city { fill: none; stroke: var(--ve-celadon); stroke-width: 1.5; stroke-dasharray: 5 5; }
.rm-hit { fill: transparent; }
.rm-dot { fill: var(--ve-teal); transition: fill 160ms; }
.rm-num { font: 500 18px var(--font-sans); fill: var(--ve-paper); pointer-events: none; }
.rm-node { cursor: pointer; }
.rm-node:hover .rm-dot, .rm-node:focus-visible .rm-dot { fill: var(--ve-cinnabar); }
.rm-node:focus-visible { outline: none; }
.rm-node:focus-visible .rm-hit { stroke: var(--ve-cinnabar); stroke-width: 2.5; }
.route-list-title { font-size: var(--fs-eyebrow); font-family: var(--font-sans); font-weight: 400; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--signature-deep); margin: 0 0 8px; }
.route-list { list-style: none; margin: 0; padding: 0; }
.route-list li { border-top: 1px solid var(--rule); }
.route-list li:last-child { border-bottom: 1px solid var(--rule); }
.route-list a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 10px 0; min-height: 44px; align-items: baseline; font-size: 16px; line-height: 1.45; color: var(--fg1); text-decoration: none; }
.route-list a:hover { color: var(--ve-cinnabar-deep); }
.route-day { font: italic 400 18px var(--font-serif); color: var(--signature-deep); }
.route-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg3); }

.journey-days { list-style: none; margin: 0; padding: 0; }
.jd-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 38%); gap: clamp(20px, 3vw, 44px); align-items: center; padding-block: 18px; border-top: 1px solid var(--rule); }
.jd-num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1; color: var(--signature-deep); white-space: nowrap; }
.jd-text h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.01em; color: var(--ve-teal); margin: 0 0 10px; }
.jd-text p { font-size: 16.5px; line-height: 1.62; color: var(--fg2); max-width: 52ch; margin: 0; }
.jd-photo { margin: 0; }
.jd-photo picture { display: block; }
.jd-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Stay and photographs ---------- */
.stay-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.stay-copy .eyebrow { margin-bottom: 14px; }
.stay-copy .sec-head-title { margin-bottom: 14px; }
.stay-copy .body-text + .body-text { margin-top: 14px; }
.stay-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stay-photo { margin: 0; }
.stay-photo picture { display: block; }
.stay-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.stay-photo img[src*="hotel-pond-reflection"] { object-position: 50% 58%; }
.stay-photo img[src*="hotel-garden-pavilion"] { object-position: 50% 62%; }
.stay-photo figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--fg3); }
.route-photos { margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--rule); }
.photos-title { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.photo-note { margin: 8px 0 20px; font-size: 14px; line-height: 1.55; color: var(--fg3); max-width: 62ch; }

/* ---------- Dates, price and inclusions ---------- */
.dates-section .compare-grid { margin-top: clamp(24px, 3vw, 36px); }
.dates-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.dates-layout:not(:has(.date-picker:not([hidden]))) { grid-template-columns: minmax(0, 420px); }
.price-card--compact { margin: 0; }
.date-picker-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.date-picker-choose { min-width: 0; display: grid; gap: 16px; }
.date-picker-controls { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.date-picker-field { display: grid; gap: 6px; min-width: 0; flex: 0 1 170px; }
.date-picker-field label { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--fg2); }
.date-picker-field select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 40px 10px 14px; border: 1px solid var(--fg3); border-radius: 0; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23284845' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; font: 16px var(--font-sans); color: var(--fg1); appearance: none; -webkit-appearance: none; }
.date-cards { border: 0; margin: 0; padding: 0; min-width: 0; }
.date-cards-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.date-card { position: relative; display: block; cursor: pointer; }
.date-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.date-card-text { position: relative; display: block; min-height: 66px; padding: 12px 14px; border: 1px solid var(--rule); background: var(--bg); transition: border-color 160ms, background-color 160ms; }
.date-card:hover .date-card-text { border-color: var(--ve-teal); }
.date-card input:checked + .date-card-text { border-color: var(--ve-teal); background: var(--bg-elevated); box-shadow: inset 0 0 0 1px var(--ve-teal); }
.date-card input:checked + .date-card-text::after { content: ""; position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--ve-teal); }
.date-card input:focus-visible + .date-card-text { outline: 2px solid var(--ve-cinnabar); outline-offset: 3px; }
.date-card-range { display: block; font-family: var(--font-serif); font-size: 21px; line-height: 1.15; color: var(--fg1); }
.date-card-days { display: block; margin-top: 4px; font-size: 12.5px; color: var(--fg3); }
.date-picker-count { margin: 0; align-self: flex-end; padding-bottom: 12px; font-size: 14px; color: var(--fg2); }
.date-summary { padding-top: 18px; border-top: 1px solid var(--ve-teal); }
.date-summary-label { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--signature-deep); margin: 0 0 6px; }
.date-summary-range { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--ve-teal); margin: 0; }
.date-summary-meta { margin: 6px 0 16px; font-size: 15px; color: var(--fg2); }
.date-summary-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg3); max-width: 58ch; }


/* ---------- Journeys overview: intro, static map, two cards, short chooser ---------- */
.jc-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(20px, 2.6vw, 36px); }
.jc-intro .body-text { margin-top: 12px; max-width: 44ch; }
.jc-map { margin: 0; }
.jm-svg { display: block; width: clamp(260px, 23vw, 300px); height: auto; }
.jm-land { fill: var(--ve-celadon-wash); stroke: var(--ve-celadon); stroke-width: .8; stroke-linejoin: round; }
.jm-dot { fill: var(--ve-cinnabar); stroke: var(--bg); stroke-width: 1.5; }
.jm-ref-dot { fill: var(--fg3); fill-opacity: .55; }
.jm-ref { font: 400 16px var(--font-sans); fill: var(--fg3); }
.jm-city { font: 500 19px var(--font-sans); fill: var(--fg1); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.jm-city--end { text-anchor: end; }

/* Rows line up across the two cards (subgrid), so price, basis, date and link sit level. */
.journey-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: clamp(24px, 3.6vw, 48px); row-gap: 0; }
.jc-card { position: relative; display: grid; grid-row: span 7; grid-template-rows: subgrid; align-content: start; }
.jc-card:target .jc-title { text-decoration: underline; text-decoration-color: var(--ve-cinnabar); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.jc-photo { margin: 0 0 18px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.jc-photo picture { display: block; height: 100%; }
.jc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.jc-place { margin: 0 0 6px; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--signature-deep); }
.jc-title { margin: 0 0 4px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; letter-spacing: -.01em; color: var(--ve-teal); }
.jc-tagline { margin: 0 0 16px; font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; color: var(--fg2); }
.jc-price { padding-top: 14px; border-top: 1px solid var(--rule); }
.jc-price p { margin: 0; }
.jc-price-main { font-size: 17px; line-height: 1.4; color: var(--fg1); }
.jc-price-main strong { font-weight: 500; color: var(--ve-teal); }
.jc-price-basis { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--fg2); max-width: 44ch; }
.jc-next { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--fg2); }
.jc-next span { color: var(--fg1); }
.jc-link { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--ve-teal); text-decoration: none; }
.jc-link-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--ve-celadon); }
/* The whole card is the link target; the visible link stays the one named entry. */
.jc-link::after { content: ""; position: absolute; inset: 0; }
.jc-arrow { display: inline-block; transition: transform 160ms ease; }
.jc-card:hover .jc-link { color: var(--ve-cinnabar-deep); }
.jc-card:hover .jc-link-text { text-decoration-color: currentColor; }
.jc-card:hover .jc-arrow, .jc-link:focus-visible .jc-arrow { transform: translateX(4px); }
.jc-card:hover .jc-photo img { transform: scale(1.02); }
.jc-link:focus-visible { outline: none; }
.jc-link:focus-visible::after { outline: 2px solid var(--ve-cinnabar); outline-offset: 6px; }

.journeys-help { border-top: 1px solid var(--rule); }
.jp-choose { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3.6vw, 48px); }
.jp-choose li { border-bottom: 1px solid var(--rule); }
.jp-choose a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 52px; padding: 12px 0; text-decoration: none; color: var(--fg2); font-size: 16px; line-height: 1.45; }
.jp-choose-to { font-family: var(--font-serif); font-size: 24px; line-height: 1.1; color: var(--ve-teal); white-space: nowrap; }
.jp-choose a:hover .jp-choose-to, .jp-choose a:focus-visible .jp-choose-to { color: var(--ve-cinnabar-deep); }
.jp-choose a:focus-visible { outline: 2px solid var(--ve-cinnabar); outline-offset: 4px; }
.jp-choose-more { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; color: var(--fg2); }
.jp-choose-more a { display: inline-block; padding-block: 11px; color: var(--ve-teal); text-underline-offset: 5px; }
.jp-choose-more .jp-ask { margin-left: 4px; font-weight: 500; text-decoration-color: var(--ve-cinnabar); }
.jp-choose-more a:hover { color: var(--ve-cinnabar-deep); }

@media (max-width: 900px) {
  .jc-intro { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .jm-svg { width: 220px; }
  .jm-city { font-size: 24px; stroke-width: 5px; }
  .jm-ref { font-size: 21px; }
  .jm-ref-dot { r: 3.2px; }
  .jm-dot { r: 7px; }
}
/* Fact bar: shared rule (pages.css) switches to two columns at 940px, which leaves the
   third fact alone on a second row. Keep the three facts on one row at tablet widths. */
@media (min-width: 681px) and (max-width: 940px) {
  .journey-compare-bar ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-compare-bar li { min-height: 84px; padding: 16px 20px; }
  .journey-compare-bar li:nth-child(3) { border-left: 1px solid color-mix(in srgb, var(--ve-paper) 22%, transparent); }
}
@media (max-width: 699px) {
  .jc-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jm-svg { width: min(230px, 66vw); }
  .journey-choices, .jp-choose { grid-template-columns: minmax(0, 1fr); }
  .journey-choices { grid-template-rows: none; row-gap: 40px; }
  .jc-card { grid-row: auto; grid-template-rows: none; }
  .jc-photo { margin-bottom: 14px; }
  .jc-tagline { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .jc-photo img, .jc-arrow { transition: none; }
  .jc-card:hover .jc-photo img { transform: none; }
}

/* Small locator tag on the homepage feature cards. */
.locator-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .04em; color: var(--fg2); }
.locator-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ve-cinnabar); flex: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
  .jh-item { grid-template-columns: 132px minmax(0, 1fr); gap: 16px; }
  .jh-item--text { grid-template-columns: minmax(0, 1fr); }
  .jh-grid { column-gap: 32px; }
  .jd-row { grid-template-columns: 62px minmax(0, 1fr) minmax(0, 38%); }
}
@media (max-width: 900px) {
  .journey-page .product-photo { grid-row: 2; min-height: 0; height: clamp(180px, 50vw, 300px); margin-top: 0; margin-bottom: 22px; }
  .journey-page .product-booking { grid-row: 3; }
  .journey-page .product-intro { grid-row: 4; margin-top: 20px; padding-top: 20px; }
  .jh-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .jh-item { grid-template-columns: 120px minmax(0, 1fr); }
  .jh-item--text { grid-template-columns: minmax(0, 1fr); }
  .jh-copy p { max-width: none; }
  .route-band { grid-template-columns: minmax(0, 1fr); }
  .stay-layout { grid-template-columns: minmax(0, 1fr); }
  .dates-layout { grid-template-columns: minmax(0, 1fr); }
  .route-map { max-width: 600px; }
}
@media (max-width: 700px) {
  .jh-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .jh-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding-top: 12px; }
  .jh-item--text { grid-template-columns: minmax(0, 1fr); }
  .jh-photo { aspect-ratio: 3 / 4; }
  .jh-copy h3 { font-size: 20px; margin-bottom: 4px; }
  .jh-copy p { font-size: 15px; line-height: 1.5; }
  /* Day number and title run the full width; the short summary sits beside a square thumbnail. */
  .jd-row { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "num num" "title title" "sum photo"; column-gap: 14px; row-gap: 2px; padding-block: 16px; align-items: start; }
  .jd-text { display: contents; }
  .jd-num { grid-area: num; font-size: 19px; }
  .jd-text h3 { grid-area: title; font-size: 25px; margin: 0 0 4px; }
  .jd-text p { grid-area: sum; font-size: 16px; line-height: 1.5; }
  .jd-photo { grid-area: photo; }
  .jd-photo img { aspect-ratio: 1 / 1; }
  .route-list a { grid-template-columns: 48px minmax(0, 1fr); font-size: 15px; }
  .stay-photos { gap: 8px; }
}
@media (max-width: 420px) {
  .date-cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-picker-field { flex: 1 1 0; }
  .date-picker-field select { padding: 10px 32px 10px 12px; background-position: right 12px center; }
  .date-picker-count { flex-basis: 100%; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-dot, .date-card-text { transition: none; }
}

/* ---------- Compact FAQ (Journey pages) ---------- */
.chapter-faq-grid.faq-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.faq-compact .chapter-faq-item { background: transparent; border: 0; border-top: 1px solid var(--rule); padding: 18px 0 20px; min-height: 0; }
.faq-compact .chapter-faq-item h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.2; margin: 0 0 8px; max-width: none; }
.faq-compact .chapter-faq-item p { font-size: 16px; line-height: 1.6; max-width: 56ch; }
@media (max-width: 800px) { .chapter-faq-grid.faq-compact { grid-template-columns: minmax(0, 1fr); } }
.route-photos--plain { margin-top: 0; padding-top: 0; border-top: 0; }
/* The section links scroll sideways inside the bar instead of widening the page. */
.journey-page .product-nav-links { min-width: 0; flex: 1 1 auto; }


/* ---------- Qinghefang: compact route comparison, shared facts, route details ---------- */
.qhf-compare { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: none; }
.qhf-compare > li { padding-top: 18px; border-top: 1px solid var(--ve-teal); display: flex; flex-direction: column; }
.qhf-num { font: italic 400 16px var(--font-serif); color: var(--signature-deep); margin-bottom: 6px; }
.qhf-compare h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--ve-teal); margin: 0 0 8px; }
.qhf-diff { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--fg1); }
.qhf-compare ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: 15px; line-height: 1.5; color: var(--fg2); }
.qhf-compare ul li { position: relative; padding: 3px 0 3px 16px; }
.qhf-compare ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--ve-celadon-deep); }
.qhf-limit { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--fg3); }
.qhf-compare .editorial-link { margin-top: auto; min-height: 44px; align-self: flex-start; }
.qhf-shared { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.qhf-shared-copy .sec-head-title { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 12px; }
.qhf-shared-copy .body-text + .body-text { margin-top: 12px; }
.qhf-shared-facts .journey-fact-list div { padding: 11px 0; }
.qhf-shared-note { margin: 14px 0 18px; font-size: 15px; line-height: 1.55; color: var(--fg2); max-width: 56ch; }
.qhf-detail { padding-block: clamp(28px, 3.4vw, 48px); }
.qhf-detail-grid { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.qhf-photo { margin: 0; }
.qhf-photo picture { display: block; }
.qhf-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.qhf-detail-body .eyebrow { margin-bottom: 8px; }
.qhf-detail-body .sec-head-title { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 14px; }
.qhf-detail .experience-flow-step { padding: 12px 0; gap: 14px; grid-template-columns: 34px minmax(0, 1fr); }
.qhf-detail .experience-flow-step h3 { font-size: clamp(19px, 1.8vw, 22px); margin-bottom: 3px; }
.qhf-detail .experience-flow-step p { font-size: 15px; line-height: 1.5; }
.qhf-detail .price-note { margin-top: 14px; }
.qhf-route-enquire { margin: 10px 0 0; }
.qhf-route-enquire .editorial-link { min-height: 44px; display: inline-flex; align-items: center; }
/* Buttons may wrap, so a long label never pushes the page wider than a 320px screen. */
.journey-page .btn-primary, .qhf-shared .btn-primary, .qhf-detail .btn-primary, .experience-detail-page .product-actions .btn-primary { white-space: normal; text-align: center; max-width: 100%; }
@media (max-width: 900px) {
  .qhf-compare { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .qhf-shared { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .qhf-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qhf-photo img { aspect-ratio: 16 / 10; }
}

@media (max-width: 359px) {
  /* Too narrow for text beside a thumbnail: back to one column. */
  .jd-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "num" "title" "sum" "photo"; row-gap: 6px; }
  .jd-photo { margin-top: 6px; }
  .jd-photo img { aspect-ratio: 16 / 10; }
}

/* ---------- Mobile: gallery height, included / extra rhythm, closing call to action ---------- */
@media (max-width: 600px) {
  .journey-page .journey-gallery-item img, .journey-page .journey-gallery-item--wide img { height: 270px; }
  .dates-section .compare-grid { gap: 22px; margin-top: 20px; }
  .dates-section .compare-list li { padding: 10px 0 10px 26px; line-height: 1.5; }
  .dates-section .compare-list li::before { top: 19px; width: 10px; }
  .dates-section .compare-col h3 { padding-bottom: 8px; margin-bottom: 0; }
  .editorial-product-page .cta-band .final-cta-seal { display: none; }
}
.editorial-product-page .cta-band { padding-block: clamp(36px, 5vw, 68px); }
.editorial-product-page .cta-band .final-cta-seal { margin-bottom: 18px; }
.editorial-product-page .cta-band .final-cta-title { margin-bottom: 12px; }
.editorial-product-page .cta-band .final-cta-sub { margin-bottom: 20px; }
.editorial-product-page .cta-band .price-note { margin-top: 14px; }
@media (min-width: 901px) { .qhf-photo { position: sticky; top: 160px; } }
.editorial-product-page .cta-band .final-cta-title { font-size: clamp(30px, 3.6vw, 48px); }
.cta-band .editorial-link { color: var(--ve-paper); border-color: rgba(244,239,230,.6); }
.editorial-product-page .cta-band .media-hero-cta { align-items: center; }

/* Experience flow with its photograph beside it (Xinchang, incense). The photograph moves
   from a wide band into the margin beside the timeline; on phones it follows the steps. */
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36%); gap: clamp(24px, 4vw, 56px); align-items: start; }
.flow-layout .flow-photo { margin: 0; position: sticky; top: 160px; }
.flow-layout .flow-photo img { aspect-ratio: 4 / 5; }
.flow-layout--landscape .flow-photo img { aspect-ratio: 4 / 3; }
.flow-layout .exp-media-caption { margin-top: 8px; }
@media (max-width: 900px) {
  .flow-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flow-layout .flow-photo { position: static; }
  .flow-layout .flow-photo img, .flow-layout--landscape .flow-photo img { aspect-ratio: 3 / 2; }
}

