
/* ============================================================
   NAVY COLOR TOKENS
============================================================ */
:root {
  --navy: #0b1c2d;
  --navy-hover: #132f4c;
}

/* ===============================
   MAIN CONTENT WRAPPER
================================ */
.blog-content {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #212529; /* body text stays neutral */

  /* Newspaper reading width */
  max-width: 760px;
  margin: 0 auto;
}

/* ===============================
   HEADINGS (NAVY)
================================ */
.blog-content h1,
.blog-content h2,
.blog-content h3 {
  font-weight: 900;
  color: var(--navy); 
  margin-top: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-content h1 { font-size: 2rem; }
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.2rem; }

/* ===============================
   PARAGRAPHS & LIST TEXT
================================ */
.blog-content p,
.blog-content li {
  margin: 0 0 16px;
  text-align: justify;
  text-justify: inter-word;
}

.blog-content p:first-of-type {
  font-size: 1.1rem;
}

/* ===============================
   LISTS
================================ */
.blog-content ul,
.blog-content ol {
  padding-left: 26px;
  margin: 0 0 18px;
}

.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }

.blog-content li {
  margin-bottom: 14px;
  padding-left: 6px;
}

.blog-content ul li::marker {
  font-size: 1.1em;
}

/* ===============================
   LINKS (NAVY TEXT ONLY)
================================ */
.blog-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.blog-content a:hover {
  color: var(--navy-hover);
  text-decoration: none;
}

/* ===============================
   BLOCKQUOTE
================================ */
.blog-content blockquote {
  border-left: 4px solid var(--navy);
  background: #f8f9fa;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0;
  color: #495057;
}

/* ===============================
   CODE BLOCKS
================================ */
.blog-content pre {
  background: #111827;
  color: #e5e7eb;
  padding: 14px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 18px 0;
}

.blog-content code {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ===============================
   IMAGES
================================ */
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 14px 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* ===============================
   TABLES
================================ */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.98rem;
}

.blog-content th,
.blog-content td {
  border: 1px solid #dee2e6;
  padding: 10px;
  vertical-align: top;
}

.blog-content th {
  background: #f8f9fa;
  font-weight: 800;
}

/* ===============================
   QUILL ALIGNMENT SUPPORT
================================ */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-left  { text-align: left; }

/* ===============================
   MOBILE IMPROVEMENTS
================================ */
@media (max-width: 576px) {
  .blog-content {
    max-width: 100%;
  }

  .blog-content p,
  .blog-content li {
    text-align: left;
  }

  .blog-content ul,
  .blog-content ol {
    padding-left: 20px;
  }
}

/* ============================================================
   QUILL IMAGE ALIGNMENT FIX
============================================================ */
.blog-content img,
.ql-editor img {
  display: block;
  margin: 16px 0;
  border-radius: 14px;
}

/* CENTER */
.blog-content .ql-align-center img,
.ql-editor .ql-align-center img {
  margin-left: auto;
  margin-right: auto;
}

/* LEFT */
.blog-content .ql-align-left img,
.ql-editor .ql-align-left img {
  margin-right: auto;
}

/* RIGHT */
.blog-content .ql-align-right img,
.ql-editor .ql-align-right img {
  margin-left: auto;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-text {
  text-align: justify;
  line-height: 1.8;
  hyphens: auto;
}

@media (max-width: 576px) {
  .about-text {
    text-align: left;
  }
}
