/* VF3-P79 / Blue surfaces => white copy. Loaded via last-styles on customer-facing auto layout.
 * Scope: body.auto-master only. Never changes Admin, widths, blocks or data.
 * Preserve dark ink on white cards, white input fields and yellow CTAs.
 */

/* 1. Main Home / 21-topic subpage: blue category tiles, every text node, all states. */
body.auto-master.auto-home-universal .vf3-p10-category,
body.auto-master.auto-home-universal .vf3-p10-category:is(:hover,:focus-visible),
body.auto-master.auto-home-universal .vf3-p75-home-discovery .vf3-p10-category {
  color:#fff!important;
}
body.auto-master.auto-home-universal .vf3-p10-category :is(.vf3-p10-category-tag,.vf3-p10-category-icon,.vf3-p10-category-icon i,.vf3-p10-category-body strong,.vf3-p10-category-body small,.vf3-p10-category-body em,.vf3-p10-category-body em i),
body.auto-master.auto-home-universal .vf3-p10-category:is(:hover,:focus-visible) :is(.vf3-p10-category-tag,.vf3-p10-category-icon,.vf3-p10-category-icon i,.vf3-p10-category-body strong,.vf3-p10-category-body small,.vf3-p10-category-body em,.vf3-p10-category-body em i) {
  color:#fff!important;
}

