Coping with catastrophe: foraging plasticity enables a benthic predator to survive in rapidly degrading coral reefs