:root {
  --cj-bg: #fbf6ea;
  --cj-surface: #fffaf2;
  --cj-ink: #2a1813;
  --cj-muted: #765f51;
  --cj-jade: #136f62;
  --cj-red: #98271d;
  --cj-red-dark: #65150f;
  --cj-gold: #b7832e;
  --cj-night: #130e0b;
  --cj-sand: #efe3cf;
  --cj-line: rgba(28, 25, 23, 0.12);
  --cj-radius: 28px;
}

body {
  background: var(--cj-bg);
  color: var(--cj-ink);
}

::selection {
  background: var(--cj-red);
  color: #fff;
}

.site-header {
  background: rgba(255, 250, 242, 0.96);
  border-bottom: 1px solid rgba(42, 24, 19, 0.08);
  box-shadow: 0 14px 44px rgba(42, 24, 19, 0.06);
}

.main-title a,
.main-navigation .main-nav ul li a {
  color: var(--cj-ink);
  font-weight: 800;
}

.main-navigation .main-nav ul li:last-child a {
  background: var(--cj-red);
  border-radius: 10px;
  color: #fff;
  line-height: 38px;
  margin-block: 11px;
}

.site-main.cj-template,
.cj-home-pattern,
.cj-booking-page,
.cj-booking-submitted-page {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 80px) 20px;
}

