/**
 * WTE Business Card — FAQ Accordion Enhancement
 */
'use strict';
document.addEventListener('DOMContentLoaded', function() {
	// Close other open details when one opens (optional accordion behavior).
	document.querySelectorAll('.wte-faq__item').forEach(function(item) {
		item.addEventListener('toggle', function() {
			if (this.open) {
				document.querySelectorAll('.wte-faq__item[open]').forEach(function(other) {
					if (other !== item) other.open = false;
				});
			}
		});
	});
});
