/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Article body — styles for markdown-rendered content
   Uses design system tokens: --color-navy, --color-accent, --color-dark
   Matches heading-section (h2), text-body (p/li) from tailwind/application.css */

.article-body h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body h3 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-dark);
}

.article-body ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body li {
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-dark);
}

.article-body a {
  color: var(--color-accent);
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--color-navy);
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  color: var(--color-accent);
  font-style: italic;
  margin-bottom: 1rem;
}

.article-body strong {
  font-weight: 700;
}

.article-body em {
  font-style: italic;
}

.article-body hr {
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
