Idealized slab plasma approach for the study of warm dense matter