News
No results found.
"; } }) .catch(error => { console.error("Error fetching search results:", error); }); }); // 🖱️ Close results when clicking outside document.addEventListener("click", function (e) { if (!searchInput.contains(e.target) && !searchResults.contains(e.target)) { searchResults.style.display = "none"; } }); // ⌨️ Close results when pressing Escape document.addEventListener("keydown", function (e) { if (e.key === "Escape") { searchResults.style.display = "none"; } }); });