I fixed it by adding the "transform-gpu" class to each keen-slider__slide element. (This is a Tailwind CSS class that applies a default translate to let the user agent know it's going to transform with CSS.
"Animations can cause layout shifts, but not all of them will be count towards your CLS score. Google ignores CSS transform changes – so if your animation uses transform property, it won’t affect your CLS." Source: https://www.onely.com/blog/cumulative-layout-shift/