/* ─── News / changelog styling ─────────────────────────────────────────
   Scoped to /news/ pages. Reuses the v2 design tokens (colours,
   typography) but adds list/article shapes the marketing CSS doesn't
   need. */

.news-hero { padding: 80px 0 32px; }
.news-hero h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 12px; }
.news-hero p { font-size: 1.1rem; color: var(--text-muted, #6b7280); max-width: 60ch; }

/* ── Listing (index of posts) ────────────────────────────── */
.news-list { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; padding: 24px 0 80px; }
.news-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 14px;
  background: var(--bg-elevated, rgba(99, 102, 241, 0.04));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: var(--accent, #6366f1); }
.news-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.news-card__date { font-family: ui-monospace, monospace; }
.news-card__chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent, #6366f1);
  font-weight: 700;
}
.news-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.news-card p { color: var(--text-muted, #6b7280); margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* ── Article (single post) ──────────────────────────────── */
.news-article { max-width: 760px; margin: 0 auto; padding: 24px 0 80px; }
.news-article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted, #6b7280);
  margin-bottom: 16px;
}
.news-article h1 { font-size: 2.1rem; line-height: 1.2; margin: 8px 0 18px; }
.news-article h2 { margin-top: 32px; font-size: 1.35rem; }
.news-article h3 { margin-top: 22px; font-size: 1.1rem; }
.news-article p { font-size: 1.05rem; line-height: 1.75; margin: 12px 0; }
.news-article ul { margin: 12px 0; padding-left: 22px; }
.news-article li { line-height: 1.7; margin-bottom: 4px; }
.news-article strong { color: var(--text, #fff); }
.news-article a.link, .news-article a:not(.btn) {
  color: var(--accent, #6366f1);
  border-bottom: 1px dotted currentColor;
}
.news-article hr {
  border: 0; border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  margin: 32px 0;
}

/* Footnote-style "what this means for customers" callout */
.news-callout {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent, #6366f1);
  background: rgba(99, 102, 241, 0.06);
  border-radius: 6px;
}
.news-callout__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, #6366f1);
  font-weight: 700;
  margin-bottom: 6px;
}

/* Locale-toggle: hides the off-locale block. The script flips
   `[data-news-locale="en|uk"]` based on the active language. */
[data-news-locale][hidden] { display: none; }

/* Back-link from post to listing */
.news-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted, #6b7280);
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 16px;
}
.news-back:hover { color: var(--accent, #6366f1); }
