/* ============ 页面 Banner ============ */
.page-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #c8ddf0; font-size: 14px; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ FAQ主体 ============ */
.faq-main { padding: 40px 0 60px; background: #f7f9fc; }

/* 分类导航 */
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 76px;
  z-index: 50;
}
.faq-category-nav a {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  background: #f0f4f9;
  color: #5a6f85;
  transition: all 0.2s;
}
.faq-category-nav a:hover,
.faq-category-nav a.active {
  background: #1a73e8;
  color: #fff;
}

/* FAQ分组 */
.faq-group { margin-bottom: 40px; }
.faq-group-title {
  font-size: 20px;
  color: #1a3a5c;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef2f7;
}

/* FAQ列表 */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.faq-item[open] {
  border-color: #1a73e8;
  box-shadow: 0 8px 20px rgba(26,115,232,0.1);
}
.faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1a3a5c;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-item summary:hover { background: #f7f9fc; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: #1a73e8;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  color: #5a6f85;
  line-height: 1.9;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* 响应式 */
@media (max-width: 768px) {
  .faq-category-nav {
    position: static;
    padding: 12px;
    gap: 8px;
  }
  .faq-category-nav a {
    padding: 6px 14px;
    font-size: 12px;
  }
  .faq-group-title { font-size: 17px; }
  .faq-item summary { padding: 14px 16px; font-size: 14px; }
  .faq-answer { padding: 0 16px 16px; font-size: 13px; }
}