/* Filled expansion controls in native courses, groups and lesson/topic sidebars.
 * Alternate labels and transparent Previous/Next links retain LearnDash's blue. */
.wpilot-learndash-native .learndash-wrapper .ld-expand-button:not(.ld-button-alternate) .ld-text,
.wpilot-learndash-native .learndash-wrapper .ld-expand-button .ld-icon {
	color: #fff !important;
	fill: #fff !important;
}

/* Filled Previous/Next controls use .ld-button, not .ld-expand-button.
 * Preserve transparent/reverse/alternate, disabled and explicit opt-out variants. */
.wpilot-learndash-native .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld-button-alternate):not(.ld--ignore-inline-css):not([disabled]):not([aria-disabled="true"]),
.wpilot-learndash-native .learndash-wrapper .ld-button:not(.ld-button-transparent):not(.ld-button-reverse):not(.ld-button-alternate):not(.ld--ignore-inline-css):not([disabled]):not([aria-disabled="true"]) :is(.ld-text, .ld-icon) {
	color: #fff !important;
	fill: #fff !important;
}

/* The embedded Compact Horizontal Menu includes an unscoped body padding rule.
 * Neutralize it only on normal course pages actually containing that menu. */
.wpilot-learndash-page.single-sfwd-courses:has(.learndash-wrapper .ld-tab-content .responsive-menu) {
	padding: 0;
}
