/* Yunsky live-site chrome for the topchinatravel static demo. */
.ys-slh,
.ys-site-footer {
  --ys-ink: #182238;
  --ys-copy: #526581;
  --ys-accent: #f0523d;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.ys-slh,
.ys-slh *,
.ys-site-footer,
.ys-site-footer * {
  box-sizing: border-box;
}

.ys-slh {
  position: relative;
  z-index: 700;
  width: 100%;
  background: #fff;
  color: var(--ys-ink);
}

.ys-slh a,
.ys-site-footer a {
  text-decoration: none;
}

.ys-slh__top {
  min-height: 83px;
  background: var(--ys-ink);
  color: #fff;
}

.ys-slh__wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding-inline: 40px;
}

.ys-slh__top .ys-slh__wrap {
  min-height: 83px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(390px, 1.35fr) 302px 137px;
  align-items: center;
  gap: 28px;
}

.ys-slh__slogan {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.ys-slh__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  white-space: nowrap;
}

.ys-slh__contact a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}

.ys-slh__contact a:hover {
  color: #d8efff;
}

.ys-slh__contact svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.ys-slh__search {
  height: 45px;
  display: flex;
  overflow: hidden;
  margin: 0;
  border-radius: 7px;
  background: #fff;
}

.ys-slh__search input {
  min-width: 0;
  flex: 1;
  height: 45px;
  padding: 0 17px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #545f70;
  font-size: 15px;
}

.ys-slh__search button {
  width: 50px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 0;
  background: #f1f3f6;
  color: #fff;
  cursor: pointer;
}

.ys-slh__search svg {
  width: 18px;
  height: 18px;
}

.ys-slh__lang {
  position: relative;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border-radius: 6px;
  background: #fff;
  color: var(--ys-ink);
  font-size: 14px;
  cursor: pointer;
}

.ys-slh__lang .flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
}

.ys-slh__lang .caret {
  width: 9px;
  height: 9px;
  margin-left: 7px;
  border-right: 2px solid var(--ys-ink);
  border-bottom: 2px solid var(--ys-ink);
  transform: rotate(45deg) translateY(-3px);
}

.ys-slh__lang ul {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 1200;
  min-width: 150px;
  margin: 0;
  padding: 7px 0;
  list-style: none;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 28, 51, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: .16s ease;
}

.ys-slh__lang:hover ul,
.ys-slh__lang.is-open ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ys-slh__lang li,
.ys-slh__lang li a {
  display: block;
}

.ys-slh__lang li a {
  padding: 7px 14px;
  color: #29364d;
  font-size: 13px;
}

.ys-slh__lang li a:hover {
  background: #f3f6fa;
  color: var(--ys-accent);
}

.ys-slh__main {
  height: 56px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(24, 34, 56, .08);
}

