/* Styling for the single-page news list.
   Colours follow the pickles theme palette (Selenized White). */

.news .news-intro {
  font-size: 1.6rem;
  font-style: italic;
  color: lab(56% 0 0);
  margin: 0 0 3.2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid lab(82% 0 0);
}

/* Date group headings */
.news h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: lab(56% 0 0);
  margin: 4.8rem 0 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid lab(82% 0 0);
}

/* Pages 2+ open straight on a date heading */
.news .p-article__body > h2:first-child {
  margin-top: 0;
}

/* Story headlines */
.news h3 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: 3.2rem 0 0.4rem;
}

.news h3 a {
  color: lab(16% 0 0);
}

.news h3 a:hover {
  color: lab(33% 0 -80);
}

/* External-link marker on headlines */
.news h3 a::after {
  content: "\2197";
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.7em;
  vertical-align: super;
  color: lab(56% 0 0);
}

/* Source chip at the start of each summary */
.news-item__source {
  display: inline-block;
  margin-right: 0.8rem;
  padding: 0.1rem 0.7rem;
  border: 1px solid lab(82% 0 0);
  border-radius: 999px;
  background-color: lab(93% 0 0);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: lab(56% 0 0);
  white-space: nowrap;
}

.news h3 + p {
  margin-top: 0;
  font-size: 1.7rem;
  line-height: 1.6;
}

/* Newer / Older navigation */
.news-pagination {
  margin-top: 4.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid lab(82% 0 0);
}

.news-pagination .c-pagination__count {
  color: lab(56% 0 0);
  font-size: 1.4rem;
}

@media screen and (max-width: 767px) {
  .news h3 {
    font-size: 2.1rem;
  }
}
