/* News uses the existing public shell and theme tokens. */
.news-page .public-content-shell { max-width: 1000px; }
.news-page article, .news-page section { min-width: 0; }
.news-page .public-content-header-title, .news-card h2 { overflow-wrap: anywhere; }
.news-page figure { margin: 1.5rem 0; }
.news-page img { display: block; width: 100%; height: auto; border-radius: 12px; }
.news-page figcaption { margin-top: .5rem; font-size: .9rem; }
.news-page article p, .news-page article li { max-width: 70ch; line-height: 1.7; overflow-wrap: anywhere; }
.news-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9rem; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.news-card h2 { font-size: 1.3rem; }
.news-sources { margin: 2rem 0; }
.news-sources summary { cursor: pointer; font-weight: 600; padding: .75rem 0; }
.news-page .site-nav-link { overflow-wrap: anywhere; }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* Reviewed first-party News house advertisement. */
.house-ad-slot {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border, #d4d9e2);
  border-bottom: 1px solid var(--border, #d4d9e2);
}
.news-page .house-ad-label {
  margin: 0 auto 10px;
  width: min(300px, 100%);
  font: 500 12px/1.4 system-ui, sans-serif;
  color: var(--muted, #667085);
}
.house-ad-card {
  box-sizing: border-box;
  width: min(300px, 100%);
  min-height: 250px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 10px;
  background: #1b2131;
  color: #fff;
  font-family: system-ui, sans-serif;
  text-align: left;
  box-shadow: 0 6px 18px #10182814;
}
.house-ad-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 9px;
}
.news-page .house-ad-brand img {
  width: 25px;
  height: 25px;
  border-radius: 4px;
}
.news-page .house-ad-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.3px;
  overflow-wrap: anywhere;
}
.news-page .house-ad-text {
  margin: 0 0 12px;
  color: #e0e5ef;
  font-size: 13px;
  line-height: 1.45;
}
.news-page a.house-ad-button,
.news-page a.house-ad-button:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  margin-top: auto;
  box-sizing: border-box;
  background: #f5ce43;
  color: #171d2b;
  border: 1px solid #f5ce43;
  border-radius: 6px;
  font: 700 13px/1.3 system-ui, sans-serif;
  text-decoration: none;
}
.news-page a.house-ad-button:hover { background: #ffe071; }
.news-page a.house-ad-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #1b2131;
}
.news-page .house-ad-note {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #d0d7e6;
}
@media (max-width: 640px) {
  .house-ad-slot { margin: 26px 0; padding: 20px 0; }
}
/* Keep Finnish News theme controls inside narrow viewports. */
@media (max-width: 360px) {
  html[lang="fi"] .news-page #js-theme-pills { flex-wrap: wrap; }
}
