/* DroneEverything dark-content consistency - 2026-11-15 */
/* Set a dark canvas on all public pages. Never use global color inversion. */
html, body, body #page, body #content, body .site-content {
  background-color:#0b0b0e !important;
}
/* Remove white outer canvases without overriding designed red/image sections. */
body .site-content > .ast-container,
body .site-content .content-area,
body .site-content .site-main,
body .site-content .entry-content,
body .site-content article.ast-article-single,
body .site-content .elementor-widget-wrap {
  background-color:transparent !important;
}
/* Actual light-theme sections found in live pages. */
body #content .de-aerial-photography-page .de-ap-section-light,
body #content .de-aerial-photography-page .de-ap-section-alt,
body #content .de-aerial-photography-page .de-ap-section-light .de-ap-wrap,
body #content .de-aerial-photography-page .de-ap-section-alt .de-ap-wrap {
  background-color:#131418 !important;
  background-image:none !important;
  color:#f1f2f4 !important;
}
body #content .de-aerial-photography-page .de-ap-section-alt {
  background-color:#191a1f !important;
}
body #content .de-aerial-photography-page :is(.de-ap-section-light,.de-ap-section-alt) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,small),
body #content .de-aerial-photography-page :is(.de-ap-section-light,.de-ap-section-alt) .de-ap-image-caption {
  color:#f1f2f4 !important;
}
body #content .de-aerial-photography-page :is(.de-ap-section-light,.de-ap-section-alt) .de-ap-kicker {
  color:#ff4149 !important;
}
/* Cards remain separate from sections, but no white card surfaces. */
body #content .de-aerial-photography-page .de-ap-card,
body #content .de-aerial-photography-page .de-ap-image-card,
body #content .de-aerial-photography-page .de-ap-quick-cta,
body #content .de-aerial-photography-page .de-ap-table-wrap {
  background-color:#1b1c21 !important;
  color:#f1f2f4 !important;
}
body #content .de-aerial-photography-page :is(.de-ap-card,.de-ap-image-card,.de-ap-quick-cta) :is(h2,h3,h4,p,li) {
  color:#f1f2f4 !important;
}
/* Other deliberately light-colored content sections, but NOT light buttons. */
body #content :is(section,div).de-section-light,
body #content :is(section,div).de-light-section,
body #content :is(section,div).de-section-white,
body #content :is(section,div).de-white-section,
body #content :is(section,div).section-light,
body #content :is(section,div).section-white,
body #content :is(section,div).bg-white,
body #content :is(section,div).has-white-background-color,
body #content .wp-block-cover.has-background-dim-0.has-white-background-color {
  background-color:#15161b !important;
  color:#f0f1f3 !important;
}
body #content :is(.de-section-light,.de-light-section,.de-section-white,.de-white-section,.section-light,.section-white,.bg-white,.has-white-background-color) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,small) {
  color:#f0f1f3 !important;
}
/* Inline-defined white block backgrounds, not typography/buttons or inputs. */
body #content :is(section,article,div)[style*="background-color: #fff" i],
body #content :is(section,article,div)[style*="background-color:#fff" i],
body #content :is(section,article,div)[style*="background-color: white" i],
body #content :is(section,article,div)[style*="background-color:white" i],
body #content :is(section,article,div)[style*="background-color: rgb(255, 255, 255)" i] {
  background-color:#15161b !important;
  color:#f0f1f3 !important;
}
/* Maintain contrast for native WordPress content on the dark canvas. */
body .site-content :is(.wp-block-heading,.entry-title) { color:#f6f6f8; }
/* Do not recolor forms, white CTA buttons, photos, dropdowns or commerce controls. */
body #content :is(input,textarea,select,button),
body #content .de-btn-white,
body #content .de-ds-btn.de-ds-white,
body #content :is(.woocommerce,.wc-block-components-button) {
  color-scheme:normal;
}
