/* News module — hub cards + article pages. Relies on vars/typography from home-v2.css. */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line, #e3e8f0);
  border-radius: 12px;
  padding: 22px 22px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(1, 64, 153, .12);
  border-color: #d3ddec;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3, #8a94a6);
}

.news-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 999px;
}

.tag-company { background: rgba(1, 64, 153, .1); color: var(--brand, #014099); }
.tag-industry { background: rgba(14, 122, 93, .12); color: #0e7a5d; }

.news-card h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.news-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2, #4b5568);
  flex: 1;
}

.news-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand, #014099);
}

/* ---------- article page ---------- */

.news-article { max-width: 760px; margin: 0 auto; }

.news-article .news-meta { margin-bottom: 14px; }

.news-article h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.news-article .article-lead {
  font-size: 16.5px;
  color: var(--ink-2, #4b5568);
  line-height: 1.7;
  margin: 16px 0 0;
}

.news-article .prose { margin-top: 34px; }

.news-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand, #014099);
  text-decoration: none;
}

.news-back:hover { text-decoration: underline; }

.news-nav {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line, #e3e8f0);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-size: 14px;
}

.news-nav a { color: var(--brand, #014099); text-decoration: none; font-weight: 600; }
.news-nav a:hover { text-decoration: underline; }
.news-nav .spacer { flex: 1; }

@media (max-width: 640px) {
  .news-article h1 { font-size: 23px; }
}
