.main .page-banner {
  width: 100%;
  aspect-ratio: 1920 / 600;
  min-height: 400px;
  max-height: 600px;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main .page-banner .con {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 20%;
  margin: auto;
}

.main .page-banner .con .title {
  height: 73px;
  line-height: 73px;
  font-weight: bold;
  font-size: 52px;
  color: #1d1d1f;
  text-align: center;
}

.main .page-banner .con .subTitle {
  height: 28px;
  line-height: 28px;
  font-weight: bold;
  font-size: 20px;
  color: #1d1d1f;
  text-align: center;
  margin-top: 12px;
}

.main .page-banner .free-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 58px;
  background: #1870ff;
  border: none;
  border-radius: 100px 100px 100px 100px;
  bottom: 20%;
  font-weight: 500;
  font-size: 20px;
  margin: auto;
  color: #ffffff;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}

.main .fragment {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main .fragment:nth-of-type(odd) {
  background: #eef5ff;
}

.main .fragment:nth-of-type(even) {
  background: white;
}

.fragment > .title {
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  font-size: 36px;
  color: #1d1d1f;
  text-align: center;
  margin-top: 76px;
}

.fragment > .sub-title {
  height: 25px;
  line-height: 25px;
  font-weight: 400;
  font-size: 18px;
  color: #90949e;
  text-align: center;
  margin-top: 10px;
}

.fragment.client {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fragment.client .client-con {
  margin-top: 58px;
}

.fragment.client .client-tab-con {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-bottom: #eff1f7 solid 2px;
}

.fragment.client .client-tab-con .item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex: 1;
  height: 72px;
  border-radius: 8px 8px 0px 0px;
  font-weight: 400;
  font-size: 20px;
  color: #434446;
  text-align: center;
  cursor: pointer;
}

.fragment.client .client-tab-con .item:hover {
  background: #edf7ff;
  color: #1870ff;
}

.fragment.client .client-tab-con .item.active {
  background: #edf7ff;
  color: #1870ff;
  font-weight: bold;
}

.fragment.client .client-tab-con .item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 104px;
  height: 4px;
  margin: 0 auto;
  background: #1870ff;
}

.fragment.client .client-con .client-grid-con {
  width: calc(1198px + 20px);
  height: auto;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin-bottom: 74px;
}

.fragment.client .client-con .client-grid-con .scroll-con {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.5s ease; /* 平滑过渡 */
  margin-top: 14px;
  box-sizing: content-box;
}

.fragment.client .client-con .client-grid-con .item {
  display: grid;
  grid-template-columns: repeat(5, auto); /* 5列，宽度由内容决定 */
  grid-auto-rows: auto; /* 行高由内容决定 */
  column-gap: 26px;
  row-gap: 24px;
  padding: 10px;
  box-sizing: border-box;
}

.fragment.client .client-con .client-grid-con .item img {
  width: 220px;
  height: 80px;
  background: #ffffff;
  border-radius: 8px 8px 8px 8px;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}

.fragment.client .client-con .client-grid-con .item img:hover {
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.fragment.witness {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fragment.witness .info-con {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 58px;
  gap: 18px;
  margin-bottom: 70px;
}

.fragment.witness .info-con .main-info {
  width: 689px;
  height: 480px;
  background: #ffffff;
  padding: 32px;
  box-sizing: border-box;
  border-radius: 12px 12px 12px 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.fragment.witness .info-con .main-info:hover {
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.fragment.witness .info-con .main-info .main-img {
  width: 100%;
  height: 227px;
  border-radius: 12px 12px 12px 12px;
  object-fit: cover;
}

.fragment.witness .info-con .main-info .title {
  margin-top: 24px;
  width: 95%;
  height: 39px;
  line-height: 39px;
  font-weight: bold;
  font-size: 28px;
  color: #1d1d1f;
  text-align: left;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}

.fragment.witness .info-con .main-info .content {
  margin-top: 8px;
  width: 100%;
  height: 119px;
  font-weight: 400;
  font-size: 16px;
  color: #90949e;
  line-height: 30px;
  text-align: left;
  display: -webkit-box;
  display: box; /* add this line for compatibility */
  line-clamp: 4; /* add this line for compatibility */
  box-orient: vertical; /* add this line for compatibility */
  -webkit-line-clamp: 4; /* 显示 4 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fragment.witness .info-con {
  background: transparent;
  border-radius: 12px 12px 12px 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.fragment.witness .info-con .item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.fragment.witness .info-con .info-list {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  gap: 18px;
}

.fragment.witness .info-con .info-list .item {
  width: 493px;
  height: 148px;
  background: #ffffff;
  border-radius: 12px 12px 12px 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.fragment.witness .info-con .info-list .item:hover {
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.fragment.witness .info-con .info-list .item img {
  width: 100px;
  height: 100px;
  border-radius: 12px 12px 12px 12px;
  object-fit: cover;
}

.fragment.witness .info-con .info-list .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin-left: 24px;
  gap: 12px;
}

.fragment.witness .info-con .info-list .col .title {
  width: 100%;
  height: 34px;
  line-height: 34px;
  font-weight: bold;
  font-size: 24px;
  color: #1d1d1f;
  text-align: left;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}

.fragment.witness .info-con .info-list .col .content {
  width: 100%;
  height: 22px;
  font-weight: 400;
  font-size: 16px;
  color: #90949e;
  text-align: left;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}

.fragment.qrCode .qrCode-grid {
  display: grid;
  grid-template-columns: repeat(6, auto); /* 6列，宽度由内容决定 */
  grid-auto-rows: auto; /* 行高由内容决定 */
  column-gap: 83px;
  row-gap: 68px;
  margin-top: 58px;
  margin-bottom: 104px;
}

.fragment.qrCode .qrCode-grid .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fragment.qrCode .qrCode-grid .item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 16px;
}

.fragment.qrCode .qrCode-grid .item .title {
  height: 25px;
  font-weight: 800;
  font-size: 18px;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 4px;
}

.fragment.qrCode .qrCode-grid .item .sub-title {
  height: 20px;
  font-weight: 400;
  font-size: 14px;
  color: #434446;
  text-align: center;
}
