.main {
  padding-top: 80px;
  padding-bottom: 50px
}

.main.grey {
  background: #fafafa
}

.case-list {}

.case-list ul {
  margin: -40px -10px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap
}

.case-list ul li {
  width: 33.33333333%;
  padding: 0 10px;
  margin: 40px 0 0;
  box-sizing: border-box
}

.case-list ul li .box {
  border-radius: 7px;
  background: #fff;
  overflow: hidden
}

.case-list ul li h5 {
  padding: 15px;
  overflow: hidden;
  text-align: center;
}

.case-list ul li h5 a {
  color: #333;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  overflow:hidden;
  display:-webkit-box !important;
  text-overflow:ellipsis;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  max-height: 56px;
}

.case-list ul li .pic {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative
}

.case-list ul li .pic img {
  width: 100%;
  transition: all 0.3s ease 0s
}

.case-list ul li .txt {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
  transition: opacity 0.2s, transform 0.35s;
  -webkit-transform: scale(0);
  transform: scale(0);
  display: -webkit-flex;
  display: flex;
  text-align: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center
}

.case-list ul li .txt p {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
}
.case-list ul li .txt p span{
	font-size: 18px;
	line-height: 26px;
	color: #fff;
	overflow:hidden;
	display:-webkit-box !important;
	text-overflow:ellipsis;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	height: 52px;
}
.case-list ul li .txt p:hover span{
	color: var(--link-color-hover);
}

.case-list ul li .txt p::after {
  content: "";
  background: url('../images/more.png') no-repeat;
  width: 38px;
  height: 10px;
  display: block;
  margin: 15px auto 0
}

.case-list ul li:hover .box {
  box-shadow: 0 0 12px 0 rgba(227, 230, 230, 0.7)
}

.case-list ul li:hover h5 a {
  color: var(--link-color-hover)
}

.case-list ul li:hover .pic img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05)
}

.case-list ul li:hover .txt {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1)
}

.rtit {
  margin-bottom: 40px
}

.rtit h1 {
  font-size: 36px;
  color: #333;
  line-height: 1;
  font-weight: 700
}

@media screen and (max-width: 1500px) {
  .case-list ul li .txt p {
    font-size: 16px;
    line-height: 1.4
  }
}

@media screen and (max-width: 1300px) {
  .main {
    padding-top: 60px;
  }
  .rtit h1 {
    font-size: 34px
  }

  .case-list ul li h5 a {
    font-size: 18px;
    line-height: 28px
  }
}
@media screen and (max-width: 1199px){
  .main {
    padding-top: 50px;
  }
}
@media screen and (max-width: 991px) {
  .main {
    padding-top: 25px;
    padding-bottom: 30px
  }
  .rtit {
    margin-bottom: 30px;
  }
  .rtit h1 {
    font-size: 30px;
    text-align: center
  }

  .case-list ul {
    margin: -20px -7px 0
  }

  .case-list ul li {
    width: 50%;
    padding: 0 7px;
    margin: 20px 0 0
  }

  .case-list ul li .box {
    border-radius: 7px;
    background: #fff;
    overflow: hidden
  }

  .case-list ul li h5 {
    height: 65px;
    padding: 0 10px
  }

  .case-list ul li h5 a {
    font-size: 17px;
    line-height: 22px;
    height: 44px;
    overflow: hidden
  }

  .case-list ul li .txt {
    display: none
  }

  .case-list ul li:hover .box {
    box-shadow: 0 0 12px 0 rgba(227, 230, 230, 0.7)
  }

  .case-list ul li:hover h5 a {
    color: var(--link-color-hover)
  }

  .case-list ul li:hover .pic img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05)
  }

  .case-list ul li:hover .txt {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@media screen and (max-width: 767px) {
  .rtit h1 {
    font-size: 24px
  }
}