The issue is likely caused by the unrecognized justify class on the <section> element. In Tailwind CSS, justify-content classes (justify-start, justify-center, etc.) are used for flexbox or grid containers to align their direct children along the main axis. Simply justify is not a valid Tailwind class on its own for alignment, and it might be interfering or causing unexpected layout behavior.
The max-w-7xl mx-auto classes on the <section> are already responsible for centering the section element itself horizontally on the page. The grid inside will then naturally fill the width of this centered section (minus any padding).
By removing the extraneous justify class, the section will correctly center itself, and the grid within it will also be centered.