body {
  font-family: Microsoft YaHei;
  width: auto;
  height: auto;
  font-size: 18px;
  margin: 0;
  padding: 0;
}
a {
  cursor: pointer;
}
a:hover {
  color: var(--primary-color);
}
button {
  outline: none;
  border: none;
  background: none;
}
input {
  outline: none;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/* 清除浮动 */
.cf:after {
  display: block;
  content: "";
  height: 0;
  visibility: hidden;
  clear: both;
}
.main {
  width: 1200px;
  margin: 0 auto;
}

/* 内容部分 */
body .container {
  width: 100%;
  padding: 40px 0;
}
.container .container-banner {
  height: 240px;
  overflow: hidden;
  margin-bottom: 40px;
}
.mySwiperBanner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}
.content_list .list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f6f6f6;
  border-radius: 8px;
  height: 380px;
  position: relative;
  overflow: hidden;
}
.list-item-icon {
  width: 100px;
  height: 100px;
  position: relative;
  margin-bottom: 32px;
  margin-top: 30px;
}
.list-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-item-icon::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
}
.list-item-icon.wechat::after {
  background: url("wechat.png") no-repeat center;
  background-size: cover;
}
.list-item-icon.sph::after {
  background: url("sph.png") no-repeat center;
  background-size: cover;
}
.list-item-icon.dy::after {
  background: url("dy.png") no-repeat center;
  background-size: cover;
}
.list-item-icon.wb::after {
  background: url("wb.png") no-repeat center;
  background-size: cover;
}
.list-item-title-h3 {
  font-size: 20px;
  padding: 0 10px;
  color: #999999;
  margin-bottom: 10px;
  text-align: center;
}
.list-item-attest {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
}
.list-item-attest img {
  width: 18px;
  height: 18px;
  object-fit: cover;
}
.list-item-attest span.list-item-attest-span {
  font-size: 14px;
  color: #999999;
}
.list-item-content {
  font-size: 14px;
  color: #999999;
  line-height: 28px;
  text-indent: 2em;
  padding: 0 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-item-reversion {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--tran-color);
  color: white;
  transition: all 0.5s ease;
  opacity: 0;
  border-radius: 8px;
}
.list-item-reversion .reversion-title {
  color: #ffffff;
  line-height: 30px;
  font-size: 20px;
  padding: 0 40px;
  text-align: center;
  margin-bottom: 30px;
}
.list-item-reversion .reversion-img {
  background: #ffffff;
  border-radius: 8px;
  width: 190px;
  height: 190px;
  padding: 10px;
}
.list-item-reversion .reversion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 不同方向的动画效果 */
.list-item.top .list-item-reversion {
  transform: translateY(-100%);
  opacity: 1;
}

.list-item.right .list-item-reversion {
  transform: translateX(100%);
  opacity: 1;
}

.list-item.bottom .list-item-reversion {
  transform: translateY(100%);
  opacity: 1;
}

.list-item.left .list-item-reversion {
  transform: translateX(-100%);
  opacity: 1;
}

/* 悬停时的动画 */
.list-item:hover .list-item-reversion {
  transform: translate(0, 0);
  opacity: 1;
}