/*======================================
Theme Name: Divi 5
Theme URI: https://divicake.com/
Description: Divi 5 Child Theme
Version: 1.0
Author: Divi Cake
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* ============================================
   NxGN Solutions - Blog Post Dark Theme
   Applied to all single blog posts
   Last updated: March 1, 2026
   ============================================ */

/* Dark background for blog post pages */
body.single-post {
  background-color: #000 !important;
}

body.single-post .et-l--body,
body.single-post .et_builder_inner_content,
body.single-post #page-container,
body.single-post #et-main-area {
  background-color: #000 !important;
}

body.single-post .et_pb_section {
  background-color: #000 !important;
}

/* Text - light on dark */
body.single-post .et_pb_post_content,
body.single-post .et_pb_post_content p,
body.single-post .et_pb_post_content li,
body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li {
  color: #d8d8d8 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

/* H1 - NxGN Blue */
body.single-post h1.entry-title,
body.single-post .et_pb_title_container h1,
body.single-post h1 {
  color: #008FD5 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 36px !important;
  line-height: 1.25 !important;
}

/* H2 - NxGN Blue */
body.single-post h2,
body.single-post .et_pb_post_content h2 {
  color: #008FD5 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 28px !important;
  margin-top: 2em !important;
  margin-bottom: 0.8em !important;
}

/* H3/H4 */
body.single-post h3,
body.single-post .et_pb_post_content h3 {
  color: #4db8e8 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
}

body.single-post h4,
body.single-post .et_pb_post_content h4 {
  color: #ccc !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

/* Links */
body.single-post .et_pb_post_content a,
body.single-post .entry-content a {
  color: #008FD5 !important;
  text-decoration: underline !important;
}

body.single-post .et_pb_post_content a:hover,
body.single-post .entry-content a:hover {
  color: #00b4ff !important;
}

/* Bold + Italic */
body.single-post .et_pb_post_content strong,
body.single-post .entry-content strong {
  color: #fff !important;
}

body.single-post .et_pb_post_content em,
body.single-post .entry-content em {
  color: #aab8c2 !important;
}

/* Blockquotes */
body.single-post blockquote {
  border-left: 4px solid #008FD5 !important;
  padding-left: 20px !important;
  margin: 1.5em 0 !important;
  color: #aab8c2 !important;
  font-style: italic !important;
  background: rgba(0, 143, 213, 0.05) !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
}

/* Post meta */
body.single-post .et_pb_title_meta_container,
body.single-post .post-meta,
body.single-post .et_pb_post_meta {
  color: #777 !important;
}

body.single-post .et_pb_title_meta_container a {
  color: #008FD5 !important;
}

/* Content width for readability */
body.single-post .et_pb_row {
  max-width: 820px !important;
  margin: 0 auto !important;
}

body.single-post .et_pb_title_container {
  padding: 40px 0 20px !important;
}

/* Lists */
body.single-post .et_pb_post_content ul,
body.single-post .et_pb_post_content ol {
  padding-left: 1.5em !important;
}

body.single-post .et_pb_post_content ul li,
body.single-post .et_pb_post_content ol li {
  margin-bottom: 0.5em !important;
}

/* Code blocks */
body.single-post code,
body.single-post pre {
  background-color: #1a1a2e !important;
  color: #e0e0e0 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}

body.single-post code {
  padding: 2px 6px !important;
}

body.single-post pre {
  padding: 16px !important;
  overflow-x: auto !important;
  border: 1px solid #333 !important;
}

/* HR */
body.single-post hr {
  border-color: #333 !important;
}

/* Post navigation */
body.single-post .et_pb_post_nav {
  background-color: #111 !important;
  border-top: 1px solid #222 !important;
  padding: 20px 0 !important;
}

body.single-post .et_pb_post_nav a,
body.single-post .et_pb_post_nav span {
  color: #008FD5 !important;
}

/* Comments area */
body.single-post #comment-wrap,
body.single-post .comment-form {
  background-color: #111 !important;
  color: #d8d8d8 !important;
}

/* Insights / blog listing page */
body.page-id-31033 {
  background-color: #000 !important;
}

/* Category / archive pages */
body.category,
body.archive {
  background-color: #000 !important;
}

body.category .et_pb_section,
body.archive .et_pb_section {
  background-color: #000 !important;
}

body.category .et_pb_post_content,
body.archive .et_pb_post_content,
body.category h2,
body.archive h2 {
  color: #e0e0e0 !important;
}
