main{
  margin-top: 20px;
}
main .row{
  max-width: 1400px;
}
.row .title{
  font-size: 16px;
  padding: 0 0 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
main .row .all-item{
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: repeat(3,1fr);
  column-gap: 20px;
}
main .row .all-item .item{
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
}
main .row .all-item .item .img{
  width: 65%;
}
main .row .all-item .item .img img{
  width: 100%;
  border-radius: 10px;
}
main .row .all-item .item:nth-child(1){
  grid-row: 1/span 3;
  grid-column: 1/span 1;
  display: flex;
  flex-direction: column;
}
main .row .all-item .item:nth-child(1) .img{
  width: 100%;
}
main .row .all-item .item .content{
  width: 100%;
}
main .row .all-item .item .content h3{
  font-size: 18px;
  line-height: 26px;
  overflow: hidden; /* 隐藏超出部分 */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 保留两行 */
  -webkit-box-orient: vertical; /* 垂直排列 */
  text-overflow: ellipsis; /* 显示省略号 */
}
main .row .all-item .item .content p{
  font-size: 12px;
  line-height: 24px;
  color: #595959;
  padding-top: 20px;
  overflow: hidden; /* 隐藏超出部分 */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 保留两行 */
  -webkit-box-orient: vertical; /* 垂直排列 */
  text-overflow: ellipsis; /* 显示省略号 */
}
main .row .all-item .item .content span{
  font-size: 12px;
  line-height: 24px;
  color: #595959;
  padding-top: 6px;
  display: inline-block;
}



.row-1{
  margin-top: 30px;
}
.row-1 .title{
  font-size: 16px;
  padding: 0 0 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.row-1 .item-all{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  column-gap: 20px;
}
.row-1 .item-all .item .img{
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
.row-1 .item-all .item .img img{
  width: 100%;
}
.row-1 .item-all .item:hover .img>img{
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1.3); 
}
.row-1 .item-all .item:hover{
  cursor: pointer;
}
.row-1 .item-all .item:hover .content{
  text-decoration: underline;
}
.row-1 .item-all .item{
  position: relative;
  margin-bottom: 20px;
}
.row-1 .item-all .item .content{
  position: absolute;
  bottom: 0;
  padding: 10px;
  color: #fff;
}
.row-1 .item-all .item .content p{
  line-height: 20px;
  overflow: hidden; /* 隐藏超出部分 */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 保留两行 */
  -webkit-box-orient: vertical; /* 垂直排列 */
  text-overflow: ellipsis; /* 显示省略号 */
  font-size: 12px;
}












.classify{
  max-width: 1400px;
  margin: auto;
  padding-top: 20px;
  min-height: 100px;
}
.classify .left{
  width: 65%;

}
.classify .left .item-all{
  min-height: 800px;
}
.classify .left .title{
  font-size: 16px;
  padding: 0 0 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.classify .left .p span{
  display: block;
  padding: 0 15px 0 15px;
  height: 35px;
  background-color: #254267;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  position: relative;
  line-height: 35px;
}
.classify .left .p span::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -50px;
  width: 0;
  height: 0;
  border-bottom: 35px solid #254267;
  border-left: 50px solid transparent;
  -webkit-transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.classify .left .item-all .item{
  display: flex;
  padding:20px 0 20px 0;
  border-top: 1px solid #ebebeb;
}
.classify .left .item-all .item .img{
  width: 30%;
}
.classify .left .item-all .item .img img{
  width: 100%;
}
.classify .left .item-all .item .intro{
  width: 70%;
  margin-left: 20px;
  line-height: 30px;
  color: #333;
}
.classify .left .item-all .item .intro p{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 限制在一行内 */
  overflow: hidden;
  font-size: 12px;
}


.classify{
  display: flex;
  justify-content: space-between;
}
.classify .right{
  width: 30%;
}
.classify .right .content{
  padding-bottom: 40px;
}
.classify .right .title{
  font-size: 16px;
  padding: 0 0 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.classify .right .p span{
  display: block;
  padding: 0 15px 0 15px;
  height: 35px;
  background-color: #254267;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  position: relative;
  line-height: 35px;
}
.classify .right .p span::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -50px;
  width: 0;
  height: 0;
  border-bottom: 35px solid #254267;
  border-left: 50px solid transparent;
  -webkit-transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.classify .right .two .item-all{
  min-height: 500px;
  padding: 10px;
}
.classify .right .two .item-all .item{
  display: flex;
  margin-bottom: 20px;
  border-top: 1px solid #ebebeb;
  padding-top: 10px;
}
.classify .right .two .item-all .item .img{
  width: 35%;
}
.classify .right .two .item-all .item .img img{
  width: 100%;
}
.classify .right .two .item-all .item .intro{
  padding-left: 20px;
  width: 65%;
  color: #333;
  line-height: 26px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* 限制在一行内 */
  overflow: hidden;
}
.classify .right .two .item-all .item .intro h3{
  background-color: #000;
  color: #ffffff;
  padding-left: 6px;
  font-size: 16px;
}
.classify .right .two .item-all .item .intro p{
  font-size: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 限制在一行内 */
  overflow: hidden;
}




.thirdly-section{
  margin-top: 30px;
}
.thirdly-section .title{
  font-size: 16px;
  padding: 0 0 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.thirdly-section .item-all{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 20px;
}
.thirdly-section .item-all .item .content{
  padding: 10px 0 20px 0;
  color: #000;
  line-height: 20px;
}
.thirdly-section .item-all .item .content{
  line-height: 24px;
}
.thirdly-section .item-all .item .img img{
  width: 100%;
  border-radius: 10px;
}
.thirdly-section .item-all .item:hover{
  cursor: pointer;
}







@media screen and (min-width:1400px){
  main .row .all-item .item:hover .content>h3{
    text-decoration: underline;
  }
}

@media screen and (max-width:1335px){
  main{
    padding: 0 8px 8px 8px;
  }
}

@media screen and (max-width:1200px){
  .classify{
    flex-wrap: wrap;
  }
  .classify .left{
    width: 100%;
  }
  .classify .right{
    width: 100%;
  }
  .classify .right .two .item-all{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 20px;
  }
  .classify .right .two .item-all .item .intro p{
    line-height: 20px;
  }
  .classify .right .two .item-all{
    min-height: 100px;
  }
}
@media screen and (max-width: 900px){
  .row-1 .item-all{
    grid-template-columns: repeat(2, 1fr);
  }
  main .row .all-item{
    grid-template-columns: repeat(1, 1fr);
  }
  main .row .all-item .item{
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 776px){ 
  .row-1 .title{
    font-size: 14px;
  }
  .row-1 .item-all{
    grid-template-columns: repeat(1,1fr);
  }
  .classify .left .item-all .item{
    flex-wrap: wrap;
  }
  .classify .left .item-all .item .img{
    width: 100%;
  }
  .classify .left .item-all .item .intro{
    width: 100%;
    margin: 0;
  }
  .classify .right .two .item-all{
    grid-template-columns: repeat(1,1fr);
  }
  .thirdly-section .item-all{
    grid-template-columns: repeat(1,1fr);
  }
  .thirdly-section .item-all .item{
    display: flex;
    padding: 0 0 20px 0;
  }
  .thirdly-section .item-all .item .img{
    width: 40%;
  }
  .thirdly-section .item-all .item .content{
    width: 56%;
    padding: 0 0 0 20px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .thirdly-section .item-all .item .content p{
    line-height: 20px;
  }
  .thirdly-section .title{
    font-size: 14px;
  }
  
  main .row .all-item .item .content p{
    display: none;
  }
  main .row .all-item .item .content h3{
    font-size: 16px;
  }
  .classify .right .content{
    padding: 0;
  }
  .thirdly-section{
    margin: 0;
  }
}


@media screen and (max-width:340px) {
  
  .classify .left .item-all .item .intro{
    line-height: 24px;
  }
  .classify .left .item-all .item .intro p{
    font-size: 12px;
  }
  .recommend .base .box{
    padding: 0 10px 0 10px;
  }
  .classify{
    padding: 10px 10px 0 10px;
  }
  .classify .right .two .item-all .item .intro{
    padding-left: 4px;
    line-height: 22px;
  }
  .classify .right .two .item-all .item .intro h3{
    font-size: 14px;
  }
  .classify .right .two .item-all .item .intro p{
    font-size: 12px;
  }
}