.ys-slh__main .ys-slh__wrap {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ys-slh__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.ys-slh__logo img {
  display: block;
  width: auto;
  height: 49px;
}

.ys-slh .ys-slh__nav.pc-nav {
  position: static;
  right: auto;
  left: auto;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  overflow: visible;
}

.ys-slh__nav .tct-main-menu,
.ys-slh__nav .ss-head-menu {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.45vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-slh__nav .tct-main-menu > li,
.ys-slh__nav .ss-head-menu > li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.ys-slh__nav .tct-main-menu > li > a,
.ys-slh__nav .ss-head-menu > li > a {
  height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #0c1017;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.ys-slh__nav .tct-main-menu > li:first-child > a,
.ys-slh__nav .tct-main-menu > li > a:hover,
.ys-slh__nav .ss-head-menu > li:first-child > a,
.ys-slh__nav .ss-head-menu > li > a:hover {
  color: #f05b2a;
}

.ys-slh__nav .menu-cn {
  display: none !important;
}

.ys-slh__nav .tct-main-menu > li > ul,
.ys-slh__nav .ss-head-menu > li > ul {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 1200;
  min-width: 235px;
  display: block;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border: 1px solid #edf0f4;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(14, 28, 50, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: .16s ease;
}

.ys-slh__nav .tct-main-menu > li:hover > ul,
.ys-slh__nav .ss-head-menu > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ys-slh__nav .tct-main-menu > li > ul li,
.ys-slh__nav .ss-head-menu > li > ul li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-slh__nav .tct-main-menu > li > ul a,
.ys-slh__nav .ss-head-menu > li > ul a {
  display: block;
  padding: 9px 18px;
  color: #33445f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

.ys-slh__nav .tct-main-menu > li > ul a:hover,
.ys-slh__nav .ss-head-menu > li > ul a:hover {
  background: #f4f7fb;
  color: #f05b2a;
}

.ys-slh__cta {
  flex: 0 0 auto;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--ys-accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-slh__cta:hover {
  background: #da4432;
}

.ys-slh__cta .arr {
  font-size: 22px;
  line-height: 1;
}

.ys-slh__burger,
.ys-slh__close,
.ys-slh__nav .nav-more,
.ys-slh__nav .ys-sub-toggle {
  display: none;
}

.ys-site-footer.footer {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0;
  background: #f4f6fa !important;
  color: var(--ys-copy) !important;
}

.ys-foot__wrap {
  width: min(100%, 1140px);
  min-height: 393px;
  margin: 0 auto;
  padding: 50px 10px 36px;
  display: grid;
  grid-template-columns: 170px repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ys-foot__brand {
  padding-top: 4px;
}

.ys-foot__logo {
  display: block;
  margin-bottom: 20px;
}

.ys-foot__logo img {
  display: block;
  width: 165px;
  max-width: 100%;
  height: auto;
}

.ys-foot__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  width: 150px;
}

.ys-foot__icons a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff !important;
  font-size: 27px;
  font-weight: 700;
}

.ys-foot__icons a:nth-child(1) { background: #559b43; }
.ys-foot__icons a:nth-child(2) { background: #4565a4; }
.ys-foot__icons a:nth-child(3) { background: #6e7784; }
.ys-foot__icons a:nth-child(4) { margin-left: 25px; background: #282828; }
.ys-foot__icons a:nth-child(5) { background: #da2027; }
.ys-foot__icons svg { width: 24px; height: 24px; fill: currentColor; }

.ys-foot__col h4 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.ys-foot__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-foot__col li {
  margin: 0 0 14px;
  padding: 0;
}

.ys-foot__col a {
  color: var(--ys-copy) !important;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.ys-foot__col a:hover,
.ys-foot__links a:hover {
  color: #f05b2a !important;
}

.ys-foot__bar {
  min-height: 71px;
  padding: 0 max(10px, calc((100% - 1420px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #edf1f7;
}

.ys-foot__legal p,
.ys-foot__links {
  margin: 0;
  color: var(--ys-copy);
  font-size: 12px;
  line-height: 1.5;
}

.ys-foot__legal strong {
  color: #4a607f;
}

.ys-foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ys-foot__links a {
  padding: 0 12px;
  border-left: 1px solid #cad2de;
  color: var(--ys-copy) !important;
}

.ys-foot__links a:first-child {
  border-left: 0;
}

@media (max-width: 1180px) {
  .ys-slh__wrap { padding-inline: 18px; }
  .ys-slh__top .ys-slh__wrap {
    grid-template-columns: minmax(235px, .9fr) minmax(325px, 1.2fr) minmax(230px, .8fr) 125px;
    gap: 16px;
  }
  .ys-slh__slogan,
  .ys-slh__contact { font-size: 12px; }
  .ys-slh__main .ys-slh__wrap { gap: 14px; }
  .ys-slh__logo img { height: 42px; }
  .ys-slh__cta { padding-inline: 13px; font-size: 12px; }
  .ys-foot__wrap { grid-template-columns: 165px repeat(5, minmax(130px, 1fr)); overflow: hidden; }
}

@media (max-width: 991px) {
  body.ys-menu-open { overflow: hidden; }
  .ys-slh__top,
  .ys-slh__top .ys-slh__wrap { min-height: 154px; }
  .ys-slh__top .ys-slh__wrap {
    padding: 10px 16px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 9px 14px;
  }
  .ys-slh__slogan { grid-column: 1 / -1; font-size: 13px; }
  .ys-slh__contact { grid-column: 1 / -1; flex-wrap: wrap; font-size: 13px; }
  .ys-slh__search { height: 42px; }
  .ys-slh__search input,
  .ys-slh__search button { height: 42px; }
  .ys-slh__lang { height: 42px; justify-self: end; }
  .ys-slh__main { height: 76px; }
  .ys-slh__main .ys-slh__wrap {
    position: relative;
    height: 76px;
    justify-content: center;
    padding: 7px 16px;
  }
  .ys-slh__logo img { height: 42px; }
  .ys-slh__burger {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #f0f1f3;
    cursor: pointer;
    transform: translateY(-50%);
  }
  .ys-slh__burger span {
    width: 23px;
    height: 3px;
    border-radius: 2px;
    background: #30353b;
  }
  .ys-slh__cta { display: none; }
  .ys-slh .ys-slh__nav.pc-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1500;
    width: min(86vw, 350px);
    height: 100vh;
    display: block;
    padding: 55px 0 25px;
    background: #fff;
    box-shadow: -12px 0 35px rgba(13, 28, 50, .24);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .24s ease;
  }
  .ys-slh .ys-slh__nav.pc-nav.active { transform: none; }
  .ys-slh__close {
    position: absolute;
    top: 12px;
    right: 17px;
    z-index: 3;
    display: block;
    color: var(--ys-ink);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }
  .ys-slh__nav .tct-main-menu,
  .ys-slh__nav .ss-head-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .ys-slh__nav .tct-main-menu > li,
  .ys-slh__nav .ss-head-menu > li {
    width: 100%;
    border-bottom: 1px solid #edf0f4;
  }
  .ys-slh__nav .tct-main-menu > li > a,
  .ys-slh__nav .ss-head-menu > li > a {
    width: 100%;
    height: auto;
    min-height: 48px;
    display: flex;
    padding: 13px 52px 13px 20px;
    font-size: 15px;
  }
  .ys-slh__nav .tct-main-menu > li > ul,
  .ys-slh__nav .ss-head-menu > li > ul {
    position: static;
    min-width: 0;
    display: none;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .ys-slh__nav .tct-main-menu > li.menu-open > ul,
  .ys-slh__nav .ss-head-menu > li.menu-open > ul { display: block; }
  .ys-slh__nav .nav-more,
  .ys-slh__nav .ys-sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .ys-slh__nav .nav-more::after,
  .ys-slh__nav .ys-sub-toggle::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 19px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6a7688;
    border-bottom: 2px solid #6a7688;
    transform: rotate(45deg);
  }
  .ys-foot__wrap {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 38px 10px 30px;
    gap: 30px 22px;
    overflow: visible;
  }
  .ys-foot__brand { padding-top: 0; }
  .ys-foot__col h4 { margin-bottom: 20px; }
  .ys-foot__col li { margin-bottom: 13px; }
  .ys-foot__bar {
    min-height: 138px;
    padding: 24px 10px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .ys-foot__links { justify-content: center; }
}

@media (max-width: 480px) {
  .ys-slh__top,
  .ys-slh__top .ys-slh__wrap { min-height: 247px; }
  .ys-slh__top .ys-slh__wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 15px 14px;
  }
  .ys-slh__slogan {
    position: static;
    width: 100%;
    white-space: normal;
  }
  .ys-slh__contact {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-left: clamp(0px, 16vw, 62px);
  }
  .ys-slh__search {
    position: static;
    width: 100%;
    margin: 0;
  }
  .ys-slh__search input { padding-inline: 16px 10px; }
  .ys-slh__search button { width: 50px; }
  .ys-slh__lang {
    position: relative;
    align-self: flex-end;
    width: 137px;
    height: 45px;
  }
  .ys-slh__main { height: 94px; }
  .ys-slh__main .ys-slh__wrap {
    height: 94px;
    align-items: flex-start;
    padding-top: 3px;
  }
  .ys-slh__logo img { height: 38px; }
  .ys-slh__burger {
    top: auto;
    right: 50%;
    bottom: 10px;
    transform: translateX(50%);
  }
  .ys-foot__wrap { padding: 38px 12px 30px; gap: 28px 18px; }
  .ys-foot__logo img { width: 175px; }
  .ys-foot__icons { width: 140px; }
  .ys-foot__icons a { width: 47px; height: 50px; }
  .ys-foot__icons a:nth-child(4) { margin-left: 23px; }
  .ys-foot__col h4 { font-size: 14px; }
  .ys-foot__col a { font-size: 14px; }
  .ys-foot__links a { padding: 0 9px; }
}

@media (max-width: 350px) {
  .ys-slh__contact { padding-left: 34px; }
  .ys-slh__search input { font-size: 14px; }
  .ys-foot__wrap { gap: 26px 12px; }
  .ys-foot__col a { font-size: 13px; }
}

/* Shared breadcrumb baseline. Some WordPress series pages inject .ys-bc
   before their page-specific body class is available, so it must not rely on
   a contextual selector for its horizontal layout and list reset. */
.ys-bc {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #e4e8ee;
  background: #fff;
  color: #6a7484;
  font-size: 14px;
  line-height: 1.4;
}

.ys-bc .ys-bc__wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

.ys-bc ol,
.ys-bc ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0;
  width: min(calc(100% - 30px), 1090px);
  min-height: 50px;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: auto;
  list-style: none !important;
  white-space: nowrap;
}

.ys-bc li {
  display: inline-flex !important;
  min-width: 0;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ys-bc li::marker {
  content: "" !important;
}

.ys-bc li + li::before {
  content: "/";
  flex: 0 0 auto;
  margin: 0 9px;
  color: #a6afba;
}

.ys-bc a {
  color: #2478bd;
  text-decoration: none;
}

.ys-bc a:hover {
  text-decoration: underline;
}

.ys-bc [aria-current="page"],
.ys-bc li:last-child {
  color: #4f5c70;
}

@media (max-width: 767px) {
  .ys-bc {
    font-size: 13px;
  }

  .ys-bc ol,
  .ys-bc ul {
    width: min(calc(100% - 22px), 1090px);
    min-height: 42px;
  }

  .ys-bc li + li::before {
    margin: 0 7px;
  }
}

/* Keep one breadcrumb trail when WordPress adds its automatic trail above
   legacy/imported content that already includes a native breadcrumb. */
.ysu-auto-breadcrumb[hidden],
.ysu-auto-breadcrumb.ys-breadcrumb--deduplicated {
  display: none !important;
}

body:has(.ys-bc) .ysu-auto-breadcrumb,
body:has(.ss-breadcrumb) .ysu-auto-breadcrumb,
body:has(.woocommerce-breadcrumb) .ysu-auto-breadcrumb,
body:has(.yoast-breadcrumb) .ysu-auto-breadcrumb,
body:has(.rank-math-breadcrumb) .ysu-auto-breadcrumb,
body:has(.breadcrumb-trail) .ysu-auto-breadcrumb,
body:has(.elementor-widget-breadcrumbs) .ysu-auto-breadcrumb {
  display: none !important;
}

/* WordPress already renders the approved global footer outside imported
   legacy content. Never leave the imported footer visible as a second copy. */
body .ys-legacy-page > .footer:not(.ys-site-footer) {
  display: none !important;
}

/* Old list templates contain nested Bootstrap pagination lists with a fixed
   intrinsic width. Wrap them on narrow screens instead of widening the page. */
@media (max-width: 767px) {
  #pagination,
  #pagination nav,
  #pagination ul.pagination {
    width: 100% !important;
    max-width: 100% !important;
  }

  #pagination {
    overflow-x: hidden;
  }

  #pagination ul.pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
  }
}
