On set systems with restricted k‐wise L‐intersection modulo a prime, and beyond