/* The public site supplies the navigation, page data and interactive controls. */
:root {
  --paper: #f6f3eb;
  --paper-light: #fbfaf6;
  --pine: #193a33;
  --ink: #172a27;
  --clay: #a3462a;
  --line: #cecfc0;
  --serif: var(--travel-heading);
  --font-sans: var(--travel-body);
  --color-primary: var(--pine);
  --color-primary-hover: #102c25;
  --color-primary-soft: #e3e9dc;
  --color-secondary: #51684f;
  --color-secondary-soft: #e8ecdf;
  --color-accent: #c65e3e;
  --color-accent-soft: #f2e6d8;
  --color-bg: var(--paper);
  --color-surface: var(--paper-light);
  --color-surface-alt: #eeeadd;
  --color-text: var(--ink);
  --color-text-secondary: #47554c;
  --color-text-muted: #59645a;
  --color-border: var(--line);
  --color-focus: #a3462a;
  --radius-card: 3px;
  --radius-button: 8px;
  --radius-small: 3px;
  --radius-image: 3px;
  --radius-dialog: 8px;
  --shadow-light: none;
  --shadow-medium: 0 7px 24px rgb(23 42 39 / 7%);
  --nav-background: #f6f3ebfa;
  --nav-background-scrolled: #f6f3ebfc;
  --card-hover-offset: -2px;
  --image-hover-scale: 1.025;
  --container-max: 1280px;
  --page-gutter: clamp(18px, 4vw, 64px);
  --card-padding: clamp(17px, 2vw, 28px);
}

