Climate challenge for new SNP leader