:header selector - possible to exclude h4 and below?

:header selector - possible to exclude h4 and below?

When using :header selector, is it possible to exclude certain headers, e.g. h4 and below.

So that :header applies only if h1, h2, h3 but not h4, h5, h6... etc?

Or is there an alternative method?

Thanks in advance,

Pete