:root {
  --ink: #10201d;
  --ink-soft: #1f3a35;
  --jade: #087868;
  --jade-dark: #0c4f47;
  --gold: #c59b45;
  --cinnabar: #b34834;
  --paper: #ffffff;
  --rice: #f6f3ed;
  --mist: #e7efeb;
  --line: #dce5df;
  --text: #25302e;
  --muted: #66736f;
  --shadow: 0 18px 50px rgba(16, 32, 29, 0.14);
  --shadow-soft: 0 10px 28px rgba(16, 32, 29, 0.09);
  --radius: 8px;
  --content: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px max(28px, calc((100vw - var(--content)) / 2));
  color: var(--paper);
  transition: background-color 180ms ease, box-shadow 180ms ease, padding 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 32, 29, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--paper);
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark,
.footer-brand .brand-mark {
  border-color: rgba(8, 120, 104, 0.24);
  background: var(--jade);
  color: var(--paper);
}

.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.76rem;
  line-height: 1.35;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  opacity: 0.92;
}

.site-nav a:not(.nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-action,
.site-header.is-open .nav-action {
  border-color: transparent;
  background: var(--jade);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/china-travel-portal-hero.png");
  background-position: center center;
  background-size: cover;
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 32, 28, 0.84) 0%, rgba(11, 32, 28, 0.56) 42%, rgba(11, 32, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 32, 28, 0.34) 0%, rgba(11, 32, 28, 0.2) 52%, rgba(11, 32, 28, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
  padding: 160px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 5.1rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
  line-height: 1.75;
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(760px, 100%);
  min-height: 66px;
  margin-top: 34px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-search input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.hero-search input::placeholder {
  color: #6d7975;
}

.hero-search button,
.newsletter-form button {
  border: 0;
  border-radius: 6px;
  background: var(--cinnabar);
  color: var(--paper);
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-search button {
  padding: 0 24px;
}

.hero-search button:hover,
.newsletter-form button:hover {
  background: #983827;
  transform: translateY(-1px);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.search-results.is-visible {
  display: block;
}

.search-results a,
.search-empty {
  display: block;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.search-results a:hover,
.search-results a:focus-visible {
  background: var(--rice);
}

.search-results strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}

.search-results span,
.search-empty {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.18);
}

.planner-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--content), calc(100% - 56px));
  margin: -42px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.planner-strip a {
  display: grid;
  gap: 6px;
  min-height: 122px;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.planner-strip a:last-child {
  border-right: 0;
}

.planner-strip a:hover,
.planner-strip a:focus-visible {
  background: var(--rice);
}

.planner-strip span,
.card-kicker,
.guide-card span,
.idea-list span,
.essential-card span {
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.planner-strip strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.section {
  padding: 96px max(28px, calc((100vw - var(--content)) / 2));
}

.section-muted {
  background: var(--rice);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-heading {
  margin-bottom: 34px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 42px;
}

.centered {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2,
.newsletter-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-dark h2 {
  color: var(--paper);
}

.section-heading > p,
.split-heading > p,
.centered p,
.newsletter-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-dark .split-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--paper);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.destination-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 22px;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
}

.destination-card.is-hidden {
  display: none;
}

.destination-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.destination-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 19, 17, 0.02) 0%, rgba(6, 19, 17, 0.4) 45%, rgba(6, 19, 17, 0.9) 100%);
  content: "";
}

.destination-card:hover img,
.destination-card:focus-visible img,
.guide-card:hover img,
.idea-hero:hover img {
  transform: scale(1.04);
}

.feature-card {
  grid-column: span 2;
}

.destination-card h3 {
  margin: 7px 0 6px;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
}

.destination-card p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.destination-card .card-kicker {
  color: var(--gold);
}

.idea-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 24px;
}

.idea-hero {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--rice);
}

.idea-hero img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.idea-hero div {
  padding: 28px;
}

.idea-hero h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.14;
}

.idea-hero p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted);
}

.text-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jade);
  font-weight: 800;
}

.text-link:hover,
.section-link:hover {
  color: var(--jade-dark);
}

.idea-list {
  display: grid;
  gap: 14px;
}

