css selector for sibling element

C
/* Paragraphs that come immediately after any image */
img + p {
  font-weight: bold;
}
Source

Also in C: