/* faq.css —— blog 文章里的「常见问题」独立模块（2026-11-23 新建）
   只给需要 FAQ 的文章单独引用，不动 style.css，避免全站刷版本号。
   结构：
   <section class="faq-block">
     <h2>九、常见问题</h2>
     <div class="faq-item"><h3>问题</h3><p>答案</p></div>
   </section>
*/

.faq-block {
  margin: 30px 0 8px;
  padding: 4px 22px 10px;
  background: #f7fafc;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
}

.faq-block > h2 {
  margin: 20px 0 4px;
  padding: 0;
  border: 0;
  font-size: 20px;
  color: #0f172a;
}

.faq-item {
  padding: 16px 0 4px;
  border-top: 1px solid #e6ebf1;
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item h3 {
  position: relative;
  margin: 0 0 6px;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
}

.faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #0e7490;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
}

.faq-item p {
  margin: 0 0 12px;
  color: #4a5563;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 640px) {
  .faq-block {
    padding: 2px 16px 8px;
    border-radius: 12px;
  }
  .faq-item h3 {
    font-size: 15.5px;
  }
}
