.elementor-8892 .elementor-element.elementor-element-bd8ea31{--display:flex;--min-height:400px;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-8892 .elementor-element.elementor-element-bd8ea31:not(.elementor-motion-effects-element-type-background), .elementor-8892 .elementor-element.elementor-element-bd8ea31 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://www.gzfunvending.com/wp-content/uploads/2026/10/文章页顶部背景图.png");}.elementor-8892 .elementor-element.elementor-element-e48d3b0{text-align:center;}.elementor-8892 .elementor-element.elementor-element-e48d3b0 .elementor-heading-title{font-family:"Inter", Sans-serif;font-size:60px;font-weight:600;color:#FFFFFF;}.elementor-8892 .elementor-element.elementor-element-1605a97{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0vw;--padding-bottom:0vw;--padding-left:12vw;--padding-right:12vw;}@media(max-width:1441px){.elementor-8892 .elementor-element.elementor-element-bd8ea31:not(.elementor-motion-effects-element-type-background), .elementor-8892 .elementor-element.elementor-element-bd8ea31 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://www.gzfunvending.com/wp-content/uploads/2026/10/文章页顶部背景图.png");}}@media(max-width:1440px){.elementor-8892 .elementor-element.elementor-element-bd8ea31:not(.elementor-motion-effects-element-type-background), .elementor-8892 .elementor-element.elementor-element-bd8ea31 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://www.gzfunvending.com/wp-content/uploads/2026/10/文章移动端背景2.png");background-repeat:no-repeat;}.elementor-8892 .elementor-element.elementor-element-bd8ea31{--min-height:240px;}.elementor-8892 .elementor-element.elementor-element-e48d3b0 .elementor-heading-title{font-size:32px;}}/* Start custom CSS for container, class: .elementor-element-1605a97 *//* ================= FAQ 模块 ================= */
.faq-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  font-family: inherit;
}

/* ---- 左侧分类 ---- */
.faq-side { position: sticky; top: 100px; }
.faq-side-title {
  font-size: 18px; font-weight: 700; color: #1A1A2E;
  margin: 0 0 18px;
}
.faq-cats { list-style: none; margin: 0; padding: 0 !important; }
.faq-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0px 8px 4px; border-radius: 10px; cursor: pointer;
  transition: background .2s;
}
.faq-cat:hover { background: #F7F7F8; }
.faq-cat-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px; background: #F0F1F3; color: #6B7280;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: .2s;
}
.faq-cat-name { flex: 1; font-size: 15px; color: #3F3F46; }
.faq-cat-num  { font-size: 14px; color: #A1A1AA; }
.faq-cat.active { background: #FFF4EE; }
.faq-cat.active .faq-cat-ico  { background: #FF4F0D; color: #fff; }
.faq-cat.active .faq-cat-name { color: #1A1A2E; font-weight: 700; }

/* ---- 右侧问题卡片 ---- */
.faq-item {
  background: #FFFFFF;              /* 默认：白色 */
border: 1px solid #E9EAEE;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.faq-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.faq-q {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer;
}
.faq-item.open {
  background: #F5F5F5;
}
/* 标签：52×30 圆角 4px */
.faq-tag {
  flex: 0 0 52px;
  width: 52px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0;
}
.faq-tag.t95 { background: #E498C7; }
.faq-tag.t91 { background: #FCB3CC; }
.faq-tag.t30 { background: #E7A7DB; }
.faq-tag.d93 { background: #FF4F0D; }
.faq-tag.d94 { background: #865CE4; }
.faq-tag.q91 { background: #99DEE8; }
.faq-tag.p93 { background: #FC2B0F; }

.faq-q-text {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;          /* 设计稿色值 */
  line-height: 1.5;
}
.faq-btn {
  flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%; background: #F1F3F6; color: #B6BEC9;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: .25s;
}
.faq-btn i { transition: transform .25s; }
.faq-item.open .faq-btn { background: #FF4F0D; color: #fff; }
.faq-item.open .faq-btn i { transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
/* 答案文字：18px 常规，和问题同色 */
.faq-a p {
  margin: 0;
  padding: 0 20px 20px 88px;   /* 88 = 标签52 + 间距16 + 内边距20，与问题文字左对齐 */
  font-size: 18px;
  line-height: 1.7;
  color: #1E293B;
}
.faq-empty { padding: 30px; text-align: center; color: #9CA3AF; font-size: 15px; }

/* ---- 响应式 ---- */
/* ======================= FAQ 移动端适配 ======================= */
@media (max-width: 767px) {

  /* ---------- 1. 根治横向溢出（最关键） ---------- */
  .faq-wrap,
  .faq-side,
  .faq-main,
  .faq-list,
  .faq-item,
  .faq-q,
  .faq-a {
    min-width: 0 !important;      /* grid/flex 子项默认 min-width:auto，会被内容撑开 */
    max-width: 100%;
  }
  .faq-wrap {
    grid-template-columns: 1fr !important;   /* 强制单列，压过桌面端的 300px 1fr */
    width: 100%;
    gap: 16px;
    overflow: hidden;
  }
  .faq-side { position: static; }

  /* ---------- 2. 分类条：横向滑动 + 图标在上文字在下 ---------- */
  .faq-cats {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 10px;
  }
  .faq-cats::-webkit-scrollbar { display: none; }

  .faq-cat {
    flex: 0 0 auto;
    flex-direction: column;          /* 竖排：图标 → 名称 → 数字 */
    align-items: center;
    gap: 6px;
    min-width: 84px;
    padding: 10px 10px 12px;
    border-radius: 12px;
    background: #F5F5F5;
  }
  .faq-cat-ico {
    width: 34px; height: 34px; flex: 0 0 34px;
    border-radius: 8px; font-size: 14px;
  }
  .faq-cat-name { font-size: 13px; line-height: 1.35; text-align: center; }
  .faq-cat-num  { font-size: 12px; }

  /* 激活态：整块浅灰（设计稿是中性灰，不是橙色） */
  .faq-cat.active { background: #E9EAED; }
  .faq-cat.active .faq-cat-ico { background: #FFFFFF; color: #3F3F46; }
  .faq-cat.active .faq-cat-name { color: #1A1A2E; font-weight: 700; }

  /* ---------- 3. 卡片：标签+箭头一行，问题文字另起一行 ---------- */
  .faq-q {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "tag  btn"
      "text text";
    align-items: center;
    gap: 14px 10px;
    padding: 16px;
  }
  .faq-tag { grid-area: tag;  flex: none; }
  .faq-btn { grid-area: btn;  justify-self: end; align-self: start; }
  .faq-q-text { grid-area: text; font-size: 20px; line-height: 1.5; }

  /* ---------- 4. 答案：左对齐到卡片内边距 ---------- */
  .faq-a p {
    padding: 0 16px 18px !important;   /* 覆盖桌面端的 88px 缩进 */
    font-size: 18px;
    line-height: 1.65;
  }
  .faq-item { margin-bottom: 10px; }
}/* End custom CSS */