.all-content {
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 3;
}
.all-content .list {
  padding-top: 0.75rem;
  margin: 0 auto;
  width: 81.25%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  /* 一行四列多余两个 */
  /* 一行四列多余三个 */
}
.all-content .list .item {
  margin-bottom: 0.6rem;
  flex-shrink: 0;
  width: 2.655rem;
  position: relative;
  transition: all 0.5s;
}
.all-content .list .item:hover .img img {
  transform: scale(1.05);
}
.all-content .list .item:hover .name {
  color: #e84227;
}
.all-content .list .item .img {
  display: block;
  width: 100%;
  height: 1.8rem;
  overflow: hidden;
  box-shadow: 0px 0px 0.1rem 0px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  background-color: #FFFFFF;
  position: relative;
  transition: all 0.5s;
}
.all-content .list .item .img img {
  margin: auto;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  right: -100%;
  transition: all 0.5s;
}
.all-content .list .item .name {
  margin-top: 0.225rem;
  text-align: center;
  font-size: 0.18rem;
  color: #000000;
  transition: all 0.5s;
}
.all-content .list .item:last-child:nth-child(4n+2) {
  margin-right: calc((100% - 24%) / 3 * 2);
}
.all-content .list .item:last-child:nth-child(4n+3) {
  margin-right: calc((100% - 24%) / 3 * 1);
}
.case-popup {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
}
.case-popup .close {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0.02rem;
  box-sizing: border-box;
  border: 0.02rem solid transparent;
  border-radius: 50%;
  position: absolute;
  top: 2vh;
  right: 5vh;
  cursor: pointer;
  transition: all 0.5s;
}
.case-popup .close:hover {
  border: 0.02rem solid #f0f0f0;
}
.case-popup .close .icon {
  width: 100%;
  height: 100%;
  fill: #f0f0f0;
}
.case-popup .cSwiper {
  width: 50vw;
  height: 80vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
}
.case-popup .cSwiper .img-box {
  width: 100%;
  height: 100%;
}
.case-popup .cSwiper .img-box .img {
  width: 100%;
  height: 90%;
  position: relative;
}
.case-popup .cSwiper .img-box .img img {
  margin: auto;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  right: -100%;
}
.case-popup .cSwiper .img-box .title {
  margin-top: 0.2rem;
  width: 100%;
  font-size: 0.16rem;
  color: #fff;
  text-align: center;
}
.case-popup .prev,
.case-popup .next {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background-color: #fff;
  color: #e84227;
  transition: all 0.5s;
}
.case-popup .prev:hover,
.case-popup .next:hover {
  background-color: #e84227;
  color: #fff;
}
.case-popup .prev::after,
.case-popup .next::after {
  font-size: 0.2rem;
}
.case-popup .prev {
  left: 20%;
}
.case-popup .next {
  right: 20%;
}
.case-popup .swiper-pagination2 {
  position: absolute;
  text-align: center;
  color: #fff;
  font-size: 0.15rem;
  bottom: 0.3rem;
}
@media screen and (max-width: 1020px) {
  .all-content .list {
    padding-top: 0.75rem;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }
  .all-content .list .item {
    margin-bottom: 0.4rem;
    flex-shrink: 0;
    width: 48%;
    position: relative;
    transition: all 0.5s;
  }
  .all-content .list .item .name {
    margin-top: 0.225rem;
    text-align: center;
    font-size: 0.25rem;
    color: #000000;
  }
  .all-content .list .item .name a {
    font-size: 0.25rem;
  }
  .case-popup .close {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0.02rem;
    box-sizing: border-box;
    border: 0.02rem solid transparent;
    border-radius: 50%;
    position: absolute;
    top: 5vh;
    right: 5vh;
    cursor: pointer;
    transition: all 0.5s;
  }
  .case-popup .cSwiper {
    width: 90vw;
    height: 40vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    overflow: hidden;
  }
  .case-popup .cSwiper .swiper-slide {
    overflow: hidden;
  }
  .case-popup .cSwiper .img-box .img img {
    margin: auto;
    height: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: auto;
    right: auto;
  }
  .case-popup .prev,
  .case-popup .next {
    display: none;
  }
  .case-popup .cSwiper .img-box .title {
    margin-top: 0.2rem;
    width: 100%;
    font-size: 0.3rem;
    color: #fff;
    text-align: center;
  }
  .case-popup .swiper-pagination2 {
    position: absolute;
    text-align: center;
    color: #fff;
    font-size: 0.3rem;
    bottom: 10vh;
  }
}
