﻿/* 顶部栏目导航样式 */
      .gjnav-he {
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        padding: 0;
        margin-bottom: 30px;
        position: relative;
        z-index: 10;
      }

      .gjh-subcolumn-nav {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
      }

      .gjh-subcolumn-nav .box {
        overflow: hidden;
        position: relative;
      }

      .gjh-sidebar-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        transition: transform 0.3s ease;
      }

      .gjh-sidebar-menu li {
        flex-shrink: 0;
        position: relative;
      }

      .gjh-sidebar-menu li a {
        display: block;
        padding: 20px 30px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        font-weight: 400;
        transition: all 0.3s ease;
        position: relative;
        border-bottom: 2px solid transparent;
      }

      .gjh-sidebar-menu li a:hover {
        color: #c81e1e;
        background-color: #f8f9fa;
      }

      .gjh-sidebar-menu li.active a,
      .gjh-sidebar-menu li a.active {
        color: #c81e1e;
        font-weight: 600;
        border-bottom: 2px solid #c81e1e;
        background-color: #fff;
      }

      /* PC端样式 */
      @media (min-width: 769px) {
        .gjnav-he {
        margin-top: -50px;           /* 向上浮动50像素 */
        box-shadow: 0 0 2px 1px #ccc; /* 添加盒子阴影 */
        width: 98%;                  /* 宽度设为98% */
        margin-left: auto;           /* 左右居中 */
        margin-right: auto;          /* 左右居中 */
        }

        .gjh-sidebar-menu {
          justify-content: center;
          flex-wrap: nowrap;
        }
        
        .gjh-sidebar-menu li a {
          padding: 20px 40px;
        }
      }

      /* 移动端样式 */
      @media (max-width: 768px) {
        .gjnav-he {
          margin-bottom: 0;
        }

        .gjh-subcolumn-nav .box {
          overflow-x: auto;
          overflow-y: hidden;
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          -ms-overflow-style: none;
        }

        .gjh-subcolumn-nav .box::-webkit-scrollbar {
          display: none;
        }

        .gjh-sidebar-menu {
          justify-content: flex-start;
          min-width: max-content;
        }

        .gjh-sidebar-menu li a {
          padding: 15px 20px;
          font-size: 15px;
          min-width: max-content;
        }

        /* 移动端滑动提示 */
        .gjh-subcolumn-nav::after {
          content: '';
          position: absolute;
          right: 0;
          top: 0;
          bottom: 0;
          width: 20px;
          background: linear-gradient(to right, transparent, rgba(255,255,255,0.8));
          pointer-events: none;
          z-index: 1;
        }
      }

      @media (max-width: 480px) {
        .gjh-sidebar-menu li a {
          padding: 12px 16px;
          font-size: 14px;
        }
      }