Castellanos, Hardy guide Detroit over White Sox, 3-1.
Detroit scores 3 runs in 7th to take series from Minnesota.
Teams finish series with game Thursday afternoon.
Martin belts 2-run homer, Boyd picks up 4th win for Detroit.
Detroit has won 6 of last 7.
Allows just 1 run on 3 hits over 7 innings.
Fulmer wins for first time in 4 starts as Detroit tops Minnesota, 4-1.