Cougars top Red Lodge to advance to playoffs