/* Public news layout. Kept scoped so the legacy homepage is unaffected elsewhere. */
#text2 #news_srodek .news-item,
#text2 .news-item,
.page-shell .article-body .news-item {
  margin: 0 0 1.8rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #687e8e;
}

#text2 #news_srodek .news-item h2,
#text2 .news-item h2,
.page-shell .article-body .news-item h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  text-align: center;
  font-size: 26px;
  line-height: 1.18;
}

#text2 #news_srodek .news-item h2 a,
#text2 .news-item h2 a,
.page-shell .article-body .news-item h2 a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

#text2 #news_srodek .news-item h2 a:hover,
#text2 #news_srodek .news-item h2 a:focus-visible,
#text2 .news-item h2 a:hover,
#text2 .news-item h2 a:focus-visible,
.page-shell .article-body .news-item h2 a:hover,
.page-shell .article-body .news-item h2 a:focus-visible {
  text-decoration: underline;
}

#text2 #news_srodek .news-item .publication,
#text2 .news-item .publication,
.page-shell .article-body .news-item .publication {
  margin: .35rem 0 .9rem;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
}

#text2 #news_srodek .news-item .publication time,
#text2 .news-item .publication time,
.page-shell .article-body .news-item .publication time {
  color: inherit;
  font: inherit;
}

#text2 #news_srodek .news-item .news-summary,
#text2 .news-item .news-summary,
.page-shell .article-body .news-item .news-summary {
  margin: 0;
  text-align: left;
}

#text2 #news_srodek .news-item,
.page-shell .article-body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

#text2 #news_srodek .news-item .news-summary,
#text2 #news_srodek .news-item .news-links,
.page-shell .article-body :is(p, ul, ol, li),
.page-shell .article-body :is(p, li) a {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}

.page-shell .article-body .news-item .publication {
  font-size: 12px;
}

.page-shell .news-excerpt:not(:empty) {
  margin-bottom: 1rem;
}

.page-shell #comments {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2.2rem);
}

.page-shell .news-detail-header h1 {
  font-size: 32px;
  line-height: 1.16;
  text-align: center;
}

.page-shell .news-detail-header,
.page-shell .news-detail-header .news-byline {
  text-align: center;
}

.page-shell .news-detail-header .publication {
  margin: .45rem 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 600px) {
  #text2 #news_srodek .news-item h2,
  #text2 .news-item h2,
  .page-shell .article-body .news-item h2 {
    font-size: 24px;
  }

  .page-shell .news-detail-header h1 {
    font-size: 28px;
  }
}

/* The mobile site assigns an important font size to all legacy-column paragraphs. */
@media (max-width: 831px) {
  #text2 #news_srodek .news-item p.publication { font-size: 12px !important; }
  #text2 #news_srodek .news-item p.news-summary { font-size: 16px !important; }
}
