Pope Leo XIV has used a visit to San Marino and a major Catholic gathering in the nearby Italian city of Rimini to urge Catholics to reject division, conflict and social polarization, calling instead for dialogue, mercy and friendship across political and cultural differences