JEFFERSON CITY, Mo. (AP) — In West Virginia, the Democrat running for governor has defended the coal industry while decrying his party's presidential nominee, Hillary Clinton.
In Vermont, the Republican nominee for governor declared his support for transgender bathroom rights and denounced GOP presidential candidate Donald Trump.
Those types of unconventional strategic calculations are helping to make for close races this year in several states.
A dozen governor's offices will be up for grabs in the Nov. 8 elections, including at least seven that appear competitive. The national Republican and Democratic governors associations already have spent more than $25 million in those states, according to an Associated Press analysis of financial reports and interviews.
The number of early TV ads in governor's races is up 40 percent from 2012, according to the Wesleyan Media Project.
Democrats are trying to hold on to offices forced open by term limits or retirements in Missouri, New Hampshire, Vermont and West Virginia. Indiana Gov. Mike Pence's nomination as Trump's running mate added another open office to the competitive list.
The Democrat in Montana and the Republican in North Carolina are the top incumbents facing close contests.
Republicans currently have 31 governorships, three shy of their historic high in the early 1920s. Some of the races to watch:
Even before Pence dropped his re-election bid to become Trump's running mate, Indiana Republicans seeking to retain the governor's office were facing a tough rematch from Democrat John Gregg, a former House speaker who narrowly lost to Pence in 2012.
Pence was replaced on the ballot by Lt. Gov. Eric Holcomb, who was appointed to his post in March. Holcomb has said he is happy to run on Pence's record. That's been turned into an attack ad by Democrats eager to exploit Pence's unpopularity among some voters because of his embrace of conservative social issues such as a religious rights law.
The Republican governors association already has routed $2.8 million to Holcomb while trying to tie Gregg to Clinton.
Gregg has distanced himself from Clinton and affirmed his support for the coal industry. He has been aided with $1.3 million so far from the national Democratic governors group.
Republicans view Missouri as perhaps their best chance for a pickup. Democratic Gov. Jay Nixon is leaving office because of term limits, and the state has been trending Republican in legislative and presidential elections even as Democrats have held the governor's office for all but four of the past 24 years.
The Republican Governors Association has poured more than $4.2 million into the coffers of former Navy SEAL officer Eric Greitens after he won a four-way GOP primary in August.
But the Democratic nominee, Attorney General Chris Koster, has been running like a Republican on key issues. Koster was a GOP state senator until switching parties in 2007. He's won endorsements this year from the National Rifle Association and Missouri's major agricultural organizations, all of whom typically support Republicans.
Koster backed the GOP Legislature's hallmark accomplishment — a 2014 income tax cut enacted by overriding Nixon's veto — and also sided with Republicans when they overrode Nixon's veto of a gun-rights law this September.
The race to replace Democratic Gov. Maggie Hassan will be conducted in the shadow of Hassan's quest to oust Republican U.S. Sen. Kelly Ayotte.
Democrats have controlled the governor's office for 18 of the past 20 years, and Democratic candidate Colin Van Ostern is pledging to build on Hassan's record.
Republican Chris Sununu comes with strong name identification as the son of former Gov. John H. Sununu and the brother of former U.S. Sen. John E. Sununu. He's positioned himself a bit to the left by backing abortion rights and supporting funding for Planned Parenthood after rejecting it last year.
The governor's race could be influenced by the state's status as a presidential battleground.
The Republican Governors Association already has reserved $3 million of air time in the Boston media market for the final weeks before New Hampshire's election, while Democrats say they reserved more than $4 million of TV ad time.
As a Democrat, Sue Minter begins with what would appear to be a natural advantage in a liberal state that is home to independent U.S. Sen. Bernie Sanders, a self-described democratic socialist.
Minter is a former state lawmaker and transportation secretary for retiring Democratic Gov. Peter Shumlin.
But Lt. Gov. Phil Scott, the only Republican statewide officeholder, has made this race close by tacking to the left. A part-time race-car driver, Scott has wide name recognition and has denounced Trump as "someone who exploits fear for political gain" and "who is willing to overlook the truth."
Scott supports abortion rights and gay marriage, and said during a debate that transgender students should be allowed to use the bathroom of their choice.
Republican nominee Bill Cole has linked himself closely to Trump, who is popular in West Virginia because of his pledge to revive the coal industry. The state Senate president is aided by West Virginia's trend toward Republicans in recent legislative and presidential elections.
Still, Democrats have won the last five elections for governor. Their candidate this year is Jim Justice, a billionaire coal and agricultural businessman who has been leading in the polls to replace term-limited Gov. Earl Ray Tomblin.
Justice has loaned his campaign more than $2.6 million and, like Trump, casts himself as a political outsider with a record of creating jobs. That includes his purchase and revival of one of the state's biggest tourist draws, The Greenbrier resort. Justice has refused to endorse Clinton.
Democratic Gov. Steve Bullock is facing a re-election challenge from Republican businessman Greg Gianforte in a state that has favored Republicans in presidential and state legislative elections.
Gianforte, who made a fortune selling his cloud-based software firm to Oracle in 2011, has donated $1.6 million toward his campaign while pledging to match all other contributions dollar-for-dollar. The Republican Governors Association has attempted to link Bullock to Clinton, noting in an ad that both used private email accounts.
The Democratic Governors Association has come to Bullock's defense with more than $2.5 million so far.
The top target for both Democrats and Republicans, the North Carolina governor's race already has seen millions of dollars in advertising from candidates and outside groups.
A state law that limits anti-discrimination protections for LGBT people and directs transgender people to use public restrooms matching the gender on their birth certificate has dominated the political discourse since it was signed by GOP Gov. Pat McCrory earlier this year.
Democratic Attorney General Roy Cooper, who has held the office since 2001, has declined to defend the law and vowed to try repealing it as governor.
While defeating an incumbent is difficult, the Democratic Governors Association views North Carolina as its best chance to flip an office currently held by a Republican. Cooper has outraised McCrory in four straight reporting periods dating to early 2015.
Associated Press writers Dave Gram and Wilson Ring in Montpelier, Vermont; Jonathan Mattise in Charleston, West Virginia; Gary Robertson in Raleigh, North Carolina; Kathleen Ronayne in Concord, New Hampshire; Brian Slodysko in Indianapolis; and Matt Volz in Helena, Montana, contributed to this report.