/* ---------------- 小气泡、打勾图标 begin ---------------- */
/* 小气泡图标 */
.display-warp b {
  background: url(/wp-content/uploads/2021/11/function-tip.png) left no-repeat;
}

/* 打勾图标 */
.feature .name,
.feature::before,
.feature::after,
.feature .info p,
.info p::before,
.info p::after {
  background-image: url(/wp-content/uploads/2022/01/blak-mark-icon.svg);
}

/* 打勾图标：定位 */
.info p::before,
.info p::after,
.feature::before,
.feature::after {
  content: "";
  display: inline-block;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 21.11px;
  height: 19.95px;
  top: 5px;
}

.info p::before,
.feature::before {
  left: calc(100% - 370px);
}

.info p:after,
.feature::after {
  left: calc(100% - 140px);
}

.feature::before,
.feature::after {
  top: 15px;
  z-index: 1;
}

/* 展开图标+：before是竖线，after是横线 */
.feature .name::before,
.feature .name::after {
  content: "";
  width: 2px;
  height: 12px;
  background: #101f3a;
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 29px;
  transition: all 0.2s;
}

.feature .name::after {
  transform: rotate(90deg);
}

/* 展开以后：直接把：before竖线旋转与after重合 */
.feature .name-active::before {
  transform: rotate(90deg);
}

/* 不展开 */
.feature .name.no-expand::before,
.feature .name.no-expand::after {
  display: none;
}
/* ---------------- 小气泡、打勾图标 end ---------------- */

/* ---------------- Optional begin ---------------- */
.feature.optional .name,
.feature.optional::before,
.feature.optional::after {
  content: "Optional";
  background-image: none !important;
}

.feature.optional::before,
.feature.optional::after {
  font-size: 16px;
}

.feature.optional::before {
  left: calc(100% - 390px);
}

.feature.optional::after {
  left: calc(100% - 160px);
}

/* sp的Optional要单独加span元素 */
.feature.optional .optional-sp {
  display: block;
  position: absolute;
  left: calc(100% - 626px);
  top: 0;
  font-size: 16px;
}
/* ---------------- Optional end ---------------- */

/* ---------------- 小气泡 begin ---------------- */
/* 图标 */
.display-warp b {
  display: inline-block;
  background-size: cover;
  background-position: 0 50%;
  width: 19px;
  height: 20px;
  position: relative;
  top: 4px;
  margin: 0 16px 0 5px;
  cursor: pointer;
}

/* 文字 */
.display-warp span:not([class="optional-sp"]) {
  font-size: 14px;
  position: absolute;
  box-shadow: 0 0 10px #e7e6e6;
  padding: 2px 10px 5px;
  top: 0;
  border-radius: 5px;
  display: none;
  background: #fff;
  z-index: 2;
  max-width: 350px;
  line-height: 27px;
  width: 100%;
  color: #303c42;
}

.display-warp b:hover {
  background-position: 100% 0;
}

.display-warp b:hover + span {
  display: inline-block;
}

/* 气泡框的三角形 */
.display-warp b:hover + span:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-right: 10px solid #fff;
  border-bottom: 10px solid transparent;
  position: absolute;
  left: -10px;
  top: 38%;
}
/* ---------------- 小气泡 end ---------------- */

/* ---------------- 主要内容 begin ---------------- */
/* 标题 */
.plan {
  display: flex;
  width: max-content;
  justify-content: space-between;
  margin: 0 0 0 auto;
  position: relative;
  top: -18px;
}

.plan span {
  background: #77be00;
  border-radius: 26px;
  display: block;
  font-size: 22px;
  color: #fff;
  text-align: center;
  padding: 0 29px;
  margin-right: 29px;
  font-family: Manrope !important;
  line-height: 44px;
}

.plan span:nth-child(2) {
  background: #006ee1;
}

.plan span:nth-child(3) {
  background: #00b7ff;
}

.deployment-mode {
  display: flex;
  align-items: flex-start;
  margin: 8px 0;
}

.deployment-mode span {
  font-size: 20px;
  font-family: Manrope !important;
  font-weight: 500;
  color: #101f3a;
  line-height: 1.5;
  display: inline-block;
  text-align: center;
}

.deployment-mode span:nth-child(1) {
  margin: 0 282px 0 45px;
}

.deployment-mode span:nth-child(2) {
  margin-right: 95px;
}

.deployment-mode span:nth-child(3) {
  margin-right: 43px;
}

/* 一级列表：可折叠+展开 */
.feature .info {
  padding: 12px 0 0 44px;
  display: none;
}

.feature .info p {
  font-size: 16px;
  color: #303c42;
  line-height: 28px;
  margin-bottom: 10px;
  position: relative;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 21.11px 28.95px;
  background-position-x: calc(100% - 584px);
}

/* 二级列表 */
.feature .info .list-2 + div {
  padding-left: 18px;
}

/* 内容 */
.feature-list-wrap {
  padding: 0 32px 50px;
  width: 1200px;
  margin: 100px auto 0;
  box-shadow: 0 0 30px rgb(61 74 89 / 10%);
  border-radius: 33px;
  background-color: #fff;
}

.feature {
  position: relative;
}

.feature .name {
  font-size: 20px;
  font-family: Manrope !important;
  font-weight: 500;
  color: #101f3a;
  line-height: 50px;
  border-radius: 26px;
  padding-left: 44px;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
  background-position: 0px 15px;
  background-repeat: no-repeat;
  background-size: 23px 22px;
  background-position-x: calc(100% - 584px);
}

/* 条纹填充 */
.feature:nth-child(odd) .name {
  background-color: rgb(243, 243, 243, 0.3);
}

/* 不支持SP */
.no-sp .info p,
.no-sp .name {
  background-image: initial;
}

.no-sp .optional-sp {
  display: none !important;
}

/* 不支持EP */
.no-ep .info p::before,
.no-ep::before {
  background-image: initial;
}

.no-ep.feature.optional::before {
  content: "" !important;
}

/* ---------------- 主要内容 end ---------------- */

/* ---------------- 底部按钮 begin ---------------- */
.button-list-wrap {
  text-align: right;
  margin: 30px 77px 0 0;
}

.button-list-wrap a {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid #006ee1;
  color: #006ee1;
  text-decoration: none;
  background-color: #fff;
  line-height: 33px;
  font-size: 18px;
  text-align: center;
  padding: 0 16px;
}

.button-list-wrap a:nth-child(1),
.button-list-wrap a:nth-child(2) {
  margin-right: 135px;
}

.button-list-wrap a:hover {
  border-color: #00b7ff;
  color: #00b7ff;
}
/* ---------------- 底部按钮 end ---------------- */

/* 移动端 */
@media (max-width: 768px) {
  .templatera_shortcode .wpb_raw_html {
    overflow: hidden;
  }

  .feature .name::before,
  .feature .name::after {
    width: 1px !important;
    height: 5px !important;
    left: 10px !important;
    top: 6px !important;
  }

  .feature {
    margin-top: 5px;
  }

  .feature-list-wrap {
    padding: 0 10px 15.5px !important;
    width: 90% !important;
    margin: 43px auto 0 !important;
  }

  .plan {
    justify-content: flex-end !important;
    top: -11px !important;
    width: 100% !important;
  }

  .plan span {
    border-radius: 10px !important;
    font-size: 10px !important;
    padding: 5px 9px !important;
    margin-right: 6px !important;
    line-height: 15px !important;
    width: 66.5px !important;
  }

  .display-warp b {
    width: 9.5px !important;
    height: 10px !important;
    top: 2px !important;
  }

  .deployment-mode {
    justify-content: flex-end;
  }

  .deployment-mode span {
    margin-right: 6px !important;
    padding: 0 9px;
    width: 66.5px !important;
    font-size: 10px !important;
  }

  .deployment-mode span:nth-child(1) {
    margin: 0 !important;
    position: absolute !important;
    left: 45px !important;
    width: 25% !important;
  }

  .feature .name {
    padding: 0 200px 0 16px !important;
    font-size: 10px !important;
    line-height: 16px !important;
    border-radius: 11px !important;
    background-color: rgb(255 254 254 / 0%) !important;
    background-size: 10.5px 10px !important;
    background-position-x: calc(100% - 18rem) !important;
    background-position-y: 3px !important;
  }

  .feature .info p {
    padding-right: 200px !important;
    font-size: 9px !important;
    line-height: 11px !important;
    background-color: rgb(255 254 254 / 0%) !important;
    background-size: 10.5px 10px !important;
    background-position-x: calc(100% - 18rem) !important;
    background-position-y: 1px !important;
  }

  .info p::before,
  .info p::after,
  .feature::before,
  .feature::after {
    width: 10.5px !important;
    height: 10px !important;
  }

  .feature::before,
  .feature::after {
    top: 3px !important;
  }

  .info p::before,
  .info p::after {
    top: 1px !important;
  }

  .feature::before,
  .info p:before {
    left: calc(100% - 117px) !important;
  }

  .feature::after,
  .info p:after {
    left: calc(100% - 45px) !important;
  }

  .feature.optional .optional-sp,
  .feature.optional::before,
  .feature.optional::after {
    font-size: 9px !important;
  }

  .feature.optional::before {
    left: calc(100% - 130px) !important;
  }

  .feature.optional::after {
    left: calc(100% - 59px) !important;
  }

  .feature.optional .optional-sp {
    left: calc(100% - 20rem) !important;
    top: 2px !important;
  }

  .button-list-wrap {
    margin: 30px 0 0 0 !important;
  }

  .button-list-wrap a {
    line-height: 26px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    margin-right: 7px !important;
  }

  .feature .info {
    padding: 12px 0 0 25px !important;
  }

  .display-warp span:not([class="optional-sp"]) {
    font-size: 9px !important;
    line-height: 18px !important;
    width: auto !important;
  }
}

/* ---------------- PSE/PCE：隐藏整个SP和模式 begin ---------------- */
.sp-hidden .plan span:nth-child(1) {
  display: none;
}

.sp-hidden .deployment-mode span:nth-child(2) {
  visibility: hidden;
}

.sp-hidden .feature .name,
.feature .info p {
  background-image: none;
}

.sp-hidden .feature.optional .optional-sp {
  display: none;
}

.sp-hidden .button-list-wrap a:nth-child(1) {
  display: none;
}

.mode-hidden .deployment-mode {
  display: none !important;
}
/* ---------------- PSE/PCE：隐藏整个SP和模式 end ---------------- */

/* ---------------- PAE：额外模式描述 begin ---------------- */
.mode-desc {
  background-color: #f5fcff;
  font-size: 16px;
  font-family: Manrope !important;
  font-weight: 500;
  color: #0098f0;
  line-height: 50px;
  border-radius: 26px;
  padding-left: 25px;
  margin: 10px 0;
}
/* ---------------- PAE：额外模式描述 end ---------------- */
