So `#apis > dt:not(.hidden):nth-child(4n-1)` won't give you the results you want? I always forget how that stuff should be ordered, but it seems like you're doing that in JS and I don't get why it wouldn't work in CSS if you opt not to include the `.hidden` elements before selecting the even ones.