body[data-page] {
  color: #203c32;
  background: #f7f8f3;
  font-size: 1rem;
}

body[data-page] .site-header {
  min-height: 76px;
  padding-inline: max(5%, calc((100% - 1320px) / 2));
  background: #f7f8f3;
}

body[data-page] .site-header nav { font-size: .875rem; gap: .25rem clamp(.8rem, 2vw, 1.9rem); }
body[data-page] .site-header nav a:hover { color: #934728; }

.weather-map-section .map-heading h1,
.weather-map-section .map-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: .025em;
  margin: .35em 0 .22em;
}

.weather-map-section .map-heading .eyebrow {
  color: #86472f;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.weather-map-section .map-heading p {
  color: #415f51;
  font-size: 1rem;
  margin: .75rem 0 0;
}

.map-heading-links { display: flex; flex-wrap: wrap; gap: .65rem; }

.weather-map-section .map-list-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: .55rem 1rem;
  border: 1px solid #aebfb1;
  border-radius: 6px;
  background: #f7f8f3;
  color: #264b3a;
  font-size: .875rem;
}

.weather-map-section .map-list-link:hover { background: #e1eadc; }

.weather-map-section .china-map-layout {
  overflow: clip;
  border-radius: 14px;
  box-shadow: 0 16px 48px #173b2710;
}

.weather-map-section .map-aside {
  background: #fbfcf6;
  border-inline-start: 1px solid #cbd8c4;
  border-inline-end: 0;
  border-left: 0;
  padding: 1.25rem;
}

.weather-map-section .map-toolbar {
  padding: .65rem .9rem;
  background: #e2ebdc;
}

.map-toolbar button { height: 38px; min-width: 38px; border-radius: 5px; }
.map-toolbar button:hover:not(:disabled) { background: #d5e4d1; }
.map-layer-toggle { margin-right: 0 !important; margin-inline-end: auto !important; }
.map-toolbar .map-layer-toggle { font-size: .875rem !important; }
.map-toolbar [data-map-scale] { color: #4b6554; font-size: .75rem; }
.map-terrain-legend { color: #47634f; }
.map-terrain-legend small { font-size: .75rem; }
.weather-map-section .map-search input { font-size: .875rem; border-radius: 6px; }
.weather-map-section .map-shortcuts a { font-size: .8125rem; border-radius: 4px; }
.weather-map-section .map-aside > p { color: #4b6554; font-size: .8125rem; }
.weather-map-section .weather-panel { border-top: 1px solid #d1dcc7; padding-top: 1rem; margin-top: 1.25rem; }
.weather-map-section .map-place { margin-bottom: 0; }
.map-aside .map-place h3 { font-size: 1.85rem; margin: .2rem 0 .45rem; }
.map-place-heading > p { color: #4b6554; font-size: .875rem; margin-block-end: .85rem; }
.map-place img { aspect-ratio: 2 / 1; border-radius: 7px; }
.map-place figcaption { color: #536d5c; font-size: .75rem; }
.map-place-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }

.map-place-explore,
.map-place-stories {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid #315b47;
  border-radius: 5px;
  font-size: .875rem;
  line-height: 1.4;
}

.map-place-explore { background: #315b47; color: #fff; }
.map-place-explore:hover { background: #254735; }
.map-place-stories { color: #315b47; }
.map-place-stories:hover { background: #e1eadc; }

[data-region-panel] .home-hero {
  width: 90%;
  max-width: 1400px;
  min-height: clamp(360px, 39vw, 540px);
  margin-inline: auto;
  border-radius: 14px;
  box-shadow: 0 12px 36px #173b2712;
}

[data-region-panel] .home-hero:after {
  background: linear-gradient(90deg, #102e25ed, #102e25b0 38%, #102e2510 85%);
}

[dir=rtl] [data-region-panel] .home-hero:after {
  background: linear-gradient(270deg, #102e25ed, #102e25b0 38%, #102e2510 85%);
}

[data-region-panel] .hero-copy { color: #fffaf1; padding: clamp(2.5rem, 7vw, 6rem) 7% 5rem; }
[data-region-panel] .hero-copy h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.2; margin: .36em 0; }
[data-region-panel] .hero-copy .eyebrow { color: #f0caa1; font-size: .875rem; }
[data-region-panel] .hero-copy p { color: #fffaf1; font-size: 1rem; }
[data-region-panel] .hero-copy .button { background: #f1e1c7; color: #243f32; border-radius: 5px; font-size: .875rem; }
[data-region-panel] .hero-copy .button:hover { background: #fff1d9; }
[data-region-panel] .hero-secondary { color: #fffaf1; font-size: .875rem; }
[data-region-panel] .hero-caption { color: #fffaf1; text-shadow: 0 1px 5px #102e25; }

.themed-routes { border-top: 1px solid #d4dfcd; }
.themed-routes .section-heading h2 { margin: 0; }
.themed-routes .section-heading > p { font-size: .9375rem; color: #4a6657; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.theme-route { overflow: hidden; border: 1px solid #cad8c9; border-radius: 10px; background: #fbfcf6; }
.theme-route > img { width: 100%; aspect-ratio: 2.1; height: auto; object-fit: cover; }
.route-copy { padding: 1.15rem; }
.route-copy h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0 0 .3rem; }
.route-copy p { font-size: .9375rem; color: #4a6657; margin: 0 0 .9rem; }
.route-copy ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0; padding: 0; list-style: none; }
.route-copy li { display: flex; gap: .6rem; align-items: center; }
.route-copy li + li::before { content: ''; width: .7rem; height: 1px; background: #9caf9f; }
.route-copy a { display: inline-flex; align-items: center; min-height: 44px; padding: .25rem .65rem; border: 1px solid #b7c8b6; border-radius: 99px; font-size: .875rem; }
.route-copy a:hover { background: #e1eadc; }
#atlas-directory, #interests, #routes { scroll-margin-block-start: 1rem; }

@media (max-width: 950px) {
  .weather-map-section .map-aside { border-inline-start: 0; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .weather-map-section .map-heading { display: grid; gap: .8rem; margin-bottom: 1rem; }
  .weather-map-section .map-heading p { max-width: none; }
  .weather-map-section .map-toolbar { gap: .35rem; padding-inline: .55rem; }
  .weather-map-section .map-toolbar button { min-width: 33px; padding-inline: .35rem; }
  .weather-map-section .map-aside { padding: 1rem; }
  [data-region-panel] .home-hero { width: 94%; min-height: 450px; }
  [data-region-panel] .home-hero:after,
  [dir=rtl] [data-region-panel] .home-hero:after {
    background: linear-gradient(180deg, #102e25f5, #102e25a8 50%, #102e2508 85%);
  }
  [data-region-panel] .hero-caption { display: none; }
  .route-grid { grid-template-columns: 1fr; }
}
