A Unified Erdős–Pósa Theorem for Constrained Cycles