/* 桌面端下拉菜单细节 */
header .header-nav > li.is-open > .nav-toggle,
header .header-nav > li:hover > .nav-toggle { color: #2d5aff; }
header .nav-toggle .xiala { transition: transform .25s ease; }
header .header-nav > li.is-open .xiala { transform: rotate(180deg); }
header .nav-panel .list-item .title { font-weight: 500; }
header .nav-panel .list-item .subtitle { color: #1b2c50; }
header .nav-panel .list-item:hover .title { color: #2d5aff; }
header .header-nav > li > a { color: #1b2c50; font-size: 15px; font-weight: 500; }
header .header-nav > li > a:hover,
header .header-nav > li.is-open > a { color: #2d5aff; }

/* 移动端子菜单展开 */
header .mobile-header-nav .mobile-nav-item.is-open > .mobile-nav-sub,
header .mobile-header-nav .mobile-nav-group.is-open > .mobile-nav-group-items { display: block; }
header .mobile-header-nav .mobile-nav-item.is-open > .mobile-nav-title,
header .mobile-header-nav .mobile-nav-group.is-open > .mobile-nav-sub-title { color: #2d5aff; }

/* 中等屏幕：产品功能改为 3 列 × 2 行，避免六列过窄导致文字折行 */
@media (min-width: 1024px) and (max-width: 1279px) {
  header .func-list-box {
    width: calc(100% - 80px);
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
  }
  header .func-category-items .list-item { min-height: 60px; padding-right: 8px; }
  header .resources-list-box {
    width: calc(100% - 80px);
    grid-template-columns: repeat(4, 1fr);
    gap: 0 16px;
  }
}

@media (min-width: 1280px) and (max-width: 1420px) {
  header .func-list-box {
    width: calc(100% - 80px);
    grid-template-columns: repeat(6, 1fr);
    gap: 0 16px;
  }
  header .func-list-box .list-item { padding: 0 8px; }
  header .resources-list-box {
    width: calc(100% - 80px);
    grid-template-columns: repeat(4, 1fr);
    gap: 0 16px;
  }
}
