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

/* Markdown content styling for facts */
.markdown-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.markdown-content h2:first-child {
  margin-top: 0;
}

.markdown-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown-content p {
  color: rgb(209 213 219);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.markdown-content strong {
  color: white;
  font-weight: 600;
}

.markdown-content ul,
.markdown-content ol {
  color: rgb(209 213 219);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content li {
  margin-bottom: 0.5rem;
}

.markdown-content a {
  color: rgb(167 139 250);
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.markdown-content th {
  background-color: rgba(55, 65, 81, 0.5);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid rgb(55 65 81);
}

.markdown-content td {
  color: rgb(209 213 219);
  padding: 0.75rem 1rem;
  border: 1px solid rgb(55 65 81);
}

.markdown-content code {
  color: rgb(196 181 253);
  background-color: rgba(55, 65, 81, 0.5);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.markdown-content pre {
  background-color: rgb(17 24 39);
  border: 1px solid rgb(55 65 81);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-content pre code {
  background: none;
  padding: 0;
}

.markdown-content blockquote {
  border-left: 4px solid rgb(139 92 246);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  color: rgb(156 163 175);
  font-style: italic;
}
