﻿ /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        a {
            text-decoration: none;
        }
        ul {
            list-style: none;
        }
        .fl {
            float: left;
        }
        .W_1200 {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* 顶部导航容器 */
        .top_home {
            background: #6c7a8d;
            position: relative;
			margin-bottom:20px;
        }
        .top_container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

        /* LOGO样式 */
        .QZ-LOGO {
            padding: 0;
        }
        .QZ-LOGO img {
            height: 60px;
            vertical-align: middle;
        }

        /* 导航菜单基础样式 */
        .QZ-nav {
            clear: none;
        }
        .nav {
            display: flex;
        }
        .nav > li {
            position: relative;
            margin: 0 10px;
        }
        .nav > li > a {
            display: block;
            padding: 10px 10px;
            color: #fff;
            font-size: 16px;
            height: 40px;
            line-height: 20px;
            white-space: nowrap;
        }

        /* 下拉箭头样式 - 调整位置至可见 */
        .has-sub > a {
            padding-right: 25px; /* 增加右侧空间，确保箭头不被遮挡 */
            position: relative;
        }
        .has-sub > a::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            right: 1px; /* 向右微调，避免太靠近边缘 */
            top: 20px; /* 固定顶部距离，确保居中（总高40px，箭头居中约18px） */
            border-top: 5px solid #fff;
            border-right: 5px solid transparent;
            border-left: 5px solid transparent;
        }
        .has-sub.sub-active > a::after {
            border-top-color: #fff;
        }
        @media (max-width: 767px) {
            .has-sub > a::after {
                top: 15px; /* 移动端行高小，微调箭头位置 */
            }
            .has-sub.sub-active > a::after {
                transform: rotate(180deg);
            }
        }

        /* 高亮效果 */
        .nav > li.active > a {
            color: #fff;
            font-weight: bold;
            background: rgba(255,255,255,0.1);
        }
        .nav > li:not(.active) > a:hover {
            color: #fff;
            background: rgba(255,255,255,0.05);
        }

        /* 二级下拉菜单 */
        .has-sub .sub-nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 180px;
            background: #6c7a8d;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            padding: 5px 0;
            display: none;
            z-index: 999;
        }
        .has-sub .sub-nav {
            display: none;
            flex-direction: column;
        }
        .has-sub .sub-nav li {
            width: 100%;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .has-sub .sub-nav li:last-child {
            border-bottom: none;
        }
        .has-sub .sub-nav a {
            display: block;
            padding: 8px 15px;
            color: #fff;
            font-size: 12px;
            opacity: 0.9;
            height: auto;
            line-height: 1.4;
        }
        .has-sub .sub-nav li.active a,
        .has-sub .sub-nav a:hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
            opacity: 1;
        }

        /* 桌面端：hover显示二级菜单 */
        @media (min-width: 768px) {
            .has-sub:hover .sub-nav {
                display: flex;
            }
            .menu-toggle {
                display: none;
            }
        }

        /* 移动端适配 */
        @media (max-width: 767px) {
            .menu-toggle {
                display: block;
                position: absolute;
                top: 30px;
                right: 15px;
                width: 30px;
                height: 24px;
                cursor: pointer;
                z-index: 1000;
            }
            .menu-toggle span {
                display: block;
                width: 100%;
                height: 4px;
                background: #fff;
                margin-bottom: 4px;
                border-radius: 2px;
            }
            .menu-toggle span:last-child {
                margin-bottom: 0;
            }

            .nav {
                position: fixed;
                top: 0;
                left: 0;
                width: 70%;
                max-width: 260px;
                height: 100vh;
                background: #6c7a8d;
                flex-direction: column;
                padding-top: 10px;
                box-shadow: 2px 0 10px rgba(0,0,0,0.2);
                transform: translateX(-100%);
                z-index: 999;
            }
            .nav.active {
                transform: translateX(0);
            }
            .nav > li {
                margin: 0;
                border-bottom: 1px solid rgba(255,255,255,0.05);
            }
            .nav > li > a {
                padding: 8px 20px;
                font-size: 14px;
                height: auto;
                line-height: 1.4;
            }
            .nav > li.active > a {
                background: rgba(255,255,255,0.1);
                padding-left: 15px;
          
            }

            .has-sub .sub-nav {
                position: static;
                width: 100%;
                box-shadow: none;
                background: rgba(0,0,0,0.05);
                padding-left: 30px;
            }
            .has-sub .sub-nav a {
                font-size: 12px;
                padding: 6px 0;
                line-height: 1.2;
            }
            .has-sub.sub-active .sub-nav {
                display: flex;
            }
        }
        
        
        
        
        
        
        
        
        
        
    /* 栏目容器 */
    .category-container {
      max-width: 1200px; /* 最大宽度，可根据需求调整 */
      margin: 0 auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* 栏目标题 */
    .category-title {
      margin-bottom: 16px;
      font-size: 1.2rem;
      color: #333;
      font-weight: 600;
    }
    
    /* 栏目列表 */
    .category-list {
      display: flex;
      flex-wrap: wrap; /* 核心属性：超过宽度自动换行 */
      gap: 12px; /* 项目之间的间距 */
    }
    
    /* 单个栏目项 */
    .category-item {
      padding: 8px 16px;
      background-color: #f0f4ff;
      color: #3b82f6;
      border-radius: 20px; /* 圆角样式 */
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap; /* 防止文字内部换行 */
    }
    
    /* 悬停效果 */
    .category-item:hover {
      background-color: #3b82f6;
      color: #fff !important;
      transform: translateY(-2px);
    }
    
    /* 活跃状态 */
    .category-item.active {
      background-color: #3b82f6;
      color: white;
      font-weight: 500;
    }
 

