@charset "utf-8";
.cases {
  margin: 0 auto;
  width: 1200px;
  margin-bottom: 100px;
}
.cases .project {
  width: 100%;
  display: grid;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fill, 32%);
  margin-top: 40px;
}
.cases .project li {
  width: 100%;
  margin-bottom: 33px;
}
.cases .project li .caseImg {
  width: 100%;
  /* height: 256px; */
  overflow: hidden;
}
.cases .project li .caseImg img {
  width: 400px;
  /*height: 300px;*/
  transition: all ease 0.5s;
}
.cases .project li:hover .caseImg img{
transform: scale(1.05);
}
.cases .project li:hover h3{
color: #d69962;
}
.cases .project li h3 {
  width: 95%;
  padding: 0 2.5%;
  font-size: 23px;
  font-weight: bold;
  color: #585858;
  line-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  margin: 12px 0 5px;
text-align:center
}
.cases .project li p {
  width: 95%;
  padding: 0 2.5%;
  font-size: 16px;
  font-weight: 400;
  color: #585858;
  line-height: 27px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp: 3;
  overflow:hidden;
  text-align: justify;
}
.cases .total {
  width: 300px;
  margin: 0 auto;
}
.cases .total ul {
  margin-top: 70px;
}
.cases .total ul li {
  width: 36px;
  background: #ffffff;
  border: 1px solid #dbe3e8;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #1d2738;
  line-height: 36px;
  text-align: center;
  margin: 0px 2px;
}
.cases .total ul li.active {
  width: 36px;
  background: #ffffff;
  border: 1px solid #d69962;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #d69962;
  line-height: 36px;
  text-align: center;
  margin: 0px 2px;
}
.cases .total ul .num {
  font-size: 14px;
  font-weight: 500;
  color: #1d2738;
  line-height: 12px;
  margin-left: 12px;
}
.cases .newTop {
  justify-content: unset;
}
.cases .newTop li {
  text-align: center;
  margin-right: 37px;
}
.cases .newTop li a {
  font-size: 18px;
  font-weight: 500;
  color: #555555;
  line-height: 39px;
}
.cases .newTop li.active a,.cases .newTop li:hover a {
  font-size: 18px;
  font-weight: bold;
  color: #d69962;
  line-height: 48px;
}
.cases .newTop li .line {
  width: 100%;
  height: 2px;
  background: #d69962;
  margin: 0 auto;
  display: none;
}
.cases .newTop li:hover .line ,.cases .newTop li.active .line {
  display: block;
}

.pager {
    width: 97%;
    padding: 40px 0 20px;
    text-align: center;
}