Sigh.... sometimes the community helps those most who help themselves most .....
Try this (not sure about the collapse all toggle)
<details style="color: #ffd100;">
<summary style="background-color: #1c2165;"><span style="text-decoration: underline;"><span style="font-size: 18pt;"><strong><span style="color: #ffd100; text-decoration: underline;">Course Welcome - Course Leader - (Name)</span></strong></span></span></summary>
<span style="color: #000000;"><span style="font-size: 14pt;">. You are enrolled on this course to gain professional and academic recognition for the career you plan to undertake in the near future. This course is a challenging and demanding one but with dedication to your studies, you will find it rewarding and enjoyable. The course is designed with your professional and personal development at the core of the course. We are here to support your development and guide you to achieving your dream.</span> </span></details>
<table style="border-collapse: collapse; width: 100%; height: 100%;">
<tbody>
<tr>
<th style="width: 99.7618%; vertical-align: top; text-align: left;" scope="col"><details>
<summary style="background-color: #ffd100;"><span style="font-size: 14pt; color: #236fa1;"><strong><strong>Your Award - How your course is structured</strong></strong></span></summary>
<details>
<summary style="padding-left: 40px;"><span style="color: #236fa1;"> <strong> <span style="font-size: 14pt;">Modules, Module outcomes & assessment</span> </strong> </span></summary>
<p>content here</p>
</details><details>
<summary style="padding-left: 40px;"><span style="color: #236fa1;"><strong><span style="font-size: 14pt;">The Course Standards</span></strong></span></summary>
<p>content here</p>
</details><details>
<summary style="padding-left: 40px;"><span style="color: #236fa1; font-size: 14pt;"><strong>Course Learning Outcomes</strong></span></summary>
content here
<summary style="padding-left: 40px;"><span style="color: #236fa1; font-size: 14pt;"><strong>Progression</strong></span></summary>
<p>content here</p>
</details><details>
<summary style="padding-left: 40px;"><span style="color: #236fa1;"><strong> <span style="font-size: 14pt;">Representation, Feedback and Evaluation</span> </strong></span></summary>
<p>content here</p>
</details></details></th>
</tr>
<tr style="height: 10px;">
<td style="width: 99.7618%; height: 20%; vertical-align: top;"><details>
<summary style="background-color: #ffd100;"><span style="font-size: 14pt; color: #236fa1;"><strong> Course Essentials </strong></span></summary>
<details>
<summary style="padding-left: 40px;"><span style="font-size: 14pt; color: #236fa1;"><strong> Course Teaching and Admin team </strong></span></summary>
<p>content here</p>
</details></details></td>
</tr>
</tbody>
</table>
<hr />