CSS Tip:
Use CSS :has() and :is() to create layouts based on contents.
For my slides, I cover several common layouts - text only, text + image, two images.
Then I just have to add the contents to the slide and the proper layout is applied.

Source: x.com/wesbos/status/1857507809337729447