.cj-mini {
  color: var(--cj-jade);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.cj-muted {
  color: var(--cj-muted);
}

.cj-button,
.wp-block-button__link {
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cj-button:active,
.wp-block-button__link:active {
  transform: translateY(1px);
}

.cj-button--jade {
  background: var(--cj-jade);
  color: #fff !important;
}

.cj-button--red {
  background: var(--cj-red);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(152, 39, 29, 0.28);
}

.cj-button--glass {
  background: rgba(255, 250, 242, 0.14);
  border: 1px solid rgba(255, 250, 242, 0.48);
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.cj-button--light {
  background: #fffaf2;
  color: var(--cj-red-dark) !important;
}

.cj-button--small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.875rem;
}

.cj-empty {
  border: 1px dashed var(--cj-line);
  border-radius: var(--cj-radius);
  background: var(--cj-surface);
  padding: 28px;
  color: var(--cj-muted);
}

.cj-hero-cover {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.cj-hero-cover h1 {
  max-width: 820px;
  line-height: 0.96;
  letter-spacing: 0;
}

.home .entry-header {
  display: none;
}

body.home .site.grid-container,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .inside-article,
body.home .entry-content {
  max-width: none;
  width: 100%;
}

body.home .site-content,
body.home .site-main {
  display: block;
  margin: 0;
  padding: 0;
}

body.home .inside-article {
  background: transparent;
  padding: 0;
}

body.home .entry-content {
  margin: 0;
}

.cj-home-pattern.cj-home-portal {
  max-width: none;
  padding: 0 20px 72px;
}

.cj-home-portal > * {
  max-width: 1280px;
  margin-inline: auto;
}

.cj-home-hero {
  min-height: clamp(620px, 78vh, 760px);
  position: relative;
  overflow: visible;
  border-radius: 0 0 34px 34px;
  margin: 0 auto clamp(92px, 10vw, 136px);
  color: #fff;
  isolation: isolate;
}

.cj-home-hero__image,
.cj-home-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 34px 34px;
}

.cj-home-hero__image {
  object-fit: cover;
  z-index: -2;
}

.cj-home-hero__veil {
  background:
    linear-gradient(90deg, rgba(19, 14, 11, 0.72), rgba(19, 14, 11, 0.26) 52%, rgba(19, 14, 11, 0.1)),
    linear-gradient(0deg, rgba(19, 14, 11, 0.6), rgba(19, 14, 11, 0.06) 42%);
  z-index: -1;
}

.cj-home-hero__content {
  min-height: inherit;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 12vw, 150px) clamp(24px, 6vw, 84px) 150px;
}

.cj-eyebrow,
.cj-section-heading span,
.cj-guide-grid article span,
.cj-newsletter-band span {
  color: var(--cj-red);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cj-home-hero .cj-eyebrow {
  color: #ffe6c8;
}

.cj-home-hero h1 {
  font-size: 8rem;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 14px 0 24px;
  max-width: 760px;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.cj-home-hero__lead {
  color: rgba(255, 250, 242, 0.88);
  font-size: 1.2rem;
  line-height: 1.58;
  max-width: 620px;
}

.cj-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cj-search-dock {
  position: absolute;
  left: clamp(18px, 5vw, 64px);
  right: clamp(18px, 5vw, 64px);
  bottom: -54px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto auto auto auto;
  gap: 12px;
  align-items: center;
  background: rgba(255, 250, 242, 0.97);
  border: 1px solid rgba(42, 24, 19, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(42, 24, 19, 0.18);
  padding: 14px;
}

.cj-search-dock__field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cj-search-dock__field span {
  color: var(--cj-red-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cj-search-dock input {
  background: transparent;
  border: 0;
  color: var(--cj-ink);
  font-size: 1rem;
  min-height: 34px;
  outline: 0;
  padding: 0;
  width: 100%;
}

.cj-search-dock__button,
.cj-search-chip {
  align-items: center;
  border: 1px solid rgba(42, 24, 19, 0.1);
  border-radius: 12px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.cj-search-dock__button {
  background: var(--cj-red);
  color: #fff;
  cursor: pointer;
}

.cj-search-chip {
  background: #fff;
  color: var(--cj-ink);
}

.cj-search-chip--strong {
  background: #173f36;
  color: #fff;
}

.cj-home-section {
  padding-block: clamp(42px, 7vw, 82px);
}

.cj-home-section--intro {
  padding-top: 12px;
}

.cj-section-heading {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.cj-section-heading h2 {
  color: var(--cj-ink);
  font-size: 3.7rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 12px 0 14px;
}

.cj-section-heading p {
  color: var(--cj-muted);
  font-size: 1.04rem;
  line-height: 1.72;
  margin: 0;
}

.cj-section-heading span {
  align-items: center;
  display: inline-flex;
  gap: 16px;
  justify-content: center;
}

.cj-section-heading span::before,
.cj-section-heading span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 1px;
  opacity: 0.42;
  width: 52px;
}

.cj-section-heading--split {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
  text-align: left;
}

.cj-section-heading--split span {
  justify-content: flex-start;
}

.cj-section-heading--split span::before {
  display: none;
}

.cj-text-link {
  color: var(--cj-red);
  font-weight: 900;
  text-decoration: none;
}

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

.cj-style-card {
  aspect-ratio: 0.72;
  border-radius: 16px;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  text-decoration: none;
  transform: translateZ(0);
}

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

.cj-style-card::before {
  content: "";
  inset: 0;
  opacity: 0.88;
  position: absolute;
  z-index: -1;
}

.cj-style-card--red::before {
  background: linear-gradient(180deg, rgba(152, 39, 29, 0.12), rgba(101, 21, 15, 0.88));
}

.cj-style-card--gold::before {
  background: linear-gradient(180deg, rgba(183, 131, 46, 0.12), rgba(114, 75, 25, 0.88));
}

.cj-style-card--green::before {
  background: linear-gradient(180deg, rgba(19, 111, 98, 0.12), rgba(14, 65, 57, 0.9));
}

.cj-style-card--blue::before {
  background: linear-gradient(180deg, rgba(28, 72, 119, 0.12), rgba(23, 48, 78, 0.9));
}

.cj-style-card--ink::before {
  background: linear-gradient(180deg, rgba(19, 14, 11, 0.08), rgba(19, 14, 11, 0.9));
}

.cj-style-card:hover img {
  transform: scale(1.06);
}

.cj-style-card span {
  color: rgba(255, 250, 242, 0.72);
  font-weight: 900;
}

.cj-style-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
  margin-top: 10px;
}

.cj-style-card em {
  color: rgba(255, 250, 242, 0.82);
  font-style: normal;
  line-height: 1.45;
  margin-top: 10px;
}

.cj-attraction-panel {
  background: #f4ead9;
  border-radius: 24px;
  margin-block: 22px;
  padding: clamp(30px, 5vw, 58px);
}

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

.cj-attraction-card {
  background: #fffaf2;
  border: 1px solid rgba(42, 24, 19, 0.08);
  border-radius: 16px;
  color: var(--cj-ink) !important;
  overflow: hidden;
  padding-bottom: 18px;
  text-decoration: none;
}

.cj-attraction-card img {
  aspect-ratio: 1.22;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.cj-attraction-card strong,
.cj-attraction-card span {
  display: block;
  padding-inline: 18px;
}

.cj-attraction-card strong {
  font-size: 1.24rem;
  margin-top: 16px;
}

.cj-attraction-card span {
  color: var(--cj-muted);
  font-size: 0.92rem;
  line-height: 1.48;
  margin-top: 6px;
}

.cj-feature-strip {
  background: var(--cj-red-dark);
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.cj-feature-strip div {
  background: rgba(255, 250, 242, 0.06);
  padding: clamp(22px, 4vw, 36px);
}

.cj-feature-strip strong {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
}

.cj-feature-strip span {
  color: rgba(255, 250, 242, 0.76);
  display: block;
  font-weight: 800;
  margin-top: 10px;
}

.cj-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cj-guide-grid article {
  background: #fffaf2;
  border: 1px solid rgba(42, 24, 19, 0.08);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.cj-guide-grid article h3 {
  font-size: 1.72rem;
  line-height: 1.08;
  margin: 14px 0 14px;
}

.cj-guide-grid article p {
  color: var(--cj-muted);
  line-height: 1.65;
  margin: 0;
}

.cj-newsletter-band {
  align-items: center;
  background: linear-gradient(135deg, var(--cj-red-dark), var(--cj-red));
  border-radius: 22px;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-block: 18px;
  padding: clamp(30px, 5vw, 58px);
}

.cj-newsletter-band span {
  color: #ffe2c4;
}

.cj-newsletter-band h2 {
  font-size: 3rem;
  line-height: 1;
  margin: 12px 0 12px;
  max-width: 720px;
}

.cj-newsletter-band p {
  color: rgba(255, 250, 242, 0.78);
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .cj-home-hero__content,
  .cj-search-dock,
  .cj-style-card,
  .cj-attraction-card,
  .cj-tour-card,
  .cj-guide-grid article,
  .cj-feature-strip,
  .cj-newsletter-band {
    animation: cj-reveal-up 620ms ease both;
  }

  .cj-search-dock {
    animation-delay: 120ms;
  }

  .cj-style-card:nth-child(2),
  .cj-attraction-card:nth-child(2),
  .cj-tour-card:nth-child(2),
  .cj-guide-grid article:nth-child(2) {
    animation-delay: 70ms;
  }

  .cj-style-card:nth-child(3),
  .cj-attraction-card:nth-child(3),
  .cj-tour-card:nth-child(3),
  .cj-guide-grid article:nth-child(3) {
    animation-delay: 120ms;
  }

  .cj-style-card:nth-child(4),
  .cj-attraction-card:nth-child(4),
  .cj-tour-card:nth-child(4) {
    animation-delay: 170ms;
  }

  .cj-style-card:nth-child(5) {
    animation-delay: 220ms;
  }
}

@keyframes cj-reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cj-city-grid,
.cj-tour-grid,
.cj-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block: 32px 64px;
}

.cj-city-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cj-city-card,
.cj-tour-card,
.cj-review,
.cj-panel,
.cj-package-panel,
.cj-booking-form,
.cj-success {
  background: var(--cj-surface);
  border: 1px solid var(--cj-line);
  border-radius: var(--cj-radius);
  box-shadow: 0 16px 44px rgba(28, 25, 23, 0.06);
}

.cj-city-card {
  min-height: 260px;
  overflow: hidden;
  position: relative;
  display: block;
  color: #fff !important;
}

.cj-city-card__image,
.cj-tour-card__image,
.cj-tour-detail__photo,
.cj-city-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cj-city-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 8, 7, 0.9), rgba(9, 8, 7, 0.08));
}

.cj-city-card__content {
  position: absolute;
  inset: auto 22px 22px;
}

.cj-city-card strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.cj-tour-card {
  overflow: hidden;
}

.cj-tour-card__image {
  aspect-ratio: 4 / 3;
}

.cj-image-placeholder {
  min-height: 240px;
  background: linear-gradient(135deg, #d9d4c8, #f5f1e8);
}

.cj-tour-card__body {
  padding: 22px;
}

.cj-tour-card__meta,
.cj-tour-card__foot {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--cj-muted);
  font-size: 0.875rem;
}

.cj-tour-card h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.cj-tour-card p {
  color: var(--cj-muted);
}

.cj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 16px;
}

.cj-tags span {
  background: #f2f0eb;
  border-radius: 999px;
  color: #575047;
  font-size: 0.75rem;
  padding: 6px 10px;
}

.cj-tour-detail__hero,
.cj-city-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.cj-tour-detail h1,
.cj-city-hero h1,
.cj-archive-hero h1,
.cj-success h1 {
  font-size: 4.8rem;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0 0 24px;
}

.cj-tour-detail__image,
.cj-city-hero__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
}

.cj-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cj-hero-pills span {
  background: var(--cj-surface);
  border: 1px solid var(--cj-line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.cj-panel,
.cj-package-panel,
.cj-booking-form,
.cj-success {
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 28px;
}

.cj-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

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

.cj-check-list li::before {
  content: "✓";
  color: var(--cj-jade);
  font-weight: 800;
  margin-right: 10px;
}

.cj-timeline {
  display: grid;
  gap: 14px;
}

.cj-timeline__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  background: #f6f4ef;
  border-radius: 22px;
  padding: 18px;
}

.cj-timeline__item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--cj-night);
  color: #fff;
  font-weight: 800;
}

.cj-package {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: #f6f4ef;
  border-radius: 22px;
  padding: 18px;
  margin-top: 14px;
}

.cj-package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cj-video-panel {
  background: var(--cj-night);
  color: #fff;
}

.cj-video-panel .cj-button {
  background: #fff;
  color: var(--cj-night) !important;
}

.cj-booking-form {
  display: grid;
  gap: 18px;
}

.cj-booking-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.cj-booking-form input,
.cj-booking-form select,
.cj-booking-form textarea {
  border: 1px solid var(--cj-line);
  border-radius: 18px;
  background: #f6f4ef;
  color: var(--cj-ink);
  padding: 14px 16px;
  width: 100%;
}

.cj-booking-total {
  border-radius: 24px;
  background: var(--cj-night);
  color: #fff;
  padding: 18px;
}

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

.cj-form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cj-review {
  padding: 24px;
}

.cj-review span {
  display: block;
  color: var(--cj-muted);
  margin-top: 4px;
}

.cj-faq {
  background: var(--cj-surface);
  border: 1px solid var(--cj-line);
  border-radius: 22px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.cj-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.cj-success {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.cj-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  background: #e5faf4;
  color: var(--cj-jade);
  font-size: 2rem;
  font-weight: 900;
}

.cj-success__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
  background: var(--cj-night);
  color: #fff;
  border-radius: 28px;
  padding: 22px;
  margin: 28px 0;
}

.cj-success__details div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.cj-success__details dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.cj-success__details dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.cj-whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.cj-whatsapp-widget__panel {
  width: min(340px, calc(100vw - 44px));
  border: 1px solid var(--cj-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 8, 7, 0.2);
  padding: 18px;
}

.cj-whatsapp-widget__panel p {
  color: var(--cj-muted);
  margin: 8px 0 14px;
}

.cj-whatsapp-widget__button {
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 999px;
  background: var(--cj-jade);
  color: #fff;
  font-size: 0;
  box-shadow: 0 18px 44px rgba(15, 111, 92, 0.28);
  cursor: pointer;
}

.cj-whatsapp-widget__button::before {
  content: "WA";
  font-size: 0.9rem;
  font-weight: 900;
}

@media (min-width: 901px) and (max-width: 1120px) {
  .cj-search-dock {
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
  }

  .cj-search-chip:nth-of-type(3),
  .cj-search-chip:nth-of-type(4) {
    display: none;
  }

  .cj-style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cj-attraction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    box-shadow: 0 10px 30px rgba(42, 24, 19, 0.05);
  }

  .main-navigation .main-nav ul li:last-child a {
    border-radius: 0;
    line-height: normal;
    margin-block: 0;
  }

  .cj-home-pattern.cj-home-portal {
    padding-inline: 12px;
  }

  .cj-home-hero {
    min-height: 680px;
    margin-bottom: 210px;
  }

  .cj-home-hero__content {
    align-items: flex-start;
    padding: 120px 22px 178px;
  }

  .cj-home-hero h1 {
    font-size: 4rem;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .cj-home-hero__lead {
    font-size: 1rem;
    max-width: 100%;
  }

  .cj-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 360px);
  }

  .cj-search-dock {
    bottom: -174px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cj-search-dock__field {
    grid-column: 1 / -1;
  }

  .cj-search-dock__button {
    grid-column: 1 / -1;
  }

  .cj-search-chip {
    min-height: 42px;
    padding-inline: 10px;
  }

  .cj-section-heading,
  .cj-section-heading--split {
    display: block;
    text-align: left;
  }

  .cj-section-heading span {
    justify-content: flex-start;
  }

  .cj-section-heading span::before {
    display: none;
  }

  .cj-style-grid,
  .cj-attraction-grid,
  .cj-guide-grid,
  .cj-feature-strip {
    grid-template-columns: 1fr;
  }

  .cj-style-card {
    aspect-ratio: 1.08;
    min-height: 280px;
  }

  .cj-attraction-panel,
  .cj-newsletter-band {
    border-radius: 18px;
    padding: 22px;
  }

  .cj-newsletter-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cj-city-grid,
  .cj-tour-grid,
  .cj-review-grid,
  .cj-tour-detail__hero,
  .cj-city-hero,
  .cj-two-col,
  .cj-form-grid,
  .cj-form-grid--three,
  .cj-success__details {
    grid-template-columns: 1fr;
  }

  .cj-city-grid,
  .cj-tour-grid,
  .cj-review-grid {
    gap: 18px;
  }

  .cj-tour-card__foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

body.home {
  background: #f4efe6;
}

.cj-heritage-home,
.cj-heritage-home * {
  box-sizing: border-box;
}

.cj-heritage-home {
  --heritage-paper: #f6efe5;
  --heritage-paper-soft: #fbf7ef;
  --heritage-ink: #2b1712;
  --heritage-muted: #7a6256;
  --heritage-red: #7f1f16;
  --heritage-red-dark: #4d100c;
  --heritage-gold: #b98b5a;
  --heritage-line: rgba(70, 43, 31, 0.16);
  --heritage-font: Georgia, "Times New Roman", serif;
  background: var(--heritage-paper);
  color: var(--heritage-ink);
  font-family: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
  max-width: none;
  padding: 0;
}

body.home .site-header,
body.home .site-footer,
body.home .site-info {
  display: none;
}

.cj-heritage-home h1,
.cj-heritage-home h2,
.cj-heritage-home h3 {
  color: inherit;
  font-family: var(--heritage-font);
  font-weight: 500;
  letter-spacing: 0;
}

.cj-heritage-home p {
  color: var(--heritage-muted);
  line-height: 1.72;
}

.cj-heritage-home a {
  text-decoration: none;
}

.cj-heritage-home a:focus-visible,
.cj-heritage-home summary:focus-visible,
.cj-heritage-home input:focus-visible,
.cj-heritage-home select:focus-visible,
.cj-heritage-home button:focus-visible {
  outline: 2px solid #fff7e9;
  outline-offset: 4px;
}

.cj-heritage-home .cj-heritage-story a:focus-visible,
.cj-heritage-home .cj-heritage-journeys a:focus-visible,
.cj-heritage-home .cj-heritage-inspiration a:focus-visible,
.cj-heritage-home .cj-heritage-faq summary:focus-visible,
.cj-heritage-home .cj-heritage-inquiry input:focus-visible,
.cj-heritage-home .cj-heritage-inquiry select:focus-visible,
.cj-heritage-home .cj-heritage-inquiry button:focus-visible {
  outline-color: var(--heritage-red);
}

.cj-heritage-hero {
  color: #fff7e9;
  min-height: 640px;
  max-width: none;
  overflow: hidden;
  position: relative;
}

.cj-heritage-hero__image,
.cj-heritage-hero__shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.cj-heritage-hero__image {
  object-fit: cover;
  z-index: 0;
}

.cj-heritage-hero__shade {
  background:
    linear-gradient(90deg, rgba(14, 16, 16, 0.78), rgba(14, 16, 16, 0.32) 48%, rgba(14, 16, 16, 0.62)),
    linear-gradient(0deg, rgba(13, 10, 9, 0.66), rgba(13, 10, 9, 0.16) 44%);
  z-index: 1;
}

.cj-heritage-nav {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 240px 1fr auto;
  left: 0;
  margin: 0 auto;
  max-width: 1280px;
  padding: 28px 40px;
  position: relative;
  right: 0;
  z-index: 2;
}

.cj-heritage-brand {
  align-items: center;
  color: #fff2df !important;
  display: inline-flex;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cj-heritage-brand em {
  color: rgba(255, 242, 223, 0.72);
  font-style: normal;
  letter-spacing: 0.18em;
}

.cj-heritage-brand__mark {
  border: 1px solid rgba(185, 139, 90, 0.72);
  color: var(--heritage-gold);
  display: grid;
  font-family: var(--heritage-font);
  font-size: 1.3rem;
  height: 48px;
  place-items: center;
  width: 48px;
}

.cj-heritage-nav nav {
  display: flex;
  gap: 42px;
  justify-content: center;
}

.cj-heritage-nav nav a,
.cj-heritage-nav__cta {
  color: rgba(255, 242, 223, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.cj-heritage-nav__cta {
  background: var(--heritage-red);
  border-radius: 3px;
  color: #fff !important;
  letter-spacing: 0.08em;
  padding: 16px 22px;
  text-transform: uppercase;
}

.cj-heritage-hero__copy {
  margin: 120px auto 0;
  max-width: 1280px;
  padding: 0 40px 96px;
  position: relative;
  z-index: 2;
}

.cj-heritage-hero h1 {
  color: #fff7e9;
  font-size: 4rem;
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 720px;
}

.cj-heritage-hero h1::after {
  background: rgba(255, 242, 223, 0.62);
  content: "";
  display: block;
  height: 1px;
  margin-top: 28px;
  width: 70px;
}

.cj-heritage-hero p {
  color: rgba(255, 242, 223, 0.76);
  max-width: 560px;
}

.cj-heritage-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.cj-heritage-button {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 45px;
  padding: 0 24px;
  text-transform: uppercase;
}

.cj-heritage-button--red,
.cj-heritage-button--solid {
  background: var(--heritage-red);
  color: #fff !important;
}

.cj-heritage-button--outline {
  border: 1px solid rgba(255, 242, 223, 0.62);
  color: #fff7e9 !important;
}

.cj-heritage-vertical {
  align-items: center;
  display: grid;
  justify-items: center;
  position: absolute;
  right: 8%;
  top: 170px;
  z-index: 2;
}

.cj-heritage-vertical span {
  color: #fff7e9;
  font-family: var(--heritage-font);
  font-size: 2.6rem;
  line-height: 1.15;
  writing-mode: vertical-rl;
}

.cj-heritage-vertical em {
  color: var(--heritage-gold);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.34em;
  margin-top: 18px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.cj-heritage-story,
.cj-heritage-journeys,
.cj-heritage-timeline,
.cj-heritage-values,
.cj-heritage-inspiration,
.cj-heritage-faq,
.cj-heritage-inquiry {
  margin-inline: auto;
  max-width: 1280px;
  padding-inline: 40px;
}

.cj-heritage-story {
  align-items: center;
  display: grid;
  gap: 92px;
  grid-template-columns: 0.68fr 1fr;
  padding-block: 70px;
}

.cj-heritage-kicker {
  color: var(--heritage-red);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.cj-heritage-story h2,
.cj-heritage-center h2,
.cj-heritage-timeline h2,
.cj-heritage-section-head h2,
.cj-heritage-inquiry h2 {
  font-size: 2.6rem;
  line-height: 1.08;
  margin: 0 0 22px;
}

.cj-heritage-story p {
  max-width: 470px;
}

.cj-heritage-link,
.cj-heritage-section-head a,
.cj-heritage-tour a {
  color: var(--heritage-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cj-heritage-link::after,
.cj-heritage-section-head a::after,
.cj-heritage-tour a::after,
.cj-heritage-feature em::after {
  content: " ->";
}

.cj-heritage-story__image {
  border-radius: 92px 92px 0 0;
  overflow: hidden;
}

.cj-heritage-story__image img,
.cj-heritage-feature img,
.cj-heritage-tour img,
.cj-heritage-article-row img {
  display: block;
  object-fit: cover;
  width: 100%;
}

.cj-heritage-story__image img {
  aspect-ratio: 1.74;
  height: auto;
}

.cj-heritage-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
}

.cj-heritage-feature {
  color: #fff7e9 !important;
  min-height: 520px;
  overflow: hidden;
  padding: 300px 54px 44px;
  position: relative;
}

.cj-heritage-feature img {
  height: 100%;
  inset: 0;
  object-position: center;
  position: absolute;
  z-index: 0;
}

.cj-heritage-feature::after {
  background: linear-gradient(180deg, rgba(7, 10, 10, 0.1), rgba(5, 17, 18, 0.92));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.cj-heritage-feature > *:not(img) {
  position: relative;
  z-index: 2;
}

.cj-heritage-icon {
  color: rgba(255, 229, 192, 0.74);
  display: block;
  font-family: var(--heritage-font);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.cj-heritage-feature h3 {
  color: #fff7e9;
  font-family: "Trebuchet MS", "Aptos", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.cj-heritage-feature p {
  color: rgba(255, 242, 223, 0.82);
  max-width: 320px;
}

.cj-heritage-feature em {
  color: #fff2df;
  display: inline-block;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 14px;
  text-transform: uppercase;
}

.cj-heritage-journeys {
  padding-block: 68px 54px;
  text-align: center;
}

.cj-heritage-center {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.cj-heritage-card-row {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
}

.cj-heritage-tour {
  background: var(--heritage-paper-soft);
  border: 1px solid var(--heritage-line);
  position: relative;
  text-align: left;
}

.cj-heritage-tour img {
  aspect-ratio: 2.16;
  height: auto;
}

.cj-heritage-tour > div {
  padding: 26px 28px 24px;
}

.cj-heritage-tour h3 {
  font-size: 1.55rem;
  margin: 0 0 8px;
}

.cj-heritage-tour footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 24px;
}

.cj-heritage-tour footer span {
  color: var(--heritage-ink);
  font-size: 0.85rem;
}

.cj-heritage-badge {
  background: var(--heritage-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  left: 0;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  z-index: 2;
}

.cj-heritage-journeys > .cj-heritage-button {
  margin: 10px auto 0;
  width: max-content;
}

.cj-heritage-timeline {
  background:
    linear-gradient(90deg, rgba(246, 239, 229, 0.94), rgba(246, 239, 229, 0.74)),
    url("../images/heritage-timeline-ink.png") center bottom / 100% auto no-repeat;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.6fr 1fr;
  padding-block: 76px 92px;
}

.cj-heritage-timeline ol {
  counter-reset: day;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.cj-heritage-timeline ol::before {
  background: var(--heritage-line);
  bottom: 0;
  content: "";
  left: 13px;
  position: absolute;
  top: 8px;
  width: 1px;
}

.cj-heritage-timeline li {
  display: grid;
  gap: 6px;
  grid-template-columns: 96px 1fr;
  margin-bottom: 34px;
  padding-left: 44px;
  position: relative;
}

.cj-heritage-timeline li::before {
  background: var(--heritage-red);
  border: 4px solid var(--heritage-paper);
  border-radius: 50%;
  content: "";
  height: 15px;
  left: 6px;
  position: absolute;
  top: 4px;
  width: 15px;
  z-index: 2;
}

.cj-heritage-timeline li span {
  color: var(--heritage-ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.cj-heritage-timeline h3 {
  font-size: 1.2rem;
  margin: 0;
}

.cj-heritage-timeline p {
  grid-column: 2;
  margin: 0;
  max-width: 520px;
}

.cj-heritage-values {
  padding-block: 56px 44px;
}

.cj-heritage-value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cj-heritage-value-row div {
  border-left: 1px solid var(--heritage-line);
  min-height: 150px;
  padding: 26px 34px;
  text-align: center;
}

.cj-heritage-value-row div:first-child {
  border-left: 0;
}

.cj-heritage-value-row strong {
  display: block;
  font-family: var(--heritage-font);
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.cj-heritage-value-icon {
  display: block;
  height: 46px;
  margin: 0 auto 16px;
  object-fit: contain;
  width: 62px;
}

.cj-heritage-feature,
.cj-heritage-tour,
.cj-heritage-article-row article,
.cj-heritage-button,
.cj-heritage-nav__cta {
  transition: transform 220ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 220ms cubic-bezier(0.19, 1, 0.22, 1), filter 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.cj-heritage-feature:hover,
.cj-heritage-tour:hover,
.cj-heritage-article-row article:hover {
  transform: translateY(-4px);
}

.cj-heritage-button:hover,
.cj-heritage-nav__cta:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.cj-heritage-button:active,
.cj-heritage-nav__cta:active {
  transform: translateY(1px);
}

.cj-heritage-inspiration {
  padding-block: 62px 40px;
}

.cj-heritage-section-head {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cj-heritage-article-row {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.cj-heritage-article-row article {
  border-bottom: 1px solid var(--heritage-line);
  padding-bottom: 18px;
}

.cj-heritage-article-row img {
  aspect-ratio: 1.85;
  height: auto;
  margin-bottom: 18px;
}

.cj-heritage-article-row h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.cj-heritage-article-row p {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.cj-heritage-faq {
  background:
    url("../images/heritage-faq-branch.png") right bottom / 38% auto no-repeat,
    var(--heritage-paper-soft);
  padding-block: 58px;
}

.cj-heritage-faq > div {
  max-width: 780px;
}

.cj-heritage-faq details {
  border-bottom: 1px solid var(--heritage-line);
  color: var(--heritage-ink);
}

.cj-heritage-faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 18px 0;
}

.cj-heritage-faq summary::after {
  content: "+";
  float: right;
}

.cj-heritage-faq p {
  margin: 0 0 18px;
}

.cj-heritage-inquiry {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(77, 16, 12, 0.98), rgba(127, 31, 22, 0.92)),
    url("../images/beijing-temple-hero.webp") center / cover;
  color: #fff7e9;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.2fr;
  max-width: none;
  padding-block: 56px;
}

.cj-heritage-inquiry > * {
  margin-inline: auto;
  max-width: 560px;
  width: 100%;
}

.cj-heritage-inquiry h2 {
  color: #fff7e9;
  font-size: 3rem;
}

.cj-heritage-inquiry p {
  color: rgba(255, 242, 223, 0.76);
}

.cj-heritage-inquiry form {
  background: #f8efe4;
  box-shadow: 0 22px 70px rgba(23, 10, 7, 0.28);
  display: grid;
  gap: 10px;
  padding: 24px;
}

.cj-heritage-inquiry label {
  display: grid;
}

.cj-heritage-inquiry label span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.cj-heritage-inquiry form div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.cj-heritage-inquiry input,
.cj-heritage-inquiry select {
  background: #fffaf3;
  border: 1px solid rgba(70, 43, 31, 0.22);
  color: var(--heritage-ink);
  min-height: 44px;
  padding: 0 14px;
}

.cj-heritage-inquiry button {
  background: var(--heritage-red);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  min-height: 46px;
  text-transform: uppercase;
}

.cj-heritage-footer {
  background: #171412;
  color: #f7ead9;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.45fr 1fr 1fr 1fr 1fr;
  max-width: none;
  padding: 44px 80px 0;
}

.cj-heritage-footer .cj-heritage-brand {
  color: #f7ead9 !important;
}

.cj-heritage-footer__brand p {
  color: rgba(247, 234, 217, 0.62);
  margin: 18px 0 0;
  max-width: 260px;
}

.cj-heritage-footer nav,
.cj-heritage-footer__social {
  align-content: start;
  display: grid;
  gap: 10px;
}

.cj-heritage-footer strong {
  color: #fff3df;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cj-heritage-footer a {
  color: rgba(247, 234, 217, 0.62);
  font-size: 0.86rem;
}

.cj-heritage-footer__social div {
  display: flex;
  gap: 12px;
}

.cj-heritage-footer__social span {
  border: 1px solid rgba(247, 234, 217, 0.22);
  border-radius: 50%;
  color: rgba(247, 234, 217, 0.72);
  display: grid;
  font-size: 0.68rem;
  height: 30px;
  place-items: center;
  width: 30px;
}

.cj-heritage-footer__bar {
  border-top: 1px solid rgba(247, 234, 217, 0.12);
  color: rgba(247, 234, 217, 0.48);
  display: flex;
  font-size: 0.78rem;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px 0;
}

@media (prefers-reduced-motion: no-preference) {
  .cj-heritage-hero__copy {
    animation: cj-heritage-rise 720ms cubic-bezier(0.19, 1, 0.22, 1) both;
  }

  .cj-heritage-story__image,
  .cj-heritage-feature,
  .cj-heritage-tour {
    animation: cj-heritage-rise 640ms cubic-bezier(0.19, 1, 0.22, 1) both;
  }
}

@keyframes cj-heritage-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cj-heritage-feature,
  .cj-heritage-tour,
  .cj-heritage-article-row article,
  .cj-heritage-button,
  .cj-heritage-nav__cta {
    transition: none;
  }
}

@media (max-width: 980px) {
  .cj-heritage-nav {
    grid-template-columns: 1fr auto;
    padding: 18px 18px;
  }

  .cj-heritage-nav nav {
    display: none;
  }

  .cj-heritage-hero {
    min-height: 640px;
  }

  .cj-heritage-hero__copy {
    margin-top: 86px;
    padding: 0 24px 70px;
  }

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

  .cj-heritage-vertical {
    display: none;
  }

  .cj-heritage-story,
  .cj-heritage-timeline,
  .cj-heritage-inquiry {
    grid-template-columns: 1fr;
  }

  .cj-heritage-story,
  .cj-heritage-journeys,
  .cj-heritage-timeline,
  .cj-heritage-values,
  .cj-heritage-inspiration,
  .cj-heritage-faq,
  .cj-heritage-inquiry {
    padding-inline: 24px;
  }

  .cj-heritage-feature-grid,
  .cj-heritage-card-row,
  .cj-heritage-value-row,
  .cj-heritage-article-row {
    grid-template-columns: 1fr;
  }

  .cj-heritage-feature {
    min-height: 360px;
    padding: 170px 28px 32px;
  }

  .cj-heritage-value-row div,
  .cj-heritage-value-row div:first-child {
    border-left: 0;
    border-top: 1px solid var(--heritage-line);
  }

  .cj-heritage-section-head {
    align-items: flex-start;
    display: grid;
  }

  .cj-heritage-footer {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px 0;
  }

  .cj-heritage-footer__brand,
  .cj-heritage-footer__bar {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .cj-heritage-brand {
    font-size: 0.68rem;
  }

  .cj-heritage-brand__mark {
    height: 40px;
    width: 40px;
  }

  .cj-heritage-nav__cta {
    font-size: 0.66rem;
    padding: 12px 12px;
  }

  .cj-heritage-hero {
    min-height: 610px;
  }

  .cj-heritage-hero h1,
  .cj-heritage-inquiry h2 {
    font-size: 2.55rem;
  }

  .cj-heritage-story h2,
  .cj-heritage-center h2,
  .cj-heritage-timeline h2,
  .cj-heritage-section-head h2 {
    font-size: 2.1rem;
  }

  .cj-heritage-actions,
  .cj-heritage-tour footer,
  .cj-heritage-inquiry form div {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .cj-heritage-story__image {
    border-radius: 56px 56px 0 0;
  }

  .cj-heritage-timeline li {
    grid-template-columns: 1fr;
  }

  .cj-heritage-timeline p {
    grid-column: auto;
  }

  .cj-heritage-footer {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .cj-heritage-footer__bar {
    display: grid;
    gap: 8px;
  }
}
