Veren reports $277.2-million third-quarter profit, trims 2024 production guidance