The long-term decline, which has also played out across the state and country, deepened during the pandemic.