/* =============================================
   BLOG POST TEXT VISIBILITY FIX
   Fix white text on light backgrounds in blog posts
   ============================================= */

/* Force dark text color on all blog post body sections with light backgrounds */
.blogSectionPage .layoutC p,
.blogSectionPage .layoutC li,
.blogSectionPage .layoutC span,
.blogSectionPage .layoutD p,
.blogSectionPage .layoutD li,
.blogSectionPage .layoutD span,
.blogSectionPage .layoutA p,
.blogSectionPage .layoutA li, 
.blogSectionPage .layoutA span {
  color: #333333 !important;
}

/* Keep headings styled with the theme red color */
.blogSectionPage .contentTitle {
  color: #cc0000 !important;
}

/* Keep intro/hero section (layoutA-NoImg with dark background) text white */
.blogSectionPage .layoutA-NoImg p,
.blogSectionPage .layoutA-NoImg li,
.blogSectionPage .layoutA-NoImg span,
.blogSectionPage .layoutA-NoImg .contentTitle {
  color: #ffffff !important;
}

/* Fix button styling in blog sections */
.blogSectionPage .layoutC a.contentBtn,
.blogSectionPage .layoutD a.contentBtn,
.blogSectionPage .layoutA a.contentBtn {
  color: #ffffff !important;
}

/* Hide any remaining placeholder text */
.blogSectionPage p[style*="Replace this content"],
.blogSectionPage .maxWidth--content p:last-child {
  /* Cannot target by content with CSS alone - handled via JS */
}

/* SEO service and city pages: style headings inside HTML content blocks */
.primaryContent .blockInnerContent h2 { font-family: proximanova, Arial, sans-serif; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 2rem 0 0.75rem; color: #111; }
.primaryContent .blockInnerContent ul, .primaryContent .blockInnerContent ol { margin: 0 0 1rem 1.25rem; line-height: 1.7; }
.primaryContent .blockInnerContent li { margin-bottom: 0.4rem; }
.primaryContent .blockInnerContent p { line-height: 1.7; margin-bottom: 1rem; }
.primaryContent .blockInnerContent a { color: #cc0000; text-decoration: underline; }