As per the https://developer.salesforce.com/docs/component-library/bundle/lightning-card/specification ducumentatio, Placeholder for the card title, which can be represented by a header or h1 element. The title is displayed at the top of the card, to the right of the icon. Alternatively, use the title attribute if you don't need to pass in extra markup in your title.
Refer the below article. https://salesforce.stackexchange.com/questions/316721/how-to-wrap-lightning-cards-title
As per the https://developer.salesforce.com/docs/component-library/bundle/lightning-card/specification ducumentatio,
Placeholder for the card title, which can be represented by a header or h1 element. The title is displayed at the top of the card, to the right of the icon. Alternatively, use the title attribute if you don't need to pass in extra markup in your title.
Refer the below article.
https://salesforce.stackexchange.com/questions/316721/how-to-wrap-lightning-cards-title
If this helps, Please mark it as best answer.
Thanks!!