How to auto close all details tags after opening a specific onehttps://nicklewis.dev/how-to-automatically-close-all-details-tags-after-opening-a-specific-one/
Code snippet that auto closes all non-active details elements on the page, creating a more framework-like experience for accordions