A family of Microsoft word processing software products for creating web, email, and print documents.
The indentation and other formatting of numbered headings is determined by the Multilevel Numbering setup. To make this work reliably, you must use the procedure in https://shaunakelly.com/word/numbering/numbering20072010.html. (This is still applicable to all later versions, including Office 365.)