The investigators will complete a pragmatic randomized trial (N=260) of the 26-week blended collaborative care (CC) intervention compared to enhanced usual care (eUC) in patients admitted for acute coronary syndrome (ACS) or heart failure (HF) found to have current depression, generalized anxiety disorder (GAD), or panic disorder (PD). The CC intervention will use a novel three-pronged approach to these high-risk patients. Care managers will provide centralized care coordination and specific interventions targeting: (1) the psychiatric disorders, (2) cardiac health behaviors, and (3) the cardiac illness. The primary study outcome will be physical function at 26 weeks, measured by the Duke Activity Status Index (DASI), given links between function and new cardiac events. The investigators will also examine effects on numerous other outcomes important to patients and healthcare systems.