jquery selecting any first p element after an heading whether another element is also there
<p>I am attempting to change the first p element that comes after an h2 or h3 element, whether or not there is another element in between.</p>

<p>So the html for this is</p>

<pre><code>&lt;h3&gt;This is the subhead in use&lt;/h3&gt;
&lt;img src="http://placehold.it/350x150"/&gt;
&lt;p&gt;Here is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of text&lt;/p&gt;
&lt;p&gt;Here is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of textHere is some lipsum orum kind of text&lt;/p&gt;
&lt;h3&gt;This is the subhead in use&lt;/h3&gt;
&lt;p&gt;Here is some lipsum orum kind of text&lt;/p&gt;

&lt;aside&gt;
  &lt;h2&gt;This is the aside title&lt;/h2&gt;
  &lt;p&gt;Here is some more lipsum orem. Here is some more lipsum orem. Here is some more lipsum orem. Here is some more lipsum orem.&lt;/p&gt;
&lt;/aside&gt;
</code></pre>

<p>and some jquery (2.13)</p>

<pre><code>$(function(){
  $('h3, h2').next('p').css({ "color":"green"});    
});
</code></pre>

<p>So this finds the first p after an h3 or h3 tag, but it doesn't find it if there is another element in between. Not always but there will be times when I'd want an img, div, or figure element to come after and h2 or h3, but still want jquery to find that first p (in the above code, it fails)</p>

<p>I have tried a number of combinations of selectors and methods including p:first-of-type, siblings, nextAll, etc. I would like to do this without adding a class to the first p element in the html portion.</p>

<p>Please help.</p>