@media (min-width: 900px){.card-grid:has(>:nth-child(3):last-child),.card-grid:has(>:nth-child(5):last-child),.card-grid:has(>:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 900px) and (max-width: 1199px){.card-grid:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1200px){.card-grid:has(>:nth-child(4):last-child),.card-grid:has(>:nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
