        /* --- 全局重置 --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #f9f9f9; /* 仅为了演示效果 */
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        ul {
            list-style: none;
        }

        
      .navbar-bg {
      width: 100%;
      background-color: #ffffff;
      border-bottom: 1px solid #eaeaea;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
      position: relative;
    }  
    /* --- 核心容器 --- */
    .container {
      max-width: 1250px;
      margin: 0 auto;
      padding: 0 20px;
      height: 80px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* --- 左侧 Logo 区域 --- */
    .logo-area {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .logo-area img {
      width: 100%;
    }

    .logo-img {
      width: 40px;
      height: 40px;
      background-color: #1a1a1a;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 20px;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      line-height: 1.2;
    }

    .brand-name {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      letter-spacing: 1px;
    }

    .brand-sub {
      font-size: 10px;
      color: #666;
      letter-spacing: 0.5px;
    }

    .divider {
      height: 30px;
      width: 1px;
      background-color: #ddd;
      margin: 0 10px;
    }

    .slogan {
      font-family: "KaiTi", "STKaiti", serif;
      font-size: 18px;
      color: #333;
      font-weight: bold;
    }

    /* --- 右侧 菜单区域 --- */
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }

    .nav-item {
      font-size: 16px;
      color: #333;
      position: relative;
      cursor: pointer;
      transition: color 0.3s;
    }

    .nav-item:hover {
      color: #000;
    }

    .nav-item.active {
      font-weight: bold;
    }

    .nav-item.active::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #333;
    }

    .nav-item a {
      color: inherit;
      text-decoration: none;
    }

    /* ========== 汉堡按钮（默认隐藏） ========== */
    .menu-toggle {
      display: none; /* PC端隐藏 */
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      cursor: pointer;
      border: none;
      background: transparent;
      padding: 6px;
      border-radius: 6px;
      transition: background 0.2s;
    }

    .menu-toggle:hover {
      background: #f0f0f0;
    }

    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2.5px;
      background: #333;
      border-radius: 2px;
      transition: all 0.3s ease;
      transform-origin: center;
    }

    /* 汉堡按钮激活 → 变X */
    .menu-toggle.active span:nth-child(1) {
      transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .menu-toggle.active span:nth-child(3) {
      transform: translateY(-7.5px) rotate(-45deg);
    }

    /* ========== 移动端适配 ========== */
    @media (max-width: 768px) {

      .container {
        height: 60px;
        padding: 0 16px;
      }

      /* 显示汉堡按钮 */
      .menu-toggle {
        display: flex;
      }

      /* 移动端菜单变为下拉展开 */
      .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        z-index: 999;
      }

      /* 菜单展开状态 */
      .nav-menu.open {
        max-height: 400px;
      }

      .nav-menu .nav-item {
        width: 100%;
        padding: 0;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s;
      }

      /* 展开时菜单项依次出现 */
      .nav-menu.open .nav-item {
        opacity: 1;
        transform: translateY(0);
      }
      .nav-menu.open .nav-item:nth-child(1) { transition-delay: 0.05s; }
      .nav-menu.open .nav-item:nth-child(2) { transition-delay: 0.1s; }
      .nav-menu.open .nav-item:nth-child(3) { transition-delay: 0.15s; }
      .nav-menu.open .nav-item:nth-child(4) { transition-delay: 0.2s; }
      .nav-menu.open .nav-item:nth-child(5) { transition-delay: 0.25s; }

      .nav-menu .nav-item a {
        display: block;
        padding: 15px 24px;
        font-size: 15px;
        border-bottom: 1px solid #f5f5f5;
      }

      .nav-menu .nav-item:last-child a {
        border-bottom: none;
      }

      .nav-menu .nav-item:hover,
      .nav-menu .nav-item:active {
        background: #fafafa;
      }

      /* 移动端选中下划线改为左边框 */
      .nav-item.active::after {
        display: none;
      }

      .nav-item.active a {
        color: #000;
        font-weight: bold;
        border-left: 3px solid #333;
        padding-left: 21px;
      }
    }
	
		