body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); }
h1, h2, h3, .section-title, .results-title, .brand strong {
  font-family: var(--serif);
  font-synthesis: none;
  text-wrap: pretty;
}
main h1 { line-height: 1.32; letter-spacing: 0; }
main h2, main h3 { letter-spacing: .012em; }
img { font-size: .85rem; }
img[src$="/guide-first-trip-user.webp"] { object-position: center 63%; }
img[src$="/guide-preparation-user.webp"] { object-position: center 59%; }
img[src$="/guide-family-user.webp"] { object-position: center 42%; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.btn { border-radius: var(--radius-button); }
.btn:active, .category-button:active, .reception-filter:active { transform: translateY(1px); }

.eyebrow, .card-kicker, .booking-kicker {
  color: var(--clay);
  font-weight: 600;
  letter-spacing: .16em;
}
.breadcrumbs, .breadcrumb { font-size: .78rem; }
main :is(.route-card, .destination-card, .journal-card, .food-card, .reception-route-card) {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: none;
}
main :is(.route-card, .destination-card, .journal-card, .reception-route-card):has(:focus-visible) {
  border-color: #778e7c;
}
@media (hover: hover) and (pointer: fine) {
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card):hover {
    transform: none;
    border-color: #9aaa99;
    box-shadow: 0 4px 12px rgb(23 42 39 / 7%);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card) {
    transition: border-color 140ms ease-out, box-shadow 180ms ease-out;
  }
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card):hover img {
    transform: scale(1.025);
  }
}
@media (hover: none) {
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card):hover,
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card):hover img {
    transform: none;
    box-shadow: none;
  }
  main :is(.route-card, .destination-card, .journal-card, .reception-route-card) :is(a, button) {
    -webkit-tap-highlight-color: rgb(25 58 51 / 16%);
  }
}
main :is(.route-card, .destination-card, .journal-card, .food-card, .reception-route-card) h3 {
  line-height: 1.48;
  font-weight: 400;
}
main :is(.route-card, .destination-card, .journal-card) .badge {
  background: var(--paper-light);
  color: var(--pine);
  border-radius: 2px;
}
main :is(.route-card, .destination-card, .journal-card) .media,
main :is(.destination-media, .related-image, .journal-media, .food-card__figure, .food-region__figure,
         .food-winter__photo, .culture-image, .reception-route-card__image) {
  border-radius: 16px;
  overflow: hidden;
}
main :is(.region-button, .category-button, .food-filter, .reception-filter) {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pine);
  background: transparent;
}
@media (hover: hover) {
  main :is(.region-button, .category-button, .food-filter, .reception-filter)[aria-pressed="false"]:hover {
    background: var(--color-primary-soft);
    border-color: #a2b3a2;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main :is(.region-button, .category-button, .food-filter, .reception-filter) {
    transition: background-color 160ms ease-out, color 140ms ease-out,
      border-color 160ms ease-out, transform 120ms ease-out;
  }
}
main :is(.region-button, .category-button, .food-filter, .reception-filter)[aria-pressed="true"] {
  color: #fff;
  background: var(--pine);
  border-color: var(--pine);
}
main :is(.preview-link, .text-link, .card-kicker) { text-underline-offset: 4px; }
main :is(.filters-panel, .filter-panel, .journal-filters) {
  border: 1px solid var(--line);
  border-top: 3px solid var(--pine);
  background: var(--paper-light);
  box-shadow: none;
  border-radius: 0;
}
:where(.field, .filter-grid, .search-row, .search-controls, .guide-request) :is(input, select, textarea),
.guide-request .field :is(input, select, textarea) {
  background: #fffefa;
  border-color: #a9b0a2;
  border-radius: 2px;
}
main .catalog-service-links > a { background: #e8eddf; border-color: #c9d1bf; border-radius: 2px; }
main .catalog-service-links > a:nth-child(2) { background: #f2e6d8; border-color: #d9cdbb; }
main .catalog-service-links strong { font-family: var(--serif); }
.results-heading, .library-heading, .explorer-head, .food-section__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.route-card .price strong { color: var(--pine); font-variant-numeric: tabular-nums; }
.route-card .card-bottom a { color: var(--clay); font-weight: 600; }

/* A landscape plate alongside a paper title page on the route catalogue. */
.route-banner {
  margin-top: var(--header-height);
  padding: 0;
  min-height: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.route-banner::after { display: none; }
.route-banner > img {
  inset: 0 0 0 auto;
  z-index: 0;
  width: 49%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
}
.route-banner > .container {
  position: relative;
  width: auto;
  max-width: none;
  margin-right: 51%;
  margin-left: max(var(--page-gutter), calc((100% - var(--container-max)) / 2));
  padding: clamp(26px, 3vw, 50px) clamp(24px, 3vw, 52px) clamp(34px, 3.5vw, 60px) 0;
}
.route-banner .breadcrumb, .route-banner .banner-description, .route-banner .banner-photo-label {
  color: var(--color-text-secondary);
}
.route-banner .eyebrow { color: var(--clay); }
.route-banner h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 4.3vw, 68px);
  color: var(--pine);
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: .012em;
}
.route-banner h1 br { display: initial; }
.route-banner .banner-index { display: none; }
.route-banner .banner-description { margin-top: 18px; }
.route-banner .banner-photo-label { margin-top: 20px; }
.filter-wrap { margin-top: clamp(22px, 3vw, 44px); }

@media (min-width: 768px) {
  .destination-hero[data-region-cover] { background: var(--pine); }
  .destination-hero[data-region-cover]::after { content: none; }
  .destination-hero[data-region-cover] > img {
    inset: calc(var(--mast-h, 80px) + 18px) max(var(--page-gutter), calc((100% - var(--container-max)) / 2)) auto auto;
    width: auto;
    height: auto;
    max-width: 42%;
    max-height: calc(100% - var(--mast-h, 80px) - 36px);
    object-fit: contain;
    border-radius: clamp(18px, 1.6vw, 22px);
  }
  .destination-hero[data-region-cover] > .container { padding-right: 42%; }
  .destination-hero[data-region-cover] .hero-foot { justify-content: flex-start; }
  .destination-hero[data-region-cover] .hero-location { text-align: left; }
}

/* Long-form pages keep their existing sections, deep links and booking state. */
.detail-intro h1, .guide-hero h1, .article-intro h1, .journal-intro h1,
.about-hero h1, .contact-hero h1, .reception-hero h1 {
  font-family: var(--serif);
  color: var(--pine);
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.33;
}
.journal-intro p, .article-intro p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
}
.detail-intro h1 { max-width: 28ch; font-size: clamp(32px, 4.15vw, 66px); text-wrap: balance; }
.detail-intro .detail-description { max-width: 58ch; color: var(--color-text-secondary); text-wrap: pretty; }
.detail-intro .breadcrumbs { margin-bottom: clamp(22px, 3vw, 44px); }
.detail-intro .intro-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.detail-intro .trip-meta { margin-right: auto; }
.detail-intro .intro-bottom .btn { margin: 0; min-height: 48px; }
.detail-intro .itinerary-entry { background: var(--clay); color: #fff; }
.detail-intro .itinerary-entry:hover { background: #873720; }
.mobile-booking { background: var(--paper); }
main :is(.destination-hero, .food-hero, .reception-hero__photo, .contact-photo, .hero-photo,
         .planning-photo, .featured-media, .cover-frame, .gallery-stage) {
  border-radius: clamp(18px, 1.6vw, 22px);
  overflow: hidden;
}
.route-banner > img {
  border-radius: clamp(18px, 1.6vw, 22px);
}

/* The winter brochures are printed covers. Keep their titles, credits and prices inside the frame. */
.route-card .media:has(> img[src^="/assets/products-20261120/"]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  aspect-ratio: auto;
  background: var(--paper-light);
}
.route-card .media > img[src^="/assets/products-20261120/"] {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--color-surface-alt);
  transform: none;
}
.route-card .media:has(> img[src^="/assets/products-20261120/"]) > :is(.badge, .quick-preview, .placeholder-label) {
  position: static;
  margin-inline: 6px;
}
.route-card .media:has(> img[src^="/assets/products-20261120/"]) > .placeholder-label {
  order: 1;
  flex-basis: 100%;
  color: var(--color-text-secondary);
  background: transparent;
  font-size: .75rem;
}
.gallery-stage:has(> img[src^="/assets/products-20261120/"]) {
  aspect-ratio: auto;
  background: var(--color-surface-alt);
}
.gallery-stage > img[src^="/assets/products-20261120/"] {
  width: 100%;
  height: auto;
  max-height: 85svh;
  object-fit: contain;
}
.gallery-stage:has(> img[src^="/assets/products-20261120/"])::after { content: none; }
.gallery-stage:has(> img[src^="/assets/products-20261120/"]) > .gallery-note {
  position: static;
  display: block;
  padding: 8px 12px;
  background: var(--paper-light);
  color: var(--color-text-secondary);
  font-size: .8rem;
}
.thumbnail > img[src^="/assets/products-20261120/"] { object-fit: contain; }

main :is(.route-card .media, .reception-route-card__image) > img[src$="/route-028-user.webp"] {
  object-position: center 72%;
}

img[src$="/route-003-user.webp"] { object-view-box: inset(0 0 4.5% 0); }
main :is(.media, .reception-route-card__image) > img[src$="/route-003-user.webp"] {
  object-position: center 80%;
  transform: none;
}
main :is(.media, .reception-route-card__image) > img[src$="/route-033-user.webp"] {
  object-position: right bottom;
  transform: none;
}
@supports not (object-view-box: inset(0 0 4.5% 0)) {
  /* Anchor the full image at the bottom so the clip also works with letterboxing. */
  main #main-image[src$="/route-003-user.webp"],
  .thumbnail > img[src$="/route-003-user.webp"] {
    object-position: center bottom;
    clip-path: inset(0 0 4.5% 0);
    animation: none;
  }
}
.thumbnail > img[src$="-user.webp"] { object-fit: contain; }

/* Show the complete supplied photograph with its caption below the picture. */
.gallery-stage:has(> img[src$="-user.webp"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  aspect-ratio: auto;
  background: var(--color-surface-alt);
}
.gallery-stage > img[src$="-user.webp"] {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  max-height: 80svh;
  object-fit: contain;
}
.gallery-stage:has(> img[src$="-user.webp"])::after { content: none; }
.gallery-stage:has(> img[src$="-user.webp"]) > :is(.gallery-note, .gallery-index) {
  position: static;
  padding: 8px 12px;
  color: var(--pine);
}

.thumbnails .thumbnail { position: relative; border-radius: 10px; }

/* The printed artwork stays rectangular inside the rounded photo mount. */
:is(.route-card .media, .gallery-stage):has(> img[src^="/assets/products-20261120/"]) { padding: 8px; }
.thumbnails .thumbnail:has(> img[src^="/assets/products-20261120/"]) { padding: 4px; }
.thumbnails .thumbnail::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--pine);
  border-radius: 50%;
  background: var(--paper-light);
  opacity: 0;
  pointer-events: none;
}
.thumbnails .thumbnail[aria-pressed="true"]::after { opacity: 1; }

