/************  EASYBLOG TYPO OVERRIDES (robust + future-proof)  ************/

/* ===== Entry page title (header H1 above the article) ===== */
#eb .eb-entry-head h1.eb-entry-title.reset-heading,
.eb-entry-head h1.eb-entry-title.reset-heading {
  font-size: 40px !important;
  line-height: 50px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* ===== Article headings inside content (H1–H6) ===== */
#eb .eb-entry-article h1,
[data-blog-content] h1 {
  font-size: 40px !important;
  line-height: 50px !important;
  font-weight: 700 !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

#eb .eb-entry-article h2,
#eb .eb-entry-article h3,
#eb .eb-entry-article h4,
#eb .eb-entry-article h5,
#eb .eb-entry-article h6,
[data-blog-content] h2,
[data-blog-content] h3,
[data-blog-content] h4,
[data-blog-content] h5,
[data-blog-content] h6 {
  font-size: 30px !important;
  line-height: 40px !important;
  font-weight: 700 !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

/* ===== Paragraphs ===== */
#eb .eb-entry-article p,
[data-blog-content] p {
  font-size: 18px !important;
  line-height: 24px !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* ===== Lists: containers (ol/ul) ===== */
#eb .eb-entry-article ol,
#eb .eb-entry-article ul,
[data-blog-content] ol,
[data-blog-content] ul {
  font-size: 18px !important;
  line-height: 24px !important;
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  padding-left: 28px !important; /* consistent indent for bullets/numbers */
}

/* ===== Lists: items (spacing that can't collapse) ===== */
#eb .eb-entry-article ol > li,
#eb .eb-entry-article ul > li,
[data-blog-content] ol > li,
[data-blog-content] ul > li {
  font-size: 18px !important;
  line-height: 24px !important;
  padding-bottom: 10px !important; /* reliable gap between items */
}

/* Remove the extra gap after the last item */
#eb .eb-entry-article ol > li:last-child,
#eb .eb-entry-article ul > li:last-child,
[data-blog-content] ol > li:last-child,
[data-blog-content] ul > li:last-child {
  padding-bottom: 0 !important;
}

/* Nested lists: a little tighter but still readable */
#eb .eb-entry-article li > ol,
#eb .eb-entry-article li > ul,
[data-blog-content] li > ol,
[data-blog-content] li > ul {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding-left: 24px !important;
}

/* ===== Figures & captions ===== */
#eb .eb-entry-article figure,
[data-blog-content] figure {
  margin: 24px 0 !important;
}

#eb .eb-entry-article figcaption,
[data-blog-content] figcaption {
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: #64748b !important;
}

/* ===== Blockquotes ===== */
#eb .eb-entry-article blockquote,
[data-blog-content] blockquote {
  margin: 16px 0 !important;
  padding: 12px 16px !important;
  border-left: 4px solid #e5e7eb !important;
  background: #fafafa !important;
  font-size: 18px !important;
  line-height: 24px !important;
}

/* ===== Safety: ensure EasyBlog wrapper exists (some themes duplicate #eb) ===== */
.eb-entry-article { /* noop to elevate specificity */ }

.eb-entry-meta.text-muted {
  font-size: 16px;
  text-decoration: underline;
}

.eb-post-content p {
  font-size: 18px;
  line-height: 24px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 30px;
}
