/* 1. Dark canvas page titles, headings, and body copy (#1D140B / #382822 -> warm ivory #F5EFE6) */
body #left-area h1.entry-title,
body #left-area h1.entry-title.main_title,
body .wmi-blog-header h1 {
  color: #F5EFE6 !important;
}
body.page #left-area article .entry-content > h2,
body.page #left-area article .entry-content > h3,
body.page #left-area article .entry-content > h4,
body.page #left-area article .entry-content > p,
body.page #left-area article .entry-content > ul,
body.page #left-area article .entry-content > ul li,
body.page #left-area article .entry-content > ol,
body.page #left-area article .entry-content > ol li,
body.page #left-area article .entry-content > p strong,
body.page #left-area article .entry-content > ul li strong,
body.page #left-area article .entry-content > ol li strong,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > h2,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > h3,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > h4,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > p,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ul,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ul li,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ol,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ol li,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ul li strong,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ol li strong {
  color: #F3ECE2 !important;
}
body.page #left-area article .entry-content > p a,
body.page #left-area article .entry-content > ul li a,
body.page #left-area article .entry-content > ol li a,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > p a,
body.page #left-area article .entry-content > div:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) > ul li a {
  color: #F2C57C !important;
}
/* Dark Divi text sections on Cabinet Installer & Basement Remodeling */
.page-id-244876 .et_pb_text_1 .et_pb_text_inner h2,
.page-id-244876 .et_pb_text_1 .et_pb_text_inner h3,
.page-id-244876 .et_pb_text_1 .et_pb_text_inner p,
.page-id-244876 .et_pb_text_1 .et_pb_text_inner li,
.page-id-244876 .et_pb_text_1 .et_pb_text_inner strong,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > h2,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > h3,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > p,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ul,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ul li,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ol,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ol li,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ul li strong,
.page-id-245061 .et_pb_text_0 .et_pb_text_inner > div > ol li strong {
  color: #F3ECE2 !important;
}
/* Table headers & body cells (fixes Divi default #555 on dark thead) */
body .entry-content table thead th,
body .et_pb_text_inner table thead th {
  color: #FFFFFF !important;
}
body .entry-content table:not([style*="background:#FAF8F5" i]):not([style*="background:#FFFFFF" i]) tbody tr:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) td,
body .et_pb_text_inner table:not([style*="background:#FAF8F5" i]):not([style*="background:#FFFFFF" i]) tbody tr:not([style*="background:#FAF8F5" i]):not([style*="background: #FAF8F5" i]):not([style*="background:#FFFFFF" i]):not([style*="background: #FFFFFF" i]) td {
  color: #F3ECE2 !important;
}
body .entry-content table[style*="background:#FAF8F5" i] tbody td,
body .entry-content table[style*="background:#FFFFFF" i] tbody td,
body .entry-content table tbody tr[style*="background:#FAF8F5" i] td,
body .entry-content table tbody tr[style*="background: #FAF8F5" i] td,
body .entry-content table tbody tr[style*="background:#FFFFFF" i] td,
body .et_pb_text_inner table[style*="background:#FAF8F5" i] tbody td,
body .et_pb_text_inner table tbody tr[style*="background:#FAF8F5" i] td {
  color: #1D140B !important;
}

/* 2. Homepage specific contrast fixes */
body.home #page-container .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button, body.home #page-container .et_pb_fullwidth_header .et_pb_button_one.et_pb_button {
  color: #FAF5EE !important;
}
.home .et_pb_section_1 .et_pb_blurb h4,
.home .et_pb_section_1 .et_pb_blurb h4 a,
.home .et_pb_section_1 .et_pb_blurb .et_pb_blurb_description,
.home .et_pb_section_1 .et_pb_blurb .et_pb_blurb_description p,
.home .et_pb_section_1 .et_pb_blurb .et_pb_blurb_description li {
  color: #FAF5EE !important;
}
.home .et_pb_text_4 h3 {
  color: #2B4C7E !important;
}
.home .et_pb_text_5 p {
  color: #1D140B !important;
}
.home .et_pb_text_9 p,
.home .et_pb_text_9 p span {
  color: #3A2E28 !important;
}

