We need to output block with rewritten headline, then cleaned, rewritten article HTML body text.
Constraints: Remove promotional lines, “SEE ALSO” links, footer junk. So we must remove the lines about “Click here for…” and “Read the latest…” and the Twitter widget scripts, Instagram embed scripts, and the social media footnote? The footnote with author info maybe considered promotional; but maybe we keep the quoted part about author? It says “author attribution” likely part of article but could be considered promotional. However instruction: Clean the text content by removing promotional lines, “SEE ALSO” links, and footer junk. The footnote with author info is not a “SEE ALSO” link, but it’s promotional? Might be considered part of footer junk (like social media links). We should remove promotional lines (the lines that are promotional: “Click here for in-depth analysis…”, “Read the latest financial…”, and the social media footnote (author info, links). Also remove “SEE ALSO” links (there’s none). Keep all media tags unchanged. There are no visible media tags like or
embed codes EXACTLY as they are.” The script tags are not those, but there are

