/**
 * Trains & Transport theme landing — /china-tours/trains/
 * Hero + SEO intro tokens (body sections keep train-tickets-demo.css).
 */

body.gcn-trains-page,
body.page-id-2347 {
  --tr-ink: var(--gcn-figma-fg, #1c1a18);
  --tr-muted: var(--gcn-figma-muted-fg, #7a6e67);
  --tr-line: rgba(28, 26, 24, 0.12);
  --tr-paper: var(--gcn-figma-bg, #fdfcfa);
  --tr-cream: #f7f2ec;
  --tr-dark: #1a1714;
  --tr-brand: var(--gcn-brand, #a33b39);
  --tr-brand-dark: var(--gcn-brand-dark, #8b2626);
  --tr-gold: #c39a4e;
  --tr-display: var(--gcn-figma-display, "Playfair Display", Georgia, "Times New Roman", serif);
  --tr-max: var(--gcn-figma-max, 1280px);
  --tr-px: var(--gcn-figma-px, clamp(16px, 4vw, 32px));
}

body.gcn-trains-page .gcn-page,
body.page-id-2347 .gcn-page,
body.gcn-trains-page .gcn-page-fullwidth,
body.page-id-2347 .gcn-page-content,
body.gcn-trains-page .gcn-page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--tr-paper);
}

body.gcn-trains-page .gcn-page,
body.page-id-2347 .gcn-page,
body.gcn-trains-page .gcn-page-fullwidth {
  padding-top: 0;
  padding-bottom: 0;
}

.gcn-tr-wrap {
  width: 100%;
  max-width: var(--tr-max);
  margin: 0 auto;
  padding-inline: var(--tr-px);
}

.gcn-tr-sec {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  color: var(--tr-ink);
}

.gcn-tr-sec--paper { background: var(--tr-paper); }

.gcn-tr-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-brand);
}

.gcn-tr-eyebrow--light { color: var(--tr-gold); }

.gcn-tr-h2 {
  margin: 0 0 0.85rem;
  font-family: var(--tr-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.gcn-tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--tr-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gcn-tr-btn:hover {
  background: var(--tr-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.gcn-tr-btn--ghost-light {
  background: transparent;
  color: #f4efe9;
  border-color: rgba(244, 239, 233, 0.35);
}

.gcn-tr-btn--ghost-light:hover {
  border-color: #f4efe9;
  color: #fff;
  background: transparent;
}

/* ===== hero ===== */

.gcn-tr-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #0a0908;
  color: #f4efe9;
}

.gcn-tr-hero__media,
.gcn-tr-hero__video,
.gcn-tr-hero__veil {
  position: absolute;
  inset: 0;
}

.gcn-tr-hero__media { z-index: 0; }

.gcn-tr-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
}

.gcn-tr-hero__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.72) 0%, rgba(8, 7, 6, 0.28) 48%, rgba(8, 7, 6, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.28) 0%, rgba(8, 7, 6, 0.1) 38%, rgba(8, 7, 6, 0.82) 100%);
}

.gcn-tr-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4.5rem, 10vw, 6rem);
}

.gcn-tr-hero__title {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: var(--tr-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gcn-tr-hero__sub {
  margin: 0 0 1rem;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: rgba(244, 239, 233, 0.88);
}

.gcn-tr-hero__hooks {
  margin: 0 0 1.75rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 233, 0.7);
}

.gcn-tr-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== intro ===== */

.gcn-tr-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.gcn-tr-prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(28, 26, 24, 0.82);
  max-width: 62ch;
}

.gcn-tr-prose a {
  color: var(--tr-brand);
  font-weight: 650;
  text-underline-offset: 3px;
}

.gcn-tr-intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.gcn-tr-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--tr-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tr-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.gcn-tr-chip:hover {
  border-color: var(--tr-brand);
  color: var(--tr-brand);
}

.gcn-tr-intro__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}

.gcn-tr-intro__quote {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 22px;
  background:
    linear-gradient(145deg, #1c1a18 0%, #3a2422 55%, #5c2e2c 120%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(28, 26, 24, 0.22);
}

.gcn-tr-intro__quote blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--tr-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  color: #fff;
}

.gcn-tr-intro__quote p {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.gcn-tr-intro__quote-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: #1c1a18;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.gcn-tr-intro__quote-cta:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
  color: #1c1a18;
}

.gcn-tr-intro__includes {
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--tr-line);
}

.gcn-tr-intro__includes-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-muted);
}

.gcn-tr-intro__includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gcn-tr-intro__includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--tr-ink);
}

.gcn-tr-intro__includes svg {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--tr-brand);
}

.gcn-tr-faq__head {
  max-width: 60rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.gcn-tr-faq__lead {
  margin: 0;
  max-width: 62ch;
  line-height: 1.65;
  color: var(--tr-muted);
}

.gcn-tr-faq__lead a {
  color: var(--tr-brand);
  font-weight: 650;
  text-underline-offset: 3px;
}

.gcn-tr-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52rem;
}

.gcn-tr-faq__item {
  border: 1px solid var(--tr-line);
  border-radius: 12px;
  background: #fff;
  padding: 0.2rem 1.1rem;
}

.gcn-tr-faq__item summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 650;
  list-style: none;
}

.gcn-tr-faq__item summary::-webkit-details-marker { display: none; }

.gcn-tr-faq__item p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--tr-muted);
}

@media (max-width: 960px) {
  .gcn-tr-intro__grid { grid-template-columns: 1fr; }
  .gcn-tr-intro__aside { position: static; }
}
