Linking of regional and local hydrothermal systems in the mid-crust by shearing and faulting