/* ============================================================
 *  faq.css · 常见问题页（页面布局对齐 cms 内页，内容保留原问答结构）
 * ============================================================ */

.faq-tabs.case-filter {
  margin-bottom: 36px;
}

.faq-tabs .faq-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d7e0eb;
  border-radius: 2px;
  background: #fff;
  color: #66758d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.faq-tabs .faq-tab:hover,
.faq-tabs .faq-tab.is-active {
  color: #fff;
  border-color: #155eef;
  background: #155eef;
}

.faq-list {
  border-top: 1px solid #dce4ef;
}

.faq-item {
  padding: 28px 8px;
  border-bottom: 1px solid #dce4ef;
  transition: background .3s ease, padding .3s ease;
}

.faq-item:hover {
  background: #f3f7fc;
  padding-left: 18px;
}

.faq-q,
.faq-a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.faq-a {
  margin-top: 16px;
}

.faq-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dbe4ef;
  border-radius: 2px;
  background: #edf4ff;
  color: #155eef;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.faq-mark.is-a {
  background: #f8fafc;
  color: #8090a6;
}

.faq-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
}

.faq-q h2 {
  color: #15233d;
  font-size: 20px;
  font-weight: 560;
  line-height: 1.4;
}

.faq-a-body {
  color: #566681;
  font-size: 15px;
  line-height: 1.85;
}

.faq-a-body strong {
  color: #15233d;
  font-weight: 650;
}

.faq-a-body a {
  color: #155eef;
  border-bottom: 1px solid rgba(21, 94, 239, .28);
}

.faq-a-body a:hover {
  border-bottom-color: #155eef;
}

.faq-empty {
  margin-top: 28px;
  color: #8090a6;
  font-size: 14px;
}

@media (max-width: 700px) {
  .faq-item {
    padding: 22px 0;
  }

  .faq-item:hover {
    padding-left: 0;
  }

  .faq-q,
  .faq-a {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .faq-q h2 {
    font-size: 17px;
  }

  .faq-a-body {
    font-size: 14px;
  }
}
