/* ==========================================================================
   Quanta / EFSW FAQ - Neutral Minimal Styles (no purple / no colorful hover)
   Target: .efsw-faq only
   ========================================================================== */

.efsw-faq {
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.efsw-faq-item + .efsw-faq-item {
  border-top: 1px solid #e7e7e7;
}

/* Question (button) */
.efsw-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  text-align: right;
  padding: 18px 20px;

  border: 0;
  margin: 0;
  cursor: pointer;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;

  /* force neutral */
  background: #fafafa !important;
  color: #111111 !important;

  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Kill any purple hover/active coming from global styles */
.efsw-faq .efsw-faq-question:hover,
.efsw-faq .efsw-faq-question:active,
.efsw-faq .efsw-faq-question:focus {
  background: #f0f0f0 !important;
  color: #111111 !important;
}

.efsw-faq-item.is-open .efsw-faq-question {
  background: #f5f5f5 !important;
}

/* Focus: neutral (no blue/purple ring) */
.efsw-faq-question:focus {
  outline: none;
}

.efsw-faq-question:focus-visible {
  outline: 2px solid #cfcfcf !important;
  outline-offset: -2px;
}

.efsw-faq-question-text {
  flex: 1;
}

/* Plus/Minus icon */
.efsw-faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.efsw-faq-icon::before,
.efsw-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  /* force neutral */
  background: #444444 !important;

  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.efsw-faq-icon::before {
  width: 14px;
  height: 2px;
}

.efsw-faq-icon::after {
  width: 2px;
  height: 14px;
}

.efsw-faq-item.is-open .efsw-faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* Answer */
.efsw-faq-answer {
  padding: 0 20px 18px;
  background: #ffffff !important;
}

.efsw-faq-answer-inner {
  padding-top: 4px;
  color: #444444;
  font-size: 15px;
  line-height: 1.9;
}

.efsw-faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.efsw-faq-answer-inner ul,
.efsw-faq-answer-inner ol {
  margin: 10px 0 0;
  padding-right: 18px;
}

/* Links: totally neutral (no blue/purple) */
.efsw-faq-answer-inner a,
.efsw-faq-answer-inner a:hover,
.efsw-faq-answer-inner a:focus,
.efsw-faq-answer-inner a:active,
.efsw-faq-answer-inner a:visited {
  color: inherit !important;
  text-decoration: underline;
}

/* RTL support */
.rtl .efsw-faq-question {
  text-align: right;
}

/* Responsive */
@media (max-width: 767px) {
  .efsw-faq-question {
    font-size: 15px;
    padding: 16px;
  }

  .efsw-faq-answer {
    padding: 0 16px 16px;
  }

  .efsw-faq-answer-inner {
    font-size: 14px;
    line-height: 1.8;
  }
}
