@import "init.css";

/* .topnav {
   position: relative;
} */

.container {
   width: 90%;
   margin: 0 auto;
}

/*列表*/
.list-container {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-column-gap: 2vw;
   grid-row-gap: 140px;
   width: 100%;
   margin-top: 110px;
   margin-bottom: 170px;
}

.list-item {
   position: relative;
   overflow: hidden;
   display: block;
}

.list-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.6s;
}

.list-item:hover img {
   scale: 1.1;
}

.cover {
   width: 100%;
   height: auto;
   overflow: hidden;
   position: relative;
}

.cover i {
   display: block;
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: 9;
   background-color: rgba(0, 0, 0, 0.1);
   background-image: url(../images/img38.png);
   background-size: 60px auto;
   background-repeat: no-repeat;
   background-position: center center;
   opacity: 0;
   transition: all 0.6s;
}

.list-item:hover i {
   opacity: 1;
}

.list-title {
   font-size: clamp(16px, 1vw, 18px);
   line-height: 1.5;
   margin: 30px 0 5px;
}

.list-number {
   font-size: clamp(1.375rem, 1.2061rem + 0.3518vw, 1.625rem);
   /*22-26px*/
   line-height: 1;
   margin-bottom: 20px;
}

.view-more {
   display: flex;
   align-items: center;
   cursor: pointer;
   justify-content: space-between;
}

.view-more .view-date {
   font-size: clamp(14px, 1vw, 15px);
   color: #706c64;
}

/*案例详情样式*/

.detail-container {
   display: flex;
   justify-content: space-between;
   padding: 90px 3% 200px;
   width: 100%;
   margin: 0 auto;
}

.detail-container .left {
   width: 27%;
}

.detail-container .right {
   width: 65%;
   max-width: 1000px;
}


/*左边文字*/
.article-title {
   font-size: 32px;
   border-bottom: var(--vigreen) 1px solid;
   width: 100%;
   min-height: 130px;
   line-height: 1.3;
   margin-bottom: 75px;
}

.para ul li {
   margin-bottom: 60px;

}

.para ul li p {
   font-size: 16px;
   line-height: 1.5;
   margin-bottom: 5px;
   color: var(--text-subtitle);
}

.para ul li p:first-child {
   font-size: 14px;
}

.para a {
   color: var(--text-subtitle);

}

.para a:hover {
   text-decoration: underline;
   text-underline-offset: 5px;
}

.icon-youjiantou {
   font-size: 36px;
   color: var(--text-subtitle);
   opacity: 0.6;
}

.right h5 {
   font-size: clamp(12px, 1vw, 14px);
   color: var(--text-subtitle);
   opacity: 0.6;
   text-align: right;
   font-weight: normal;
   line-height: 1.5;
   min-height: 130px;
}



/* 响应式布局 */
@media (max-width: 1280px) {

   .list-container {
      grid-template-columns: repeat(2, 1fr);
      margin-top: 70px;
      grid-row-gap: 80px;
   }
}

@media (max-width: 767px) {

   .list-number {
      font-size: 0.48rem;
      margin-bottom: 10px;
   }

   .banner-text .enbannertext {
      font-size: 0.8rem;
   }

   .list-container {
      margin-top: 0.9rem;
      grid-row-gap: 1.4rem;
      grid-template-columns: repeat(1, 1fr);
	  margin-bottom: 2rem;
   }

   .list-title {
      font-size: 0.29rem;
      margin: 12px 0 3px;
   }

   .cover {
      margin-top: 0.23rem;
   }

   /*案例详情页*/
   .detail-container {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.2rem 3% 2rem;
      width: 100%;
      margin: 0 auto;
   }

   .detail-container .left {
      width: 100%;
   }

   .detail-container .right {
      width: 100%;
   }

   .icon-youjiantou {
      transform: rotate(90deg);
      display: inline-block;
   }

   .article-title {
      font-size: 0.5rem;
      margin-bottom: 1rem;
   }

   .para ul li {
      margin-bottom: 0.7rem;

   }

   .list-item:hover img {
      scale: 1;
   }

}