/**
 * Restore white labels on Tutor's filled buttons.
 *
 * The Elementor global kit emits `.elementor-kit-11 a { color:#3C3C3C }` and
 * `.elementor-kit-11 a:hover { color:#E30202 }`. Those are specificity (0,1,1)
 * and (0,2,1), so they outrank Tutor's own `.tutor-btn-primary { color:#fff }`
 * (0,1,0) and repaint the label of every Tutor button rendered as an <a>. That
 * is why the red "Buy Now" button on course pages had dark grey text while the
 * "Gift this Course" button beside it looked right — gift is a <button>, which
 * the kit rule cannot match.
 *
 * Fixing the kit rule itself would change ordinary link colours across the
 * whole site, so the affected declarations are re-stated here at a specificity
 * the kit rule cannot beat. Only <a class="tutor-btn"> is targeted, so real
 * body links are untouched.
 *
 * DELIBERATELY NARROW: this covers only the buttons that have a solid colour
 * fill behind the label, where dark grey text is a genuine defect. Tutor's
 * flat variants (ghost, link, tertiary, and the resting state of secondary)
 * sit on white, so the kit's #3C3C3C is perfectly readable there — and in fact
 * beats Tutor's own #757c8e ghost grey, which measures 4.17:1 on white and
 * misses WCAG AA. Restoring those would make the Wishlist / Share / Show More
 * links harder to read, so they are left as the kit paints them.
 *
 * Values are copied verbatim from tutor/assets/css/tutor.min.css (4.0.6).
 * If Tutor restyles its buttons, re-check them against that file.
 */

/* Primary — the Buy Now / Start Learning / View Cart buttons. */
body a.tutor-btn.tutor-btn-primary,
body a.tutor-btn.tutor-btn-primary:hover,
body a.tutor-btn.tutor-btn-primary:focus,
body a.tutor-btn.tutor-btn-primary:active {
	color: #fff;
}

/* Danger — solid red fill. */
body a.tutor-btn.tutor-btn-danger,
body a.tutor-btn.tutor-btn-danger:hover,
body a.tutor-btn.tutor-btn-danger:focus,
body a.tutor-btn.tutor-btn-danger:active {
	color: #fff;
}

/* Ghost light sits on a dark background, so it needs its white label back. */
body a.tutor-btn.tutor-btn-ghost-light {
	color: #fff;
}

body a.tutor-btn.tutor-btn-ghost-light:hover,
body a.tutor-btn.tutor-btn-ghost-light:focus,
body a.tutor-btn.tutor-btn-ghost-light:active {
	color: rgba(255, 255, 255, 0.8);
}

/* Outline and secondary variants are transparent at rest but fill with colour
 * on interaction, so only their interaction states need the white label. */
body a.tutor-btn.tutor-btn-outline-primary:hover,
body a.tutor-btn.tutor-btn-outline-primary:focus,
body a.tutor-btn.tutor-btn-outline-primary:active,
body a.tutor-btn.tutor-btn-secondary:hover,
body a.tutor-btn.tutor-btn-secondary:focus,
body a.tutor-btn.tutor-btn-secondary:active,
body a.tutor-btn.tutor-btn-outline-secondary:hover,
body a.tutor-btn.tutor-btn-outline-secondary:focus,
body a.tutor-btn.tutor-btn-outline-secondary:active {
	color: #fff;
}
