/* Контейнер */
.ei-faq-container {
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
        display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Элемент вопроса */
.ei-faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.ei-faq-item:last-child {
    border-bottom: none;
}

/* Заголовок вопроса (Кнопка) */
.ei-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eff7fd;
    transition: background 0.3s ease;
    user-select: none;
}

.bg-surface .ei-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s ease;
    user-select: none;
}

.bg-surface .ei-faq-question{background: #fff;}

.ei-faq-question:hover {
    background: #f0f0f0;
}

/* Иконка +/- */
.ei-faq-icon {
    width: 20px;       /* Фиксированная ширина для выравнивания */
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;   /* Размер знака */
    font-weight: bold;
    color: #333;       /* Цвет знака */
    transition: transform 0.3s ease;
    margin-left: 10px;
    line-height: 1;
}

/* По умолчанию показываем плюс */
.ei-faq-icon::before {
    content: '+';
}

/* Когда активен - показываем минус */
.ei-is-active .ei-faq-icon::before {
    content: '-';
}

/* Опционально: можно добавить небольшое вращение или изменение цвета при наведении/активности */
.ei-faq-question:hover .ei-faq-icon {
    color: #757575; /* Цвет при наведении (например, синий WordPress) */
}

/* Ответ */
.ei-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.ei-is-active .ei-faq-answer {
    /* max-height устанавливается через JS */
}

.ei-faq-answer > div {
    padding: 0 20px 20px 20px;
    line-height: 1.6;
    color: #444;
}