US community bank margins are set to expand over the next few years, supporting stronger earnings growth in 2025 and 2026.