.idea-list a {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease;
}

.idea-list a:hover,
.idea-list a:focus-visible {
  border-color: rgba(8, 120, 104, 0.38);
  transform: translateY(-2px);
}

.idea-list strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.42;
}

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.essential-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.essential-card:hover,
.essential-card:focus-visible {
  border-color: rgba(197, 155, 69, 0.48);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.essential-card span {
  color: var(--gold);
}

.essential-card h3 {
  margin: 42px 0 10px;
  color: var(--paper);
  font-size: 1.2rem;
  line-height: 1.2;
}

.essential-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

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

.guide-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.guide-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.guide-card div {
  padding: 22px;
}

.guide-card h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.34;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  align-items: center;
  gap: 32px;
  padding: 72px max(28px, calc((100vw - var(--content)) / 2));
  background: var(--mist);
}

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

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-width: 0;
}

.newsletter-form input {
  min-width: 0;
  min-height: 54px;
  border: 1px solid rgba(16, 32, 29, 0.18);
  border-radius: 6px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(8, 120, 104, 0.14);
}

.newsletter-form button {
  min-height: 54px;
  padding: 0 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  padding: 54px max(28px, calc((100vw - var(--content)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  max-width: 540px;
  margin: 18px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--paper);
  font-weight: 800;
}

.footer-brand {
  color: var(--paper);
}

.copyright {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.article-page {
  background: var(--rice);
}

.article-page .site-header {
  color: var(--ink);
}

.article-hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.article-hero-media,
.article-hero-shade {
  position: absolute;
  inset: 0;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.04) contrast(1.02);
}

.article-hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 26, 23, 0.88) 0%, rgba(9, 26, 23, 0.6) 46%, rgba(9, 26, 23, 0.1) 100%),
    linear-gradient(180deg, rgba(9, 26, 23, 0.12) 0%, rgba(9, 26, 23, 0.76) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
  padding: 156px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--gold);
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 4.1rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.article-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.article-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.article-summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--content), calc(100% - 56px));
  margin: -44px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.article-summary div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.article-summary div:last-child {
  border-right: 0;
}

.article-summary span {
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-summary strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 780px);
  gap: 56px;
  width: min(var(--content), calc(100% - 56px));
  margin: 84px auto 0;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 98px;
}

.toc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.toc-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.toc-panel nav {
  display: grid;
  gap: 4px;
}

.toc-panel a {
  display: block;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.toc-panel a:hover,
.toc-panel a:focus-visible,
.toc-panel a.is-active {
  background: var(--mist);
  color: var(--jade-dark);
}

.article-content {
  padding-bottom: 94px;
}

.article-content section {
  padding: 0 0 54px;
}

.article-content .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.75;
}

.article-content p {
  color: #3d4b47;
  font-size: 1.03rem;
}

.article-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.12;
}

.article-content h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.28;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-grid > div,
.note-box,
.article-content details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.content-grid p,
.note-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.note-box {
  margin-top: 22px;
  border-left: 4px solid var(--gold);
}

.note-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.timeline span {
  color: var(--jade);
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #3d4b47;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: inset 0 0 0 5px var(--mist);
  content: "";
}

.article-content details {
  margin-bottom: 12px;
}

.article-content summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.article-content details p {
  margin-bottom: 0;
}

.wp-article-content > * {
  margin-top: 0;
  margin-bottom: 20px;
}

.wp-article-content h2,
.wp-article-content h3,
.wp-article-content h4 {
  margin-top: 44px;
}

.wp-article-content h4 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.wp-article-content a {
  color: var(--jade);
  font-weight: 800;
  text-decoration: none;
}

.wp-article-content a:hover,
.wp-article-content a:focus-visible {
  color: var(--jade-dark);
  text-decoration: underline;
}

.wp-article-content ul,
.wp-article-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 24px;
  color: #3d4b47;
}

.wp-article-content li {
  line-height: 1.75;
}

.wp-article-content figure {
  margin: 34px 0;
}