@media screen and (prefers-reduced-motion: no-preference) {
  @keyframes mengyu-photo-unfold {
    from { clip-path: inset(0 7% 0 0); }
    to { clip-path: inset(0); }
  }
  :is(.route-banner, .destination-hero, .food-hero, .hero-photo, .contact-photo,
      .reception-hero__photo, .featured-media, .article-cover .cover-frame, .gallery-stage) > img:not([src^="/assets/products-20261120/"]) {
    animation: mengyu-photo-unfold 520ms cubic-bezier(.16, 1, .3, 1);
  }
  .thumbnails .thumbnail::after { transition: opacity 140ms ease-out; }
}

.booking-panel {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pine);
  border-radius: 0;
  box-shadow: none;
}
.booking-panel .booking-price { font-weight: 500; color: var(--pine); }
.detail-tabs { border-block-end: 1px solid #adb7a6; background: var(--paper); }
.detail-section h2, .reception-section h2, .guide-section h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.8vw, 43px);
  line-height: 1.38;
}
.timeline { gap: 0; border-top: 1px solid var(--line); }
.timeline .day { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--paper-light); }
.timeline .day-label { border-radius: 0; background: transparent; color: var(--clay); letter-spacing: .1em; }
.timeline .day-heading { color: var(--pine); }
.timeline .day-facts { border-radius: 2px; background: #e9eddf; }
.detail-section :is(.notice-box, .fee-box), .guide-contact-panel, .guide-request, .visit-inner {
  box-shadow: none;
  border-radius: 2px;
}
.guide-request, .guide-contact-panel, .visit-inner { background: #ebeade; }
.guide-jumps a, .reception-jumps a, .detail-tabs a { text-underline-offset: 4px; }
.guide-section, .reception-section { border-top-color: var(--line); }
.guide-step, .reception-step, .reception-module { border-top-color: var(--clay); }
.guide-hero > .eyebrow, .reception-hero .eyebrow { color: var(--clay); }
.reception-hero, .food-regions, .culture-section, .credentials-section { background: #e8ecdf; }
.contact-hero h1 span, .about-hero h1 span { color: #567064; }
.contact-channels { border-block-color: var(--line); }

.footer {
  --color-primary: #f8f5e9;
  --color-text: #f8f5e9;
  --color-text-secondary: #dce3d6;
  --color-text-muted: #c4d0c2;
  --color-border: #576c5e;
  background: var(--pine);
  color: #f8f5e9;
}
.footer :is(.footer-brand, .footer-links, .footer-contact, .footer-note, .legal, .legal a, .photo-credits, .photo-credits summary) { color: #dce3d6; }
.footer :is(h3, .brand strong) { color: #fffbed; }
.footer :is(.photo-credits, .legal) { border-color: #576c5e; }
.footer a:hover { color: #fff; }
.footer .wechat-qr-button { background: #fff; }
.floating button { border-radius: 3px; background: var(--paper-light); border-color: var(--line); }

@media (max-width: 1023px) {
  .route-banner { margin-top: var(--header-height-mobile); }
}
@media (max-width: 767px) {
  .route-banner { display: flex; flex-direction: column; }
  .route-banner > img { position: static; order: 2; width: 100%; height: clamp(160px, 43vw, 275px); }
  .route-banner > .container { width: calc(100% - 2 * var(--page-gutter)); margin-inline: auto; padding: 22px 0 24px; }
  .route-banner .breadcrumb { margin-bottom: 15px; }
  .route-banner .eyebrow { font-size: .7rem; margin-bottom: 10px; }
  .route-banner h1 { font-size: clamp(33px, 7vw, 48px); }
  .route-banner .banner-description { margin-top: 12px; }
  .route-banner .banner-photo-label { margin-top: 10px; }
  main .catalog-service-links > a { padding: 17px 18px; }
  .detail-intro h1 { max-width: none; font-size: clamp(30px, 6.8vw, 44px); }
  .detail-intro .trip-meta { flex-basis: 100%; }
  .detail-intro .intro-bottom .btn { flex: 1 1 128px; padding-inline: 12px; }
  .results-heading, .library-heading, .explorer-head, .food-section__head { padding-bottom: 12px; }
  .filter-wrap { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0s; --duration-normal: 0s; --duration-slow: 0s; --card-hover-offset: 0; --image-hover-scale: 1; }
  html { scroll-behavior: auto; }
}
/* Editorial captions and small controls share a readable floor on every screen. */
main :is(
  .featured-label, .featured-topic, .result-row > span, .journal-kicker, .journal-kicker span,
  .food-kicker, .food-card__meta span, .food-image-label, .food-region__figure figcaption,
  .food-note > span, .food-reference-list li > span, .food-references__date,
  .region-label-text, .region-label, .destination-tags > span, .destination-english,
  .filter-scope, .results-row > span, .filter-field, .hero-anchor, .end-note,
  .resource-vehicle > span, .reception-module > span, .reception-step > span,
  .service-shortcuts > span, .service-shortcuts button, .visit-copy dt, .credentials-link,
  .demo-notice span, .message-meta, .field small, .field-hint,
  .article-category, .article-tags > span, .cover-frame figcaption span, .cover-frame figcaption a,
  .article-pagination small, .section-number, .toc-links small, .related-card > p,
  .related-card > a, .related-heading > a, .toc-panel > summary, .planning-steps small,
  .reception-hero__photo figcaption, .reception-route-card__image > span
) { font-size: 12px; line-height: 1.65; }
main :is(.article-endnote, .library-heading > p, .channel p, .channel button, .contact-wechat p,
  .region-button, .category-button, .reset-button, .destination-actions a, .contact-hero-actions > a) {
  font-size: max(13px, .83rem);
}
main .channel h2 { font-size: 14px; }
main .service-shortcuts button { min-height: 44px; }
.footer .legal, .footer .photo-credits, .footer .additional-photo-credits {
  font-size: 12px; line-height: 1.65;
}
.footer :is(.photo-credits, .additional-photo-credits) :is(p,a) { font-size: 12px !important; }
.floating button, .floating button > span { font-size: 12px; line-height: 1.45; }
main :is(.journal-media .article-photo-place, .featured-media .featured-photo-place,
  .destination-media .photo-place, .planning-photo figcaption, .contact-photo figcaption) {
  right: auto;
  max-width: calc(100% - 44px);
  width: max-content;
  padding: 4px 9px;
  background: var(--pine);
  color: white;
  font-size: 12px;
  line-height: 1.65;
  text-shadow: none;
}
main .contact-photo figcaption span { font-size: 12px; letter-spacing: .06em; color: inherit; }
main .hero-location { font-size: 12px; line-height: 1.65; }
main .btn.btn-gold { color: white; background: var(--clay); border-color: var(--clay); }
main .btn.btn-gold:hover { color: white; background: #84391f; border-color: #84391f; }
main :is(.planning-steps small,.section-number,.toc-links a small) { color: var(--clay); }
.article-section ul {
  background: #eceee4;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
}
main .eyebrow, main .contact-hero-copy .eyebrow, main .inquiry-heading .eyebrow,
main .visit-heading .eyebrow, main .faq-heading .eyebrow, main .destination-hero .eyebrow,
main .contact-hero-actions > a:not(.btn), main #reset-destinations,
#article-photo-place, #article-photo-credit, #article-photo-credit a, main .related-grid .related-card > a {
  font-size: 12px;
  line-height: 1.65;
}
main .featured-copy .featured-topic { font-size: 12px !important; }
@media (max-width: 767px) {
  .journal-grid { grid-template-columns: minmax(0,1fr); }
  .journal-grid .journal-card { grid-column: 1 / -1; }
}

#baursak-photo {
  object-fit: contain;
  background: var(--color-surface-alt);
  transform: none;
}

main .food-note > span { color: #765931; }
#reading-dialog .reading-meta,
#destination-dialog .place-source { font-size: 12px; line-height: 1.65; }
