Dogma is required belief. It’s universal as well.
Doctrine is required teaching - you must give assent of will, but are not actually required to believe it.
All Catholic dogma is universal to the Catholic Communion. All the Churches Sui Iuris share it, and not believing it imperils one’s soul. Dogma is also immutable - once defined, it may not be changed, only clarified.
Doctrines can be either universal, or be specific to a given church sui iuris… If one is teaching the faith, one must teach them, but one does not imperil one’s soul by not believing them. One is expected to act as tho’ one believes it, however (assent of will). Doctrine can be changed, tho seldom is.
Not all of the teaching of the church falls into those two categories.
Theology is speculative, varies widely even within some churches sui iuris, and explains the doctrines and dogmas and their relationship to the faithful.
Limbo was a theological speculation treated as doctrine for some years, but has again been reduced to mere theologumenon.