@red: #da0300;
@blue: #0d1558;
@gray3a: #3a3a3a;
@0e0e0d: #0e0e0d;
@020202: #020202;
@aeaeae: #aeaeae;
@c7c7c7: #c7c7c7;
@666666: #666666;
@c9c9c9: #c9c9c9;
@e7e7e7: #e7e7e7;
@b6b6b6: #b6b6b6;
@f0f0f0: #f0f0f0;
@f6f6f6: #f6f6f6;
@bfbfbf: #bfbfbf;
@grayd4: #d4d4d4;
@grayc1: #c1c1c1;
@grayee: #eeeeee;
@graye1: #e1e1e1;
@orange: #ff7200;
@gray2c: #2c2c2c;
@dcdcdc: #dcdcdc;
@white: white;
@black: black;
@a6a8bf: #a6a8bf;
@images: "../images/";
@font_weight: 400;
@min_width:768px;

@font-size-base: 1rem;
/* ========== 图片列表样式 ========== */
.sub_pic_list_wh {
  .list {
    ul {
      margin: 0 15px;
      margin-top: 25px;
      padding: 0;
      padding-bottom: 5px;

      li {
        list-style: none;
        margin-top: 20px;
        margin-bottom: 0;

        a {
          display: flex;
          justify-content: center;
          align-items: center;
          flex-flow: column;
          text-decoration: none;

          /* 图片容器 */
          .img {
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 215px;
            border-radius: 4px;
            transition: all 0.3s;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
              transform: scale(1);
            }

            /* 遮罩层 (可选) */
            &::after {
              content: "";
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0,0,0,0.03);
              opacity: 0;
              transition: opacity 0.3s;
            }
          }

          /* 文字描述 */
          .txt {
            width: 100%;
            font-size: 16px;
            color: @gray3a;
            line-height: 50px;
            height: 50px;
            text-align: center;
            border: 1px solid @grayee;
            transition: all 0.3s;
          }

          /* 悬停效果 */
          &:hover {
            .img {
              img {
                transform: scale(1.08);
              }

              &::after {
                opacity: 1;
              }
            }

            .txt {
              background-color: @red;
              color: @white;
              border-color: @red;
            }
          }
        }
      }
    }

    /* PC端适配 */
    @media (min-width: @min_width) {
      ul {
        margin: 0 40px;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;

        li {
          width: calc(~"33.333% - 28.3333px");
          margin-top: 40px;

          &:nth-child(3n-1) {
            margin: 0 40px;
            margin-top: 40px;
          }

          a {
            .img {
              height: 240px; 
            }

            .txt {
              margin-top: 1px;
              line-height: 40px;
              height: 40px;
              font-size: 16px;
              background-color: @f0f0f0;
              padding: 0 15px;
              border: 0;
            }
          }
        }
      }
    }
  }
}

//正文标题
.sub_show_title_wh{
  overflow: hidden;
  h1{
    display: inline-block;
    line-height: 35px;
    font-size: 22px;
    margin: 0;
    margin-top: 10px;
    padding: 0 15px;
    color: @black;
    font-weight: bold;
  }
  .line-ee-1{
    margin-top: 20px;
  }
  ul{
    padding: 0 15px;
    margin: 0;
    margin-top: 18px;
    padding-bottom: 14px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    &:after{
      position: absolute;
      bottom: 0;
      left: 0;
      content: "";
      z-index: 1;
      width: 100%;
      height: 1px;
      background-color: #d4d4d4;
      transform: scaleY(0.5);
      @media (min-width: @min_width) {
        transform: scaleY(1);
      }
    }
    &:before{
      position: absolute;
      top: 0;
      left: 0;
      content: "";
      z-index: 1;
      width: 100%;
      height: 1px;
      background-color: #d4d4d4;
      transform: scaleY(0.5);
      @media (min-width: @min_width) {
        transform: scaleY(1);
      }
    }

    li{
      list-style: none;
      line-height: 12px;
      font-size: 12px;
      margin-top: 12px;
      padding-right: 32px;
      position: relative;
      color: @gray3a;
      &:after{
        position: absolute;
        content: "";
        right: 16px;
        top: 0;
        bottom: 0;
        background-color: #d4d4d4;
        width: 1px;
        transform: rotateX(0.5);
      }
      &:last-child{
        &:after{
          display: none;
        }
      }
      a{
        color: @blue;
      }
      &:hover,
      &.active{
        a{
          font-weight: bold;
        }
      }
    }
  }


  @media (min-width: @min_width) {
    padding: 0;
    text-align: center;
    h1{
      margin: 0;
      margin-top: 24px;
      padding: 0;
    }
    .line-ee-1{
      margin-top: 30px;
    }
    ul{
      margin-top: 28px;
      padding: 0;
      padding-bottom: 16px;
      justify-content: center;
      li{
        margin-top: 16px;
        line-height: 14px;
        font-size: 14px;
        color: @gray3a;
        a{
          color: @gray3a;
        }
      }
    }
  }
}

//正文
.sub_show_wh{
  overflow: hidden;
  padding: 20px 15px;
  *{
    color: @gray3a;
    font-size: 18px;
    line-height: 35px;
    text-align: justify;
  }
  @media (min-width: @min_width) {
    padding: 30px 55px 55px 55px;
    *{
      font-size: 16px;
      line-height: 35px;
    }
  }
}
.sub_show2_wh{
  padding-top: 20px;
  @media (min-width: @min_width) {
    padding-top: 41px;
  }
}
