Qabla al-wuquf and baʿda al-wuquf use qabla and baʿda as adverbial nouns of time; al-wuquf is the genitive second term of the idafah.
Baʿda al-halq has the same grammatical pattern. These short temporal phrases change the legal classification, so the different milestones must be read precisely.