Thanks! The parent categories were indeed empty so I was able to apply the formatting changes using the PHP changes and get the result I wanted.
If I wanted to create a class (so I could style using css) for the second and third level categories, respectively, would that be possible via the PHP in the class.template-parts? Can you walk me through that? Sorry to be such a newb with PHP… Thanks again for your help.