.fwtx-main {
  background: url("../img/fwtx_bg.png") no-repeat center center;
  background-size: cover;
}

body.page-about-sub {
  --about-h5-bg-image: url("../img/h5/fwtx_bg.png");
}

.fwtx-main .page-wrap {
  padding: 51px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  position: relative;
}

.fwtx-main .page-content {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fwtx-main .page-content::-webkit-scrollbar {
  display: none;
}

.fwtx-main .about-features {
  flex-shrink: 0;
  margin-top: 35px;
  margin-bottom: 50px;
}

/* 五卡：设计 1150px，矮屏/窄屏自适应 */
.fwtx-cards {
  display: flex;
  gap: 20px;
  width: 1150px;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0 auto;
}

.fwtx-card {
  width: 214px;
  height: 558px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.fwtx-pic {
  width: 100%;
  height: 267px;
  flex-shrink: 0;
  overflow: hidden;
}

.fwtx-pic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fwtx-info {
  flex: 1;
  min-height: 0;
  padding: 20px 20px 16px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fwtx-info::-webkit-scrollbar {
  display: none;
}

.fwtx-info h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  margin-top: 0;
}

.fwtx-line {
  display: block;
  width: 50px;
  height: 4px;
  background: #E10600;
  margin-top: 10px;
  margin-bottom: 16px;
}

.fwtx-info p {
  width: 174px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

@media (min-width: 993px) {
  /* 363 = 90 头 + 86 脚 + 51 顶距 + 136 底部五块导航预留 */
  .fwtx-main .page-content {
    padding-bottom: 136px;
    box-sizing: border-box;
  }

  .fwtx-card {
    height: min(558px, calc(100vh - 363px));
    max-height: calc(100vh - 363px);
  }

  .fwtx-pic {
    height: min(267px, 48%);
    max-height: 267px;
    flex-shrink: 0;
  }
}

/* 15 寸笔记本等窄桌面：五卡等比缩宽，避免右侧裁切 */
@media (min-width: 993px) and (max-width: 1500px) {
  .fwtx-cards {
    width: 100%;
    max-width: 1150px;
    gap: clamp(8px, 1.2vw, 20px);
    justify-content: center;
  }

  .fwtx-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 214px;
  }

  .fwtx-info p {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .fwtx-main .page-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .fwtx-main .about-features {
    width: 100%;
  }

  .fwtx-cards {
    gap: 12px;
  }

  .fwtx-info p {
    font-size: 12px;
    line-height: 19px;
  }
}

@media (min-width: 993px) and (max-height: 820px) {
  .fwtx-main .page-wrap {
    padding-top: 28px;
  }

  .fwtx-card {
    height: min(480px, calc(100vh - 340px));
    max-height: calc(100vh - 340px);
  }

  .fwtx-pic {
    height: min(220px, 45%);
  }

  .fwtx-info {
    padding-top: 14px;
  }

  .fwtx-info p {
    font-size: 12px;
    line-height: 18px;
  }
}
