First sentence in, and Ayn Rand already got it wrong. A countries political ideas AND their cultural trends are determined by the material conditions of society. It's called dialectical and historical materialism. Read about it.
https://www.marxists.org/reference/archive/stalin/works/1938/09.htm