/* News archive: a single reading column, with natural article heights. */
.news-section {
  background: #f6f4ef;
}

.news-page {
  background: #f3f5f7;
}

.news-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.news-teaser > div {
  min-width: 0;
  max-width: 760px;
}

.news-teaser p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.news-teaser .btn {
  flex-shrink: 0;
  gap: 12px;
}

.main-nav a[aria-current="page"] {
  color: #f0ca74;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.news-main {
  padding: 36px 0 72px;
}

.news-reading {
  max-width: 820px;
  min-width: 0;
}

.news-page .footer-grid > div {
  min-width: 0;
}

.news-page .site-footer a {
  overflow-wrap: anywhere;
}

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.news-back:hover {
  color: var(--navy);
  text-decoration: underline;
}

.news-page-heading {
  padding: 28px 0 32px;
}

.news-page-heading .eyebrow {
  margin: 0 0 14px;
  color: #637287;
}

.news-page-heading h1 {
  max-width: 780px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.news-intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.news-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.news-status {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--panel);
  font-size: 0.9rem;
}

.news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.news-article {
  min-width: 0;
  padding: 26px 30px 28px;
  border: 1px solid #dce2e9;
  border-top: 3px solid #a6b3c3;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(24, 39, 61, 0.035);
  scroll-margin-top: 104px;
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.news-article__meta span {
  padding: 4px 9px;
  border-radius: 5px;
  color: #516277;
  background: #eef2f6;
  font-weight: 600;
  line-height: 1.5;
}

.news-article__meta time {
  color: var(--muted);
}

.news-article.is-pinned {
  border-top-color: var(--gold);
}

.news-article__meta .news-article__pin {
  color: #705016;
  background: #faf0d9;
}

.news-article h2 {
  max-width: none;
  color: #20324b;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.news-article__body,
.news-article__preview {
  margin-top: 18px;
  color: #394456;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.news-article__body p {
  margin: 0 0 16px;
  white-space: pre-line;
}

.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-article__preview {
  margin-bottom: 0;
}

.news-article [hidden] {
  display: none;
}

.news-article__source {
  display: block;
  width: fit-content;
  margin-top: 16px;
  color: #637287;
  font-size: 0.8rem;
  text-underline-offset: 3px;
}

.news-article__toggle {
  margin-top: 18px;
  padding: 6px 0;
  border: 0;
  color: #40546f;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.news-article__toggle:hover {
  color: #20324b;
}

@media (max-width: 1120px) {
  .news-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .news-main {
    padding: 24px 0 48px;
  }

  .news-page-heading {
    padding: 24px 0;
  }

  .news-article {
    padding: 20px 18px 22px;
  }

  .news-list {
    gap: 16px;
  }
}
