/* ===== 通用栏目页头部样式 page-hero.css ===== */

/* 栏目页首屏 */
.page-hero {
  background: #F9F4FF;
  padding: 243px 0 196px;
}

.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  color: #E02B2B;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #333333;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: 15px;
  color: #999;
  margin-top: 16px;
  line-height: 1.8;
}

/* H5 首屏专属线条装饰（PC 隐藏） */
.hero-line-h5 {
  display: none;
}

/* 响应式 */
@media (max-width: 1023px) {
  .page-hero {
    padding: 169px 0 135px;
  }
  .page-hero-title {
    font-size: 36px;
  }
  .page-hero-desc {
    font-size: 14px;
  }
  .hero-line-h5 {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
  }
}

/* ===== 导航栏头部样式（与首页一致） ===== */

/* 毛玻璃透明背景 */
.nav-glass {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25), 0 4px 20px rgba(0,0,0,0.06);
}

/* 导航内容容器：默认86px，滚动收缩30%至60px，内容始终垂直居中 */
.nav-inner {
  height: 86px;
  min-height: 0;
  transition: height 0.3s ease;
}

.nav-fixed.nav-glass .nav-inner {
  height: 60px !important;
  min-height: 0;
}

/* 导航菜单间距加宽 */
.nav-link.px-3 { padding-left: 17px; padding-right: 17px; }

/* 导航右侧图标按钮：与 nav-link 同字号同色同间距 */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 17px;
  color: #000;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-icon-btn:hover { color: #E02B2B; }

/* 语言下拉菜单：缩短弹框长度 */
.dropdown-menu {
  min-width: 72px;
}

.dropdown-menu a, .dropdown-menu button {
  text-align: center;
  padding: 8px 8px;
  font-size: 13px;
  color: #666;
}

/* ===== H5 左侧抽屉菜单 ===== */
.mobile-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-mask.active { opacity: 1; visibility: visible; }

#mobile-menu.mobile-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 70;
  transform: translateX(102%);
  transition: transform 0.35s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
#mobile-menu.mobile-drawer.active { transform: translateX(0); }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid #F0F0F0;
  flex-shrink: 0;
}
.mobile-drawer-head button {
  background: none;
  border: none;
  padding: 6px;
  color: #333;
  cursor: pointer;
}

.mobile-drawer-links { flex: 1; overflow-y: auto; padding: 10px 0; }
.mobile-drawer-links a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #000;
}
.mobile-drawer-links a.active { color: #E02B2B; }

.mobile-drawer-links a.mobile-drawer-sub {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  padding: 10px 24px;
}
.mobile-drawer-links a.mobile-drawer-sub:first-of-type {
  margin-top: 8px;
}

.mobile-drawer-foot {
  border-top: 1px solid #F0F0F0;
  padding: 16px 20px 22px;
  flex-shrink: 0;
}
.mobile-lang-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.mobile-lang-btns { margin-left: auto; display: flex; gap: 8px; }
.mobile-lang-btn {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  padding: 6px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 999px;
}
.mobile-lang-btn.lang-active { color: #E02B2B; border-color: #E02B2B; }
.mobile-login-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
}

/* PC 端隐藏抽屉 */
@media (min-width: 1024px) {
  .mobile-drawer, .mobile-mask { display: none !important; }
}
