/* =========================
   BLOG: READABILITY + LINKS
   ========================= */
body.blog-page main.section > .container,
body.blog-page main.section > .container.narrow {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

/* ensure a comfortable reading width even if container styles exist */
body.blog-page main.section > .container.narrow {
  max-width: 860px;
}

/* paragraph spacing — the big “cramped” fix */
body.blog-page main.section > .container p {
  margin: 0 0 18px !important;
}

/* headings spacing */
body.blog-page main.section > .container h1 {
  line-height: 1.12;
  margin: 10px 0 18px !important;
}
body.blog-page main.section > .container h2 {
  line-height: 1.2;
  margin: 40px 0 14px !important;
}
body.blog-page main.section > .container h3 {
  line-height: 1.25;
  margin: 28px 0 12px !important;
}

/* lists */
body.blog-page main.section > .container ul,
body.blog-page main.section > .container ol {
  margin: 0 0 18px 22px !important;
  padding: 0;
}
body.blog-page main.section > .container li {
  margin: 0 0 10px !important;
}

/* LINK VISIBILITY */
body.blog-page main.section > .container a {
  color: #14B8A6 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}
body.blog-page main.section > .container a:visited {
  color: #0F766E !important;
}
body.blog-page main.section > .container a:hover {
  color: #0B1F3A !important;
  text-decoration-thickness: 3px;
}
body.blog-page main.section > .container a:focus {
  outline: 3px solid rgba(20, 184, 166, 0.35) !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Quick Answer box: detect class used and apply here. 
   Try to match actual markup: .quick-answer, .callout, .card, etc.
*/
body.blog-page main.section > .container .quick-answer,
body.blog-page main.section > .container .callout,
body.blog-page main.section > .container .quick-answer-box,
body.blog-page main.section > .container .card {
  padding: 22px 24px !important;
  margin: 18px 0 30px !important;
  border-radius: 16px;
}
body.blog-page main.section > .container .quick-answer li,
body.blog-page main.section > .container .callout li,
body.blog-page main.section > .container .quick-answer-box li,
body.blog-page main.section > .container .card li {
  margin-bottom: 8px !important;
}

/* mobile */
@media (max-width: 768px) {
  body.blog-page main.section > .container,
  body.blog-page main.section > .container.narrow {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
  }
  body.blog-page main.section > .container h2 {
    margin-top: 30px !important;
  }
}
