rock (something) to its foundations

rock (something) to its foundations

To impact something in a way that affects its very essence, especially concerning its values or beliefs. The election of the outsider candidate rocked the party to its foundations, and led to a lot of soul-searching among its members.
See also: foundation, rock