Because of this whenever you learn a completely new phrase in Italian, you are going to also really need to learn the gender of that phrase.
This e-book provides a nicely-organized curriculum that addresses grammar, https://www.threads.net/@econopass/post/CzVbWuauEUk?xmt=AQGzFFKJqs9Yj3vB1PdguagUR1aXO_IZPsgCSim5cJjWpw