/* White on the category hover gradient must also meet normal-text contrast (>=4.5:1). */
body.auto-master.auto-home-universal .vf3-p10-category:is(:hover,:focus-visible) {
  background:linear-gradient(180deg,#2675ad 0%,#1f6394 100%)!important;
}

/* 2. Dark-blue feature strips: icon sits on a deliberately white circular badge. */
body.auto-master.auto-home-universal .auto-u-hero-benefits,
body.auto-master.auto-home-universal .auto-u-hero-benefits span,
body.auto-master.auto-home-universal .auto-u-hero-benefits :is(b,small),
body.auto-master.auto-home-universal .auto-u-hero-benefits span:is(:hover,:focus-visible) :is(b,small) {
  color:#fff!important;
}
/* White icon circle is a light-colored nested surface; blue glyph stays readable. */
body.auto-master.auto-home-universal .auto-u-hero-benefits i,
body.auto-master.auto-home-universal .auto-u-hero-benefits i::before {
  color:#1b5c8d!important;
}

/* 3. Blue CTA surfaces including :hover/:focus must not inherit dark theme ink. */
body.auto-master.auto-home-universal :is(
  .vf3-booking-submit,
  .vf3-p10-shop-link,
  .vf3-p12-price-link,
  .auto-u-offer-actions a:first-child,
  .vf3-p09-btn-solid
),
body.auto-master.auto-home-universal :is(
  .vf3-booking-submit,
  .vf3-p10-shop-link,
  .vf3-p12-price-link,
  .auto-u-offer-actions a:first-child,
  .vf3-p09-btn-solid
):is(:hover,:focus-visible) {
  color:#fff!important;
}
body.auto-master.auto-home-universal :is(
  .vf3-booking-submit,
  .vf3-p10-shop-link,
  .vf3-p12-price-link,
  .auto-u-offer-actions a:first-child,
  .vf3-p09-btn-solid
) :is(i,svg,span,strong,b,small),
body.auto-master.auto-home-universal :is(
  .vf3-booking-submit,
  .vf3-p10-shop-link,
  .vf3-p12-price-link,
  .auto-u-offer-actions a:first-child,
  .vf3-p09-btn-solid
):is(:hover,:focus-visible) :is(i,svg,span,strong,b,small) {
  color:#fff!important;
}
body.auto-master.auto-home-universal .vf3-region-tabbar button:is(.is-active,[aria-selected="true"]),
body.auto-master.auto-home-universal .vf3-region-tabbar button:is(.is-active,[aria-selected="true"]):is(:hover,:focus-visible),
body.auto-master.auto-home-universal .vf3-region-tabbar button:is(.is-active,[aria-selected="true"]) i {
  color:#fff!important;
}

/* 4. P77 topical blue spotlight: do not recolor the white CTA inside. */
body.auto-master .vf3-p77-spotlight,
body.auto-master .vf3-p77-spotlight :is(.vf3-p77-spotlight-copy>span,h3,p),
body.auto-master .vf3-p77-spotlight :is(.vf3-p77-spotlight-copy>span,h3,p) i {
  color:#fff!important;
}

/* 5. Navy closing banner: only its copy, NOT links styled as light/yellow buttons. */
body.auto-master.auto-home-universal .auto-u-cta-final,
body.auto-master.auto-home-universal .auto-u-cta-final > div:first-child :is(span,h2,h3,p,small,strong,b),
body.auto-master.auto-home-universal .auto-u-cta-final > div:first-child :is(span,h2,h3,p,small,strong,b) i {
  color:#fff!important;
}

/* 6. Native 21-subpage dark-blue heroes (exclude their white information side-card). */
body.auto-master .vf3-p31-specialized .p31-hero {color:#fff!important}
body.auto-master .vf3-p31-specialized .p31-hero > :first-child :is(h1,h2,h3,p,li,span,small,strong,b),
body.auto-master .vf3-p31-specialized .p31-hero > :first-child .p31-mini-points :is(i,b,span) {
  color:#fff!important;
}
/* Explicit light hero-side panel keeps original dark ink. */
body.auto-master .vf3-p31-specialized .p31-hero-panel,
body.auto-master .vf3-p31-specialized .p31-hero-panel :is(h2,h3,p,small,strong,b,li) {
  color:#1c3b56;
}

/* 7. Finance simulator blue totals (not its white input/form cards). */
body.auto-master .vf3-fin35 .p35-results,
body.auto-master .vf3-fin35 .p35-results :is(.p35-results-eyebrow,.p35-validation,.p35-result-primary,.p35-result-primary small,.p35-result-primary strong,.p35-result-primary span,.p35-result-list dt,.p35-result-list dd,.p35-result-total dd,.p35-results-footnote) {
  color:#fff!important;
}
/* Finance gold/white action remains a light surface with dark lettering. */
body.auto-master .vf3-fin35 .p35-results .p35-consult-link,
body.auto-master .vf3-fin35 .p35-results .p35-consult-link :is(i,span,strong,b) {
  color:#192d3e!important;
}

/* 8. Specialty blue actions on Insurance / Accessories / Used / provinces. */
body.auto-master :is(
  .p36-insurance .p36-btn-blue,
  .p31-accessories .p34-filter-buttons button,
  .p31-accessories #p34-show-compare,
  .p31-accessories #p34-plan-print,
  .p31-accessories .p34-fitment-footer button,
  .vf3-acc34r .acc34r-search button,
  .vf3-p31-specialized .p33-button--primary,
  .vf3p47-price-cta,
  .vf3p47-join a,
  .vf3p47-steps article>b,
  .vf3p49-sale-card__call,
  .vf3p46-btn--blue
),
body.auto-master :is(
  .p36-insurance .p36-btn-blue,
  .p31-accessories .p34-filter-buttons button,
  .p31-accessories #p34-show-compare,
  .p31-accessories #p34-plan-print,
  .p31-accessories .p34-fitment-footer button,
  .vf3-acc34r .acc34r-search button,
  .vf3-p31-specialized .p33-button--primary,
  .vf3p47-price-cta,
  .vf3p47-join a,
  .vf3p49-sale-card__call,
  .vf3p46-btn--blue
):is(:hover,:focus-visible) {
  color:#fff!important;
}
/* Disabled tools use pale backgrounds + dark text to meet contrast needs. */
body.auto-master .vf3-fin35 .p35-term-card button:not([disabled]){color:#fff!important}

/* 9. 34 shop / province blue image-overlay facts: safeguard white text. */
body.auto-master .vf3p46-hero-fact :is(span,small,strong,b),
body.auto-master .vf3p46-hero-spotlight > :is(span,small,strong,p),
body.auto-master .vf3p46-hero-spotlight > a,
body.auto-master .vf3p46-hero-spotlight > a :is(i,span,strong,b),
body.auto-master .vf3p46-btn--blue :is(i,span),
body.auto-master .vf3p43-lightbox .vf3-lightbox-shell > :is(h2,h3,p) {
  color:#fff!important;
}
/* Do not apply broad .blue * rules: white cards, dropdowns, and badges inside blue
   panels need their own contrasting dark text. */
