חלק התחתון של תפריט המשתמש יוצא מחוץ למסך

This is weird. The variable should be calculated regardless of the theme you use.

I have a custom header (HTML + CSS) and on my site and --header-offset is correctly set to another value than the default one.