Aligning and formatting callout card

Hi, how can I better align a callout button? At the moment it is aligned to the right, but I am hoping to put in in the centre, and to limit the border to the length of the text.

I have tried using a html card like this, but that didn’t work.

<div class="kg-card kg-callout-card kg-align-center">

The screenshot shows what I have at the moment.

Any guidance would be much appreciated. Thanks.