Can the first and last pages in next and prev be targeted?

That looks like Tailwind :slight_smile:

You want to have the PREV link be start/left and NEXT be end/right.

<li class="self-start"> and <li class="self-end"> for PREV and NEXT in both (with/else) should do the trick. I am not sure about the “inline-flex” in the UL - I would get rid of the UL at all and keep the LI and change into DIVs.

On the other side: It’s always just two items, not n items, so having two 50% divs that left and right aligned would do it too.