/* Shared news styling for the list and post partials.
   Markup: web-common/templates/news/{list,article}.html. */

.news-item {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-item h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.news-date {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.news-summary > :last-child {
  margin-bottom: 0;
}

.news-item :is(ul, ol) li {
  margin-bottom: 0.25rem;
}

.news-post h1 {
  margin: 0 0 0.5rem;
}
