/**
 * Food & Culinary Tours theme — /china-tours/food-tour-beijing/
 * Warm cream, brand red, amber gold — aligns with Muslim / Day Tours tokens.
 */

body.page-id-2337,
body.gcn-food-page {
  --fc-ink: var(--gcn-figma-fg, #1c1a18);
  --fc-muted: var(--gcn-figma-muted-fg, #7a6e67);
  --fc-line: rgba(28, 26, 24, 0.12);
  --fc-paper: #fdf9f3;
  --fc-cream: #f7f0e4;
  --fc-dark: #1a1410;
  --fc-brand: var(--gcn-brand, #a33b39);
  --fc-brand-dark: var(--gcn-brand-dark, #8b2626);
  --fc-gold: #d4a044;
  --fc-amber: #e8b84a;
  --fc-display: "Playfair Display", var(--gcn-figma-display, Georgia, "Times New Roman", serif);
  --fc-max: var(--gcn-figma-max, 1280px);
  --fc-px: var(--gcn-figma-px, clamp(16px, 4vw, 32px));
}

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

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

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

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

.gcn-fc-sec--paper { background: var(--fc-paper); }
.gcn-fc-sec--cream { background: var(--fc-cream); }
.gcn-fc-sec--ink {
  background: var(--fc-dark);
  color: #f8f2ea;
}

.gcn-fc-head { max-width: 60rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

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

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

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

.gcn-fc-lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: var(--fc-muted);
}

.gcn-fc-sec--ink .gcn-fc-lead,
.gcn-fc-sec--ink .gcn-fc-h2 { color: #f8f2ea; }
.gcn-fc-sec--ink .gcn-fc-lead { color: rgba(248, 242, 234, 0.72); }

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

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

.gcn-fc-btn--ghost {
  background: transparent;
  color: var(--fc-ink);
  border-color: var(--fc-line);
}

.gcn-fc-btn--ghost:hover {
  border-color: var(--fc-brand);
  color: var(--fc-brand);
  background: transparent;
}

.gcn-fc-btn--ghost-light {
  background: transparent;
  color: #f8f2ea;
  border-color: rgba(248, 242, 234, 0.35);
}

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

/* Hero — exact viewport fill */
.gcn-fc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #0f0c0a;
  color: #f8f2ea;
  box-sizing: border-box;
}

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

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

.gcn-fc-hero__video,
.gcn-fc-hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.gcn-fc-hero__video { z-index: 1; }
.gcn-fc-hero__poster { z-index: 0; }

.gcn-fc-hero__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.88) 0%, rgba(10, 8, 6, 0.62) 38%, rgba(10, 8, 6, 0.22) 62%, rgba(10, 8, 6, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.35) 0%, rgba(10, 8, 6, 0.08) 42%, rgba(10, 8, 6, 0.78) 100%);
}

.gcn-fc-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 6rem);
  width: 100%;
  box-sizing: border-box;
}

.gcn-fc-hero__copy {
  width: min(38rem, 100%);
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.gcn-fc-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--fc-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 600;
}

.gcn-fc-hero__sub {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(248, 242, 234, 0.9);
}

.gcn-fc-hero__hooks {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(248, 242, 234, 0.68);
}

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

@media (max-width: 720px) {
  .gcn-fc-hero__veil {
    background:
      linear-gradient(180deg, rgba(10, 8, 6, 0.78) 0%, rgba(10, 8, 6, 0.45) 45%, rgba(10, 8, 6, 0.82) 100%);
  }

  .gcn-fc-hero__copy {
    width: 100%;
  }
}

/* Intro */
.gcn-fc-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.gcn-fc-prose p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--fc-ink);
}

.gcn-fc-prose a {
  color: var(--fc-brand);
  text-decoration-thickness: 1px;
}

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

.gcn-fc-chip {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fc-line);
  color: var(--fc-ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.gcn-fc-intro__aside { display: grid; gap: 1rem; }

.gcn-fc-intro__quote {
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  background: var(--fc-dark);
  color: #f8f2ea;
}

.gcn-fc-intro__quote blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--fc-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.gcn-fc-intro__quote p {
  margin: 0 0 1rem;
  color: rgba(248, 242, 234, 0.75);
  line-height: 1.55;
}

.gcn-fc-intro__quote-cta {
  color: var(--fc-gold);
  font-weight: 700;
  text-decoration: none;
}

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

.gcn-fc-intro__includes-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.gcn-fc-intro__includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

/* Cards / grids */
.gcn-fc-pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gcn-fc-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--fc-line);
  background: #fff;
}

.gcn-fc-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.gcn-fc-card__text {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.6;
}

.gcn-fc-regions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.gcn-fc-region {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--fc-line);
  background: #fff;
}

.gcn-fc-region__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8dfd4;
}

.gcn-fc-region__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gcn-fc-region__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

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

.gcn-fc-region__title {
  margin: 0;
  font-family: var(--fc-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.gcn-fc-region__blurb,
.gcn-fc-region__note {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.55;
}

.gcn-fc-region__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--fc-ink);
  line-height: 1.5;
}

