The user wants me to transform a raw HTML document into a well-structured, responsive, RTL HTML5 article in Farsi. Here's a breakdown of the steps: 1. **Analyze the Input:** Identify the main article content, title, author, publication date, images, and captions. Recognize and remove extraneous elements. 2. **Structure the HTML:** Create the basic HTML5 structure (``, ``, `
`, ``). Set the language and direction. 3. **Head Section:** Populate the `` with SEO metadata, Open Graph tags, character set, and viewport. Translate all text within these tags to Farsi. 4. **Body Section:** * Use `