/* ==============================================
   Hdev FAQ CSS
   ============================================== */

.hdev-faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Khoảng cách giữa các FAQ items */
  width: 100%;
}

.hdev-faq-item {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Bóng đổ rất nhẹ giống thiết kế */
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.hdev-faq-item.active {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Bóng rõ hơn khi mở */
}

.hdev-faq-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
}

.hdev-faq-heading {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.4;
  flex-grow: 1;
  padding-right: 15px;
}

.hdev-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f38221; /* Màu cam DrThin */
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Khi active, mũi tên xoay lên trên */
.hdev-faq-item.active .hdev-faq-icon {
  transform: rotate(180deg);
}

.hdev-faq-content {
  display: none; /* Ẩn mặc định, sẽ được JS toggle */
}

/* Không có border-top, chỉ padding */
.hdev-faq-content-inner {
  padding: 0 25px 25px 25px;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

/* Fix margin cho p thẻ cuối cùng để không bị thừa khoảng trắng */
.hdev-faq-content-inner p:last-child {
  margin-bottom: 0;
}
