The young royals' guide to wearing hats