/* Article Content Specific Styles */

/* Basic typography styles */
.article-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #0A1551; /* primary color */
  line-height: 1.2;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0A1551; /* primary color */
  line-height: 1.2;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0A1551; /* primary color */
  line-height: 1.3;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0A1551; /* primary color */
  line-height: 1.4;
}

.article-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Paragraph spacing */
.article-content p + p {
  margin-top: 0.5rem;
}

/* Ensure ordered lists show numbers */
.article-content ol {
  list-style-type: decimal !important;
  padding-left: 2rem !important;
  margin: 1rem 0 !important;
}

.article-content ol li {
  display: list-item !important;
  position: relative !important;
  margin: 0.5rem 0 !important;
  list-style-position: outside !important;
}

/* Remove <br> tags in lists that might break numbering */
.article-content ol br {
  display: none !important;
}

/* Ensure unordered lists show bullets */
.article-content ul {
  list-style-type: disc !important;
  padding-left: 2rem !important;
  margin: 1rem 0 !important;
}

.article-content ul li {
  display: list-item !important;
  margin: 0.5rem 0 !important;
}

/* Basic link styling */
.article-content a {
  color: #107ACA; /* updated to the requested color */
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: #0A1551; /* primary color */
}

/* Add some breathing room between elements */
.article-content > * + * {
  margin-top: 1rem;
}

/* Blockquote styling */
.article-content blockquote {
  border-left: 4px solid #00AAAD;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4a5568;
}

/* Image styling */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin: 1.5rem 0;
}

/* Table styling */
.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
}

.article-content th {
  background-color: #f8fafc;
  font-weight: 600;
}