/*
 * JP-787 — "JTL Partner finden" (partner-finder) section: text colour
 * ---------------------------------------------------------------------------
 * Pages: /de/partner-suche-template (body.page-id-234980)
 *        /en/find-a-partner        (body.page-id-263117)
 *
 * The partner-finder filter widget (#serviceform) renders its section labels
 * (.h6), its product/competency accordion labels (.card-header .btn-link >
 * strong) and its radio/checkbox labels in slate-gray:
 *   section labels      rgb(54,72,86)  (#364856)
 *   competency labels   rgb(67,90,107) (#435a6b)
 *   radio/check labels  rgb(51,51,51)  (#333)
 * The approved design calls for dark navy #0b1b45 (--jtl-dark-blue).
 *
 * Fix: force the filter widget's LABEL/heading text to navy. Scoped to the
 * two partner pages via body page-id. We deliberately do NOT touch the km
 * dropdown button (navy background, white text) or the red/green
 * "wenig/sehr wichtig" priority icons — only their text labels flip to navy.
 */
body:is(.page-id-234980, .page-id-263117) #serviceform .h6,
body:is(.page-id-234980, .page-id-263117) #serviceform .card-header .btn-link,
body:is(.page-id-234980, .page-id-263117) #serviceform .card-header strong,
body:is(.page-id-234980, .page-id-263117) #serviceform label:not(.btn),
body:is(.page-id-234980, .page-id-263117) #serviceform .form-check-label {
    color: #0b1b45 !important;
    -webkit-text-fill-color: #0b1b45 !important;
}

/*
 * QA re-open (Diu, 2026-07-05): the DE page was "still gray". Root cause: the
 * first pass scoped only to #serviceform (the filter widget); it missed the
 * MOST prominent copy in the "JTL Partner finden" section — the hero subtitle
 * paragraph directly under the <h1>. That <p> is a class-less node inside
 * .partner-search-hero and inherits the theme body grey #333, while the <h1>
 * beside it is already navy. Bring the hero subtitle to the same navy.
 *   DE: "Entdecke zertifizierte JTL Partner in deiner Nähe. …"  (rgb(51,51,51))
 *   EN: "Discover certified JTL partners in your area. …"       (rgb(51,51,51))
 */
body:is(.page-id-234980, .page-id-263117) .partner-search-hero__content p,
body:is(.page-id-234980, .page-id-263117) .partner-search-hero p {
    color: #0b1b45 !important;
    -webkit-text-fill-color: #0b1b45 !important;
}
