Themes that include hiding sections?

I’m looking for a theme appropriate for math blogging that allow hiding proofs behind collapsible sections.

IE, something with “click to expand” button like here Understanding the Neural Tangent Kernel – Rajat's Blog – A blog about machine learning and math.

Any pointers?

This feature is standard in HTML. Use the details disclosure element in your theme or an HTML block.

<div class="content-wrap">
<summary>The details</summary>
What's hidden.

Thanks, that covers 90% of what I needed. I guess if I wanted to include images there, I could upload them separately and use tag