>Did you try :last-child pseudo-class selector?
https://www.w3.org/TR/css3-selectors/#last-child-pseudoI believe that would be on the last item only. In my case, this wraps on several rows. I only showed the first row. But, I have about 6. So, the goal is to avoid the margin-right on the last item on each line, no matter if we have 4 items, 3 or 2, depending on the browser resizing. Later on in this thread, I then found the column-gap css but that does not work at all. There might be some conflict based on what is inside such a div when the column-gap applies.