Refactor the header CSS