/*
 * 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.
 */

/* Blog article body — styles raw HTML from markdown */
.blog-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-100);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.blog-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-100);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-body p {
  color: var(--color-slate-300);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.blog-body ul,
.blog-body ol {
  color: var(--color-slate-300);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-body ul { list-style-type: disc; }
.blog-body ol { list-style-type: decimal; }

.blog-body li {
  margin-bottom: 0.5rem;
}

.blog-body strong {
  color: var(--color-slate-200);
}

.blog-body a {
  color: var(--color-amber-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-body a:hover {
  opacity: 0.8;
}

.blog-body blockquote {
  border-left: 3px solid var(--color-amber-500 / 0.5);
  padding-left: 1rem;
  color: var(--color-slate-400);
  margin-bottom: 1.5rem;
}

.blog-body code {
  color: var(--color-amber-500);
  background: var(--color-slate-800);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.blog-body pre {
  background: var(--color-slate-800);
  border: 1px solid var(--color-slate-700 / 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.blog-body pre code {
  background: none;
  padding: 0;
}

.blog-body hr {
  border-color: var(--color-slate-700 / 0.5);
  margin: 2rem 0;
}
