/* BLOG CONTENT FORMATTING — CKEditor Fix */


.blog-content {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  color: #002147;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Paragraphs */
.blog-content p {
  margin-bottom: 1rem;
  color: #333;
}

/* Lists */
.blog-content ul,
.blog-content ol {
  list-style-position: outside !important;
  list-style-type: initial !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.blog-content ul li {
  list-style-type: disc !important;
  margin-bottom: 0.4rem;
}

.blog-content ol li {
  list-style-type: decimal !important;
  margin-bottom: 0.4rem;
}

/* Nested lists */
.blog-content ul ul,
.blog-content ol ol {
  margin-top: 0.4rem;
}

/* Tables */
.blog-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
  display: block;
  overflow-x: auto;
}

.blog-content th,
.blog-content td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
}

.blog-content th {
  background-color: #f9f9f9;
  font-weight: 600;
}

/* Images */
.blog-content img {
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Blockquotes */
.blog-content blockquote {
  border-left: 4px solid #002147;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #444;
  font-style: italic;
}

/* Links */
.blog-content a {
  color: #002147;
  text-decoration: underline;
}
.blog-content a:hover {
  color: #0046a5;
}

/* Responsive */
@media (max-width: 1024px) {
  .toc {
    position: relative !important;
    top: 0 !important;
  }
}