Ignition issues?

Sons 170 has been running pretty good all year. Took him to his first offroad park with it this weekend. It ran fine for a while, then ramdomly shut off coming down a hill. Couldn’t get it restarted. Checked the plug and it didn’t seem to be firing. Put a new plug in, everything was great. Rode for another hour then it shut off again. Can’t get it restarted. Are ignition issues common on these? Where should I start looking? Just had to put a starter solenoid on it last week. It’s looking like typical Polaris quality.. sigh.. Should I start by looking at the CDI?