Rite Aid narrows in Q3, revenue slips