/* =========================================================
   聚淼成型科技 - 技术问答中心 样式（v3.1 平滑动画版）
   ========================================================= */
.qa-center {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #222;
  background: #fff;
  overflow-x: hidden;
}

/* ===== Hero ===== */
.qa-center .hero {
  background: linear-gradient(135deg, #0b6cff, #0048a8);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.qa-center .hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}
.qa-center .hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
}

/* ===== 搜索框 ===== */
.qa-center .search-bar {
  max-width: 850px;
  margin: -30px auto 50px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.qa-center .search-bar input {
  width: 80%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.qa-center .search-bar button {
  background: #0b6cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: .3s;
}
.qa-center .search-bar button:hover { background: #0048a8; }

/* ===== 布局 ===== */
.qa-center .main {
  display: grid;
  grid-template-columns: 65% 35%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  gap: 40px;
}
@media(max-width:960px){.qa-center .main{grid-template-columns:1fr;gap:20px;}}

/* ===== 长文问答 ===== */
.qa-center .qa-long h2,
.qa-center .qa-short h2 {
  font-size: 22px;
  color: #0b6cff;
  border-left: 5px solid #0b6cff;
  padding-left: 10px;
  margin-bottom: 20px;
}
.qa-center .qa-long-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qa-center .qa-long-list li {
  border-bottom: 1px dashed #e0e6ef;
  padding: 10px 0;
}
.qa-center .qa-long-list li a {
  color: #0b6cff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: .2s;
}
.qa-center .qa-long-list li a:hover { color: #0048a8; text-decoration: underline; }

/* ===== 短文问答 ===== */
.qa-center .qa-short-item {
  background: #f6f8fb;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.qa-center .qa-short-title {
  padding: 14px 18px;
  font-weight: 600;
  color: #0b6cff;
  cursor: pointer;
}
.qa-center .qa-short-title:hover { background: #eaf1ff; }
.qa-center .qa-short-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 18px;
  border-top: 1px solid #e0e6ef;
  color: #444;
  font-size: 14px;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}
.qa-center .qa-short-item.active .qa-short-content {
  padding: 14px 18px;
}

/* ===== 加载更多按钮 ===== */
.load-more-btn {
  display: block;
  margin: 20px auto 0;
  background: #0b6cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.3s;
}
.load-more-btn:hover { background: #0048a8; }

/* ===== CTA（可选） ===== */
.qa-center .cta {
  text-align: center;
  background: #f6f8fb;
  padding: 60px 20px;
  border-top: 1px solid #eee;
}
.qa-center .cta h2 { font-size: 24px; color: #0b6cff; margin-bottom: 12px; }
.qa-center .cta p { font-size: 16px; color: #555; margin-bottom: 24px; }
.qa-center .cta a {
  background: #0b6cff;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}
.qa-center .cta a:hover { background: #0048a8; }
