Location-dependent styles make Evan sad.

My recommendation would probably be (with limited insight or thought), create a new CSS object `elgg-group-list-item` and give it a content area. It would then look like:
```html
<li id="elgg-group-5" class="elgg-group-list-item">
  <div class="elgg-image-block elgg-content">...</div>
</li>
```

And your css goes from the current stuff to:
```css
.elgg-group-list-item > .elgg-content {
  padding: 5px 0;
}
```