@import "init.css";

/* .topnav {
   position: relative;
} */

.container {
   width: 90%;
   margin: 0 auto;
}

/*列表*/
.list-container {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-column-gap: 4vw;
   grid-row-gap: 140px;
   width: 100%;
   margin-top: 110px;
   margin-bottom: 170px;
}

.list-item {
   position: relative;
   overflow: hidden;
   display: block;
   cursor: pointer;
}

.list-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.6s;
}

.list-item:hover img {
   scale: 1.1;
   filter: brightness(0.5);
}

.cover {
   aspect-ratio: 16 / 9;
   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/img40.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(10px, 1vw, 12px);
   color: #706c64;
   text-decoration: underline;
}

.morespace {
   width: 100%;
   height: 220px;
}




/* 响应式布局 */
@media (max-width: 1280px) {

   .list-container {
      grid-template-columns: repeat(2, 1fr);
      margin-top: 70px;
      grid-row-gap: 80px;
   }
}

@media (max-width: 767px) {

   .banner-text .enbannertext {
      font-size: 0.8rem;
   }

   .list-container {
      margin-top: 0.9rem;
      grid-row-gap: 0.9rem;
      grid-template-columns: repeat(1, 1fr);
	  margin-bottom: 1.5rem;
   }

   .list-title {
      font-size: 0.29rem;
      margin: 10px 0 3px;
   }

   .cover {
      margin-top: 0.23rem;
   }


}