Only the top edge is offset with scroll-margin-top: 2rem. In horizontal-tb this matches scroll-margin-block-start.
scroll-margin-block-start
Lines: 0 | Characters: 0