WASHINGTON (AP) — Facing a midterm election that will define, and quite possibly constrict, the next two years of his term, President Joe Biden is treading a difficult line. At times he is the optimist, with a bright promise of better days ahead, only to then paint what he sees as a darker portrait of a Congress potentially controlled by hard-right Republicans. Biden is leaning on the positive at a time when many voters are feeling the pain of record inflation and higher prices, and harbor deep concerns about the fragility of democracy itself. Just 25% of Americans said the country is headed in the right direction in an October AP-NORC survey.