Inserting Accordion code into a Jekyll page does not work . .

Inserting Accordion code into a Jekyll page does not work . .

People,

In isolation as a stand-alone index.html this page

is working fine,

However if I insert that code without these lines:
<!doctype html>
<html lang="en">
<head>
</head>
<body>
</body>
</html>
into an existing Jekyll page that starts with:
<!-- Section -->
<section id="phr" class="container content-section text-center">
the accordion text shows up fine but the accordion doesn't work - I presume the parent Jekyll css / js is over-riding the accordion stuff?

Any suggestions about how to get the accordion to work?

Thanks,
Phil.