Remove box-sizing on ::before and ::after due to possible performance issues on CPU-constrained devices.