I saw this behavior (with a space between two headers) on some websites so i have implemented that model
Sometimes it does make sense - check out this website for example
https://www.examtopics.com/exams/
It depends on the content
But anyway both thresholds are customizable. They can be set to one number