/**
 * Frontend patches — hand-edited, NOT compiled.
 *
 * Staging area for quick CSS fixes. This file is loaded last on the frontend,
 * after main/formations/monespace and after LearnDash's own stylesheet, so a
 * plain selector of equal specificity already wins — reach for !important only
 * when overriding a rule that itself uses it.
 *
 * Not part of the efb-proto build: `sync-assets.sh` rsyncs
 * efb-proto/dist/assets/ into ../styles/, so anything written there is
 * overwritten on the next build. This directory is untouched by that sync.
 *
 * Workflow: patch here → once validated, move the rule into the matching
 * partial in efb-proto/src/styles/ → rebuild → delete it from this file.
 *
 * Cache-busted on every save via filemtime(), but WP Rocket / FlyingPress page
 * cache still needs a purge to see changes on a cached page.
 *
 * Enqueued in incs/params/style.php — grid_load_patches_css()
 */

/* -------------------------------------------------------------------------
 * LearnDash
 * ---------------------------------------------------------------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger:not([disabled]):not(:hover):not(:focus) .ld-icon{
    border: 0;    
    background: var(--bs-primary)!important;
}

.learndash-wrapper .ld-expand-button.ld-button-alternate:not([disabled]) .ld-icon{
    background: var(--bs-primary)!important;
}

.ld-icon-arrow-down:before{
    color: #fff;
}

.learndash-wrapper .ld-expand-button:focus{
    outline: 0;
}

.learndash-wrapper .ld-primary-background,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button:not([disabled]):not(.wpProQuiz_button_reShowQuestion):not(.wpProQuiz_button_restartQuiz){
    color: #fff;
    background: var(--bs-primary)!important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button2:focus,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button:focus{
    outline-color: var(--bs-primary)!important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) a:not(.button):not(.screen-reader-shortcut):hover{
    outline: 0!important;
    border: 0!important;
}

/* -------------------------------------------------------------------------
 * Formations
 * ---------------------------------------------------------------------- */


/* -------------------------------------------------------------------------
 * Misc
 * ---------------------------------------------------------------------- */
