:root {
  --china-red: #b5121b;
  --deep-red: #760d14;
  --gold: #d7a84b;
  --jade: #246f63;
  --ink: #171313;
  --paper: #fff8ee;
  --mist: #f4eee2;
  --line: rgba(21, 19, 19, 0.12);
  --shadow: 0 24px 70px rgba(45, 18, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#suggested-routes {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  width: 100%;
  /* Intrinsic HTML dimensions reserve space; CSS controls the responsive frame. */
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.linked-card {
  display: block;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(118, 13, 20, 0.93);
  color: white;
  backdrop-filter: blur(16px);
}

.brand,
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 226, 160, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 226, 160, 0.18), transparent 42%),
    var(--china-red);
  color: white;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(44, 6, 8, 0.22);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.brand-mark::before {
  inset: 6px;
  border: 1px solid rgba(255, 226, 160, 0.62);
}

.brand-mark::after {
  right: -5px;
  bottom: -5px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.brand-mark-inner {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.4px;
}

.brand-text,
.brand-name,
.brand-tagline,
.brand-slogan-cn {
  display: block;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-tagline {
  margin-top: 4px;
  color: rgba(255, 226, 160, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.brand-slogan-cn {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.admin-link {
  color: white !important;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: end;
  overflow: hidden;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #2a1412;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(23, 19, 19, 0.68), rgba(118, 13, 20, 0.22), rgba(255, 255, 255, 0));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 160px clamp(24px, 7vw, 92px) 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 860px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.hero p:not(.eyebrow),
.section-heading p,
.split-copy p,
.admin-hero p,
.travel-band p,
.editorial-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--china-red), #e0302d);
  color: white;
  box-shadow: 0 12px 28px rgba(181, 18, 27, 0.32);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.hero-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.hero-note span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 48px;
  display: grid;
  width: min(430px, calc(100% - 40px));
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel article {
  padding: 22px;
  background: rgba(23, 19, 19, 0.34);
}

.hero-panel span {
  color: var(--gold);
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.button.light {
  border-color: var(--line);
  background: white;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--deep-red);
  color: white;
}

.category-strip a {
  min-height: 118px;
  padding: 26px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  transition: background 0.25s ease, transform 0.25s ease;
}

.category-strip a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.visual-showcase {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 92px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, #fff8ee, #fff1df);
}

.showcase-copy p:not(.eyebrow) {
  color: rgba(21, 19, 19, 0.68);
  font-size: 18px;
  line-height: 1.8;
}

.showcase-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 16px;
}

.showcase-mosaic figure {
  position: relative;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase-mosaic .mosaic-large {
  grid-row: span 2;
}

.showcase-mosaic img {
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.5s ease;
}

.showcase-mosaic figure:hover img {
  transform: scale(1.04);
}

.showcase-mosaic figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(181, 18, 27, 0.9);
  color: white;
  font-weight: 900;
}

.category-strip span {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.section,
.split-section,
.travel-band,
.admin-shell {
  padding: 86px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.34fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-top: 4px;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  color: rgba(21, 19, 19, 0.68);
}

.compact-heading > div:last-child {
  max-width: 760px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.section-more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181, 18, 27, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--china-red);
  font-size: 14px;
  font-weight: 900;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.section-more:hover {
  border-color: rgba(181, 18, 27, 0.48);
  background: white;
  transform: translateY(-1px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(40, 25, 16, 0.08);
}

.feature-card img {
  aspect-ratio: 1.18;
  object-fit: cover;
  filter: none;
  transition: transform 0.45s ease;
}

.feature-card div {
  padding: 24px;
}

.feature-card:hover img {
  transform: scale(1.045);
}

.feature-card h3,
.food-item h3,
.culture-item h3 {
  margin: 0 0 8px;
}

.feature-card p,
.food-item p,
.culture-item p,
.route-card {
  color: rgba(21, 19, 19, 0.66);
  line-height: 1.7;
}

.meta {
  margin-bottom: 10px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 42px;
  align-items: start;
  background: #fff3e4;
}

.split-copy p {
  color: rgba(21, 19, 19, 0.68);
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-bottom: 2px solid rgba(181, 18, 27, 0.28);
  color: var(--china-red);
  font-weight: 900;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  border-color: var(--china-red);
  color: var(--deep-red);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
}

.food-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.food-card,
.food-item,
.culture-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(40, 25, 16, 0.06);
}

.food-card {
  overflow: hidden;
  background: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.food-card > div:last-child {
  padding: 18px;
}

.food-image-wrap {
  position: relative;
  overflow: hidden;
}

.food-image-wrap img {
  aspect-ratio: 1.62;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.food-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(40, 25, 16, 0.13);
}

.steam {
  position: absolute;
  bottom: 20%;
  width: 42px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  filter: blur(8px);
  opacity: 0;
  animation: steam-rise 4.2s ease-in-out infinite;
  pointer-events: none;
}

.steam-one {
  left: 28%;
}

.steam-two {
  left: 48%;
  animation-delay: 1.1s;
}

.steam-three {
  left: 66%;
  animation-delay: 2.2s;
}

@keyframes steam-rise {
  0% {
    transform: translateY(22px) scale(0.72) rotate(0deg);
    opacity: 0;
  }
  28% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-96px) scale(1.28) rotate(8deg);
    opacity: 0;
  }
}

.food-item,
.culture-item {
  padding: 22px;
}

.culture-item img {
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.editorial-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  background: var(--ink);
  color: white;
}

.editorial-image {
  min-height: 420px;
  overflow: hidden;
}

.editorial-image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.editorial-copy {
  display: grid;
  align-content: center;
  padding: 70px clamp(24px, 5vw, 72px);
}

.story-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.story-list a,
.story-list span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.story-list a:hover {
  border-color: rgba(255, 226, 160, 0.72);
  color: white;
  transform: translateY(-1px);
}

.story-action {
  margin-top: 0;
  padding: 28px clamp(20px, 5vw, 72px) 54px;
  background: var(--ink);
}

.culture-section {
  background: white;
}

.culture-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.travel-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 48px;
  background: linear-gradient(135deg, var(--deep-red), #201010);
  color: white;
}

.route-card {
  align-self: center;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.route-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.route-card .route-note {
  margin-bottom: 0;
  color: white;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-brand-block {
  display: grid;
  gap: 12px;
}

.footer-logo {
  min-width: 0;
}

.admin-body {
  background: #f7f3ea;
}

.admin-shell {
  display: grid;
  gap: 30px;
}

.admin-hero {
  padding: 40px;
  border-radius: 8px;
  background: var(--deep-red);
  color: white;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 24px;
}

.editor-form,
.admin-preview,
.schema-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-row:last-child {
  border-bottom: 0;
}

.row-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.delete-button,
.edit-button {
  align-self: start;
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
}

.delete-button {
  background: #f3dfdf;
  color: var(--deep-red);
}

.edit-button {
  background: #e6f0ed;
  color: var(--jade);
}

.schema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

code {
  display: block;
  padding: 14px;
  border-radius: 6px;
  background: #171717;
  color: #f8e8ba;
  white-space: normal;
}

.subpage {
  background: var(--paper);
}

.page-hero {
  width: 100%;
  margin: 0;
  padding: 54px clamp(24px, 5vw, 64px) 44px;
  background: linear-gradient(135deg, var(--deep-red), #211010);
  color: white;
}

.page-hero h1 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.5vw, 58px);
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.68;
}

.page-grid {
  display: grid;
  gap: 34px;
  padding: 38px clamp(20px, 6vw, 86px) 92px;
}

.page-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 0.92fr);
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.page-feature img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

body[data-page="food"] .page-feature {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  align-items: center;
}

body[data-page="food"] .page-feature img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center bottom;
  align-self: center;
}

.page-feature div {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.page-feature h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.page-feature p:not(.eyebrow):not(.meta) {
  color: rgba(21, 19, 19, 0.68);
  font-size: 18px;
  line-height: 1.8;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.topic-strip span,
.topic-strip a {
  border: 1px solid rgba(181, 18, 27, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--deep-red);
  font-weight: 900;
}

.destination-groups,
.page-destination-group {
  display: grid;
  gap: 22px;
}

.destination-groups {
  gap: 42px;
}

.destination-group-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(280px, 0.66fr);
  align-items: start;
  gap: 24px;
  border-top: 1px solid rgba(181, 18, 27, 0.18);
  padding-top: 22px;
}

.destination-group-head p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(21, 19, 19, 0.66);
  font-size: 17px;
  line-height: 1.72;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.page-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(40, 25, 16, 0.08);
}

.page-card.wide-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.image-missing {
  background: linear-gradient(135deg, #fff4e4, #f3dfdf);
}

.page-card img {
  aspect-ratio: 1.34;
  object-fit: cover;
}

.page-card div {
  padding: 24px;
}

.page-card :is(h2, h3) {
  margin-top: 0;
  line-height: 1.12;
  margin-bottom: 10px;
  font-size: 24px;
}

.page-card p {
  color: rgba(21, 19, 19, 0.66);
  line-height: 1.72;
}

.map-planner {
  display: grid;
  gap: 22px;
  padding: 38px clamp(20px, 6vw, 86px) 22px;
}

.map-planner-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(320px, 0.5fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  max-width: 1180px;
}

.map-planner-head h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.16;
}

.map-planner-head > p {
  max-width: 610px;
  margin-top: 30px;
  color: rgba(21, 19, 19, 0.66);
  font-size: 16px;
  line-height: 1.68;
}

.china-image-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181, 18, 27, 0.14);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(circle at 78% 18%, rgba(211, 168, 79, 0.2), transparent 24%),
    radial-gradient(circle at 20% 78%, rgba(36, 111, 99, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(247, 229, 205, 0.92));
  box-shadow: 0 18px 54px rgba(40, 25, 16, 0.08);
}

.province-map-surface {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.china-image-map::before {
  position: absolute;
  inset: clamp(14px, 2vw, 24px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(181, 18, 27, 0.08), transparent 38%),
    linear-gradient(0deg, rgba(255, 248, 238, 0.22), rgba(255, 248, 238, 0.22));
  content: "";
  pointer-events: none;
  z-index: 1;
}

.province-base-map {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  opacity: 0.88;
  filter: saturate(0.96) contrast(1.03);
}

.province-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: end;
  width: 7.2%;
  min-height: 5cqw;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 155, 0.56);
  border-radius: 8px;
  padding: 0.55cqw;
  background-image:
    linear-gradient(180deg, rgba(44, 14, 16, 0.12), rgba(44, 14, 16, 0.78)),
    var(--bg);
  background-position: center;
  background-size: cover;
  color: white;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(40, 25, 16, 0.16);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.province-pin span {
  font-size: 1.1cqw;
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.province-pin small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75cqw;
  font-weight: 800;
}

.province-pin:hover,
.province-pin:focus-visible {
  z-index: 12;
  border-color: rgba(255, 238, 188, 1);
  filter: saturate(1.28) contrast(1.08);
  transform: translate(-50%, -50%) scale(1.32);
  box-shadow: 0 28px 58px rgba(80, 20, 18, 0.34);
}

.pin-xinjiang { left: 23%; top: 31%; }
.pin-tibet { left: 25%; top: 53%; }
.pin-gansu { left: 45%; top: 40%; }
.pin-inner-mongolia { left: 54%; top: 34%; }
.pin-heilongjiang { left: 80%; top: 19%; }
.pin-jilin { left: 77.5%; top: 27%; }
.pin-liaoning { left: 73%; top: 33%; }
.pin-beijing { left: 65.5%; top: 37.5%; }
.pin-tianjin { left: 68%; top: 41%; }
.pin-hebei { left: 64%; top: 43%; }
.pin-shanxi { left: 59%; top: 44.5%; }
.pin-shaanxi { left: 53.5%; top: 50%; }
.pin-qinghai { left: 37.5%; top: 44.5%; }
.pin-ningxia { left: 50.5%; top: 44.5%; }
.pin-sichuan { left: 45%; top: 59%; }
.pin-chongqing { left: 52%; top: 61.5%; }
.pin-henan { left: 61.5%; top: 53%; }
.pin-shandong { left: 68.5%; top: 48%; }
.pin-yunnan { left: 41.5%; top: 74%; }
.pin-guizhou { left: 50%; top: 70%; }
.pin-hunan { left: 58%; top: 69%; }
.pin-hubei { left: 60%; top: 60%; }
.pin-jiangxi { left: 64.5%; top: 68.5%; }
.pin-guangxi { left: 53.5%; top: 78%; }
.pin-anhui { left: 67.5%; top: 58%; }
.pin-jiangsu { left: 71.5%; top: 54.5%; }
.pin-zhejiang { left: 72%; top: 64.5%; }
.pin-fujian { left: 69%; top: 72.5%; }
.pin-shanghai { left: 76.5%; top: 59%; }
.pin-guangdong { left: 63%; top: 79%; }
.pin-hong-kong { left: 65.5%; top: 84.5%; }
.pin-macau { left: 62%; top: 85%; }
.pin-hainan { left: 55%; top: 91%; }
.pin-taiwan { left: 76%; top: 79.5%; }

.pin-beijing,
.pin-tianjin,
.pin-hebei,
.pin-hong-kong,
.pin-macau {
  width: 4.4%;
  min-height: 2.8cqw;
}

.pin-beijing small,
.pin-tianjin small,
.pin-hebei small,
.pin-shanghai small,
.pin-hong-kong small,
.pin-macau small {
  display: none;
}

.province-preview {
  position: absolute;
  z-index: 30;
  left: 0;
  top: 0;
  display: grid;
  width: min(340px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 226, 155, 0.78);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.97);
  box-shadow: 0 30px 80px rgba(55, 18, 15, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 150ms ease, transform 150ms ease;
}

.province-preview.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.province-preview img {
  height: 190px;
  object-fit: cover;
}

.province-preview-copy {
  padding: 18px;
}

.province-preview h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.province-preview ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.province-preview li {
  position: relative;
  padding-left: 15px;
  color: rgba(21, 19, 19, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.province-preview li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--china-red);
  content: "";
}

.planning-shell {
  display: grid;
  gap: 34px;
  padding: 42px clamp(20px, 6vw, 86px) 92px;
}

.planning-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(320px, 0.58fr);
  gap: 32px;
  align-items: end;
}

.planning-intro h2,
.planning-checks h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.planning-intro > p {
  color: rgba(21, 19, 19, 0.66);
  font-size: 18px;
  line-height: 1.74;
}

.planning-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planning-filters span,
.planning-filters button {
  border: 1px solid rgba(181, 18, 27, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: var(--deep-red);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(40, 25, 16, 0.05);
}

.route-itinerary-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(181, 18, 27, 0.18);
}

.route-itinerary {
  display: grid;
  gap: 24px;
  border-bottom: 1px solid rgba(181, 18, 27, 0.18);
  padding: 34px 0;
}

.route-topline {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(360px, 0.68fr);
  gap: 24px;
  align-items: end;
}

.route-topline h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.route-flow {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.route-flow a {
  position: relative;
  border: 1px solid rgba(181, 18, 27, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  background: white;
  color: var(--deep-red);
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(40, 25, 16, 0.05);
}

.route-flow a:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  color: rgba(181, 18, 27, 0.55);
  font-weight: 950;
}

.route-detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(360px, 0.68fr);
  gap: 24px;
}

.route-facts {
  display: grid;
  gap: 14px;
  align-content: start;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.route-facts span {
  color: var(--deep-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-facts strong {
  font-size: 22px;
}

.route-facts p,
.route-highlights p {
  color: rgba(21, 19, 19, 0.66);
  line-height: 1.75;
}

.route-highlights {
  display: grid;
  gap: 12px;
}

.route-highlights h3 {
  font-size: 22px;
}

.planning-checks {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(320px, 0.62fr);
  gap: 30px;
  border-top: 1px solid rgba(181, 18, 27, 0.16);
  padding-top: 34px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-grid span {
  border: 1px solid rgba(181, 18, 27, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(21, 19, 19, 0.76);
  font-weight: 850;
}

.planning-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.planning-timeline article {
  border-left: 3px solid var(--deep-red);
  padding: 4px 0 4px 16px;
}

.planning-timeline span {
  color: var(--deep-red);
  font-weight: 950;
}

.planning-timeline p {
  margin-top: 8px;
  color: rgba(21, 19, 19, 0.64);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .section-heading,
  .split-section,
  .visual-showcase,
  .travel-band,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .intro-band,
  .category-strip,
  .feature-grid,
  .page-card-grid,
  .culture-list,
  .schema-grid,
  .editorial-feature {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-feature,
  .page-card.wide-card,
  .destination-group-head,
  .map-planner-head,
  .planning-intro,
  .planning-checks,
  .route-topline,
  .route-detail-grid {
    grid-template-columns: 1fr;
  }

  .planning-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 20px 34px;
  }

}

@media (min-width: 1100px) and (max-height: 760px) {
  .hero {
    min-height: 700px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-content {
    padding-top: 125px;
    padding-bottom: 80px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-media img {
    object-position: center top;
  }

  .intro-band,
  .category-strip,
  .visual-showcase,
  .showcase-mosaic,
  .feature-grid,
  .page-card-grid,
  .food-panel,
  .culture-list,
  .schema-grid,
  .editorial-feature,
  .hero-panel,
  .planning-timeline,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .category-strip a {
    min-height: auto;
  }

  .map-planner {
    overflow: hidden;
  }

  .china-image-map {
    padding: 8px;
  }

  .china-image-map::before {
    inset: 8px;
  }

  .province-pin {
    border-radius: 3px;
  }

  .province-pin small {
    display: none;
  }

  .province-preview {
    display: none;
  }
}


.food-map-section { padding: 0 clamp(20px, 6vw, 86px) 80px; }
.food-map-heading { max-width: 800px; margin-bottom: 26px; }
.food-map-heading h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; }
.food-map-heading > p:last-child { color: rgba(21,19,19,.68); line-height: 1.8; }
.food-map { overflow: visible; }
.food-map::before { z-index: 0; }
.food-region-pin {
  position: absolute; left: 0; top: 0; z-index: 2;
  transform: translate(-50%, -50%); width: 13%; aspect-ratio: 1.5;
  display: flex; align-items: end; padding: .7cqw;
  border: 1px solid #efd49d; border-radius: 8px; cursor: pointer;
  background: linear-gradient(transparent, rgba(35,15,10,.85)), var(--food-image) center / cover;
  color: white; text-align: left; font: 800 clamp(8px, 1.2cqw, 19px)/1.15 Arial, sans-serif;
  box-shadow: 0 8px 22px #28191033; transition: transform .15s ease;
}
.food-region-pin:hover, .food-region-pin:focus-visible, .food-region-pin[aria-expanded="true"] { z-index: 4; transform: translate(-50%, -50%) scale(1.1); outline: 2px solid var(--gold); }
.food-region-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.food-region-choice { border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; background: white; color: var(--ink); cursor: pointer; font: inherit; }
.food-region-choice[aria-expanded="true"] { background: var(--deep-red); color: white; }
.food-region-preview { position: absolute; z-index: 30; width: min(340px, calc(100% - 24px)); background: var(--paper); border: 1px solid #e0c693; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.food-region-preview[hidden] { display: none; }
.food-region-image-link img { height: 160px; object-fit: cover; }
.food-preview-close { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff8ee; color: var(--ink); font-size: 24px; cursor: pointer; }
.food-preview-copy { padding: 18px; }
.food-preview-copy h3 { margin: 8px 0 14px; font-size: 24px; }
.food-preview-copy ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.food-preview-copy li { display: grid; gap: 4px; font-size: 14px; line-height: 1.45; }
.food-preview-copy li span { color: #61554d; }
@media (max-width: 760px) {
  .food-region-preview { position: relative; width: 100%; margin-top: 16px; }
  .food-region-image-link img { height: auto; max-height: 240px; object-fit: contain; background: #efe1cb; }
  .food-region-pin { border-radius: 4px; width: 14%; }
  .food-region-choices { gap: 8px; }
  .food-region-choice { padding: 10px 12px; font-size: 13px; }
}

body[data-page="stories"] .page-card img[src$="/assets/images/licensed/i130-twelve-zodiac-animals-tang.jpg"] {
  object-fit: contain;
  background: #fff;
  height: 340px;
}

body[data-page="stories"] .page-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
body[data-page="stories"] .page-card :is(h2, h3) { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; }
body[data-page="stories"] .page-card p:not(.meta) { font-size: 17px; line-height: 1.85; }
body[data-page="stories"] .page-card div { padding: clamp(24px, 3vw, 38px); }
@media (max-width: 620px) { body[data-page="stories"] .page-card-grid { grid-template-columns: 1fr; } }

body[data-page="stories"] .page-card img[src$=".svg"],
body[data-page="stories"] .page-card img[src$="/stories/calendar.jpg"],
body[data-page="stories"] .page-card img[src$="/stories/dragon.jpg"] {
  object-fit: contain;
  background: #fff8ee;
  height: 340px;
  aspect-ratio: auto;
}

body[data-page="stories"] .topic-strip a { text-decoration: none; }
body[data-page="stories"] .topic-strip a:hover { background: var(--deep-red); color: #fff; }
body[data-page="stories"] .topic-strip a:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 3px; }
body[data-page="stories"] .page-card[id] { scroll-margin-top: 190px; }

body[data-page="stories"] .page-card img[src$="/assets/images/licensed/i136-nine-dragon-wall-forbidden-city.jpg"] { object-fit: cover; object-position: center 70%; }

body[data-page="travel"] .page-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-page="travel"] .page-card :is(h2, h3) { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; }
body[data-page="travel"] .page-card img { height: 300px; object-fit: cover; }
body[data-page="travel"] .page-card img[src$="/tourism-app.jpg"] { object-position: center 42%; }
body[data-page="travel"] .topic-strip a { text-decoration: none; }
body[data-page="travel"] .topic-strip a:hover { background: var(--deep-red); color: white; }
body[data-page="travel"] .topic-strip a:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 3px; }
body[data-page="travel"] .page-card[id] { scroll-margin-top: 190px; }
@media (max-width: 620px) { body[data-page="travel"] .page-card-grid { grid-template-columns: 1fr; } }

.travel-photo-credits { color: var(--muted); font-size: 13px; line-height: 1.7; }
.travel-photo-credits summary { cursor: pointer; }

.planning-filters button { font: inherit; font-weight: 900; cursor: pointer; }
.planning-filters button[aria-pressed="true"] { background: var(--deep-red); color: #fff; }
.planning-filters button:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 3px; }
.route-itinerary[hidden] { display: none; }
.route-planning-note, .planning-travel-link { line-height: 1.75; color: rgba(21,19,19,.7); }
.route-count { font-weight: 800; color: var(--deep-red); }

.footer-meta { align-self: end; margin-left: auto; display: grid; gap: 16px; justify-items: end; text-align: right; }
.site-footer .travel-photo-credits { color: inherit; max-width: 440px; font-size: 12px; }
.site-footer .travel-photo-credits summary { display: list-item; text-align: right; }
.site-footer .travel-photo-credits p { margin-top: 12px; text-align: left; }
.site-footer .travel-photo-credits a { text-decoration: underline; }
@media (max-width: 900px) { .footer-meta { width: 100%; margin-left: 0; } }

.planning-travel-link a {
  display: inline-block;
  margin: 6px 8px;
  padding: 11px 20px;
  border: 2px solid var(--deep-red);
  border-radius: 999px;
  background: var(--deep-red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.4;
  transition: background 160ms ease, color 160ms ease;
}
.planning-travel-link a:hover { background: #fff; color: var(--deep-red); }
.planning-travel-link a:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 4px; }

.showcase-mosaic figcaption a { color: inherit; text-decoration: none; }
.showcase-mosaic figcaption a:hover { color: #f5d58f; }
.showcase-mosaic figcaption a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 2px; }

.footer-copyright { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.5; }

.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.interest-grid a { display: block; padding: 24px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.06); text-decoration: none; color: white; transition: background 160ms ease; }
.interest-grid a:hover { background: rgba(255,255,255,.13); }
.interest-grid a:focus-visible { outline: 3px solid #f5d58f; outline-offset: 4px; }
.interest-grid span { font-size: 23px; font-weight: 900; }
.interest-grid p { margin: 12px 0 18px; color: rgba(255,255,255,.78); line-height: 1.7; }
.interest-grid small { color: #f5d58f; font-weight: 800; }
@media (max-width: 620px) { .interest-grid { grid-template-columns: 1fr; } }

.province-pin { font-family: inherit; text-align: left; text-decoration: none; }

.food-region-pin {text-decoration:none}
.food-region-image-link {display:block}
.food-region-image-link img {display:block;width:100%}
.food-region-image-link:focus-visible {outline:3px solid var(--gold);outline-offset:-3px}

/* A readable native-link alternative to the dense map on small screens. */
.province-guide-directory {margin-top:18px;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:#faf5ec}
.province-guide-directory summary {cursor:pointer;font-weight:750;line-height:1.5}
.province-guide-directory summary:focus-visible,.province-guide-list a:focus-visible {outline:3px solid var(--deep-red);outline-offset:3px}
.province-guide-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 16px;list-style:none;padding:0;margin:18px 0 0}
.province-guide-list a {display:flex;align-items:center;min-height:44px;padding:8px 0;color:inherit;text-decoration:none;line-height:1.4}
.province-guide-list a:hover {text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px) {.province-guide-list {grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared photo attribution stays readable on compact screens. */
.photo-credit-list { max-height: 360px; overflow-y: auto; overflow-wrap: anywhere; text-align: left; margin-top: 12px; }
.photo-credit-list ul { padding-left: 20px; }
.photo-credit-list li { margin-bottom: 14px; }

/* Palace and food frames follow their complete photographic subjects. */
.showcase-mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto; align-content: center; }
.showcase-mosaic .mosaic-large { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.8; }
.showcase-mosaic figure { min-height: 0; aspect-ratio: 1.5; }
.showcase-mosaic img { width: 100%; height: 100%; object-position: center; }
.showcase-mosaic .mosaic-large img { object-position: center 52%; }
.hero-media img { object-position: center 40%; }
.culture-item img[src*="i117-"], .page-card img[src*="i117-"] { object-fit: cover; object-position: center; }
.article-hero img[src*="i117-"] { max-width: 100% !important; }
.food-card img[src*="i111-"], .page-card img[src*="i111-"] { object-position: center 68%; }
@media(max-width:620px) { .showcase-mosaic .mosaic-large { grid-column: 1 / -1; aspect-ratio: 1.65; } }

/* Preserve the complete Sichuan opera performer and restroom architecture. */
.page-card img[src*="i122-"], .page-card img[src*="i148-"] { object-fit: contain; background: #f3eee6; }

body[data-page="travel"] .page-card img[src*="i148-"] { object-fit: contain; background: #f3eee6; }

body[data-page="food"] .page-card img[src*="i110-"] { object-fit: contain; background: #faf7f1; }

.page-card img[src*="i126-"] { object-position: 70% center; }
@media (max-width: 620px) { .hero-media img { object-position: 29% center; } }

/* Large displays: preserve photographs and avoid fixed-height image strips. */
.page-grid { width: 100%; max-width: 1600px; margin-inline: auto; }
body[data-page="travel"] .page-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media { background: #0c1124; }
.hero-media img { object-fit: cover; object-position: center center; }
@media (max-width: 620px) { .hero-media img { object-fit: cover; object-position: 29% center; } }
.page-card img[src*="i066-"] { object-fit: cover; object-position: center; }
body[data-page="culture"] .page-card img[src*="i126-"] { object-fit: contain; background: #f5eee6; }

body[data-page="culture"] .page-card img[src*="i126-"] { object-fit: cover; object-position: center bottom; }

.hero-media img { object-fit: cover; object-position: 48% center; }
@media (min-width: 2100px) { .hero-media img { object-position: center top; } }
@media (max-width: 620px) { .hero-media img { object-position: 43% center; } }

/* Show complete food photographs without a dark tint or forced crop. */
.food-region-pin { display: grid; align-items: stretch; align-content: start; padding: 0; aspect-ratio: auto; background: #fff8ed; color: var(--deep-red); }
.food-region-pin img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #fff8ed; }
.food-region-pin > span { display: block; padding: .4cqw .45cqw; font-size: clamp(8px, 1.05cqw, 17px); line-height: 1.15; }
.food-region-image-link img { height: auto; max-height: 280px; aspect-ratio: auto; object-fit: contain; background: #fff8ed; }
/* Match the image hints to real card dimensions and keep the landscape readable. */
.feature-grid { max-width: 1600px; margin-inline: auto; }
.page-card img[src*="i301-"] { height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #edf4ec; }
body[data-page="travel"] .page-grid { max-width: 1280px; }
body[data-page="culture"] .page-card img[src*="i302-"] { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% center; }
body[data-page="stories"] .page-card img[src*="i303-"] { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.province-preview[data-province="Taiwan"] img { height: auto; max-height: 250px; object-fit: contain; background: #fff8ed; }
.route-flow a { display: inline-block; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.route-flow a:hover { background: var(--deep-red); color: white; border-color: var(--deep-red); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(88,25,24,.15); }
.route-flow a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; background: var(--deep-red); color: white; }
@media (prefers-reduced-motion: reduce) { .route-flow a { transition: none; } .route-flow a:hover { transform: none; } }
@media (max-width: 760px) { .food-region-image-link img { max-height: 240px; } }

/* Shanghai needs room for its full English name on the compact city pin. */
.province-pin.pin-shanghai { width: 6.5%; min-height: 2.8cqw; }

body[data-page="travel"] .page-card img[src*="i324-"] { object-position: 40% center; }
body[data-page="travel"] .page-card img[src*="i325-"] { object-position: center 60%; }

body[data-page="destinations"] .page-feature img[src*="i326-"] { width: 100%; height: auto; aspect-ratio: 2908 / 1144; object-fit: cover; }
body[data-page="culture"] .page-card img[src*="i327-"] { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; }

/* Give the old-and-new skyline a full-width frame so both roof and tower remain visible. */
body[data-page="destinations"] .page-feature { display: block; width: 100%; max-width: 1600px; margin-inline: auto; }
body[data-page="destinations"] .page-feature img[src*="i326-"] { display: block; min-height: 0; width: 100%; height: auto; aspect-ratio: 2908 / 1144; object-fit: cover; }
body[data-page="destinations"] .page-feature > div { padding: clamp(24px, 3vw, 40px); }

/* Keyboard access and stable, optional privacy controls. */
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 1000; padding: 12px 18px; background: #fff; color: #760d14; border: 2px solid #760d14; border-radius: 5px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.footer-site-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; font-size: 13px; }
.footer-site-links a { color: inherit; text-underline-offset: 3px; }
.analytics-choice { position: fixed; bottom: 18px; right: 18px; z-index: 100; max-width: min(440px, calc(100vw - 36px)); padding: 20px; background: #fff8ee; color: #171313; border: 1px solid #760d14; border-radius: 8px; box-shadow: 0 8px 32px #0003; }
.analytics-choice p { font-size: 15px; line-height: 1.6; }
.analytics-choice button, [data-analytics-preferences] { border: 1px solid #760d14; background: #760d14; color: #fff; border-radius: 5px; padding: 9px 13px; margin: 0 10px 10px 0; font: inherit; cursor: pointer; }
.analytics-choice button + button { background: transparent; color: #760d14; }
.analytics-choice a { display: block; color: #760d14; font-size: 14px; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

picture[data-optimized] { display: contents; }
/* Sources select files only; they must never occupy a grid cell. */
picture[data-optimized] > source { display: none; }
.destination-group-head .eyebrow, .page-feature .eyebrow { color: #846020; }
.section-more { background-color: #fff8ee; }

.food-guide-directory { margin: 24px auto; max-width: 1100px; padding: 18px 22px; background: #fff8ee; border: 1px solid var(--line); border-radius: 7px; }
.food-guide-directory summary { cursor: pointer; font-weight: 700; color: #760d14; }
.food-guide-directory ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 14px; padding-left: 22px; }
.food-guide-directory a { color: #760d14; text-underline-offset: 3px; }

.article-heading .eyebrow, .article-related > .eyebrow { color: #846020; }

.map-planner .eyebrow, .planning-shell .eyebrow, .planning-checks .eyebrow { color: #846020; }

/* Semantic group headings retain the original small section-label typography. */
.destination-group-head .eyebrow { margin: 0 0 14px; font-size: 13px; line-height: normal; }

/* Compact layouts use normal image/copy flow instead of percentage-height grid rows. */
@media (max-width: 900px) {
  body:is([data-page="culture"], [data-page="stories"], [data-page="travel"]) .page-feature { display: block; }
  body:is([data-page="culture"], [data-page="stories"], [data-page="travel"]) .page-feature img {
    display: block; width: 100%; height: auto; min-height: 0; max-width: 100%; aspect-ratio: auto;
  }
  body:is([data-page="culture"], [data-page="stories"], [data-page="travel"]) .page-feature > div {
    display: block; padding: clamp(24px, 4vw, 36px);
  }
  body:is([data-page="culture"], [data-page="stories"], [data-page="travel"]) .page-feature h2 {
    margin: 0 0 16px; font-size: clamp(28px, 5vw, 38px); line-height: 1.18;
  }
  .page-feature > div > p:last-child { margin-bottom: 0; }
}
@media (max-width: 620px) {
  /* A two-column span must not create a second, implicit track in a one-column grid. */
  .page-card-grid .page-card.wide-card { grid-column: auto; display: block; min-width: 0; }
  .page-card-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="destinations"] .page-destination-group { gap: 20px; }
  body[data-page="destinations"] .destination-group-head { gap: 10px; }
  body[data-page="destinations"] .destination-group-head p { margin-bottom: 0; }
}

/* Shared footer: quiet navigation, a distinct credit control, then copyright. */
.site-footer { align-items: start; gap: 40px; padding-block: 40px; }
.footer-brand-block { max-width: 450px; }
.site-footer .footer-brand-block > p { font-size: 14px; line-height: 1.75; }
.footer-meta { align-self: center; gap: 12px; min-width: 0; }
.footer-site-links { align-items: center; gap: 8px 22px; font-size: 13px; line-height: 1.6; }
.footer-site-links a { padding-block: 8px; color: #eee4db; text-decoration: none; }
.footer-site-links a:hover { color: #f5d58f; text-decoration: underline; text-underline-offset: 5px; }
.footer-site-links a:focus-visible,.site-footer .travel-photo-credits summary:focus-visible { outline: 2px solid #f5d58f; outline-offset: 4px; border-radius: 4px; }
.site-footer [data-footer-photo-credits] { min-width: 0; width: 100%; }
.site-footer .travel-photo-credits { margin-left: auto; width: 100%; max-width: 440px; }
.site-footer .travel-photo-credits summary {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; min-height: 40px;
  margin-left: auto; padding: 8px 16px; border: 1px solid #d7a84b66; border-radius: 999px;
  color: #f5d58f; background: #ffffff05; font-size: 12px; line-height: 1.5; list-style: none;
}
.site-footer .travel-photo-credits summary::-webkit-details-marker { display: none; }
.site-footer .travel-photo-credits summary::after { content: '+'; font-size: 17px; line-height: 1; }
.site-footer .travel-photo-credits[open] summary::after { content: '−'; }
.site-footer .travel-photo-credits summary:hover { background: #ffffff0d; border-color: #d7a84b; }
.site-footer .photo-credit-list { margin-top: 16px; padding: 16px; border: 1px solid #ffffff26; border-radius: 8px; color: #e0d8d2; background: #ffffff05; }
.site-footer .photo-credit-list p { font-size: 13px; line-height: 1.7; }
.footer-copyright { color: #bcb0a8; font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) {
  .site-footer { gap: 24px; }
  .footer-brand-block { max-width: 540px; }
  .footer-meta { justify-items: start; text-align: left; padding-top: 20px; border-top: 1px solid #ffffff26; }
  .footer-site-links { justify-content: flex-start; }
  .site-footer .travel-photo-credits { margin-left: 0; max-width: none; }
  .site-footer .travel-photo-credits summary { margin-left: 0; }
}
@media (max-width: 480px) {
  .footer-site-links { display: grid; gap: 0; }
  .footer-site-links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
  .site-footer .travel-photo-credits summary { min-height: 44px; }
}
