/* === DIVORCE INTELLIGENCE  Color System === */

:root {
	  --di-charcoal: #1A1A1A;
	  --di-gray: #EFEFEF;
	  --di-white: #FFFFFF;
	  --di-gold: #D4AF37;
	  --di-gold-dark: #B8934A;
}

/* Body */
body { background-color: var(--di-white); color: var(--di-charcoal); }

/* Headings  charcoal only, never gold */
h1, h2, h3, h4, h5, h6 { color: var(--di-charcoal); }

/* price heading color override removed */

/* Subtitle / tagline gold text  make charcoal */
/* #c9a84c text: white on dark backgrounds, charcoal on light */
.has-text-color[style*='color:#c9a84c'],
.has-text-color[style*='color:#C9A84C'] { color: #FFFFFF !important; }

/* Buttons  charcoal bg, white text, gold border */
.wp-block-button__link,
.wp-element-button {
	  background-color: var(--di-charcoal) !important;
	  color: var(--di-white) !important;
	  border: 2px solid var(--di-gold) !important;
	  border-radius: 4px !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
	  background-color: #2d2d2d !important;
	  color: var(--di-white) !important;
	  border-color: var(--di-gold-dark) !important;
}

/* Any button with inline gold/yellow background */
a[style*='background-color:#c9a84c'],
a[style*='background-color:#C9A84C'],
a[style*='background:#c9a84c'],
div[style*='background-color:#c9a84c'] {
	  background-color: var(--di-charcoal) !important;
	  color: var(--di-white) !important;
	  border: 2px solid var(--di-gold) !important;
}

/* Links  charcoal text, gold underline accent only */
a { color: var(--di-charcoal); text-decoration-color: var(--di-gold); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--di-gold-dark); }

/* Navigation links stay white on dark header */
.wp-block-navigation a,
nav a { color: inherit; }

/* Gold accent lines above headings */
.wp-block-heading.accent::before,
h2.has-accent::before {
	  content: '';
	  display: block;
	  width: 40px;
	  height: 3px;
	  background: var(--di-gold);
	  margin-bottom: 12px;
}

/* Feature / card boxes */
.wp-block-group.is-style-feature,
.feature-box,
.di-card {
	  background-color: var(--di-gray);
	  border: 2px solid var(--di-gold);
}

/* Testimonial / blockquote left border */
blockquote,
.wp-block-quote {
	  border-left: 4px solid var(--di-gold) !important;
	  padding-left: 18px;
}

/* Stat numbers  charcoal, not gold */
.stat-number, .counter { color: var(--di-charcoal); font-weight: 700; }

/* Footer */
.site-footer, footer {
	  background-color: var(--di-charcoal);
	  color: #aaaaaa;
}
.site-footer a, footer a {
	  color: var(--di-white);
	  text-decoration-color: var(--di-gold);
}

/* Form input focus */
input:focus, textarea:focus, select:focus {
	  outline: none;
	  border-color: var(--di-gold) !important;
	  box-shadow: 0 0 0 1px var(--di-gold);
}

/* HR / separator */
hr, .wp-block-separator { border-color: var(--di-gold); opacity: 0.35; }

/* === END Divorce Intelligence Color System === */
}
}
}
}
}
}
}
}
}
}

/* === NAVY OVERRIDE — replace #1a2744 everywhere === */

/* Headings with inline navy color */
[style*="color:#1a2744"],
[style*="color: #1a2744"],
[style*="color:#1A2744"],
[style*="color: #1A2744"] {
  color: #1A1A1A !important;
}

/* Navy background blocks (Karen quote box etc) */
[style*="background-color:#1a2744"],
[style*="background-color: #1a2744"],
[style*="background-color:#1A2744"],
[style*="background:#1a2744"],
[style*="background:#1A2744"] {
  background-color: #1A1A1A !important;
}

/* Navy border-color */
[style*="border-color:#1a2744"],
[style*="border-color:#1A2744"] {
  border-color: #D4AF37 !important;
}

/* Buttons with inline navy background */
.wp-block-button__link[style*="background-color:#1a2744"],
.wp-block-button__link[style*="background-color:#1A2744"],
a[style*="background-color:#1a2744"],
a[style*="background-color:#1A2744"] {
  background-color: #1A1A1A !important;
  color: #FFFFFF !important;
  border: 2px solid #D4AF37 !important;
}

/* Catch-all: any element using the old navy text color */
h1[style*="1a2744"], h2[style*="1a2744"], h3[style*="1a2744"],
h4[style*="1a2744"], h5[style*="1a2744"], h6[style*="1a2744"],
p[style*="1a2744"], span[style*="1a2744"], div[style*="color:#1a2744"] {
  color: #1A1A1A !important;
}

