Shear structures in layered geological bodies