If your accordion breaks on mobile, it could be due to CSS media queries not being properly defined. Check for the following:
Ensure responsive breakpoints are defined using @media queries.
Avoid fixed pixel values (width: 300px) and instead use percentage-based widths or flexbox/grid.
Confirm the JavaScript event listeners support touch events (ontouchstart).
Verify no conflicting JavaScript libraries affecting accordion behavior.
Test across multiple devices using Chrome’s Device Toolbar for responsiveness.