:root {
  --faq-radius: 8px;
  --faq-shadow: 0 4px 15px rgba(0,0,0,0.05);
  --faq-transition: all 0.3s ease;
}

.qianhe-padding {
  padding: clamp(30px, 4.166667vw, 80px) 0;
  background: #fafbfc;
}

.qianhe-faq {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* å·¦ä¾§åˆ†ç±»å¯¼èˆª */
.cd-faq-categories {
  position: sticky;
  top: 50px;
  width: 220px;
  z-index: 2;
  background: #fff;
  border-radius: var(--faq-radius);
  box-shadow: var(--faq-shadow);
  overflow: hidden;
}

.cd-faq-categories a {
  position: relative;
  display: block;
  padding: 16px 20px;
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 500;
  color: #444;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  letter-spacing: 0.5px;
  text-shadow: none;
  transition: var(--faq-transition);
}

.cd-faq-categories a:last-child {
  border-bottom: none;
}

.cd-faq-categories .selected,
.cd-faq-categories a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  padding-left: 26px;
}

/* å³ä¾§å†…å®¹åŒºåŸŸ */
.cd-faq-items {
  flex: 1;
  padding: 0 !important;
  background: transparent !important;
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
}

/* é—®é¢˜å¡ç‰‡ */
.cd-faq-group .faq-list.card {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #eee;
  border-radius: var(--faq-radius);
  box-shadow: none;
  background: #fff;
  overflow: hidden;
  transition: var(--faq-transition);
}

.cd-faq-group .faq-list.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--faq-shadow);
}

/* é—®é¢˜æ ‡é¢˜ */
.cd-faq-group .faq-list .card-header {
  padding: 20px 24px;
  background-color: #fff;
  border: none;
  cursor: pointer;
}

.cd-faq-items h3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}

.cd-faq-items h3 span {
  flex: 1;
  padding-right: 16px;
}

/* å±•å¼€/æ”¶èµ·å›¾æ ‡ */
.cd-faq-items h3 .toggle-btn::before {
  content: "+";
  font-family: auto;
  font-size: 22px;
  font-weight: 400;
  color: #666;
  transition: var(--faq-transition);
}

.cd-faq-items h3[aria-expanded="true"] .toggle-btn::before {
  content: "-";
  color: var(--color-primary);
  transform: rotate(0deg);
}

/* ç­”æ¡ˆå†…å®¹ */
.cd-faq-group .faq-list .collapse {
  border-top: 1px solid #f2f2f2;
}

.cd-faq-items .card-body {
  padding: 20px 24px 24px;
  font-size: clamp(14px, 0.83vw, 16px);
  line-height: 1.8;
  color: #555;
  background: #fdfdfd;
}

/* =======================================
   å“åº”å¼ä¼˜åŒ–
======================================= */
@media (max-width: 991px) {
  .qianhe-faq {
    flex-direction: column;
    gap: 20px;
  }

  .cd-faq-categories {
    position: relative;
    width: 100%;
    top: 0;
  }

  .cd-faq-categories a {
    text-align: center;
  }

  .cd-faq-items {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .qianhe-padding {
  }

  .cd-faq-items h3 {
    font-size: 16px;
  }

  .cd-faq-items .card-body {
    line-height: 1.7;
  }
}