Here is the intended behavior:
For each element with a class .inline-s-collapsible of which the previous element is a p tag, apply the styling to the p tag.<
.inline-s-collapsible