Pinning and propagation of interface cracks in slope failure: 1D and 2D considerations