/* Proposed Chinese typography only. Requires review before visual acceptance.
   All sizes, spacing and responsive breakpoints stay in the existing Study CSS.
   Existing !important font declarations require equivalent specificity/importance. */
html[lang="zh-CN"][data-service-template="study-en"] body .study-v2,
html[lang="zh-CN"][data-service-template="study-en"] body .study-v2 :is(h1,h2,h3,p,li,a,button,summary,span),
html[lang="zh-CN"][data-service-template="study-en"] body .study-v2 .sv-info h3,
html[lang="zh-CN"][data-service-template="study-en"] body .ga-footer :is(h2,p,li,a,span) {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}

/* Study Chinese navbar only: reuse the existing homepage layout declarations.
   Shared CSS, original typography and homepage/English matching remain unchanged.
   Importance flags below are retained from the source rules, not global overrides. */
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .dropdown-menu{
  min-width: 280px !important;
  padding: .5rem 0 !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .dropdown-item{
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .84rem !important;
  line-height: 1.36 !important;
  padding: .42rem 1.15rem !important;
  font-weight: 600 !important;
  white-space: normal !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .dropdown-section-label{
  display: block !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .66rem !important;
  line-height: 1.25 !important;
  padding: .4rem 1.15rem .2rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #93c5fd !important;
}
@media (max-width: 991.98px){
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .services-dropdown-menu{
    max-height: none !important;
    overflow-y: visible !important;
  }
}
@media (min-width: 992px){
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .services-dropdown-menu{
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .6) transparent;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .services-dropdown-menu::-webkit-scrollbar{
    width: 7px;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .services-dropdown-menu::-webkit-scrollbar-thumb{
    border-radius: 999px;
    background: rgba(148, 163, 184, .6);
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) .navbar .services-dropdown-menu::-webkit-scrollbar-track{
    background: transparent;
  }
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar{
  position: relative !important;
  z-index: auto !important;
  width: 100% !important;
  padding-top: .65rem !important;
  padding-bottom: .65rem !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06) !important;
  color: #1f2937 !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar > .container{
  width: 100% !important;
  max-width: var(--ga-layout-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--ga-layout-gutter) !important;
  padding-right: var(--ga-layout-gutter) !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-brand{
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  padding: 0 !important;
  margin-right: 1rem !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-brand img{
  display: block !important;
  width: auto !important;
  height: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link{
  padding: .35rem .75rem !important;
  border-radius: 0 !important;
  color: #334155 !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .98rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: normal !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link.dropdown-toggle{
  white-space: nowrap !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link:hover,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link:focus{
  color: #0f172a !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-menu{
  min-width: 280px !important;
  padding: .5rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #111827 !important;
  box-shadow: none;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-item{
  padding: .42rem 1.15rem !important;
  color: #e5e7eb !important;
  background: transparent !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
  line-height: 1.36 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-item:hover,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-item:focus,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-item.active{
  color: #fff !important;
  background: #1f2937 !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-section-label{
  display: block !important;
  padding: .4rem 1.15rem .2rem !important;
  color: #93c5fd !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .66rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .dropdown-divider{
  border-color: rgba(148, 163, 184, .24) !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .cta-btn{
  width: auto !important;
  padding-top: .38rem !important;
  padding-bottom: .38rem !important;
  border-radius: 800px !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .nav-wa-text{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  padding: .45rem .875rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #eaf7f0 !important;
  color: #1f8f4d !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .nav-wa-text:hover,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .nav-wa-text:focus{
  background: #d9f2e3 !important;
  color: #1f8f4d !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .lang-btn{
  margin-left: .5rem !important;
  padding: 0 !important;
  color: #2563eb !important;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .lang-btn:hover,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .lang-btn:focus{
  text-decoration: underline !important;
}
@media (min-width: 992px){
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav{
    max-height: 3.459rem !important;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-brand img{
    max-width: 210px !important;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link{
    padding-left: .48rem !important;
    padding-right: .48rem !important;
    border-radius: 999px !important;
    font-size: .92rem !important;
    transition: background-color .15s ease, color .15s ease !important;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link:hover,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link:focus{
    background: rgba(31, 143, 77, .10) !important;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .navbar-nav > .nav-item > .nav-link.active{
    background: rgba(31, 143, 77, .16) !important;
  }
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .cta-btn,
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .nav-wa-text{
    padding-left: .85rem !important;
    padding-right: .85rem !important;
    font-size: .9rem !important;
  }
}
@media (max-width: 991.98px){
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar .cta-btn{
    width: 100% !important;
    text-align: center !important;
  }
}
/* Homepage body text rendering, restricted here to this navbar only. */
html[lang="zh-CN"]:where([data-service-template="study-en"]) body nav.navbar {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
