/* massagetroon: aanvulling op type E (laadt na em.css). Rasters afhankelijk van het aantal kaarten, zodat er geen half lege rij ontstaat. */
@media(min-width:700px){body.em .em-cats:has(>:last-child:nth-child(8)),body.em .em-cats:has(>:last-child:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1040px){body.em .em-cats:has(>:last-child:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:700px){body.em .em-cats--groot:has(>:last-child:nth-child(3)),body.em .em-cats--groot:has(>:last-child:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr))}
body.em .em-cats--groot:has(>:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1040px){body.em .em-cats:has(>:last-child:nth-child(8)) .em-cat__beeld{aspect-ratio:4/3}body.em .em-cats--groot:has(>:last-child:nth-child(3)) .em-cat__beeld,body.em .em-cats--groot:has(>:last-child:nth-child(2)) .em-cat__beeld{aspect-ratio:4/3}}
