/* The site-wide navigation and its destination galleries. */
.guide-header {
  --guide-ink: #273d35;
  --guide-mute: #665d50;
  --guide-line: #d9d3c7;
  --guide-paper: #fcfaf4;
}
.header.multi-header.guide-header {
  height: 80px;
  min-height: 80px;
  background: var(--guide-paper);
  color: var(--guide-ink);
}
.guide-header .brand { width:132px; }
.guide-header .nav-trigger, .guide-header .guide-enquire {
  font: 540 13px/1.35 var(--sans);
  letter-spacing: .035em;
  text-transform: none;
}
.guide-header .nav-trigger { gap:10px; min-height:44px; }
.guide-caret {
  display:block;
  width:6px;
  height:6px;
  border:solid currentColor;
  border-width:0 1px 1px 0;
  transform:translateY(-2px) rotate(45deg);
}
.guide-header .nav-trigger[aria-expanded=true] { color:#825c42; }
.guide-header .nav-trigger[aria-expanded=true] .guide-caret { transform:translateY(2px) rotate(225deg); }
.guide-header .guide-enquire {
  display:block;
  padding:11px 18px;
  border:1px solid #859387;
  border-radius:3px;
  color:var(--guide-ink);
}
.guide-header .guide-enquire:hover { background:#e9ede2; color:var(--guide-ink); }
.guide-panel[hidden],.location-chapter[hidden],.location-switch[hidden] { display:none; }
.guide-header .guide-panel {
  background:var(--guide-paper);
  color:var(--guide-ink);
  margin:0;
  border:0;
}
.guide-column { min-width:0; }
.guide-column h2 {
  margin:0 0 9px;
  color:#805d48;
  font:600 12px/1.4 var(--sans);
  letter-spacing:.08em;
}
.guide-column ul { list-style:none; margin:0; padding:0; }
.guide-column li { margin:0; break-inside:avoid; }
.guide-header .guide-column a {
  display:block;
  padding:6px 0;
  border-bottom:1px solid #dedbd1;
  font:400 14px/1.35 var(--sans);
  letter-spacing:0;
  white-space:normal;
}
.guide-header .guide-panel a[aria-current=page] { color:#765039; font-weight:650; }
.guide-header .guide-column a:hover,.guide-header .guide-panel-foot a:hover { color:#765039; text-decoration:underline; text-underline-offset:.25em; }
.guide-panel-foot { padding-top:17px; }
.guide-header .guide-panel-foot a { display:inline-block; font:550 13px/1.5 var(--sans); padding:4px 0; color:var(--guide-mute); border-bottom:1px solid var(--guide-mute); }
.guide-column-layout { display:grid; gap:clamp(18px,3vw,46px); }
@media(min-width:1051px) {
  .guide-header #navigation { position:static; align-self:stretch; gap:clamp(24px,3.4vw,64px); }
  .guide-header .nav-group { position:static; display:flex; align-self:stretch; align-items:center; }
  .guide-header .guide-panel {
    position:absolute; inset:100% 0 auto; padding:0; max-height:calc(100dvh - 80px);
    overflow:auto; overscroll-behavior:contain; border-block:1px solid var(--guide-line);
    box-shadow:0 18px 24px #292d2212;
  }
  .guide-panel-body { margin-inline:auto; max-width:1440px; padding:24px clamp(38px,6vw,86px) 26px; }
  .guide-column-layout { grid-template-columns:repeat(2,minmax(180px,310px)); }
  .guide-panel-places .guide-column-layout { grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); }
  .guide-column-wide ul { columns:2; column-gap:clamp(18px,2.5vw,39px); }
}
@media(max-width:1050px) {
  .header.multi-header.guide-header { min-height:70px; height:70px; }
  .guide-header #navigation { top:100%; }
  .guide-header #navigation.open { max-height:calc(100dvh - 70px); overflow:auto; overscroll-behavior:contain; }
  .guide-header .nav-group + .nav-group { border-top:1px solid var(--guide-line); }
  .guide-header .nav-trigger { padding:15px 0; width:100%; justify-content:space-between; font-size:15px; }
  .guide-header .guide-panel { position:static; padding:5px 0 18px; box-shadow:none; min-width:0; }
  .guide-column-layout { grid-template-columns:1fr 1fr; gap:18px; }
  .guide-header .guide-column-wide { grid-column:1/-1; order:2; }
  .guide-header .guide-column-wide ul { columns:2; column-gap:18px; }
  .guide-header .guide-column a { font-size:13px; padding:8px 0; }
  .guide-header .guide-enquire { display:inline-block; margin-top:10px; }
  .guide-header .brand { width:109px; }
}
.location-index,.journey-gallery {
  max-width:1380px;
  color:#263e35;
  padding-block:clamp(38px,5vw,75px) clamp(52px,7vw,100px);
}
.location-heading {
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(220px,.72fr);
  align-items:end;
  gap:clamp(20px,5vw,82px);
  margin:0 0 clamp(24px,3vw,44px);
}
.location-heading h1, .location-chapter h2, .location-story h3 {
  font-family:var(--ed-serif, Georgia, 'Songti SC', SimSun, serif);
  font-weight:400; line-height:1.09;
}
.location-heading h1 { color:#293f37; font-size:clamp(42px,6vw,88px); letter-spacing:-.05em; }
.location-heading p { color:#5d6259; max-width:50ch; font:400 clamp(15px,1.2vw,18px)/1.8 var(--sans); }
html[lang^=zh] .location-heading h1 { letter-spacing:.015em; font-size:clamp(36px,5vw,72px); }
.location-index .location-switch {
  display:flex; flex-wrap:wrap; gap:6px;
  margin-bottom:clamp(28px,3.5vw,50px); border-bottom:1px solid #dad6cc; padding-bottom:12px;
}
.location-index .location-switch[hidden] { display:none; }
.location-switch button { font-size:14px; }
.location-chapter + .location-chapter { margin-top:clamp(30px,5vw,70px); }
.location-chapter[hidden] + .location-chapter { margin-top:0; }
.location-chapter h2 { font-size:clamp(26px,3vw,42px); margin-bottom:clamp(17px,2vw,29px); }
.location-grid,.journey-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.location-grid { gap:clamp(24px,3.2vw,44px) clamp(14px,2vw,28px); }
.location-story { display:block; min-width:0; }
.location-story>div { aspect-ratio:1.44; overflow:hidden; background:#e9e6dc; }
.location-story img,.journey-tile img { width:100%; height:100%; display:block; object-fit:cover; }
.location-story h3 { margin:10px 0 0; display:flex; justify-content:space-between; gap:.5em; font-size:clamp(19px,2.1vw,29px); }
.location-story h3 span { color:#846b52; font:400 .66em/1.6 var(--sans); }
.location-story:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em; }
.journey-crumb { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:clamp(20px,3vw,40px); font:500 13px/1.4 var(--sans); color:#685d52; }
.journey-crumb a:hover { text-decoration:underline; }
.journey-grid { gap:clamp(7px,1.05vw,15px); }
.journey-tile {
  position:relative; aspect-ratio:1.23; min-width:0; overflow:hidden;
  border:0; border-radius:0; padding:0; background:#f0ece4; cursor:zoom-in;
}
.journey-tile.is-portrait img { object-fit:contain; }
.journey-next { display:flex; justify-content:space-between; align-items:start; flex-wrap:wrap; gap:16px; padding-top:30px; }
.journey-next .atlas-link { color:#73563e; }
@media(max-width:700px) {
  .location-heading { display:block; }
  .location-heading p { margin-top:12px; }
  .location-grid,.journey-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .location-grid { gap:22px 12px; }
  .journey-grid { gap:6px; }
  .location-story>div,.journey-tile { aspect-ratio:1.12; }
  .location-index .location-switch { gap:5px; }
  .location-switch button { font-size:13px; padding:7px 11px; }
}

/* A definite middle track contains every gallery image, including when
   browser chrome resizes or the bottom caption wraps onto another line. */
#lightbox[open] {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  width:100%;
  height:100vh;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  overflow:hidden;
  gap:8px;
  padding:10px clamp(12px,2.7vw,38px);
  padding-block:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-bottom));
}
#lightbox .lightbox-bar,#lightbox .lightbox-bottom { min-width:0; min-height:0; height:auto; }
#lightbox .lightbox-bar { display:flex; gap:clamp(6px,2vw,24px); }
#lightbox-counter { margin-inline-end:auto; white-space:nowrap; font-variant-numeric:tabular-nums; }
#lightbox-file { padding:7px 2px; color:inherit; font:500 14px/1.35 var(--sans); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
#lightbox .lightbox-picture { min-width:0; min-height:0; padding:0; display:flex; align-items:center; justify-content:center; }
#lightbox .lightbox-picture img { display:block; width:100%; height:100%; object-fit:contain; }
@media(max-width:420px),(max-height:450px) {
  #lightbox[open] { gap:4px; padding-inline:10px; }
  #lightbox .lightbox-bar button,#lightbox .lightbox-bottom button { padding:6px 10px; min-height:32px; }
  #lightbox-file { font-size:13px; }
  #lightbox .lightbox-bottom { flex-wrap:nowrap; }
  #lightbox-caption { order:0; flex:1; min-width:0; width:auto; padding:0; text-align:center; line-height:1.2; overflow-wrap:anywhere; }
}
