/**
 * Purpose: Scoped styles for blog posts (readable title, hero image, typography).
 * Source: Antlab blog UX hardening.
 * Notes: Loaded only from inc/blog-article.php; body uses IBM Plex Sans (self-hosted) for article prose. Inline strong/b render at normal weight for calm editorial tone.
 */
/* Blog header: cover ensures the background image fills the full banner height at all viewport widths */
.blog-article-page #header {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
/* Match padding of .breadcrumb used by other inner pages so the banner renders at full height */
.blog-article-page #page.inner-page .inner-banner {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 140px;
}
.blog-article-page #page.inner-page .inner-banner .container .row {
  text-align: center;
}
.blog-article-page #page.inner-page .inner-page-title {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.25rem, 2.75vw, 2rem);
  line-height: 1.3;
  text-transform: none;
  font-weight: 600;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  display: block;
  overflow: visible;
}
.blog-article-page #page.inner-page .breacrumbs {
  margin-top: 1rem;
  flex-wrap: wrap;
}
/* Single reading column: hero, body, and next-steps share one max-width (image cannot exceed text) */
.blog-article-page .blog-article-column {
  box-sizing: border-box;
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.blog-article-page .blog-article-column figure.blog-article-hero-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
}

.blog-article-page .blog-article-column figure.blog-article-hero-wrap figcaption {
  max-width: 100%;
}

.blog-article-page .blog-article-column .blog-article-hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Article prose: IBM Plex for all posts using this sheet (with or without .blog-article-column; legacy archived posts use main.main-new-body only). */
.blog-article-page .main-new-body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2a2a2a;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.blog-article-page .main-new-body p {
  margin: 0 0 1.25rem;
  font-size: inherit;
  line-height: inherit;
}

.blog-article-page .main-new-body h2 {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: #111;
  letter-spacing: -0.01em;
}

.blog-article-page .main-new-body h2:first-child {
  margin-top: 0;
}

.blog-article-page .main-new-body h3,
.blog-article-page .main-new-body h4 {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  color: #1a1a1a;
}

.blog-article-page .main-new-body strong,
.blog-article-page .main-new-body b {
  font-weight: 400;
  color: inherit;
}

.blog-article-page .main-new-body a {
  color: #0090c9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-article-page .main-new-body a:hover {
  color: #0077a8;
}

.blog-article-page .main-new-body ul,
.blog-article-page .main-new-body ol {
  margin: 0 0 1.35rem;
  padding-left: 1.5rem;
}

.blog-article-page .main-new-body li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.blog-article-page .main-new-body ul {
  list-style-type: disc;
}

.blog-article-page .main-new-body ol {
  list-style-type: decimal;
}

.blog-article-page .main-new-body li::marker {
  color: #555;
}

.blog-article-page .main-new-body blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid #00adef;
  background: #f8fafb;
  font-style: normal;
  color: #333;
}

/* Footer CTA block after body */
.blog-article-page .blog-next-steps {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

.blog-article-page .blog-article-column .blog-next-steps {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.blog-article-page .blog-next-steps__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.65rem;
}

.blog-article-page .blog-next-steps__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 0;
}

.blog-article-page .blog-next-steps__text a {
  color: #0090c9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article-page .blog-next-steps__text a:hover {
  color: #0077a8;
}

.blog-article-page .main-new-body > p:first-of-type {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}
.blog-article-page .blog-next-steps {
  background: #f4f8fb;
  border: 1px solid #d0e8f2;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}
.blog-article-page .main-new-body ul {
  border-left: 2px solid #e0e8ef;
  padding-left: 1.35rem;
}
.blog-article-page .main-new-body li {
  margin-bottom: 0.75rem;
}
