/* ===========================================================================
 * SurgeU — WCAG 2.2 AA contrast: surgical overrides
 * ===========================================================================
 *
 * Companion to surgeu-a11y-contrast.php. Elementor buttons and heading titles
 * are handled separately by computed colour in the plugin footer script.
 *
 * TrustIndex contrast corrections reuse the verified Life Surge treatment and
 * remain scoped to .ti-widget.
 * =========================================================================== */


/* ---------------------------------------------------------------------------
 * TrustIndex review dates.
 *
 * TrustIndex colours the parent .ti-date; this rule colours the child
 * .ti-with-tooltip directly, so it wins over the inherited colour without
 * !important. Life Surge colour #4B5563: 7.56:1 on white, 6.93:1 on #f5f5f5.
 * ------------------------------------------------------------------------- */
.ti-widget .ti-date .ti-with-tooltip {
  color: #4B5563;
}


/* ---------------------------------------------------------------------------
 * TrustIndex "Read more" / "Hide" controls.
 *
 * #808080 on #FFFFFF is 3.94:1 and does not meet 4.5:1 for normal text.
 * Use #005B93 (7.20:1) with the darker #003E63 (11.23:1) interaction state.
 *
 * The selector continues matching when "Read more" changes to "Hide".
 * ------------------------------------------------------------------------- */
.ti-widget .ti-read-more-active[role="button"] {
  color: #005B93 !important;
  opacity: 1 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em !important;
  transition: color 160ms ease, text-decoration-color 160ms ease !important;
}

.ti-widget .ti-read-more-active[role="button"]:hover,
.ti-widget .ti-read-more-active[role="button"]:focus-visible {
  color: #003E63 !important;
  text-decoration-color: currentColor !important;
}