/* Next-article + related-articles blocks at the end of News article
   pages (apply-next-related.py). Neon frame per the AUREA standard;
   the next-article card stacks vertically on phones. */

.next-article { margin: 22px 0 6px; }
.next-article-card {
  display: flex; align-items: stretch; gap: 16px;
  text-decoration: none; color: inherit;
  background: var(--card, #12182e);
  border: 1px solid rgba(240, 185, 11, .55);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .25), 0 8px 28px rgba(0, 0, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.next-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(240, 185, 11, .7), 0 12px 32px rgba(0, 0, 0, .45);
}
.next-article-thumb { flex: 0 0 252px; display: block; }
.next-article-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.next-article-body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 4px 16px 0; min-width: 0;
}
.next-article-label {
  align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  color: #0b0e1a; background: linear-gradient(90deg, #f0b90b, #f8d33a);
  padding: 4px 10px; border-radius: 999px;
}
.next-article-title {
  font-size: 21px; font-weight: 800; line-height: 1.35;
}
.next-article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.next-article-meta time { color: var(--muted, #a7acc2); font-size: 13px; }
.next-article-arrow {
  align-self: center; font-size: 26px; font-weight: 800;
  color: #f0b90b; padding-right: 18px;
}

@media (max-width: 700px) {
  .next-article-card { flex-direction: column; gap: 0; }
  .next-article-thumb { flex: none; }
  .next-article-thumb img { aspect-ratio: 16 / 8; }
  .next-article-body { padding: 14px 16px 16px; }
  .next-article-title { font-size: 19px; }
  .next-article-arrow { display: none; }
}