/*单图轮播*/

.carousel-container {
            max-width: 1200px;
			margin: 35px auto;
            background-color: #ffffff; /* 背景改为白色 */
            position: relative;
            overflow: hidden;
            height: 438px;
			border-radius: 20px; /* 保留圆角 */
        }

        .carousel-inner {
            max-width: 1200px;
            height: 100%;
            margin: 0 auto;
            position: relative;
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%; /* 每张图占满容器宽度 */
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px; /* 保留圆角 */
        }

        .carousel-caption {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: #fff;
            z-index: 2;
            width: 90%;
        }

        .carousel-caption h2 {
            font-size: 32px;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.6);
        }

        .carousel-caption p {
            font-size: 18px;
            opacity: 0.9;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background: rgba(255,255,255,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            cursor: pointer;
            z-index: 3;
            user-select: none;
            transition: background 0.3s;
        }

        .carousel-arrow:hover {
            background: rgba(255,255,255,1);
        }

        .carousel-arrow.prev { left: 20px; }
        .carousel-arrow.next { right: 20px; }

        .carousel-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 3;
        }

        .dot {
            width: 10px;
            height: 10px;
            background: rgba(255,255,255,0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }

        .dot.active {
            background: #fff;
        }
		
/*作者风云榜 · 指数排行*/


        /* --- 容器限制最大宽度，模拟移动端或居中显示 --- */
        .container_news {
            max-width: 1200px;
            margin: 0 auto;
            /*background-color: #fff;*/
            /*min-height: 100vh;*/
          /*  box-shadow: 0 0 10px rgba(0,0,0,0.05);*/
        }

        /* --- 顶部导航栏 --- */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px;
            background-color: #fff;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid #eee;
        }

        .nav-tabs {
            display: flex;
            overflow-x: auto; /* 允许在手机上横向滚动 */
            white-space: nowrap;
            flex-grow: 1;
            margin-right: 15px;
            -webkit-overflow-scrolling: touch; /* iOS顺滑滚动 */
        }

        /* 隐藏滚动条但保留功能 */
        .nav-tabs::-webkit-scrollbar {
            display: none;
        }

        .tab-item {
            padding: 6px 16px;
            margin-right: 10px;
            border-radius: 20px;
            font-size: 14px;
            color: #666;
            background-color: #f0f2f5;
            text-decoration: none;
            flex-shrink: 0;
        }

        .tab-item.active {
            background-color: #1a5c7a; /* 选中状态深蓝 */
            color: #fff;
        }

        .search-box {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 20px;
            padding: 4px 10px;
            min-width: 120px;
        }

        .search-box input {
            border: none;
            outline: none;
            font-size: 12px;
            width: 100%;
            color: #999;
        }

        .search-btn {
            background-color: #1a5c7a;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            cursor: pointer;
        }

        /* --- 新闻列表 --- */
        .news-list {
            list-style: none;
        }

        .news-item {
            display: flex;
            padding: 20px 15px;
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.2s;
        }

        .news-item:hover {
            background-color: #fafafa;
        }

        /* 图片区域 */
        .news-thumb {
            width: 140px;
            height: 95px;
            flex-shrink: 0; /* 防止图片被压缩 */
            border-radius: 8px;
            overflow: hidden;
            margin-right: 15px;
        }

        .news-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 保持图片比例填充 */
        }

        /* 内容区域 */
        .news-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .news-title {
            font-size: 18px;
            font-weight: bold;
            color: #222;
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 限制标题最多显示2行 */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 限制摘要最多显示2行 */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* 底部元数据 (日期、浏览量) */
        .news-meta {
            display: flex;
            align-items: center;
            font-size: 12px;
            color: #999;
        }

        .meta-item {
            display: flex;
            align-items: center;
            margin-right: 15px;
        }

        .meta-item i {
            margin-right: 5px;
            font-size: 12px;
        }

        /* --- 手机端适配 (媒体查询) --- */
        @media screen and (max-width: 480px) {
            .header {
                padding: 10px;
            }
            
            .search-box {
                min-width: auto; /* 手机上搜索框变小 */
                width: 80px;
            }
            
            .search-box input {
                display: none; /* 极小屏幕下隐藏输入框，只留图标，或者根据需要调整 */
            }
            
            .news-item {
                padding: 15px 10px;
            }

            .news-thumb {
                width: 110px; /* 手机上图稍微小一点 */
                height: 80px;
                margin-right: 10px;
            }

            .news-title {
                font-size: 16px;
            }

            .news-desc {
                font-size: 13px;
                -webkit-line-clamp: 2; 
            }
        }



       /* --- 容器布局 --- */
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .main-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap; /* 允许换行，适配移动端 */
            gap: 40px;
            margin-bottom:0px;
        }

        /* --- 通用列样式 --- */
        .col {
            flex: 1;
            min-width: 240px; /* 防止在极窄屏幕下挤压 */
        }

        h3 {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 25px;
            color: #000;
        }

        /* --- 左侧：矩阵号列表 --- */
        .social-list {
            list-style: none;
        }

        .social-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #eaeaea;
            font-size: 15px;
        }

        .social-item:last-child {
            border-bottom: none;
        }

        .icon-box {
            width: 24px;
            height: 24px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-box svg {
            width: 100%;
            height: 100%;
        }

        /* --- 中间：二维码区域 --- */
        .qr-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 0 0 auto; /* 中间列不自动伸缩 */
            margin: 0 auto; /* 移动端居中 */
        }

        .qr-placeholder {
            width: 140px;
            height: 140px;
            border: 1px solid #ddd;
            border-radius: 16px; /* 圆角矩形 */
            background-color: #f9f9f9;
            margin-bottom: 15px;
        }

        .qr-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .qr-desc {
            font-size: 14px;
            color: #666;
        }

        /* --- 右侧：友情链接 --- */
        .link-list {
            list-style: none;
        }

        .link-list li {
            margin-bottom: 12px;
        }

        .link-list a {
            font-size: 15px;
            color: #333;
        }

        .link-list a:hover {
            color: #1890ff;
        }

        /* --- 底部版权信息 --- */
        .copyright-bar {
            border-top: 1px solid #eaeaea;
            padding-top: 20px;
            text-align: center;
            font-size: 12px;
            color: #999;
            line-height: 2;
        }

        .copyright-bar p {
            margin-bottom: 5px;
        }

        /* --- 响应式适配 (手机端) --- */
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column; /* 改为垂直排列 */
                gap: 30px;
            }

            .col {
                width: 100%; /* 占满宽度 */
                min-width: auto;
            }

            /* 调整手机端顺序：通常二维码或主要信息在前，或者保持原序 */
            /* 这里保持原序：矩阵号 -> 二维码 -> 链接 */

            .qr-section {
                order: 2; /* 确保二维码在中间或者根据需求调整 */
                margin: 20px 0;
            }

            .social-item {
                padding: 15px 0; /* 增加点击区域高度 */
            }
        }
		.hc_txt { margin:2%;}
		.hc_txt img{ width:100%; height:auto; max-width:95%;border-radius: 5px;}
 @media (max-width: 768px) {
 .search-box{ display:none;}
 .copyright-bar{ padding:20px;}
 .logo-area img{ width:80%;}
 .carousel-container {margin:5px;border-radius: 5px;}
 .carousel-slide img {border-radius: 5px;}
 .carousel-track {white-space: nowrap;overflow-y: auto;}
.linimg{ width:100%;}
.qr-section img{ width:100%;}
.nonebox{ display:none;}
.slider-wrapper{white-space: nowrap; overflow-y: auto;}
.carousel-caption h2{ font-size: 20px;}
.carousel-caption p{font-size: 14px;}
 }