/* === LIGHT GOLD/CREAM BACKGROUNDS → LIGHT GRAY === */
[style*="background-color:#f5f0e8"],
[style*="background-color: #f5f0e8"],
[style*="background-color:#F5F0E8"],
[style*="background:#f5f0e8"],
[style*="background:#F5F0E8"] {
  background-color: #EFEFEF !important;
}

[style*="background-color:#f9f6f0"],
[style*="background-color: #f9f6f0"],
[style*="background-color:#F9F6F0"],
[style*="background:#f9f6f0"],
[style*="background:#F9F6F0"] {
  background-color: #EFEFEF !important;
}

/* === REMAINING NAVY BLUES → CHARCOAL === */
[style*="background-color:#243560"],
[style*="background-color:#2d3f6b"],
[style*="background-color:#243560"],
[style*="background:#243560"],
[style*="background:#2d3f6b"] {
  background-color: #1A1A1A !important;
}
[style*="color:#243560"],
[style*="color:#2d3f6b"],
[style*="color:#24356"],
[style*="color:#2d3f6"] {
  color: #1A1A1A !important;
}

/* === TEXT ON DARK/CHARCOAL BACKGROUNDS MUST BE WHITE === */
/* Any element with charcoal/dark background gets white text */
[style*="background-color:#1A1A1A"] *,
[style*="background-color:#1a1a1a"] *,
[style*="background-color:#1A2744"] *,
[style*="background-color:#1a2744"] * {
  color: #FFFFFF !important;
}

/* Black cover/hero sections - ensure all child text is white */
.wp-block-cover.is-dark *,
.wp-block-cover[style*="background-color:#1"] * {
  color: #FFFFFF !important;
}

/* Karen quote block - charcoal bg, white text */
[style*="background-color:#1a1a1a"] p,
[style*="background-color:#1A1A1A"] p,
[style*="background-color:#1a1a1a"] span,
[style*="background-color:#1A1A1A"] span {
  color: #FFFFFF !important;
}

/* Sections/groups with dark inline bg - white text */
.wp-block-group[style*="background-color:#1a1a1a"],
.wp-block-group[style*="background-color:#1A1A1A"] {
  color: #FFFFFF !important;
}
.wp-block-group[style*="background-color:#1a1a1a"] h1,
.wp-block-group[style*="background-color:#1a1a1a"] h2,
.wp-block-group[style*="background-color:#1a1a1a"] h3,
.wp-block-group[style*="background-color:#1a1a1a"] h4,
.wp-block-group[style*="background-color:#1a1a1a"] p,
.wp-block-group[style*="background-color:#1a1a1a"] li,
.wp-block-group[style*="background-color:#1a1a1a"] span,
.wp-block-group[style*="background-color:#1A1A1A"] h1,
.wp-block-group[style*="background-color:#1A1A1A"] h2,
.wp-block-group[style*="background-color:#1A1A1A"] h3,
.wp-block-group[style*="background-color:#1A1A1A"] p,
.wp-block-group[style*="background-color:#1A1A1A"] li,
.wp-block-group[style*="background-color:#1A1A1A"] span {
  color: #FFFFFF !important;
}

/* === PRICE HEADINGS ($10,000 / $5,000) — force white on charcoal bg === */

/* === PROCESS STEP NUMBERS (1, 2, 3) — bright gold === */
p.has-text-color[style*="color:#c9a84c"],
p.has-text-color[style*="color:#C9A84C"],
p[style*="color:#c9a84c"],
p[style*="color:#C9A84C"] {
  color: #D4AF37 !important;
}

/* === CLIENT VOICES / TESTIMONIAL CAROUSEL — navy → charcoal === */
[style*="background-color:#243560"],
[style*="background-color:#2d3f6b"],
[style*="background-color:#1e3a5f"],
[style*="background-color:#1a3a6b"],
[style*="background:#243560"],
[style*="background:#2d3f6b"] {
  background-color: #1A1A1A !important;
}

/* The outer custom HTML block with navy bg — target by computed color range */
.di-tw, .di-tw-inner, [class*="di-tw"] {
  background-color: #1A1A1A !important;
}

/* Card backgrounds inside the carousel */
.di-card {
  background-color: #EFEFEF !important;
  color: #1A1A1A !important;
}
.di-card p, .di-card .di-quote, .di-card .di-reviewer {
  color: #1A1A1A !important;
}

/* Stars stay gold */
.di-stars { color: #D4AF37 !important; }

/* Section label "CLIENT VOICES" and heading */
.di-tw-label { color: #D4AF37 !important; }
.di-tw-title { color: #FFFFFF !important; }

/* Read All Reviews button inside the block */
.di-tw-cta a {
  background-color: #1A1A1A !important;
  color: #FFFFFF !important;
  border: 2px solid #D4AF37 !important;
}

/* === PRACTICE / FIRM / SCOPE labels — force bright gold with max specificity === */
body h4[style*="color:#c9a84c"],
body h4[style*="color:#C9A84C"],
html body h4[style*="color:#c9a84c"] {
  color: #D4AF37 !important;
}