<p class='foo'>red/bold</p>

<style>
	:global(div) .foo {
		color: red;
	}

	:global(div) > .foo {
		font-weight: bold;
	}
</style>