/*
 * Wellbrook: text contrast on the brand teal (WCAG 1.4.3 and 1.4.11), Oct 2026. Child theme konsulix-child.
 * The client keeps brand teal #0CABB3 (logo, signage, ads). It stays on fills, borders, icons and the logo.
 * Only the TEXT color changes where teal text, or text on teal, fails:
 *   #0CABB3 with white text            2.80:1  ->  #093039 navy text     5.02:1 (was black 7.49:1 until Nov 9, 2026)
 *   #0CABB3 text on white              2.80:1  ->  #0B3945 text         12.46:1  (site's own dark brand color, Elementor "primary")
 *   #0CABB3 text on #F8F8F8            2.63:1  ->  #0B3945 text         11.73:1
 *   small #0CABB3 text on #0B3945      4.44:1  ->  white text           12.46:1  (24px+ teal on #0B3945 passes 3:1 and stays teal)
 * Classes are set by js/a11y-contrast.js from measured colors. Button rules are pre-generated in
 * assets/a11y-contrast-buttons.css so the common case paints dark from the first frame.
 * Hover and focus keep the theme's own colors (they move off the teal fill).
 */
.cws-ink-black:not(:hover):not(:focus):not(a:hover *):not(a:focus *):not(button:hover *):not(button:focus *) {
	color: #093039 !important;
	-webkit-text-fill-color: #093039;
}
.cws-ink-navy {
	color: #0B3945 !important;
	-webkit-text-fill-color: #0B3945;
}
.cws-ink-white {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

/* Header menu: the current/hovered item was marked only by teal text. On the white header it is now
   #0B3945; on the dark sticky header it is white. Keep a visible teal underline as the "you are here"
   cue so the state is not lost (and not shown by color alone, 1.4.1). */
.main-navigation .current-menu-item > a > .menu-title,
.main-navigation .current-menu-parent > a > .menu-title,
.main-navigation .current-menu-ancestor > a > .menu-title,
.main-navigation .menu-title.cws-ink-navy,
.main-navigation .menu-title.cws-ink-white {
	text-decoration: underline;
	text-decoration-color: #0CABB3;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
/* Table of contents links in blog posts: teal on #F9F9F9 (2.66:1). */
.toc_list a,
#toc_container a {
	color: #0B3945 !important;
}

/* Blog category tag chips: white on teal (2.8:1). */
a[rel="category tag"] {
	color: #093039 !important;
}

/* WP Social Ninja feed counts: #7F8588 on white (3.74:1) -> #4D5256 (7.9:1). */
.wpsr-fb-feed-reaction-count,
.wpsr-fb-feed-comments-count,
.wpsr-fb-feed-statistics,
.wpsr-fb-feed-statistics * {
	color: #4d5256 !important;
}

/* WP Social Ninja "Read more": #65676B inside a parent at opacity .7 renders as #939597 (3.0:1). Darker text
   so the rendered color is about #6c6e72 (5.4:1). Nov 9, 2026. */
.wpsr-fb-feed-item .wpsr_read_more {
	color: #2d3035 !important;
}
