A2noun
das Hauptgericht
the main course
Plural: die Hauptgerichte
Ganz ehrlich?
A compound takes the article of its last part: das Gericht (the dish) → das Hauptgericht.
Examples
Als Hauptgericht nehme ich den Fisch.
As a main course I'll have the fish.