.wp-article-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.wp-article-content figcaption,
.wp-article-content .wp-caption-text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.wp-article-content blockquote {
  margin: 34px 0;
  border-left: 4px solid var(--gold);
  background: var(--mist);
  padding: 22px 24px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.65;
}

.wp-article-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.wp-article-content th,
.wp-article-content td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.related-section {
  border-top: 1px solid var(--line);
}

.archive-page {
  background: var(--rice);
}

.archive-page .site-header {
  color: var(--ink);
}

.archive-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px max(28px, calc((100vw - var(--content)) / 2)) 72px;
  color: var(--paper);
  isolation: isolate;
}

.archive-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 26, 23, 0.88) 0%, rgba(9, 26, 23, 0.58) 48%, rgba(9, 26, 23, 0.16) 100%),
    linear-gradient(180deg, rgba(9, 26, 23, 0.16) 0%, rgba(9, 26, 23, 0.82) 100%);
  content: "";
}

.archive-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.archive-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.archive-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(1.05) contrast(1.02);
}

.archive-breadcrumbs,
.list-breadcrumbs {
  margin-bottom: 44px;
}

.archive-hero h1,
.list-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.04;
  letter-spacing: 0;
}

.archive-hero h1 {
  max-width: 760px;
  font-size: 4.2rem;
}

.archive-hero p:not(.eyebrow),
.list-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

.archive-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(700px, 100%);
  margin-top: 30px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.archive-search input {
  min-width: 0;
  min-height: 52px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.archive-search button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  padding: 0 22px;
  background: var(--cinnabar);
  color: var(--paper);
  font-weight: 800;
}

.archive-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--content), calc(100% - 56px));
  margin: -44px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.archive-stats div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.archive-stats div:last-child {
  border-right: 0;
}

.archive-stats span,
.archive-card span,
.list-card span {
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-stats strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.35;
}

.archive-section {
  padding-top: 86px;
}

.guide-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.guide-filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.guide-filter-button.active,
.guide-filter-button:hover,
.guide-filter-button:focus-visible {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--paper);
  transform: translateY(-1px);
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.archive-main {
  min-width: 0;
}

.archive-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.archive-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.archive-feature div {
  display: grid;
  align-content: center;
  padding: 34px;
}

.archive-feature h3 {
  margin: 9px 0 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1.12;
}

.archive-feature p {
  margin: 0 0 20px;
  color: var(--muted);
}

.archive-feature strong {
  color: var(--jade);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.region-card,
.archive-panel,
.archive-card,
.list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.region-card {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
}

.region-card span {
  color: var(--jade);
  font-weight: 800;
}

.region-card strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.38;
}

.archive-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 18px;
}

.archive-list-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
}

