Search API highlight
You should not be wrapping your keywords in p tags. P is a block-level element, and that is why it stretches 100% width of your container.

Use mark, span or any other inline-level element instead.