/* Blog detail readability + structure enhancements.
   Loaded after tradingbotexperts.webflow.css so these rules win on equal
   specificity. Scoped to blog-detail containers only. */

/* Prominent, semantic H1 (injected into .title-main as <h1>). */
.title-main h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: #fff;
}

/* Meta / date line above the title. */
.div-block-77 {
  margin-top: 1.25em;
  margin-bottom: 0.25em;
}
.div-block-77 .u-gray {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* Constrain the reading column for comfortable line length. */
.blog-body .container {
  max-width: 760px;
}

/* Body typography. */
.blog-rich-text {
  font-size: 1.125rem;
  line-height: 1.8;
}
.blog-rich-text p {
  margin-bottom: 1.4em;
  line-height: 1.8;
}
.blog-rich-text h2 {
  font-size: 1.95rem;
  line-height: 1.25;
  font-weight: 700;
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  color: #fff;
}
.blog-rich-text h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 600;
  margin-top: 1.9em;
  margin-bottom: 0.55em;
  color: #fff;
}
.blog-rich-text h4 {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: #fff;
}
.blog-rich-text ul,
.blog-rich-text ol {
  margin: 0 0 1.4em;
  padding-left: 1.5em;
}
.blog-rich-text li {
  margin-bottom: 0.55em;
  line-height: 1.75;
}
.blog-rich-text li::marker {
  color: var(--background-color--accent);
}
.blog-rich-text img,
.blog-rich-text figure {
  max-width: 100%;
  height: auto;
  margin: 1.9em 0;
  border-radius: 1rem;
}
.blog-rich-text blockquote {
  margin: 1.9em 0;
  padding: 0.7em 1.25em;
  border-left: 4px solid var(--background-color--accent);
  font-style: italic;
  opacity: 0.95;
}
.blog-rich-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-rich-text strong {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .blog-rich-text {
    font-size: 1.05rem;
  }
  .title-main h1 {
    font-size: 1.9rem;
  }
}
