document.addEventListener('click', ({ target }) => {
const button = target.closest('.new-faq__answer-btn');
if (button) {
button.parentNode.querySelector('.new-faq__answer').classList.toggle('active');
button.childNodes[2].classList.toggle('active');
}
});
<details> <summary>Ответ</symmary> ... </details>