/*
 * Anchors styled as buttons keep their own colour.
 *
 * Elementor's global kit ships, at (0,2,0) and (0,2,1):
 *
 *     .elementor-kit-83 a       { color: #000 }
 *     .elementor-kit-83 a:hover { color: #000 }
 *
 * Every component stylesheet in this theme colours its buttons with a single
 * class — .cul-ml__btn--go, .cul-dash-row-action--primary — which is (0,1,0),
 * or (0,2,0) with a pseudo-class. So any control rendered as an <a> rather
 * than a <button> came out black, while the <button> beside it was correct.
 * White text on an orange background became black text on an orange
 * background, which is the unreadable direction.
 *
 * This had been patched five times in five stylesheets, each time after
 * someone spotted it on a page. This is the guard that stops the sixth.
 *
 * Two families, and the distinction matters:
 *
 *   Filled     coloured background, white text. Black here is unreadable.
 *   Quiet      white background, navy text. Black here is a tonal shift.
 *
 * Filled is matched by naming convention, so a component written next month
 * that follows it is covered without touching this file. Base classes like
 * .cul-cl__btn are deliberately NOT listed: their plain variant is a white
 * button with navy text, and forcing white would make it invisible.
 *
 * Loaded after Elementor's kit and qualified to at least (0,3,1), so it wins
 * on specificity rather than on load order.
 */

/* ── Filled, by convention ────────────────────────────────────────────── */

a[class*="cul-"][class*="--go"],
a[class*="cul-"][class*="--go"]:link,
a[class*="cul-"][class*="--go"]:visited,
a[class*="cul-"][class*="--go"]:hover,
a[class*="cul-"][class*="--go"]:focus,
a[class*="cul-"][class*="--go"]:active,

a[class*="cul-"][class*="--primary"],
a[class*="cul-"][class*="--primary"]:link,
a[class*="cul-"][class*="--primary"]:visited,
a[class*="cul-"][class*="--primary"]:hover,
a[class*="cul-"][class*="--primary"]:focus,
a[class*="cul-"][class*="--primary"]:active,

a[class*="cul-"][class*="--navy"],
a[class*="cul-"][class*="--navy"]:hover,
a[class*="cul-"][class*="--navy"]:focus,

a[class*="cul-"][class*="--cta"],
a[class*="cul-"][class*="--cta"]:hover,
a[class*="cul-"][class*="--cta"]:focus,

/* ── Filled, standalone ───────────────────────────────────────────────────
   These have no quiet variant — the class itself means a filled button. Each
   was checked against the rule that gives it its background before being
   listed here. */

a.cul-evm__add, a.cul-evm__add:hover, a.cul-evm__add:focus,
a.cul-ml__add, a.cul-ml__add:hover, a.cul-ml__add:focus,
a.cul-od__tbtn, a.cul-od__tbtn:hover, a.cul-od__tbtn:focus,
a.cul-lev__btn, a.cul-lev__btn:hover, a.cul-lev__btn:focus,
a.cul-ev__btn-o, a.cul-ev__btn-o:hover, a.cul-ev__btn-o:focus,
a.cul-mo__btn, a.cul-mo__btn:hover, a.cul-mo__btn:focus,
a.cul-post__offer-btn, a.cul-post__offer-btn:hover, a.cul-post__offer-btn:focus,
a.cul-offerstrip__btn, a.cul-offerstrip__btn:hover, a.cul-offerstrip__btn:focus,
a.cul-claim-card__btn, a.cul-claim-card__btn:hover, a.cul-claim-card__btn:focus,
a.cul-sp-cta__btn, a.cul-sp-cta__btn:hover, a.cul-sp-cta__btn:focus,
a.cul-spotlight__cta, a.cul-spotlight__cta:hover, a.cul-spotlight__cta:focus,
a.cul-v3-spot__btn, a.cul-v3-spot__btn:hover, a.cul-v3-spot__btn:focus,
a.cul-about-btn-primary, a.cul-about-btn-primary:hover, a.cul-about-btn-primary:focus,
a.cul-fp-btn, a.cul-fp-btn:hover, a.cul-fp-btn:focus,
a.cul-cyl-claim-btn, a.cul-cyl-claim-btn:hover, a.cul-cyl-claim-btn:focus,
a.cul-gss__card-btn, a.cul-gss__card-btn:hover, a.cul-gss__card-btn:focus,
a.cul-pb-trial-cta, a.cul-pb-trial-cta:hover, a.cul-pb-trial-cta:focus,
a.cul-pb-claim-search-result-cta, a.cul-pb-claim-search-result-cta:hover,
a.cul-sales-btn, a.cul-sales-btn:hover, a.cul-sales-btn:focus,
a.cul-sales-action, a.cul-sales-action:hover, a.cul-sales-action:focus,
a.cul-sales-login-btn, a.cul-sales-login-btn:hover, a.cul-sales-login-btn:focus,
a.cul-br__clearbtn, a.cul-br__clearbtn:hover, a.cul-br__clearbtn:focus,
a.cul-sitebar__cta, a.cul-sitebar__cta:hover, a.cul-sitebar__cta:focus {
    color: #fff;
}

/* Ghost and secondary variants of the filled classes above are outlined, not
   filled, so they must not be dragged white by the rules above. */
a[class*="cul-"][class*="--ghost"],
a[class*="cul-"][class*="--ghost"]:hover,
a[class*="cul-"][class*="--ghost"]:focus,
a[class*="cul-"][class*="--secondary"],
a[class*="cul-"][class*="--secondary"]:hover,
a[class*="cul-"][class*="--secondary"]:focus {
    color: var(--cul-brand, #1B3A5C);
}
