/* case */
.case-content {
  max-width: 1040px;
  width: 100%;
  padding-bottom: 80px;
}

.case-lists .item {
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e5e5;
}

.case-lists .item:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.case-desc-div {
  display: block;
  max-width: 480px;
  margin-right: 30px;
}

.case-title {
  color: #202020;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 5px;
  font-family: 'Rajdhani-Bold';
}

.case-time {
  color: #666;
}

.case-desc-div .text {
  margin-top: 40px;
  -webkit-line-clamp: 4;
}

.case-img-div {
  max-width: 520px;
  width: 100%;
  display: block;
}

.case-img-div .img-div {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.case-img-div .img-div img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: all 1s;
}

.case-img-div .img-div::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  content: '';
  transition: all 1s;
  opacity: 0;
}

.case-img-div .img-div::after {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transform: translate(-50%);
  background: #fff url(/lib/images/index/icon_arrow_right_main.svg) center no-repeat;
  content: '';
  transition: all 1s;
  opacity: 0;
}

.case-lists .item:hover .img-div::before,
.case-lists .item:hover .img-div::after {
  opacity: 1;
  transition: all 1s;
}

.case-lists .item:hover .img-div img {
  transform: scale(1.1);
  transition: all 1s;
}

.case-lists .item:hover .case-title {
  color: #f98202;
}

.case-content .fenye {
  margin-top: 60px;
}

@media (max-width: 1279px) {
  .case-desc-div .text {
    margin-top: 20px;
  }

  .case-title {
    font-size: 28px;
  }

  .case-img-div .img-div::after {
    top: 24%;
  }
}

@media (max-width: 767px)  {
  .case-content {
    padding-bottom: 40px;
  }
  .case-lists .item {
    padding: 20px 0;
    flex-direction: column-reverse;
  }

  .case-img-div {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .case-desc-div {
    max-width: 100%;
    margin-right: 0;
  }

  .case-desc-div .text {
    -webkit-line-clamp: inherit;
  }

  .case-img-div .img-div::after {
    top: 40%;
  } 

  .case-content .fenye {
    margin-top: 40px;
  }
}