.gcn-fc-region .gcn-fc-btn { margin-top: auto; align-self: flex-start; }

/* Reels — horizontal phone strip */
.gcn-fc-reels.gcn-fc-sec--ink {
  overflow: hidden;
}

.gcn-fc-reels__head {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.gcn-fc-reels__head .gcn-fc-h2 {
  color: #f7f1ea;
}

.gcn-fc-reels__head .gcn-fc-lead {
  color: rgba(247, 241, 234, 0.72);
  margin: 0 auto;
}

.gcn-fc-reels__rail-wrap {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.gcn-fc-reels__rail {
  display: flex;
  justify-content: safe center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  padding: 0.35rem var(--fc-px) 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--fc-px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 160, 68, 0.55) transparent;
}

.gcn-fc-reels__rail:focus-visible {
  outline: 2px solid var(--fc-gold);
  outline-offset: 4px;
}

.gcn-fc-phone {
  flex: 0 0 min(15.5rem, 72vw);
  width: min(15.5rem, 72vw);
  scroll-snap-align: center;
}

.gcn-fc-phone:nth-child(even) {
  transform: translateY(0.85rem);
}

.gcn-fc-phone__bezel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #0d0a08;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.gcn-fc-phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gcn-fc-phone__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.25rem 0.95rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 6, 5, 0.88) 72%);
  color: #f7f1ea;
}

.gcn-fc-phone__index {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--fc-gold, #c39a4e);
}

.gcn-fc-phone__title {
  margin: 0 0 0.3rem;
  font-family: var(--fc-display);
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 600;
}

.gcn-fc-phone__blurb {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(247, 241, 234, 0.78);
}

/* Experiences */
.gcn-fc-experiences__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gcn-fc-exp {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--fc-line);
  background: #fff;
}

.gcn-fc-exp__tag {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fc-gold);
}

.gcn-fc-exp__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.gcn-fc-exp__text {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.55;
  flex: 1;
}

.gcn-fc-exp .gcn-fc-btn { margin-top: auto; align-self: flex-start; }

/* Packages */
.gcn-fc-packages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.gcn-fc-pkg {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--fc-line);
  background: #fff;
}

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

.gcn-fc-pkg__title {
  margin: 0;
  font-family: var(--fc-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.gcn-fc-pkg__title a {
  color: inherit;
  text-decoration: none;
}

.gcn-fc-pkg__title a:hover { color: var(--fc-brand); }

.gcn-fc-pkg__summary,
.gcn-fc-pkg__for {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.55;
}

.gcn-fc-pkg__slug {
  margin: 0;
  font-size: 0.78rem;
  color: var(--fc-muted);
}

.gcn-fc-pkg__slug code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: var(--fc-cream);
  font-size: 0.75rem;
}

.gcn-fc-pkg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

/* How */
.gcn-fc-how__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.gcn-fc-how__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--fc-line);
  background: #fff;
}

.gcn-fc-how__num {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fc-brand);
  color: #fff;
  font-weight: 700;
}

.gcn-fc-how__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.gcn-fc-how__text {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.55;
}

/* FAQ */
.gcn-fc-faq__list { display: grid; gap: 0.65rem; }

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

.gcn-fc-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.gcn-fc-faq__item p {
  margin: 0.75rem 0 0;
  color: var(--fc-muted);
  line-height: 1.6;
}

/* Related */
.gcn-fc-related__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.gcn-fc-related__grid a {
  display: block;
  height: 100%;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid var(--fc-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.gcn-fc-related__grid a:hover { border-color: var(--fc-brand); }

.gcn-fc-related__title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gcn-fc-related__text {
  display: block;
  color: var(--fc-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* CTA */
.gcn-fc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Reduced motion — poster stays visible */
html.gcn-fc-ready .gcn-fc-hero__video:not([data-playing="1"]) + .gcn-fc-hero__poster,
.gcn-fc-reel__video:not([data-playing="1"]) {
  opacity: 1;
}

@media (max-width: 900px) {
  .gcn-fc-intro__grid,
  .gcn-fc-pillars__grid,
  .gcn-fc-regions__grid,
  .gcn-fc-packages__grid,
  .gcn-fc-related__grid,
  .gcn-fc-experiences__grid {
    grid-template-columns: 1fr;
  }

  .gcn-fc-phone:nth-child(even) {
    transform: none;
  }

  .gcn-fc-phone__bezel {
    border-radius: 1.1rem;
  }

  .gcn-fc-phone__caption {
    padding: 2.4rem 0.75rem 0.85rem;
  }

  .gcn-fc-phone__title {
    font-size: 0.95rem;
  }

  .gcn-fc-phone__blurb {
    font-size: 0.74rem;
  }
}

@media (max-width: 560px) {
  .gcn-fc-phone {
    flex-basis: min(14rem, 78vw);
    width: min(14rem, 78vw);
  }
}
