Ab initio molecular dynamics study of hydroxide diffusion mechanisms in nanoconfined structural mimics of anion exchange membranes