/* 全站共用导航样式（以 index.html 为标准） */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  height: var(--header-h, 56px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 56px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading, #333);
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav a {
  font-size: 13px;
  color: #3D3D3D;
  white-space: nowrap;
  position: relative;
  padding: 12px 4px;
	opacity: 1;
}
.nav:hover a{
	/* opacity: 0.4; */
}
.nav a:hover {
	opacity: 1;
  color: #000000;
}
.nav a.active {
  color: #000000;
  opacity: 1;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  cursor: pointer;
  font-size: 13px;
  color: #3D3D3D;
  white-space: nowrap;
  display: block;
  padding: 12px 4px;
  opacity: 1;
}
.nav:hover .nav-dropdown-trigger{
	/* opacity: 0.4; */
}
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #000000;
  opacity: 1;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 88px;
  padding: 2px;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -21px;
  height: 21px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--body, #666);
  position: static;
  white-space: nowrap;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: #f5f5f5;
  color: #000000;
}
.nav .nav-dropdown-menu a {
    opacity: 1;
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 1px;
  /* background: var(--heading, #333); */
  background: #000000;
}
.nav-dropdown.active .nav-dropdown-trigger {
  color: #000000;
  border-radius: 2px;
  opacity: 1;
}
.nav-dropdown-menu a.active {
  color: #000000;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav {
  margin-left: 56px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch-btn {
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch-btn.is-active {
  color: #111;
  font-weight: 700;
}
.lang-switch-sep {
  color: #ccc;
  font-size: 12px;
}
html[data-lang="en"] .hero-banner-content,
html[data-lang="en"] .page-hero-info,
html[data-lang="en"] .partners-banner-info {
  max-width: 720px !important;
}
html[data-lang="en"] .hero-banner h1,
html[data-lang="en"] .page-hero h1,
html[data-lang="en"] .partners-banner h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: none;
}
html[data-lang="en"] .hero-banner-content > p,
html[data-lang="en"] .page-hero-info > p,
html[data-lang="en"] .partners-banner-info > p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
