Trace fossils in the aftermath of mass extinction events