Skip to content
function bvToggle(h) {
const icon = h.querySelector('.bv-acc-icon');
const body = h.nextElementSibling;
const isOpen = body.classList.contains('open');
document.querySelectorAll('.bv-acc-body').forEach(b => b.classList.remove('open'));
document.querySelectorAll('.bv-acc-icon').forEach(i => i.classList.remove('open'));
if (!isOpen) { body.classList.add('open'); icon.classList.add('open'); }
}