Buckling of a sheared CLC