Hello!
I tried placing the shortcode outside the accordions. It worked fine, even for the ones inside the accordions. Then I removed this third shortcode and saved the page. Now it’s working fine!
I can’t figure out what happened!
I also had the same problem on another page (with 3 accordions). It finally worked when I placed one shortcode from the first page (not from that page itself) outside the accordion. I saved the page, then removed this shortcode, and now the second page is also working fine.
Thank you for guiding me in this direction so I could resolve the problem.