/* =========================================================
   EcoPaperBox — Content typography (eco-content.css)
   Gives .post-content a clear h1 / h2 / h3 hierarchy,
   eco-green accents, and comfortable reading rhythm.
   Loaded AFTER style.css / theme-responsive.css so it wins.
   ========================================================= */

/* ---- Base reading typography ---- */
.post-content,
.post-content p,
.post-content li,
.post-content td,
.post-content dd {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Open Sans", sans-serif;
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.post-content { padding-bottom: 12px; }
.post-content p { margin: 0 0 1.15em; }
.post-content > *:first-child { margin-top: 0; }

/* ---- Page title (h1) ---- */
.post-content h1,
h1.title,
h1.seo-h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #4a6a1e;
  margin: 0 0 22px;
  padding-bottom: 0;
  border-bottom: none;
  letter-spacing: -0.01em;
}

/* ---- Section headings (h2) ---- */
.post-content h2 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  color: #5a7a24;
  margin: 34px 0 14px;
  padding: 2px 0 2px 15px;
  border-left: 4px solid #96c346;
}
/* gentle colour rhythm between sections */
.post-content h2:nth-of-type(2n) { border-left-color: #a0ce4e; color: #6b8c2e; }
.post-content h2:nth-of-type(3n) { border-left-color: #8ab23a; color: #5a7a24; }

/* ---- Sub-section headings (h3) ---- */
.post-content h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
  margin: 26px 0 10px;
}

/* ---- Minor headings (h4) ---- */
.post-content h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: #374151;
  margin: 20px 0 8px;
}

/* ---- Lists ---- */
.post-content ul {
  margin: 0 0 1.25em;
  padding-left: 4px;
  list-style: none;
}
.post-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.post-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #96c346;
  border-radius: 2px;
}
.post-content ol { margin: 0 0 1.25em 22px; }
.post-content ol li { margin-bottom: 9px; }

/* ---- Emphasis / FAQ ---- */
.post-content strong { color: #4a6a1e; font-weight: 700; }

/* ---- Inline links ---- */
.post-content a { color: #96c346; text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: #7a9f35; }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .post-content h1, h1.title, h1.seo-h1 { font-size: 26px; padding-bottom: 0; }
  .post-content h2 { font-size: 20px; padding-left: 12px; }
  .post-content h3 { font-size: 17px; }
  .post-content, .post-content p, .post-content li { font-size: 15px; line-height: 1.75; }
}
