Convert sections to cards