More modern solution
<style> details {display: flex; flex-direction:column;} summary {order: 2} </style>