Dwindling enrollment threatens to squeeze rural schools