.archive-list-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.archive-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-card {
  display: grid;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.archive-card:hover,
.archive-card:focus-visible,
.list-card:hover,
.list-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.archive-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.archive-card div {
  padding: 20px;
}

.archive-card h3 {
  margin: 8px 0 9px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.34;
}

.archive-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.archive-card.is-hidden,
.archive-feature.is-hidden,
.list-card.is-hidden {
  display: none;
}

.archive-aside,
.list-filter-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.archive-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.panel-title {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-panel a {
  color: var(--muted);
  font-weight: 700;
}

.archive-panel a:hover,
.archive-panel a:focus-visible {
  color: var(--jade-dark);
}

.archive-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.accent-panel {
  border-left: 4px solid var(--gold);
}

.list-hero {
  padding: 146px max(28px, calc((100vw - var(--content)) / 2)) 64px;
  background: var(--ink);
  color: var(--paper);
}

.list-hero h1 {
  max-width: 900px;
  font-size: 4rem;
}

.list-hero p:not(.eyebrow) {
  max-width: 760px;
}

.list-search {
  width: min(820px, 100%);
}

.list-section {
  background: var(--rice);
}

.list-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.list-filter-panel .archive-panel:first-child {
  align-items: start;
}

.list-filter-panel .guide-filter-button {
  width: 100%;
  justify-content: flex-start;
  border-radius: 6px;
  text-align: left;
}

.list-main {
  min-width: 0;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.list-toolbar h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.12;
}

.list-toolbar p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.list-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 36px 0 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.list-results {
  display: grid;
  gap: 16px;
}

.list-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.list-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

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

.list-card h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.28;
}

.list-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.list-card small {
  color: #74807c;
  font-weight: 800;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.pagination a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 16px;
  background: var(--jade);
  color: var(--paper);
}

.pagination-muted {
  color: #8a9591;
}

.category-topic-grid {
  margin-top: 0;
  margin-bottom: 40px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .planner-strip,
  .article-summary,
  .archive-stats,
  .region-grid,
  .destination-grid,
  .guide-grid,
  .essentials-grid,
  .idea-layout,
  .newsletter-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 1;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .archive-layout,
  .list-layout {
    grid-template-columns: 1fr;
  }

  .archive-aside,
  .list-filter-panel {
    position: static;
  }

  .archive-feature {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .toc-panel nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .essentials-grid {
    gap: 16px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-action {
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: var(--jade);
    color: var(--paper);
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-media {
    background-position: 50% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 32, 28, 0.44) 0%, rgba(11, 32, 28, 0.38) 38%, rgba(11, 32, 28, 0.9) 100%),
      linear-gradient(90deg, rgba(11, 32, 28, 0.56) 0%, rgba(11, 32, 28, 0.2) 100%);
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding: 126px 0 72px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-search {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: auto;
  }

  .hero-search input {
    min-height: 50px;
    padding: 0 12px;
  }

  .hero-search button {
    min-height: 48px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .planner-strip {
    width: calc(100% - 36px);
    margin-top: -34px;
    grid-template-columns: 1fr;
  }

  .planner-strip a {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .planner-strip a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 18px;
  }

  .section h2,
  .newsletter-section h2 {
    font-size: 2.3rem;
  }

  .destination-grid,
  .guide-grid,
  .essentials-grid,
  .article-summary,
  .archive-stats,
  .archive-card-grid,
  .region-grid,
  .idea-layout,
  .newsletter-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .archive-hero,
  .list-hero {
    padding: 126px 18px 58px;
  }

  .archive-hero {
    min-height: 610px;
  }

  .archive-hero h1,
  .list-hero h1 {
    font-size: 2.65rem;
  }

  .archive-hero p:not(.eyebrow),
  .list-hero p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .archive-search {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .archive-search button {
    min-height: 48px;
  }

  .archive-stats {
    width: calc(100% - 36px);
    margin-top: -32px;
  }

  .archive-stats div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .archive-stats div:last-child {
    border-bottom: 0;
  }

  .archive-list-heading,
  .list-toolbar,
  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-feature img {
    min-height: 260px;
  }

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

  .archive-feature h3 {
    font-size: 1.75rem;
  }

  .list-card {
    grid-template-columns: 1fr;
  }

  .list-card img {
    min-height: 220px;
  }

  .article-hero {
    min-height: 650px;
  }

  .article-hero-content {
    width: calc(100% - 36px);
    padding: 126px 0 58px;
  }

  .breadcrumbs {
    margin-bottom: 42px;
  }

  .article-hero h1 {
    font-size: 2.65rem;
  }

  .article-hero p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .article-summary {
    width: calc(100% - 36px);
    margin-top: -32px;
  }

  .article-summary div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .article-summary div:last-child {
    border-bottom: 0;
  }

  .article-layout {
    width: calc(100% - 36px);
    margin-top: 58px;
  }

  .toc-panel nav,
  .content-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .toc-panel {
    padding: 16px;
  }

  .article-content {
    padding-bottom: 54px;
  }

  .article-content section {
    padding-bottom: 44px;
  }

  .article-content h2 {
    font-size: 2rem;
  }

  .destination-card {
    min-height: 340px;
  }

  .idea-hero img {
    height: 280px;
  }

  .essential-card {
    min-height: 220px;
  }

  .newsletter-section {
    padding: 62px 18px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 44px 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.94rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero {
    min-height: 680px;
  }

  .section h2,
  .newsletter-section h2 {
    font-size: 2rem;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .guide-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guide-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .guide-filter-bar .guide-filter-button {
    flex: 0 0 auto;
  }
}
