Correction. The custom.css should have been in the css folder and now the masthead image - as configured in the module - shows up in the category.
The issue that I am reporting is however not solved. The full picture on the article is still overwritten by the bg-masthead.jpg if the cache is turned on. Turning the cache off makes the picture appear again.
Issue not solved.