Mediterranean and north-African cultural adaptations to mid-Holocene environmental and climatic changes