.wrapper { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 10px; grid-auto-flow: dense; } .wrapper li.landscape { grid-column-end: span 2; }