how does the presidential line of succession work?
The order of succession specifies that the office passes to the vice president; if the vice presidency is simultaneously vacant, or if the vice president also incapacitated, the powers and duties of the presidency pass to the speaker of the House of Representatives, president pro tempore of the Senate, and then Cabinet ...