Dynamic item page URL bug?

I also have trouble with the borders-territories.space/team page - the code for hiding/showing bios works only every once in a while, and there’s some odd spacing going on between repeater items… Just like the item pages it worked perfectly until very recently. Appreciate your help!