2. For different sections, you should cancel "Link to previous header" in the header and footer settings and select "Link to previous header" in the same section.
If there is confusion, you can delete all the headers and footers first, then divide them into chapters, and then set the headers and footers one by one.