.third-page {
  background: linear-gradient(183.12deg, #ffffff 25.74%, #f5f5f5 93.6%);
}
.third-page .third-header {
  width: 100%;
  height: calc(30vh - 4em);
  padding: 2em 6em;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: linear-gradient(183.12deg, #ffffff 25.74%, #f5f5f5 93.6%);
}
.third-page .third-header .third-header-title {
  width: 100%;
  height: 50%;
  display: flex;
  align-items: flex-end;
}

.third-page .third-header .third-header-title h1 {
  font-size: 2em;
  font-weight: bold;
  color: #000;
}
.third-page .third-header .third-header-title span {
  font-size: 1.2em;
  color: #848484;
}
.third-page .third-header .more {
  width: 5.5em;
  height: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.third-page .third-header .more span {
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1em;
}
.third-page .third-header .more img {
  width: auto;
  height: 100%;
  object-fit: fill;
}
.third-page .third-content {
  width: 100%;
  height: calc(70vh - 4em);
  display: flex;
  flex-direction: column;
  padding: 0 6em 2em 6em;
  background: rgba(245, 245, 245, 1);
  background-image: url('../img/third-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.third-page .third-content .third-box-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 2em; */
  position: relative;
}
.third-page .third-content .third-box-content .third-box {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  /* 添加过渡效果 */
  transition: transform 0.5s ease-in-out, width 0.5s ease-in-out,
    height 0.5s ease-in-out;
  will-change: transform;
  color: #000;
  border-radius: 1em;
  text-decoration: none;
  overflow: hidden;
}

.third-page .third-content .third-box-content .box-min {
  z-index: 9;
}

.third-page .third-content .third-box-content .box-max {
  z-index: 10;
}
.third-page .third-content .third-box-content .third-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.third-page .third-content .third-box-content .third-box p {
  width: 100%;
  flex: 1;
  font-size: 1rem;
  padding: 0 0.5rem;
  text-align: center;
  line-height: 1.5rem;
  color: rgba(49, 49, 49, 1);
  max-height: 3rem;
  min-height: 3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.third-page .third-content .third-box-content .third-box span {
  width: 100%;
  flex: 1;
  /* max-height: 2rem; */
  -webkit-clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
  background: linear-gradient(85.43deg, #c875f0 -6.33%, #4a6cf7 90.46%);
}
.third-page .third-content .third-box-dots {
  width: 100%;
  height: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.third-page .third-content .third-box-dots .dot {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  border: 0.1em solid #ffffff;
  margin: 0 1em;
  cursor: pointer;
  position: relative;
}
.third-page .third-content .third-box-dots .dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  display: block;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  text-align: center;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
}
.third-page .third-content .third-box-dots .active {
  transform: scale(1.2);
  transform-origin: center center;
}
.third-page .third-content .third-box-dots .active::after {
  content: attr(data-index);
  color: #ffffff;
  background-color: transparent;
}
@media (max-width: 768px) {
  .third-box-content {
    height: 100%;
  }
  .third-page .third-header {
    padding: 1rem;
  }
  .third-page .third-content {
    padding: 1rem;
    height: calc(45vh - 4em);
  }
  .third-page .third-content .third-box-content .third-box {
    height: 100%;
  }
  .third-page .third-content .third-box-content .box-min {
    display: none;
  }
}