7.8-magnitude quake