/**
 * Kennti Premium — Phase 1: repair only
 * ------------------------------------------------------------------
 * Loaded LAST in the child theme so it wins on source order. Uses one
 * extra `body` in each selector to also win on specificity, because
 * WP Rocket's Remove-Unused-CSS re-orders declarations when it inlines
 * them — source order alone is not a guarantee here.
 *
 * Zero importance overrides are used. If a rule ever seems to need one,
 * the selector is wrong — fix the selector instead.
 *
 * Scope note: block classes on the live homepage carry the id `56534`
 * (the page content was cloned from that post) while the page itself is
 * `page-id-69069`. Target the BLOCK classes, never `body.page-id-*`.
 * See SKILL.md §3 rule 4 for why that distinction matters.
 *
 * Phase 1 corrects measured brand violations only. Zero aesthetic change.
 * Created 2026-07-25.
 */

/* ==================================================================
   1. CTA gradients — banned legacy hexes shipped live
   was: a two-stop blue gradient using two banned legacy hexes
   now: canonical primary -> primary-dark
   ================================================================== */

body .wp-block-kadence-advancedbtn .kb-btn56534_hero-btn-a.kb-button,
body .wp-block-kadence-advancedbtn .kb-btn56534_aio-btn-a.kb-button,
body .wp-block-kadence-advancedbtn .kb-btn56534_inn-btn-a.kb-button,
body .wp-block-kadence-advancedbtn .kb-btn56534_not-btn-a.kb-button,
body .wp-block-kadence-advancedbtn .kb-btn56534_ekg-btn-a.kb-button,
body .wp-block-kadence-advancedbtn .kb-btn56534_ff5da3-57.kb-button {
  background: linear-gradient(90deg, #2563EB 0, #1D4ED8 100%);
  /* Buttons shipped with the OS font stack, not the locked brand font. */
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

body .wp-block-kadence-advancedbtn .kb-btn56534_hero-btn-a.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_hero-btn-a.kb-button:focus,
body .wp-block-kadence-advancedbtn .kb-btn56534_aio-btn-a.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_aio-btn-a.kb-button:focus,
body .wp-block-kadence-advancedbtn .kb-btn56534_inn-btn-a.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_inn-btn-a.kb-button:focus,
body .wp-block-kadence-advancedbtn .kb-btn56534_not-btn-a.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_not-btn-a.kb-button:focus,
body .wp-block-kadence-advancedbtn .kb-btn56534_ekg-btn-a.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_ekg-btn-a.kb-button:focus,
body .wp-block-kadence-advancedbtn .kb-btn56534_ff5da3-57.kb-button:hover,
body .wp-block-kadence-advancedbtn .kb-btn56534_ff5da3-57.kb-button:focus {
  background: #1D4ED8;
}

/* ==================================================================
   2. Section backgrounds — banned near-white -> canonical bg-gray
   Visually near-identical; this is token hygiene, not a redesign.
   ================================================================== */

body .kb-row-layout-wrap.kb-row-layout-id56534_how-row,
body .kb-row-layout-wrap.kb-row-layout-id56534_pkg-row {
  background-color: #F8F9FA;
}

/* ==================================================================
   3. Paths-section headings — banned navy -> canonical heading colour
   ================================================================== */

body .kt-adv-headingv6_paths_h2,
body .kt-adv-headingv6_path_a_title,
body .kt-adv-headingv6_path_b_title,
body .kt-adv-headingv6_path_c_title {
  color: #1E293B;
}
