Community bank margins have expanded as the benefit from fixed-rate assets repricing has overshadowed modest increases in funding costs.