/* Homepage-only day grouping, layered after the shared news layout. */
#text2 #news_srodek .news-day,
.page-shell .article-body .news-day {
  margin: 0 0 12px;
  padding: 5px 10px;
  background: #243340;
  color: #c6d9e7;
  border-top: 1px solid #637d91;
  font: 600 13px/1.45 Arial, Helvetica, sans-serif;
  text-transform: none;
}

#text2 #news_srodek .news-item,
.page-shell .article-body .news-item {
  margin: 0 0 14px;
  padding: 0 5px 14px;
  border-bottom-color: #343f47;
}

#text2 #news_srodek .news-item h2,
.page-shell .article-body .news-item h2 {
  padding-bottom: 5px;
  border-bottom: 1px solid #334252;
  color: #e6edf2;
  font: 600 20px/1.2 Arial, Helvetica, sans-serif;
  text-wrap: balance;
}

#text2 #news_srodek .news-item .publication,
.page-shell .article-body .news-item .publication {
  margin: 4px 0 10px;
  color: #afbeca;
}

#text2 #news_srodek .news-item .news-links {
  margin: 8px 0 0;
  text-align: right;
}

#text2 #news_srodek .news-item .news-links a {
  color: #9ab8cc;
  font: normal 13px/1.5 Arial, Helvetica, sans-serif;
}

#text2 #news_srodek .news-item .news-summary,
.page-shell .article-body .news-item .news-summary {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  font: normal 14px/1.5 Arial, Helvetica, sans-serif;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 12;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

body.news-theme-day .page-shell .article-body .news-day {
  background: #e7eef3;
  color: #233746;
  border-top-color: #94aab8;
}

body.news-theme-day .page-shell .article-body .news-item {
  border-bottom-color: #c4d0d8;
}

body.news-theme-day .page-shell .article-body .news-item h2 {
  color: #1e2f3c;
  border-bottom-color: #bdcbd4;
}

body.news-theme-day .page-shell .article-body .news-item .publication {
  color: #526775;
}

body.news-theme-day .page-shell .article-body .news-item .news-links a {
  color: #315f7c;
}

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

/* The legacy mobile column forces paragraph sizes with !important. */
@media (max-width: 831px) {
  #text2 #news_srodek .news-item p.news-summary {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}
