BOSTON – Jon Lester was matched by James Shields in the first game of Tuesday’s doubleheader at Fenway Park. But the three hits Shields allowed were much more damaging than the trio allowed by Lester, as the Sox beat the Rays, 3-1.The Sox left-hander went seven innings, giving up one run on three hits and a walk with eight strikeouts, improving to 12-6, with a 3.22 ERA. Lester, who had been tied with John Lackey, now leads the staff in wins.Lester struggled to find his command in the first two innings, when he faced 10 batters, allowing two hits, a walk, and a hit batter with one strikeout, while limiting the Rays to one run. He gave up a leadoff double to Desmond Jennings, who stole third. After Sam Fuld struck out, swinging at a cutter, Jennings scored on Evan Longoria’s groundout to Kevin Youkilis. Ben Zobrist doubled before B.J. Upton grounded out to Mike Aviles to end the inning.In the second, Casey Kotchman led off by grounding out to Aviles. After hitting Sean Rodriguez with a pitch and walking Kelly Shoppach, who entered the game hitting just .183, on four pitches with one out in the second, Lester retired the next 12 consecutive batters before allowing another hit, a single to Evan Longoria in the sixth.”He looked like Jon,” catcher Jarrod Saltalamacchia said. “He’s throwing the ball well. Early in the game they were fouling some pitches off and working the count a little bit so I think that ran his pitch count up a little bit. But other than that he had everything working for him. He got out of some big innings with some good pitches. Other than that I thought he pitched great.”Lester didn’t make adjustments after the second, Saltalamacchia said. It was just a matter of making the right pitches.”No real adjustments,” he said. “I think he was throwing the ball well. Jennings just hit a cutter that came back over the middle of the plate and then he made a good pitch to Longoria, pitched his way out of it. Zobrist [doubled], pretty good hit, and Longoria got a hit later. That was pretty much all they did.”Shields matched Lester’s efforts. But despite extending his league-best complete games total to nine, he took the loss, falling to 11-10, with a 2.83 ERA, fifth-best in the AL. He went eight innings, giving up three runs on three hits and a walk with six strikeouts. Shields retired the last 15 batters he faced after a leadoff walk to Kevin Youkilis in the fourth.”He mixed his pitches. He kept the pitch count down throwing strikes, making us put it in play,” Saltalamacchia said. “Ells had a big hit. Thankfully that’s all we needed. But he did what he normally does, mixes his pitches up, gets ahead of you, throws that changeup a lot &mdash a lot, a lot. But luckily Ells was able to put us on the board.”The Sox did all their damage against Shields in the third. Josh Reddick led off with a single, and Aviles followed with a single, after Jed Lowrie struck out. Jacoby Ellsbury delivered the big blow, a three-run homer into the Rays bullpen, giving the Sox the lead.”Going into it you know it’s going to be a tight game,” Lester said. “[Shields is] not going to make a lot of mistakes and fortunately when he did make mistakes that one inning we took advantage of it. That’s what you have to do against a good pitcher.”Shields is 1-8 with a 6.99 ERA and three quality starts at Fenway Park. It was the first time he went seven or more innings at Fenway.”Yeah, that’s a tough loss,” said Shields. “It’s a tough loss. You don’t give up a hit in seven different innings, you got to win those games. Today we got outplayed.”First inning I got away with a couple of pitches, but I settled in there pretty well. Third inning there, they got a couple of hits and I made a mistake to Ellsbury and that’s pretty much the game right there.”For Ellsbury, who entered the season with 20 career home runs, it was his 21st of the season. Ellsbury, who has 31 stolen bases, now has more home runs than any other Sox player with 30 or more steals in a season.