/* Container & Section Styles */
.uniq-faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.uniq-faq-title {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 2rem;
}

.uniq-faq-container {
  border-top: 1px solid #e0e0e0;
}

/* Individual FAQ Item */
.uniq-faq-item {
  border-bottom: 1px solid #e0e0e0;
}

/* Button Trigger */
.uniq-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

/* Hover & Active States */
.uniq-faq-question:hover {
  color: #2986e2; /* Requested highlight color */
}

.uniq-faq-item.uniq-is-active .uniq-faq-question {
  color: #2986e2; /* Kept active color highlighted */
}

/* CSS Dynamic + / - Icon */
.uniq-faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 15px;
}

/* Horizontal line (always visible) */
.uniq-faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
}

/* Vertical line (hidden when active to make a minus sign) */
.uniq-faq-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Turn + into - when active */
.uniq-faq-item.uniq-is-active .uniq-faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Smooth Accordion Panel Content */
.uniq-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 10px;
}

.uniq-faq-item.uniq-is-active .uniq-faq-answer {
  /* Dynamic height handled beautifully by JS, fallback padding here */
  padding-bottom: 20px;
}

.uniq-faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}