  /* 分类样式 */
  .NyNavList {
      width: 100%;
      border-bottom: 1px solid #e4e2e1;
      position: relative;
      z-index: 9;
      padding: 30px var(--container);

  }

  .NyNavList h1.h1 {
      width: 100%;
      padding: 20px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 24px;
      display: none;
  }

  /* 
    .NyNavList.on {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 99;
    } 
    */

  .NyNav {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      grid-gap: 30px;
      height: 100%;
  }

  .NyNav a {
      position: relative;
      font-size: 16px;
      padding: 0px 15px;
      color: #333;
  }

  .NyNav a::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 4px;
      height: 0%;
      background: var(--color);
      transition: 0.5s;
  }


  .NyNav a:hover::after,
  .NyNav a.active::after {
      height: 100%;
  }


  @media screen and (max-width: 1200px) {
      .NyNav {
          grid-gap: 15px;
      }

  }

  @media screen and (max-width: 720px) {
      .NyNavList {
          background: #fff;
          width: 100%;
          padding: 0px var(--container);
          height: auto;
      }

      .NyNavList h1.h1 {
          display: flex;
      }

      .NyNav {
          width: 100%;
          display: none;
          margin: 0;
          padding: 20px 15px;
          padding-top: 0;
          height: auto;
          box-shadow: none;
      }

      .NyNav a {
          width: 100%;
          padding: 5px 15px;
          border: 1px solid #D9D9D9;
          line-height: 2;
          display: flex;
          justify-content: space-between;
          margin-bottom: -1px;
          height: auto;
      }

      .NyNav a:last-child {
          border: 1px solid #D9D9D9;
      }

      .NyNav a:hover,
      .NyNav a.active {
          background: var(--color);
          color: #fff;
          border: 1px solid var(--color);
      }

      .NyNav a:hover::after,
      .NyNav a.active::after {
          display: none;
      }
  }


  @media screen and (max-width: 460px) {
      .NyNavList h1.h1 {
          font-size: 20px;
      }

      .NyNav a {
          font-size: 14px;
      }
  }