/* V451: V416 forced white backgrounds under components designed with light text.
   Restore readable contrast. Brand browns only. */

/* mobile call bars */
html:root:root:root:root:root:root body .yh-mobilebar{background:#fff!important;border-top:1px solid #e4d9cb!important}
html:root:root:root:root:root:root body .yh-mobilebar a,
html:root:root:root:root:root:root body .yh-mobilebar a small{color:#3a302a!important;background:#fff!important}
html:root:root:root:root:root:root body .yh-mobilebar a:first-child,
html:root:root:root:root:root:root body .yh-mobilebar a:first-child small{color:#fff!important;background:#3a302a!important}
html:root:root:root:root:root:root body .haute-mobile-dock .haute-mobile-dock__primary{background:#3a302a!important}
html:root:root:root:root:root:root body .haute-mobile-dock .haute-mobile-dock__primary,
html:root:root:root:root:root:root body .haute-mobile-dock .haute-mobile-dock__primary *{color:#fff!important}

/* text that now sits on white */
html:root:root:root:root:root:root body .yh-hero .yh-hero__lead,
html:root:root:root:root:root:root body .yh-hero .yh-hero__lead a,
html:root:root:root:root:root:root body .yh-service--wide p,
html:root:root:root:root:root:root body .yh-final p,
html:root:root:root:root:root:root body .yh-journal-hero p,
html:root:root:root:root:root:root body .v189-store p,
html:root:root:root:root:root:root body .v189-stats span,
html:root:root:root:root:root:root body aside[class*="editorial-disclosure"] p,
html:root:root:root:root:root:root body aside[class*="editorial-disclosure"] strong{color:#4f4239!important}
html:root:root:root:root:root:root body .yh-service--wide small,
html:root:root:root:root:root:root body .v189-stats strong,
html:root:root:root:root:root:root body aside[class*="editorial-disclosure"] small{color:#7a5c3a!important}
html:root:root:root:root:root:root body .yh-final h2,
html:root:root:root:root:root:root body .yh-service--wide h3,
html:root:root:root:root:root:root body aside[class*="editorial-disclosure"] h2{color:#3a302a!important}

/* links and outline buttons on white */
html:root:root:root:root:root:root body aside[class*="editorial-disclosure"] a,
html:root:root:root:root:root:root body .v189-store .v189-actions a,
html:root:root:root:root:root:root body .v188-section--night a.v188-button--line{color:#3a302a!important;border-color:#9b7854!important}

/* faint links and figures on brown backgrounds */
html:root:root:root:root:root:root body footer .yh399-actions a,
html:root:root:root:root:root:root body .yh380-footer a.yh384-line,
html:root:root:root:root:root:root body .v187-hero-proof b{color:#fff!important}

/* moments page bottom bar */
html:root:root:root:root:root:root body .mobile-bottom-nav a.mbn-line,
html:root:root:root:root:root:root body .mobile-bottom-nav a.mbn-line span,
html:root:root:root:root:root:root body .mobile-bottom-nav a.mbn-primary,
html:root:root:root:root:root:root body .mobile-bottom-nav a.mbn-primary span{color:#3a302a!important}
html:root:root:root:root:root:root body .mobile-bottom-nav a.mbn-call span{color:#fff!important}

/* dark side panel keeps its background: headings must be light */
html:root:root:root:root:root:root body aside.yh-consult:not([class*="editorial-disclosure"]) h2{color:#fff!important}

/* tool-page hero: keep the designed dark panel */
html:root:root:root:root:root:root body .yh380-dark{background-color:#3a302a!important}
html:root:root:root:root:root:root body .yh380-dark h1,
html:root:root:root:root:root:root body .yh380-dark h2,
html:root:root:root:root:root:root body .yh380-dark p{color:#fff9f2!important}
html:root:root:root:root:root:root body .yh380-dark .yh380-kicker{color:#e6cfa6!important}
html:root:root:root:root:root:root body .yh380-footer a.yh380-link{color:#332d26!important}

/* knowledge index: the first banner (div) keeps its dark gradient, the section banners are white */
html:root:root:root:root:root:root body div.v187-editorial-banner h2{color:#fff9f2!important}
html:root:root:root:root:root:root body section.v187-editorial-banner h2{color:#3a302a!important}
html:root:root:root:root:root:root body section.v187-editorial-banner p,
html:root:root:root:root:root:root body section.v187-editorial-banner .v187-trust-row span{color:#4f4239!important}
html:root:root:root:root:root:root body section.v187-editorial-banner small{color:#7a5c3a!important}
html:root:root:root:root:root:root body section.v187-editorial-banner .v187-editorial-links a{color:#3a302a!important;border-color:#9b7854!important}

/* photo caption sits on the picture: give it its own backing */
html:root:root:root:root:root:root body .hero-image figcaption{color:#fff!important;background:rgba(58,48,42,.86)!important;padding:6px 10px!important;border-radius:4px}

/* featured contact tile and urgent step number */
html:root:root:root:root:root:root body a.v188-plan--featured small{color:#7a5c3a!important}
html:root:root:root:root:root:root body li.active[data-progress]>b{color:#fff!important}
