/* Mirrors React NewsPost.tsx ReactMarkdown typography (Tailwind-aligned) */

.news-prose {
  font-family: Merriweather, Georgia, serif;
  font-size: 1.25rem;
}

.news-prose p {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  line-height: 2;
  color: #374151; /* gray-700 */
}

.dark .news-prose p {
  color: #d1d5db; /* gray-300 */
}

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

.news-prose h2 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.dark .news-prose h2 {
  color: #ffffff;
}

.news-prose h3 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.dark .news-prose h3 {
  color: #ffffff;
}

.news-prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.news-prose ul li {
  font-size: 1.35rem;
  line-height: 2;
  color: #374151;
  margin-bottom: 0.25rem;
}

.dark .news-prose ul li {
  color: #d1d5db;
}

.news-prose a {
  color: #1d4ed8; /* blue-700 */
  font-size: 1.35rem;
  text-decoration: none;
}

.news-prose a:hover {
  text-decoration: underline;
}

.dark .news-prose a {
  color: #60a5fa; /* blue-400 */
}

.news-prose strong {
  font-weight: 700;
  color: #111827;
}

.dark .news-prose strong {
  color: #ffffff;
}

.news-prose code {
  font-family: "JetBrains Mono", monospace;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 1.2rem;
}

.dark .news-prose code {
  background: #1f2937;
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
