<script>
(function () {
    document.addEventListener("click", function (e) {
        if (e.defaultPrevented) return;
        var card = e.target.closest(".blog-post");
        if (!card) return;
        if (e.target.closest("a")) return;
        var link = card.querySelector(".blog-post-title a");
        if (!link) return;
        e.preventDefault();
        window.location.href = link.getAttribute("href");
    });
})();
</script>