/* ==========================================================================
   Eren FAQ Widget — Compact Schema Accordion
   ========================================================================== */

.ecc-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ecc-faq__item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: border-color 0.2s;
}

.ecc-faq__item.is-active {
  border-color: #ccc;
}

/* Question */
.ecc-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  transition: background 0.15s;
}

.ecc-faq__question:hover {
  background: #fafafa;
}

.ecc-faq__title {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

/* Icon */
.ecc-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: #999;
  transition: transform 0.25s, color 0.25s;
}

.ecc-faq__item.is-active .ecc-faq__icon {
  color: #111;
  transform: rotate(45deg);
}

.ecc-faq__icon-plus,
.ecc-faq__icon-minus {
  line-height: 1;
}

.ecc-faq__icon-minus { display: none; }
.ecc-faq__item.is-active .ecc-faq__icon-plus { display: none; }
.ecc-faq__item.is-active .ecc-faq__icon-minus { display: block; }

.ecc-faq__icon--arrow,
.ecc-faq__icon--chevron {
  transition: transform 0.25s;
}

.ecc-faq__item.is-active .ecc-faq__icon--arrow,
.ecc-faq__item.is-active .ecc-faq__icon--chevron {
  transform: rotate(180deg);
}

/* Answer */
.ecc-faq__answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ecc-faq__item.is-active .ecc-faq__answer-wrap {
  max-height: 600px;
}

.ecc-faq__answer {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.ecc-faq__answer p {
  margin: 0 0 8px;
}

.ecc-faq__answer p:last-child {
  margin: 0;
}

.ecc-faq__answer ul,
.ecc-faq__answer ol {
  margin: 4px 0;
  padding-left: 18px;
}

.ecc-faq__answer li {
  margin-bottom: 2px;
}

.ecc-faq__answer strong {
  color: #111;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 767px) {
  .ecc-faq__question {
    padding: 12px 14px;
    font-size: 14px;
  }

  .ecc-faq__answer {
    padding: 0 14px 12px;
    font-size: 13px;
  }

  .ecc-faq__icon {
    width: 18px;
    height: 18px;
    font-size: 16px;
  }
}
