ustomFootnotes = document.getElementById("custom-footnotes");

              // If both elements exist, move the footnotes
              if (originalFootnotes && customFootnotes) {
                customFootnotes.innerHTML = originalFootnotes.innerHTML;

                // Optionally, remove the original footnotes
                originalFootnotes.remove();
              }
            });
          </script>
<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener(