.trip-prep {
  --trip-ink: #442d26;
  --trip-muted: #70625a;
  --trip-red: #9f2928;
  overflow: hidden;
  border: 1px solid #e8d7c1;
  border-radius: 28px;
  background: #fffaf2;
  color: var(--trip-ink);
  box-shadow: 0 12px 36px #713e2010;
}
.trip-prep__hero {
  min-height: 186px;
  padding: 28px;
  background: #fff6e6 url("/travel-preparation/china-journey.webp") right
    center / cover no-repeat;
  border-bottom: 1px solid #e8d7c1;
}
.trip-prep__heading {
  max-width: 62%;
}
.trip-prep__plane {
  display: inline-flex;
  color: var(--trip-red);
  margin-bottom: 10px;
}
.trip-prep__heading h3 {
  margin: 0;
  color: var(--trip-ink);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.trip-prep__heading p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #665248;
}
.trip-prep__body {
  padding: 24px 28px;
}
.trip-prep__items {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trip-prep__items--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trip-prep__item {
  min-width: 0;
  border: 1px solid #ebddc9;
  border-radius: 18px;
  padding: 20px;
  background: #fffefa;
}
.trip-prep__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  margin-bottom: 14px;
}
.trip-prep__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fae7dc;
  color: #a3362f;
  flex: none;
}
.trip-prep__item--payments .trip-prep__icon {
  background: #e7eee3;
  color: #476b53;
}
.trip-prep__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--trip-muted);
}
.trip-prep__item .trip-prep__label {
  margin-bottom: 6px;
  color: var(--trip-ink);
  font-weight: 750;
  font-size: 15px;
}
.trip-prep__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--trip-red);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.trip-prep__action svg,
.trip-prep__guide svg {
  flex: none;
}
.trip-prep__action:hover,
.trip-prep__vpn a:hover {
  color: #701b1c;
}
.trip-prep__guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 20px;
  border: 1px solid #dfb8a5;
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--trip-red);
  background: #fff9ef;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 750;
  text-decoration: none;
}
.trip-prep__guide:hover {
  background: #f9eddf;
  border-color: var(--trip-red);
}
.trip-prep a:focus-visible {
  outline: 2px solid var(--trip-red);
  outline-offset: 4px;
}
.trip-prep__vpn {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e8d7c1;
  margin-top: 22px;
  padding-top: 18px;
}
.trip-prep__vpn p {
  margin: 0;
  color: var(--trip-muted);
  font-size: 12px;
  line-height: 1.75;
}
.trip-prep__vpn a {
  color: var(--trip-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trip-prep .trip-prep__disclosure {
  margin: 16px 0 0;
  color: var(--trip-muted);
  font-size: 11px;
  line-height: 1.7;
}
.trip-prep--recommendations {
  margin-bottom: 24px;
}
.trip-prep--recommendations h2 {
  color: var(--trip-ink);
}
.trip-prep--recommendations .trip-prep__action {
  margin-top: 12px;
  color: var(--trip-red);
}
.trip-guide-hero {
  padding: 36px 0;
  background:
    radial-gradient(ellipse at 85% 55%, #f4e5cb, transparent 55%), #fff6e6;
  border-bottom: 1px solid #e8d7c1;
}
.trip-guide-hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.trip-guide-hero h1 {
  max-width: none;
  margin: 14px 0;
  color: #442d26;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}
.trip-guide-hero .lede {
  max-width: none;
  color: #665248;
  font-size: 16px;
  line-height: 1.65;
}
.trip-guide-hero .eyebrow {
  background: #f4ddc7;
  color: #9f2928;
}
.trip-guide-art {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  justify-self: end;
}
.trip-guide-content {
  position: relative;
  isolation: isolate;
  padding-top: 24px;
  padding-bottom: clamp(150px, 12vw, 220px);
  background: #fffaf2;
}
.trip-guide-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(320px, 30vw, 560px);
  background: url("/travel-preparation/china-journey.webp") right bottom / cover
    no-repeat;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #00000014 12%,
    #00000052 24%,
    #000000b3 36%,
    #000 48%
  );
  pointer-events: none;
}
main:has(> .trip-guide-content) + footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.trip-guide-content > .wrap > .cta {
  width: fit-content;
}
.trip-guide-content .seo-mascot-perch {
  display: none;
}
.trip-guide-content > .wrap > .card {
  border-color: #e8d7c1;
  box-shadow: 0 6px 24px #713e2006;
}
.trip-guide-content > .wrap > .card h2 {
  color: #70372d;
  font-size: clamp(22px, 2vw, 28px);
}
.trip-guide-section--illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 24px;
}
.trip-guide-section--illustrated > img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .trip-prep {
    border-radius: 22px;
  }
  .trip-prep__hero {
    min-height: 238px;
    padding: 22px 20px 160px;
    background-size: auto 160px;
    background-position: right bottom;
  }
  .trip-prep__heading {
    max-width: 100%;
  }
  .trip-prep__heading h3,
  .trip-prep__heading p {
    position: relative;
    text-shadow: 0 1px 8px #fff6e6;
  }
  .trip-prep__heading p {
    max-width: 85%;
  }
  .trip-prep__body {
    padding: 18px;
  }
  .trip-prep__items--two {
    grid-template-columns: 1fr;
  }
  .trip-prep__item {
    padding: 18px;
  }
  .trip-prep__guide {
    width: 100%;
  }
  .trip-prep__vpn {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .trip-guide-hero {
    padding: 24px 0;
  }
  .trip-guide-hero > .wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trip-guide-art {
    width: 220px;
    max-width: 75%;
    justify-self: center;
  }
  .trip-guide-section--illustrated {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trip-guide-section--illustrated > img {
    width: 100px;
    grid-row: 1;
    justify-self: start;
  }
  .trip-guide-hero .lede {
    font-size: 16px;
  }
  .trip-guide-content {
    padding-top: 18px;
  }
  .trip-guide-content::before {
    mask-image: linear-gradient(
      to bottom,
      transparent 20%,
      #00000014 32%,
      #00000052 46%,
      #000000b3 60%,
      #000 74%
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .trip-prep a {
    transition: none;
  }
}
