Locally-adapted reproductive photoperiodism determines population vulnerability to climate change in burying beetles