To get a section title with a subtitle (where I also do not want the subtitle to show up in the table of contents) I've been using something like:
\section[Title]{Title\\ \footnotesize{Subtitle}}
But using this as a title for a tcolorbox produces numerous errors, the following does not work:
\begin{tcolorbox}[title=\section[Title]{Title\\ \foonotesize{Subtitle}}]
What would be the way to get something functionally equivalent to the above to work?