/* Elivate FAQ Accordion Widget
   ========================================== */

.eew-faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: inherit;
}

.eew-faq-heading {
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}

.eew-faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

/* Question row */
.eew-faq-question {
  margin: 0;
  padding: 15px 20px;
  background: #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.3s, color 0.3s;
  user-select: none;
}

.eew-faq-question:hover {
  background: #e9e9e9;
}

/* +/- icon */
.eew-faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.eew-faq-item.active .eew-faq-question::after {
  content: '\2212'; /* minus sign */
}

/* Keyboard focus ring */
.eew-faq-question:focus-visible {
  outline: 2px solid #0073aa;
  outline-offset: -2px;
}

/* Answer panel - collapsed by default */
.eew-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
  background: #ffffff;
}

.eew-faq-item.active .eew-faq-answer {
  max-height: 2000px; /* large enough for any content */
  opacity: 1;
}

.eew-faq-answer-inner {
  padding: 15px 20px;
  line-height: 1.6;
  color: #555;
}

.eew-faq-answer-inner p:first-child { margin-top: 0; }
.eew-faq-answer-inner p:last-child  { margin-bottom: 0; }
