DOC: use the sphinx-panels extension for cards instead of raw html
This is an alternative for https://github.com/pandas-dev/pandas/pull/32065, using the https://sphinx-panels.readthedocs.io/en/latest/ extension (which was created inspired on how we are using this in our docs, but then nicely packaged in a sphinx extension to avoid the use of raw html).