/* 3. Light containers: replace pale gold (#EDB059) links & pale blue (#93AACF) headings */
.wmi-category-intro a,
[style*="background:#FAF8F5" i] a:not([style*="color:#FFFFFF" i]):not([style*="color: #FFFFFF" i]),
[style*="background: #FAF8F5" i] a:not([style*="color:#FFFFFF" i]):not([style*="color: #FFFFFF" i]),
[style*="background:#FFFFFF" i] a:not([style*="color:#FFFFFF" i]):not([style*="color: #FFFFFF" i]),
[style*="background: #FFFFFF" i] a:not([style*="color:#FFFFFF" i]):not([style*="color: #FFFFFF" i]),
.et_pb_blog_grid article.et_pb_post a.more-link,
.et_pb_blog_grid article.et_pb_post .post-meta a {
  color: #6B2D1B !important;
}
.page-id-2785 section h2,
.et_builder_inner_content section[style*="background:#FAF8F5" i] h2,
.et_builder_inner_content section[style*="background: #FAF8F5" i] h2 {
  color: #3D2216 !important;
}
/* Active nav link: dark espresso on white header, warm bright gold on dark header */
body.page:not(.et_pb_pagebuilder_layout):not(.home) #main-header #top-menu li.current-menu-item > a,
body.page:not(.et_pb_pagebuilder_layout):not(.home) #main-header #top-menu li.current-menu-ancestor > a,
body.page:not(.et_pb_pagebuilder_layout):not(.home) #main-header #top-menu li > a:hover {
  color: #6B2D1B !important;
}
body.et_pb_pagebuilder_layout #main-header #top-menu li.current-menu-item > a,
body.et_pb_pagebuilder_layout #main-header #top-menu li.current-menu-ancestor > a,
body.home #main-header #top-menu li.current-menu-item > a {
  color: #F2C57C !important;
}

/* 4. WooCommerce prices, breadcrumbs, badges, single product & dark archive text */
body.woocommerce ul.products li.product .price,
body.woocommerce ul.products li.product .price bdi,
body.woocommerce ul.products li.product .price del,
body.woocommerce ul.products li.product .price ins,
body.woocommerce-page ul.products li.product .price,
body.woocommerce-page ul.products li.product .price bdi,
body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
body.woocommerce div.product p.price bdi,
body.woocommerce div.product .product_title,
body.woocommerce div.product .woocommerce-tabs h1,
body.woocommerce div.product .woocommerce-tabs h2,
body.woocommerce div.product .woocommerce-tabs h3,
body.woocommerce div.product .woocommerce-tabs p,
body.woocommerce div.product .woocommerce-tabs li,
body.woocommerce section.related.products h2,
body.woocommerce .woocommerce-product-details__short-description {
  color: #F5EFE6 !important;
}
body.woocommerce .woocommerce-breadcrumb,
body.woocommerce .woocommerce-breadcrumb a,
body.woocommerce-page .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb a {
  color: #E2D5C5 !important;
}
body.woocommerce span.onsale,
body.woocommerce-page span.onsale,
body.woocommerce ul.products li.product .onsale {
  background-color: #8B3A1E !important;
  color: #FFFFFF !important;
}
body.archive #left-area article.et_pb_post,
body.archive #left-area article.et_pb_post .post-meta,
body.archive #left-area article.et_pb_post .post-meta a,
body.archive #left-area article.et_pb_post p,
body.blog #left-area article.et_pb_post,
body.blog #left-area article.et_pb_post .post-meta,
body.blog #left-area article.et_pb_post .post-meta a,
body.blog #left-area article.et_pb_post p {
  color: #EAE0D5 !important;
}

/* 5. Buttons on tan/orange backgrounds & Business Directory (/sawmills/) on dark canvas */
.et_pb_slider .et_pb_slide .et_pb_more_button {
  color: #1D140B !important;
}
.et_pb_post_slider .et_pb_slide_content,
.et_pb_post_slider .et_pb_slide_content p,
.et_pb_post_slider .et_pb_slide_content .post-meta,
.et_pb_post_slider .et_pb_slide_content .post-meta a {
  color: #1D140B !important;
}
body #wpbdp-bar-submit-listing-button,
body .wpbdp-main-links a,
body .wpbdp-form-field-label label,
body .wpbdp-region-selector p,
body .wpbdp-categories li,
body.single-product .product_meta,
body.single-product .product_meta span,
body.single-product .product_meta a {
  color: #F5EFE6 !important;
}
