p-adic Hodge-theoretic properties of etale cohomology with mod p coefficients, and the cohomology of Shimura varieties - 1