/* Contextual guide access; no global button, layout or animation overrides. */
body.page-id-27 main.document-shell .document-hero.is-textual .document-hero__inner { min-height: 0; padding-block: 44px 32px; }
body.page-id-27 main.document-shell .document-hero.is-textual h1 { max-width: 23ch; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; }
body.page-id-27 .document-content { padding-top: 32px; }
.document-content .resource-start, .document-content .resource-checklist, .document-content .resource-questions { margin: 0 0 48px; }
.document-content .resource-start h2, .document-content .resource-checklist > h2, .document-content .resource-questions h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin-top: 12px; }
.document-content .resource-start__nav { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-block: 14px 22px; border-bottom: 1px solid var(--lx-line-strong); }
.document-content .resource-start__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.document-content .resource-checklist__steps { padding-left: 24px; }
.document-content .resource-checklist__steps > li { padding: 20px 0 20px 8px; border-bottom: 1px solid var(--lx-line-strong); }
.document-content .resource-checklist__steps h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; }
.document-content .resource-checklist__steps p { margin-bottom: 0; }
.document-content .resource-checklist__sources { font-size: 13px; color: #526258; margin-top: 24px; }
.document-content .resource-questions details { border-bottom: 1px solid var(--lx-line-strong); padding: 18px 0; }
.document-content .resource-questions summary { font-weight: 650; cursor: pointer; min-height: 24px; }
.document-content .resource-questions details p { margin: 14px 0 0; }
body.page-id-27 :is(#china-travel-checklist, .resource-questions, .resource-start) { scroll-margin-top: 105px; }
.document-content :is(.resource-start,.resource-checklist,.resource-questions) a:focus-visible { outline: 2px solid #a57532; outline-offset: 4px; }
@media (max-width: 600px) {
  body.page-id-27 main.document-shell .document-hero.is-textual .document-hero__inner { padding-block: 28px 24px; }
  body.page-id-27 .document-hero__folio { display: none; }
  body.page-id-27 .document-content { padding-top: 24px; }
  .document-content .resource-start__nav { gap: 4px 16px; }
}
.document-content .lx-resource-note {
  margin: 2.5rem 0; padding: clamp(24px, 3vw, 36px);
  border-top: 2px solid #ae833a; border-bottom: 1px solid #d7d7cc;
  background: #f3f1e9; color: #193328;
}
.document-content .lx-resource-note__label { margin: 0 0 12px; font: 700 12px/1.4 sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #a43128; }
.document-content .lx-resource-note h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.document-content .lx-resource-note p { margin: 12px 0; }
.document-content .lx-resource-note ul { padding-left: 22px; margin: 18px 0; }
.document-content .lx-resource-note a { color: #193328; text-decoration: underline; text-underline-offset: .2em; font-weight: 600; }
.document-content .lx-resource-note__fine { font-size: 14px; line-height: 1.65; color: #4d5d54; }
.lx-free-guide { min-width: 0; text-align: left; }
.lx-free-guide p { font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.lx-free-guide__meta { font-size: 13px !important; font-weight: 600; }
.lx-free-guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lx-free-guide a { line-height: 1.5; text-underline-offset: .2em; }
.lx-free-guide .lx-free-guide__primary { display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px; background: #193328; color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid currentColor; }
.lx-free-guide .lx-free-guide__primary:hover { background: #2c493a; }
.lx-free-guide a:focus-visible, .lx-resource-note a:focus-visible { outline: 3px solid #ad7d30; outline-offset: 4px; }
body.page-id-27 .wp-block-column .lx-free-guide__primary { color: #fff !important; }
body.page-id-27 .resource-directory__entry :is(h3, p, a, strong) { color: #193328 !important; }
body.page-id-27 .resource-directory__entry:is(:hover, :focus-within) :is(h3, p, a, strong) { color: #f9f7ef !important; }
body.page-id-27 .resource-directory__entry .lx-free-guide__primary { background: #193328; color: #fff !important; }
body.page-id-27 .resource-directory__entry:is(:hover, :focus-within) .lx-free-guide__primary { background: #f9f7ef; color: #193328 !important; }
/* Switch foreground and background together to keep the hover transition readable. */
body.page-id-27 .resource-directory__entry { transition-property: padding-left !important; }
body.page-id-27 .resource-directory__entry :is(h3, p, a, strong) { transition-property: transform !important; }
body.page-id-28 .is-visa-desk > .vc.is-active .lx-free-guide { grid-column: 3; color: #f9f7ef; }
body.page-id-28 .is-visa-desk > .vc.is-active .lx-free-guide p { color: #f9f7ef !important; }
body.page-id-28 .is-visa-desk > .vc.is-active .lx-free-guide__primary { background: #f9f7ef; color: #193328 !important; }
.lx-guide-edition { margin: 24px 0; padding: 20px 0; border-top: 1px solid #c7c9bf; border-bottom: 1px solid #c7c9bf; }
.lx-guide-edition p { margin: 8px 0; }
.lx-guide-edition a { text-decoration: underline; text-underline-offset: .2em; }
[id^="guide-"] { scroll-margin-top: 110px; }
@media(max-width: 900px) { body.page-id-28 .is-visa-desk > .vc.is-active .lx-free-guide { grid-column: 1 / -1; } }
/* Decision tables supplied by the editorial batch remain readable on phones. */
@media (max-width: 760px) {
  body.single-post .document-content .wp-block-table.is-mobile-scrollable {
    max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain; scrollbar-width: thin;
    scrollbar-color: var(--lx-gold) transparent;
  }
  body.single-post .document-content .wp-block-table.is-mobile-scrollable table { min-width: 560px; }
  body.single-post .document-content .wp-block-table.is-mobile-scrollable:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 3px; }
}
