/*
 * Prépa Journalisme — habillage de l'espace étudiant (LearnDash LD30).
 * Prolonge « la copie » sur les écrans connectés : surfaces papier, filets fins,
 * titraille Franklin, labeur Spectral. Le rouge reste la main du correcteur :
 * il n'entre que sur les copies rendues, les notes et les mauvaises réponses,
 * jamais en aplat. Les réglages primaire/secondaire/tertiaire (bic/encre/encre
 * claire) sont posés côté admin ; cette feuille impose l'aplat papier et purge
 * les couleurs d'usine qui échappent à ces réglages.
 */

/* ---------- socle : le wrapper LearnDash sur la feuille ---------- */

.learndash-wrapper{
  --ld-color-brand-primary:var(--wp--preset--color--bic);
  font-family:var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--encre);
  font-size:16.5px;line-height:1.65;
}
.learndash-wrapper h1,
.learndash-wrapper h2,
.learndash-wrapper h3,
.learndash-wrapper h4,
.learndash-wrapper .ld-item-title,
.learndash-wrapper .ld-item-name,
.learndash-wrapper .ld-lesson-title,
.learndash-wrapper .ld-section-heading,
.ld-focus .ld-focus-header h1{
  font-family:var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
  letter-spacing:-.01em;
}
/* le bleu d'usine s'invite encore sur les liens malgré le réglage admin */
.learndash-wrapper a{color:var(--wp--preset--color--bic)}
.learndash-wrapper a:hover{color:var(--wp--preset--color--encre)}

/* ---------- boutons : conventions pj-btn ---------- */
/* action principale en encre, survol bic ; on suit boutique.css (!important
   car LD30 pose des couleurs en ligne issues des réglages) */

.learndash-wrapper .ld-button,
.learndash-wrapper .learndash_mark_complete_button,
.learndash-wrapper .ld-login-button,
.learndash-wrapper .wpProQuiz_button,
.learndash-wrapper .wpProQuiz_button2,
.learndash-wrapper input.wpProQuiz_QuestionButton,
.ld-focus .ld-button{
  display:inline-block;
  font:700 15px/1 var(--wp--preset--font-family--titraille) !important;
  background:var(--wp--preset--color--encre) !important;
  color:var(--wp--preset--color--papier) !important;
  border:1.5px solid var(--wp--preset--color--encre) !important;
  border-radius:3px !important;
  padding:14px 26px !important;
  text-transform:none !important;letter-spacing:0 !important;
  box-shadow:none !important;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.learndash-wrapper .ld-button:hover,
.learndash-wrapper .learndash_mark_complete_button:hover,
.learndash-wrapper .ld-login-button:hover,
.learndash-wrapper .wpProQuiz_button:hover,
.learndash-wrapper .wpProQuiz_button2:hover,
.ld-focus .ld-button:hover{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
  color:#fff !important;
}
/* action secondaire : fantôme filet, comme .pj-btn-ghost */
.learndash-wrapper .ld-button.ld-button-alternate,
.learndash-wrapper .ld-button.ld-button-transparent,
.learndash-wrapper .ld-button.ld-button-reverse{
  background:transparent !important;
  color:var(--wp--preset--color--encre) !important;
  border-color:var(--wp--preset--color--filet) !important;
}
.learndash-wrapper .ld-button.ld-button-alternate:hover,
.learndash-wrapper .ld-button.ld-button-transparent:hover{
  background:transparent !important;
  color:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
}

/* ---------- liste de cours : le sommaire ---------- */
/* rangées aérées à filets fins, titres Franklin 700, méta en étiquettes mine */

.learndash-wrapper .ld-course-list-items,
.learndash-wrapper .ld-item-list-items{
  display:block;
  border-top:1px solid var(--wp--preset--color--filet);
}
.learndash-wrapper .ld-item-list-item{
  background:transparent;
  border:none;border-bottom:1px solid var(--wp--preset--color--filet);
  border-radius:0;margin:0;padding:0;
}
.learndash-wrapper .ld-item-list-item-preview{
  padding:22px 8px;
  transition:background .15s ease;
}
.learndash-wrapper .ld-item-list-item-preview:hover{background:rgba(255,255,255,.7)}
.learndash-wrapper .ld-item-name,
.learndash-wrapper .ld-item-title{
  font:700 21px/1.2 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
}
.learndash-wrapper .ld-item-list-item-preview:hover .ld-item-name{color:var(--wp--preset--color--bic)}
.learndash-wrapper .ld-item-details,
.learndash-wrapper .ld-course-status-label{
  font:700 10.5px/1.6 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}

/* champ de recherche des cours */
.learndash-wrapper .ld-item-search-fields input[type="text"],
.learndash-wrapper .ld-item-search-fields select{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);
  border-radius:2px;color:var(--wp--preset--color--encre);
}

/* ---------- page de cours : statut, progression, sommaire ---------- */

.learndash-wrapper .ld-course-status{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);
  border-radius:3px;
}
.learndash-wrapper .ld-course-status-content{gap:18px}

/* barre de progression : remplissage bic sur filet */
.learndash-wrapper .ld-progress-heading,
.learndash-wrapper .ld-progress-label{
  font:700 12px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}
.learndash-wrapper .ld-progress-bar{
  background:var(--wp--preset--color--filet) !important;
  border:none !important;border-radius:2px;height:8px;overflow:hidden;
}
.learndash-wrapper .ld-progress-bar .ld-progress-bar-percentage{
  background:var(--wp--preset--color--bic) !important;
  border-radius:2px;
}
.learndash-wrapper .ld-progress-percentage,
.learndash-wrapper .ld-progress-stats .ld-progress-percentage{
  color:var(--wp--preset--color--bic);font-weight:800;
}

/* sommaire des modules : rangées à filets fins */
.learndash-wrapper .ld-lesson-item,
.learndash-wrapper .ld-topic-row{
  background:transparent;
  border:none;border-bottom:1px solid var(--wp--preset--color--filet);
  border-radius:0;
}
.learndash-wrapper .ld-section-heading{
  border-top:1.5px solid var(--wp--preset--color--encre);
  padding-top:16px;margin-top:8px;
  font:700 12px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--encre);
}
.learndash-wrapper .ld-lesson-item-preview-heading,
.learndash-wrapper .ld-topic-title{
  font:700 18px/1.3 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
}

/* pastilles d'état : coche encre quand acquis, contour filet sinon */
.learndash-wrapper .ld-status-icon{border-color:var(--wp--preset--color--filet)}
.learndash-wrapper .ld-status-complete,
.learndash-wrapper .ld-status-icon.ld-status-complete{
  background:var(--wp--preset--color--encre) !important;
  border-color:var(--wp--preset--color--encre) !important;
}
.learndash-wrapper .ld-status-in-progress{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
}

/* fil d'ariane, onglets, pagination : sobres */
.learndash-wrapper .ld-breadcrumbs{
  font:700 10.5px/1.6 var(--wp--preset--font-family--titraille);
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);background:transparent;
}
.learndash-wrapper .ld-tabs .ld-tabs-navigation{
  border-bottom:1px solid var(--wp--preset--color--filet);
}
.learndash-wrapper .ld-tabs .ld-tab{
  font:700 13px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);background:transparent;border:none;
}
.learndash-wrapper .ld-tabs .ld-tab.ld-active{
  color:var(--wp--preset--color--encre);
  box-shadow:inset 0 -2px 0 var(--wp--preset--color--bic);
}

/* ---------- leçon & sujet : mode focus ---------- */
/* fond papier, colonne de lecture ~760px, sidebar blanche à filets fins */

.ld-focus,
body.ld-in-focus-mode{background:var(--wp--preset--color--papier)}
.ld-focus .ld-focus-header{
  background:var(--wp--preset--color--papier);
  border-bottom:1px solid var(--wp--preset--color--filet);
  box-shadow:none;
}
.ld-focus .ld-focus-header .ld-brand-logo,
.ld-focus .ld-focus-header .ld-user-menu{color:var(--wp--preset--color--encre)}

.ld-focus .ld-focus-main{background:transparent}
.ld-focus .ld-focus-content{
  max-width:760px;margin-inline:auto;
  font-family:var(--wp--preset--font-family--labeur);
}
.ld-focus .ld-focus-content h1,
.ld-focus .ld-focus-content h2,
.ld-focus .ld-focus-content h3{
  font-family:var(--wp--preset--font-family--titraille);
}
.ld-focus .ld-tab-content,
.ld-focus .ld-focus-content p{font-size:17.5px;line-height:1.7}

/* vidéo pédagogique : toujours fluide dans la colonne de lecture */
.ld-focus .ld-video,
.learndash-wrapper .ld-video{position:relative;width:100%;margin:8px 0 4px}
.ld-focus .ld-video iframe,
.ld-focus .wp-video,
.ld-focus .ld-focus-content iframe,
.learndash-wrapper .ld-video iframe{max-width:100%}

/* sidebar : blanc, filets fins, progression bic */
.ld-focus-sidebar,
.ld-focus .ld-focus-sidebar{
  background:var(--wp--preset--color--blanc);
  border-right:1px solid var(--wp--preset--color--filet);
}
.ld-focus-sidebar .ld-course-navigation-heading,
.ld-focus-sidebar .ld-lesson-title{
  font:700 12px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}
.ld-focus-sidebar .ld-table-list-item{
  border-bottom:1px solid var(--wp--preset--color--filet);background:transparent;
}
.ld-focus-sidebar .ld-table-list-item-preview:hover{background:var(--wp--preset--color--papier)}
.ld-focus-sidebar .ld-is-current-lesson > .ld-table-list-item-preview,
.ld-focus-sidebar .ld-item-list-item.ld-is-current-item{
  box-shadow:inset 3px 0 0 var(--wp--preset--color--bic);
}
.ld-focus-sidebar .ld-progress-bar{background:var(--wp--preset--color--filet) !important}
.ld-focus-sidebar .ld-progress-bar-percentage{background:var(--wp--preset--color--bic) !important}

/* navigation bas de leçon */
.learndash-wrapper .ld-content-actions,
.learndash-wrapper .ld-content-action{background:transparent}

/* ---------- quiz ---------- */

.learndash-wrapper .wpProQuiz_content{
  font-family:var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--encre);
}
.learndash-wrapper .wpProQuiz_header,
.learndash-wrapper .wpProQuiz_question_text{
  font:700 18px/1.4 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
}
.learndash-wrapper .wpProQuiz_questionList{border:none}
.learndash-wrapper .wpProQuiz_questionListItem{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);border-radius:2px;
  margin-bottom:8px;
}
.learndash-wrapper .wpProQuiz_questionListItem label{cursor:pointer}
.learndash-wrapper .wpProQuiz_questionInput{accent-color:var(--wp--preset--color--bic)}

/* bonne réponse : la coche du correcteur, pas d'aplat vert */
.learndash-wrapper .wpProQuiz_questionListItem.wpProQuiz_answerCorrect,
.learndash-wrapper .wpProQuiz_answerCorrect{
  background:var(--wp--preset--color--blanc) !important;
  border:1px solid var(--wp--preset--color--filet) !important;
  box-shadow:inset 3px 0 0 var(--wp--preset--color--encre) !important;
}
.learndash-wrapper .wpProQuiz_answerCorrect > label::after{
  content:"✓";margin-left:8px;font-weight:800;
  color:var(--wp--preset--color--encre);
}
/* mauvaise réponse : le rouge du correcteur, en bordure et soulignement */
.learndash-wrapper .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect,
.learndash-wrapper .wpProQuiz_answerIncorrect{
  background:var(--wp--preset--color--blanc) !important;
  border:1px solid var(--wp--preset--color--filet) !important;
  box-shadow:inset 3px 0 0 var(--wp--preset--color--rouge) !important;
}
.learndash-wrapper .wpProQuiz_answerIncorrect > label{
  color:var(--wp--preset--color--rouge);
  text-decoration:underline;text-decoration-color:var(--wp--preset--color--rouge);
  text-underline-offset:3px;text-decoration-thickness:1.5px;
}
/* correction affichée sous la question */
.learndash-wrapper .wpProQuiz_response .wpProQuiz_correct,
.learndash-wrapper .wpProQuiz_response .wpProQuiz_incorrect{
  background:var(--wp--preset--color--blanc);
  border-left:2px solid var(--wp--preset--color--filet);
}
.learndash-wrapper .wpProQuiz_response .wpProQuiz_incorrect{
  border-left-color:var(--wp--preset--color--rouge);
}

/* résultats : la note comme sur une copie, en Caveat rouge */
.learndash-wrapper .wpProQuiz_results,
.learndash-wrapper .ld-quiz-result-passed,
.learndash-wrapper .ld-quiz-result-failed{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);border-radius:3px;
}
.learndash-wrapper .ld-quiz-result-failed{
  border-left:2px solid var(--wp--preset--color--rouge);
}
.learndash-wrapper .wpProQuiz_points,
.learndash-wrapper .wpProQuiz_resultValue{
  font:700 30px/1 var(--wp--preset--font-family--correcteur);
  color:var(--wp--preset--color--rouge);
}

/* ---------- devoirs & copies rendues : la marge du correcteur ---------- */

.learndash-wrapper .ld-file-upload,
.learndash-wrapper .ld-file-upload-form{
  background:var(--wp--preset--color--blanc);
  border:1px dashed var(--wp--preset--color--filet);border-radius:3px;
}
.learndash-wrapper .ld-file-upload-heading{
  font:700 12px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}
.learndash-wrapper .ld-assignment-list,
.learndash-wrapper .ld-essay-list{
  border-top:1px solid var(--wp--preset--color--filet);
}
.learndash-wrapper .ld-assignment-column-approved{color:var(--wp--preset--color--encre)}

/* le retour du correcteur : bordure gauche rouge, fond blanc — l'esprit .pj-note-finale */
.learndash-wrapper .ld-comment-wrapper,
.ld-focus .ld-focus-comment,
.ld-focus .ld-focus-comments .ld-comment-wrapper{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);
  border-left:2px solid var(--wp--preset--color--rouge);
  border-radius:0 3px 3px 0;
  padding:16px 18px;
}
.ld-focus .ld-focus-comments__heading{
  font:700 12px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--rouge);
}
/* la note, à la main, en rouge */
.learndash-wrapper .ld-score,
.learndash-wrapper .ld-exam-graded .ld-score{
  font:700 30px/1 var(--wp--preset--font-family--correcteur);
  color:var(--wp--preset--color--rouge);
}

/* ---------- alertes ---------- */
/* info : bic pâle. avertissement : papier + encre claire, jamais de jaune. */

.learndash-wrapper .ld-alert{
  background:rgba(43,72,192,.06) !important;
  border:1px solid var(--wp--preset--color--filet) !important;
  border-left:2px solid var(--wp--preset--color--bic) !important;
  border-radius:0 3px 3px 0 !important;
  color:var(--wp--preset--color--encre) !important;
}
.learndash-wrapper .ld-alert .ld-alert-icon{color:var(--wp--preset--color--bic)}
.learndash-wrapper .ld-alert.ld-alert-warning{
  background:var(--wp--preset--color--papier) !important;
  border-left-color:var(--wp--preset--color--encre-claire) !important;
}
.learndash-wrapper .ld-alert.ld-alert-warning .ld-alert-icon{color:var(--wp--preset--color--encre-claire)}
.learndash-wrapper .ld-alert.ld-alert-success,
.learndash-wrapper .ld-alert.ld-alert--step-completed{
  background:var(--wp--preset--color--blanc) !important;
  border-left-color:var(--wp--preset--color--encre) !important;
}
.learndash-wrapper .ld-alert.ld-alert-success .ld-alert-icon{color:var(--wp--preset--color--encre)}

/* ---------- profil ---------- */

.learndash-wrapper .ld-profile-card,
.learndash-wrapper .ld-profile-summary{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);border-radius:3px;
}
.learndash-wrapper .ld-profile-avatar img{border-radius:3px}
.learndash-wrapper .ld-profile-stats{border-top:1px solid var(--wp--preset--color--filet)}
.learndash-wrapper .ld-profile-stat .ld-profile-stat-value{
  font:800 24px/1 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
}
.learndash-wrapper .ld-profile-stat .ld-profile-stat-label{
  font:700 10.5px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}
/* tableau des cours suivis */
.learndash-wrapper .ld-table-list{
  background:var(--wp--preset--color--blanc);
  border:1px solid var(--wp--preset--color--filet);border-radius:3px;
}
.learndash-wrapper .ld-table-list-header{
  background:transparent;
  border-bottom:1.5px solid var(--wp--preset--color--encre);
  font:700 10.5px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}
.learndash-wrapper .ld-table-list-items .ld-table-list-item{
  border-bottom:1px solid var(--wp--preset--color--filet);
}

/* ---------- connexion & inscription : le motif fiche ---------- */
/* les champs LearnDash héritent de la fiche : labels étiquettes, champs soulignés */

.pj-fiche-connexion .learndash-wrapper,
.pj-fiche-connexion .ld-login-modal-form,
.pj-fiche-connexion .ld-registration__outer-wrapper{
  background:transparent;border:none;box-shadow:none;padding:0;
}
.pj-fiche-connexion .ld-login-modal-branding{display:none}
.pj-fiche-connexion label,
.learndash-wrapper .ld-login-field label,
.learndash-wrapper .ld-registration__outer-wrapper label{
  display:block;margin-bottom:2px;
  font:700 11px/1.4 var(--wp--preset--font-family--titraille) !important;
  letter-spacing:.13em;text-transform:uppercase;
  color:var(--wp--preset--color--mine) !important;
}
.pj-fiche-connexion input[type="text"],
.pj-fiche-connexion input[type="email"],
.pj-fiche-connexion input[type="password"],
.learndash-wrapper .ld-login-field input,
.learndash-wrapper .ld-registration__outer-wrapper input[type="text"],
.learndash-wrapper .ld-registration__outer-wrapper input[type="email"],
.learndash-wrapper .ld-registration__outer-wrapper input[type="password"]{
  width:100%;background:transparent !important;
  border:none !important;
  border-bottom:1.5px solid var(--wp--preset--color--encre) !important;
  border-radius:0 !important;
  font:600 18px/26px var(--wp--preset--font-family--labeur) !important;
  color:var(--wp--preset--color--encre) !important;
  padding:2px 2px 4px !important;
}
.pj-fiche-connexion input:focus,
.learndash-wrapper .ld-login-field input:focus,
.learndash-wrapper .ld-registration__outer-wrapper input:focus{
  outline:none;
  border-bottom-color:var(--wp--preset--color--bic) !important;
  border-bottom-width:2.5px !important;
}
.pj-fiche-connexion .ld-login-button,
.pj-fiche-connexion input[type="submit"]{width:100%;text-align:center}
/* LD pose sa primaire en ligne sur le bouton : conventions pj-btn imposées */
.pj-fiche-connexion .ld-button{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--wp--preset--color--encre) !important;
  border:1.5px solid var(--wp--preset--color--encre) !important;
  color:var(--wp--preset--color--papier) !important;
  border-radius:3px !important;
  font:700 15px/1 var(--wp--preset--font-family--titraille) !important;
  padding:14px 26px !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.pj-fiche-connexion .ld-button:hover{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
  color:#fff !important;
}

/* ---------- modale de connexion : la fiche manuscrite ---------- */
/* rendue hors de .pj-fiche-connexion, au niveau du document */

#ld-login-modal.ld-modal{
  outline:none !important;
  background:
    repeating-linear-gradient(to bottom,transparent 0 27px,var(--wp--custom--seyes-copie) 27px 28px),
    linear-gradient(to right,transparent 0 34px,rgba(201,58,44,.4) 34px 35.5px,transparent 35.5px),
    var(--wp--preset--color--blanc) !important;
  border:1px solid #EAE7DC !important;
  border-radius:2px !important;
  box-shadow:0 20px 50px rgba(10,15,28,.35) !important;
  padding:30px 30px 28px 52px !important;
  max-width:480px !important;
}
#ld-login-modal .ld-login-modal-login,
#ld-login-modal .ld-login-modal-wrapper,
#ld-login-modal .ld-login-modal-form{background:transparent !important}
#ld-login-modal .ld-modal-heading{
  font:800 19px/1.2 var(--wp--preset--font-family--titraille) !important;
  color:var(--wp--preset--color--encre) !important;
  text-align:left !important;
  margin:0 0 18px !important;
  padding:0 !important;
}
#ld-login-modal .login-username label,
#ld-login-modal .login-password label{
  display:block;margin-bottom:2px;
  font:700 10.5px/1.4 var(--wp--preset--font-family--titraille) !important;
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine) !important;
}
#ld-login-modal input.input{
  width:100%;
  background:transparent !important;
  border:none !important;
  border-bottom:1.5px solid var(--wp--preset--color--encre) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font:600 18px/26px var(--wp--preset--font-family--labeur) !important;
  color:var(--wp--preset--color--encre) !important;
  padding:2px 2px 4px !important;
}
#ld-login-modal input.input:focus{
  outline:none;
  border-bottom-color:var(--wp--preset--color--bic) !important;
  border-bottom-width:2.5px !important;
}
/* LearnDash pose ses pictogrammes en image de fond des champs et en ::before
   (police ld-icons) : les deux chevauchent la ligne de la fiche */
#ld-login-modal input.input{background-image:none !important;padding-left:2px !important}
#ld-login-modal .login-username::before,
#ld-login-modal .login-password::before,
.learndash-wrapper .login-username::before,
.learndash-wrapper .login-password::before,
.pj-fiche-connexion .login-username::before,
.pj-fiche-connexion .login-password::before{content:none !important;display:none !important}
#ld-login-modal .login-remember label{
  font:400 13px/1.5 var(--wp--preset--font-family--labeur) !important;
  color:var(--wp--preset--color--mine) !important;
  text-transform:none !important;letter-spacing:0 !important;
}
#ld-login-modal #wp-submit{
  width:100%;
  background:var(--wp--preset--color--encre) !important;
  border:1.5px solid var(--wp--preset--color--encre) !important;
  color:var(--wp--preset--color--papier) !important;
  border-radius:3px !important;
  font:700 15px/1 var(--wp--preset--font-family--titraille) !important;
  padding:14px 26px !important;
  cursor:pointer;
}
#ld-login-modal #wp-submit:hover{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
  color:#fff !important;
}
#ld-login-modal .ld-forgot-password-link{
  display:inline-block;margin-top:14px;
  font:400 14px/1.5 var(--wp--preset--font-family--labeur) !important;
  color:var(--wp--preset--color--bic) !important;
  text-decoration:underline;text-underline-offset:3px;
}
#ld-login-modal .ld-modal-closer{
  background:var(--wp--preset--color--encre) !important;
  color:#fff !important;
  border-radius:50% !important;
  width:44px !important;height:44px !important;
  min-width:44px !important;min-height:44px !important;
  padding:0 !important;margin:0 !important;
  display:flex !important;align-items:center;justify-content:center;
  font-size:16px !important;line-height:1 !important;
  top:10px !important;right:10px !important;
}
#ld-login-modal .ld-modal-closer::before{font-size:16px !important;line-height:1 !important;margin:0 !important}
#ld-login-modal .ld-modal-closer:hover{background:var(--wp--preset--color--bic) !important}

/* ---------- page « Mes cours » ---------- */

.pj-espace{padding-block:clamp(48px,5vw,72px)}
.pj-espace .wp-block-learndash-ld-profile,
.pj-espace .learndash-wrapper{margin-top:24px}
.pj-espace .pj-fiche-connexion{
  max-width:440px;margin:32px 0 0;
  transform:rotate(-.8deg);
}
.pj-espace-compte{
  margin-top:28px;
  font:italic 400 15px/1.5 var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--mine);
}
.pj-fiche-aide{
  margin:14px 0 0;
  font:italic 400 13.5px/1.5 var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--mine);
}
.pj-espace-compte a{color:var(--wp--preset--color--bic)}

/* ---------- responsive ---------- */

@media (max-width:782px){
  .ld-focus .ld-focus-content{max-width:100%}
  .learndash-wrapper .ld-item-name,
  .learndash-wrapper .ld-item-title{font-size:18px}
  .learndash-wrapper .ld-button,
  .learndash-wrapper .learndash_mark_complete_button{padding:12px 20px !important}
}

/* les écrans de cours respirent plus large que le labeur d'article */
.pj-contenu .entry-content.pj-large{max-width:860px}

/* sidebar du mode focus : le bandeau de cours est structurel, pas interactif */
/* le CSS généré par LD préfixe tout de .learndash-wrapper : un cran au-dessus */
body .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading{
  background:var(--wp--preset--color--encre) !important;
}
.ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger{
  background:var(--wp--preset--color--encre) !important;
  border-color:var(--wp--preset--color--encre) !important;
}

/* l'exergue vit aussi dans la leçon */
.ld-focus-content blockquote,
.learndash-wrapper blockquote{
  border-left:2px solid var(--wp--preset--color--bic);
  margin:1.6em 0;padding:2px 0 2px 22px;
  font:italic 500 19px/1.55 var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--encre-claire);
}

/* ---------- surcharges de poids ---------- */
/* Le CSS des couleurs personnalisées LD sort après cette feuille avec ses
   propres !important : ces règles regagnent la main par la spécificité. */

/* sommaire de cours : rangées à filets fins, pas les cartes d'usine */
body .learndash-wrapper .ld-item-list .ld-item-list-items{
  border-top:1px solid var(--wp--preset--color--filet);
  gap:0;
}
body .learndash-wrapper .ld-item-list .ld-item-list-item{
  background:transparent;
  border:none;border-bottom:1px solid var(--wp--preset--color--filet);
  border-radius:0;margin:0;padding:0;box-shadow:none;
}

/* bandeau de statut et de progression du cours : blanc, filet, pas de gris froid */
body .learndash-wrapper .ld-course-status{
  background:var(--wp--preset--color--blanc) !important;
  border:1px solid var(--wp--preset--color--filet) !important;
  border-radius:3px !important;
  padding:16px 18px !important;
}
/* pas de « Tarif : Fermé » côté prospect : le cours se vend par les formules */
body .learndash-wrapper .ld-course-status-segment.ld-course-status-seg-price{display:none}
/* action de reprise sous le titre du cours */
body .learndash-wrapper a.ld-course-resume.ld-button,
body .pj-contenu a.ld-course-resume.ld-button{
  box-sizing:border-box;
  display:inline-flex !important;align-items:center;justify-content:center;
  width:auto !important;min-height:44px;
  margin:0 0 22px !important;padding:13px 22px !important;
  background:var(--wp--preset--color--encre) !important;
  border-color:var(--wp--preset--color--encre) !important;
  color:var(--wp--preset--color--papier) !important;
  font:700 15px/1 var(--wp--preset--font-family--titraille) !important;
  text-decoration:none !important;
}
body .learndash-wrapper a.ld-course-resume.ld-button:hover,
body .learndash-wrapper a.ld-course-resume.ld-button:focus-visible{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
  color:#fff !important;
}

/* dans le bandeau de cours, le pourcentage et la dernière activité restent
   deux informations distinctes, puis la barre occupe sa propre ligne */
body .learndash-wrapper .ld-course-status .ld-progress{
  display:block !important;width:100% !important;margin:0 !important;
}
body .learndash-wrapper .ld-course-status .ld-progress-stats{
  display:flex !important;align-items:baseline;justify-content:space-between;
  flex-wrap:wrap;gap:4px 20px;width:100%;
}
body .learndash-wrapper .ld-course-status .ld-progress-percentage{
  width:auto !important;
  font:800 14px/1.35 var(--wp--preset--font-family--titraille) !important;
  letter-spacing:0;text-transform:none;text-align:left;
  color:var(--wp--preset--color--bic) !important;
}
body .learndash-wrapper .ld-course-status .ld-progress-steps{
  width:auto !important;
  font:400 13.5px/1.45 var(--wp--preset--font-family--labeur) !important;
  letter-spacing:0;text-transform:none;text-align:left;
  color:var(--wp--preset--color--mine) !important;
}
body .learndash-wrapper .ld-course-status .ld-progress-bar{
  width:100%;margin:12px 0 0 !important;
}

/* profil : ni avatar vide, ni lien vers l'admin, ni compteurs sans objet.
   Les deux données utiles forment une grille courte et stable. */
body .learndash-wrapper .ld-profile-summary .ld-profile-card{display:none}
body .learndash-wrapper .ld-item-list-actions .ld-search-prompt{display:none}
body .learndash-wrapper .ld-profile-summary{
  background:transparent !important;
  border:none !important;box-shadow:none !important;
  padding:0 !important;margin:0 !important;
}
body .learndash-wrapper .ld-profile-summary .ld-profile-stats{
  box-sizing:border-box;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,420px);gap:0;
  background:transparent !important;
  border-block:1px solid var(--wp--preset--color--filet) !important;
  border-inline:none !important;box-shadow:none !important;
  padding:0 !important;margin:0 0 24px !important;
}
body .learndash-wrapper .ld-profile-summary .ld-profile-stat{
  box-sizing:border-box;
  display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;
  gap:9px;min-width:0;padding:12px 16px !important;margin:0 !important;
}
body .learndash-wrapper .ld-profile-summary .ld-profile-stat + .ld-profile-stat{
  border-left:1px solid var(--wp--preset--color--filet);
}
body .learndash-wrapper .ld-profile-summary .ld-profile-stat.ld-profile-stat-certificates,
body .learndash-wrapper .ld-profile-summary .ld-profile-stat.ld-profile-stat-points{
  display:none !important;
}
body .learndash-wrapper .ld-profile-stat strong{
  font:800 26px/1 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);
}
body .learndash-wrapper .ld-profile-stat span{
  font:700 10.5px/1.4 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--wp--preset--color--mine);
}

/* replier/déplier : une étiquette, pas une pilule primaire
   (la variante .ld-primary-background des couleurs personnalisées gagne
   sinon à 0,3,0 : on la nomme explicitement) */
body .learndash-wrapper .ld-expand-button,
body .learndash-wrapper .ld-expand-button.ld-primary-background{
  background:transparent !important;
  color:var(--wp--preset--color--bic) !important;
  border:none !important;border-radius:0 !important;
  box-shadow:none !important;
  font:700 12px/1.4 var(--wp--preset--font-family--titraille) !important;
  letter-spacing:.08em;text-transform:uppercase;
  padding:0 !important;
}
body .learndash-wrapper .ld-expand-button .ld-icon{color:var(--wp--preset--color--bic) !important}
/* le CSS généré passe par les ID des conteneurs : même arme */
body #ld-profile .ld-expand-button,
body #ld-course-list .ld-expand-button,
body .learndash-wrapper div[id] .ld-expand-button{
  background:transparent !important;
  color:var(--wp--preset--color--bic) !important;
  border:none !important;box-shadow:none !important;padding:0 !important;
}

/* l'action globale garde son libellé ; chaque ligne reçoit un chevron carré,
   distinct de la pastille ronde qui porte l'état du cours */
body .learndash-wrapper .ld-item-list .ld-section-heading{
  display:flex !important;align-items:center;justify-content:space-between;
  gap:16px;min-height:60px;
}
body .learndash-wrapper .ld-item-list .ld-section-heading h3{margin:0;text-align:left}
body .learndash-wrapper .ld-item-list .ld-item-list-actions{
  flex:0 0 auto !important;width:auto;min-height:44px;
  align-items:center;justify-content:flex-end;
}
body .learndash-wrapper .ld-item-list .ld-item-list-actions > .ld-expand-button{
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
  min-height:44px;margin:0 !important;padding:0 8px !important;
}
body .learndash-wrapper .ld-item-list .ld-item-list-actions > .ld-expand-button .ld-icon{
  display:none !important;
}
body .learndash-wrapper .ld-item-list .ld-item-list-actions > .ld-expand-button .ld-text{
  white-space:nowrap;
}
body .learndash-wrapper .ld-item-list-item-preview{
  min-height:64px;padding:14px 8px !important;
}
body .learndash-wrapper .ld-item-list-item-preview .ld-item-name{
  min-width:0;align-items:center;
}
body .learndash-wrapper .ld-item-list-item-preview .ld-item-name .ld-status-icon{
  box-sizing:border-box;
  flex:0 0 24px;width:24px !important;height:24px !important;
  min-width:24px !important;min-height:24px !important;
  max-width:24px !important;max-height:24px !important;
  margin:0 12px 0 0 !important;
}
body .learndash-wrapper .ld-item-list-item-preview .ld-item-details{
  flex:0 0 auto;align-items:center;gap:8px;margin-left:12px;
}
body .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button,
body #ld-profile .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button,
body .learndash-wrapper div[id] .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-width:44px;min-height:44px;
  margin:0 !important;padding:0 !important;
  background:transparent !important;
  border:1px solid var(--wp--preset--color--filet) !important;
  border-radius:3px !important;box-shadow:none !important;
}
body .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button:hover{
  background:rgba(43,72,192,.05) !important;
  border-color:var(--wp--preset--color--bic) !important;
}
body .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button .ld-icon{
  width:auto !important;height:auto !important;
  background:transparent !important;border-radius:0 !important;
  color:var(--wp--preset--color--bic) !important;
}
body .learndash-wrapper .ld-expand-button:focus-visible,
.ld-focus .ld-trigger-mobile-nav:focus-visible{
  outline:3px solid var(--wp--preset--color--bic) !important;
  outline-offset:2px;
}

/* statut d'étape (En cours, Terminé) : étiquette compacte */
body .learndash-wrapper .ld-status,
body .learndash-wrapper .ld-status.ld-primary-background{
  background:transparent !important;
  color:var(--wp--preset--color--bic) !important;
  font:700 10.5px/1.6 var(--wp--preset--font-family--titraille);
  letter-spacing:.12em;text-transform:uppercase;
  padding:0;border-radius:0;
}
body .learndash-wrapper .ld-status-complete{color:var(--wp--preset--color--encre) !important}

/* la loupe de recherche des cours : du bruit pour dix cours au plus */
body .learndash-wrapper .ld-search-prompt,
body #ld-profile .ld-search-prompt,
body .learndash-wrapper div[id] .ld-search-prompt{display:none !important}
/* Leçon terminée avant la fin de la vidéo : fantôme neutralisé, pas de gris sur gris.
   Le conteneur du formulaire porte lui aussi un fond : on neutralise les deux. */
body .learndash-wrapper form.sfwd-mark-complete,
body .learndash-wrapper .sfwd-mark-complete{
  background:transparent !important;border:none !important;box-shadow:none !important;
}
body .learndash-wrapper input.learndash_mark_complete_button:disabled,
body .learndash-wrapper .sfwd-mark-complete input.learndash_mark_complete_button:disabled,
body .learndash-wrapper .learndash_mark_complete_button[disabled],
body #ld-focus-content input.learndash_mark_complete_button:disabled,
body .learndash-wrapper div[id] input.learndash_mark_complete_button:disabled{
  background:transparent !important;
  background-image:none !important;
  color:var(--wp--preset--color--mine) !important;
  border:1.5px solid var(--wp--preset--color--filet) !important;
  opacity:1 !important;cursor:not-allowed;box-shadow:none !important;
}

/* le verrou de progression vidéo s'explique, il ne se subit pas */
.ld-focus-content .sfwd-mark-complete:has(input:disabled)::after{
  content:"Se déverrouille à la fin de la vidéo";
  display:block;margin-top:7px;
  font:italic 400 13px/1.4 var(--wp--preset--font-family--labeur);
  color:var(--wp--preset--color--mine);
  text-align:right;
}

/* sidebar du mode focus : les titres longs de leçons en casse normale,
   les capitales compactes restent au bandeau de navigation */
body .ld-focus .ld-focus-sidebar .ld-lesson-title,
body .ld-focus-sidebar .ld-lesson-title{
  font:600 13.5px/1.45 var(--wp--preset--font-family--titraille);
  letter-spacing:0;text-transform:none;
  color:var(--wp--preset--color--encre);
}

/* la fiche de connexion s'efface pour l'étudiant connecté ;
   son bouton (connexion ou déconnexion) suit pj-btn.
   La chaîne de classes complète bat le CSS généré des couleurs LD. */
body.logged-in .pj-espace .pj-fiche-connexion{display:none}
.pj-fiche-connexion .ld-button .ld-icon{display:none !important}
html body .pj-espace .pj-fiche-connexion a.ld-login.ld-login-text.ld-login-button.ld-button,
body .pj-espace .pj-fiche-connexion .ld-button,
body .pj-espace .pj-fiche-connexion a.ld-login-button{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  background:var(--wp--preset--color--encre) !important;
  border:1.5px solid var(--wp--preset--color--encre) !important;
  color:var(--wp--preset--color--papier) !important;
  border-radius:3px !important;
  font:700 15px/1 var(--wp--preset--font-family--titraille) !important;
  padding:14px 26px !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
body .pj-espace .pj-fiche-connexion .ld-button:hover,
body .pj-espace .pj-fiche-connexion a.ld-login-button:hover{
  background:var(--wp--preset--color--bic) !important;
  border-color:var(--wp--preset--color--bic) !important;
  color:#fff !important;
}

/* rail « Vos cours » de la page de cours */
.pj-nav-cours li{margin:0 0 8px}
.pj-nav-cours a{
  font:600 14.5px/1.4 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre-claire);text-decoration:none;
}
.pj-nav-cours a:hover{color:var(--wp--preset--color--bic)}
.pj-nav-cours .pj-cours-actif a{
  color:var(--wp--preset--color--encre);
  box-shadow:inset 0 -2px 0 var(--wp--preset--color--bic);
}
@media (min-width:981px){
  body.single-sfwd-courses .pj-blog-grille > .pj-aside{
    position:sticky;top:96px;align-self:start;
    max-height:calc(100vh - 120px);overflow-y:auto;
    scrollbar-gutter:stable;
  }
}

/* bandeau focus : le bouton de navigation d'étape tient sur une ligne */
.ld-focus-header .ld-content-actions{align-items:center}
.ld-focus-header .ld-content-action{display:flex;align-items:center;justify-content:center}
.ld-focus-header .ld-content-action.ld-empty{display:none}
.ld-focus-header .ld-content-action .ld-button{
  white-space:nowrap !important;
  display:inline-flex !important;align-items:center;gap:8px;
  padding:11px 16px !important;
}
.ld-focus-header .ld-content-action .ld-button .ld-text{white-space:nowrap !important;display:inline !important}
body .learndash-wrapper .ld-focus-header > .ld-content-actions{
  align-self:stretch;height:50px;
  border-top:none;margin:0 !important;padding:0 !important;
}
body .learndash-wrapper .ld-focus-header > .ld-content-actions > .ld-content-action{
  box-sizing:border-box;height:50px;padding:5px !important;
}

/* bandeau focus : raccourcis directs sur les écrans qui ont la place */
.pj-focus-nav{display:flex;align-items:center;gap:18px;margin-right:18px}
.pj-focus-nav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 2px;
  font:600 13px/1 var(--wp--preset--font-family--titraille);
  color:var(--wp--preset--color--encre);text-decoration:none;white-space:nowrap;
}
.pj-focus-nav a:hover{color:var(--wp--preset--color--bic)}
.pj-focus-menu-toggle{display:none}
@media (max-width:900px){
  body .learndash-wrapper .ld-focus-header{overflow:visible !important}
  body .learndash-wrapper .ld-focus-header > .ld-user-menu{position:static !important}
  .pj-focus-menu-toggle{
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:9px;
    background:transparent;border:1px solid transparent;border-radius:3px;
    color:var(--wp--preset--color--encre);cursor:pointer;
  }
  .pj-focus-menu-toggle:hover,
  .pj-focus-menu-toggle[aria-expanded="true"]{
    color:var(--wp--preset--color--bic);border-color:var(--wp--preset--color--filet);
    background:rgba(43,72,192,.05);
  }
  .pj-focus-menu-toggle:focus-visible{
    outline:3px solid var(--wp--preset--color--bic);outline-offset:2px;
  }
  .pj-focus-menu-toggle svg{
    width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }
  .pj-focus-nav{
    display:none !important;flex-direction:column;align-items:stretch;gap:2px;
    position:absolute;top:100%;right:8px;z-index:30;
    width:min(240px,calc(100vw - 16px));margin:0;padding:8px;
    background:var(--wp--preset--color--papier);
    border:1px solid var(--wp--preset--color--filet);border-radius:3px;
    box-shadow:0 18px 36px rgba(28,36,56,.16);
  }
  .pj-focus-nav.pj-ouvert{display:flex !important}
  .pj-focus-nav a{
    box-sizing:border-box;width:100%;min-height:44px;padding:0 12px;border-radius:2px;
  }
  .pj-focus-nav a:hover,
  .pj-focus-nav a:focus-visible,
  .pj-focus-nav a[aria-current="page"]{
    background:rgba(43,72,192,.07);color:var(--wp--preset--color--bic);
  }
  .ld-focus-header .ld-user-welcome-text{display:none}
  .ld-focus-header .ld-profile-avatar,
  .ld-focus-header .ld-user-menu-items{display:none !important}
  body .learndash-wrapper .ld-focus{
    max-width:100vw;overflow-x:clip;
  }
}
@media (min-width:769px) and (max-width:900px){
  body .learndash-wrapper .ld-focus-header > .ld-user-menu{
    box-sizing:border-box;
    flex:0 0 64px;width:64px !important;min-width:64px;
    margin-left:auto;padding-right:12px;
    justify-content:flex-end;
  }
}

/* bandeau focus : salutation sobre, sur une seule ligne */
.ld-focus-header .ld-user-welcome-text{
  font:italic 400 14.5px/1.3 var(--wp--preset--font-family--labeur) !important;
  color:var(--wp--preset--color--mine) !important;
  white-space:nowrap;
}

/* pied de leçon : rangée d'actions structurée, sans vide flottant */
body .learndash-wrapper .ld-content-actions{
  border-top:1px solid var(--wp--preset--color--filet);
  margin-top:24px;padding:18px 0 0;
}

/* marque du mode focus (texte posé par le thème, retour vers mes-cours) */
body .learndash-wrapper .ld-focus-header .ld-brand-logo,
body .learndash-wrapper .ld-focus-header .ld-brand-logo a{
  font:800 19px/1 var(--wp--preset--font-family--titraille);
  letter-spacing:-.01em;
  color:var(--wp--preset--color--encre);
  text-decoration:none;
}

/* LearnDash replie nativement les cinq zones du bandeau sur quatre lignes.
   Deux rangées suffisent : navigation et progression, puis actions d'étape. */
@media (max-width:768px){
  .pj-espace{padding-block:48px}

  body .learndash-wrapper .ld-item-list .ld-section-heading{
    flex-direction:row !important;flex-wrap:nowrap !important;
    align-items:center;gap:8px;min-height:56px;
    padding-top:12px;margin-top:4px;
  }
  body .learndash-wrapper .ld-item-list .ld-section-heading h3{
    flex:1 1 0 !important;width:auto !important;min-width:0;margin:0;
    font-size:22px !important;letter-spacing:-.01em;
  }
  body .learndash-wrapper .ld-item-list .ld-item-list-actions{
    flex:0 0 auto !important;width:auto !important;min-height:44px;margin:0;
  }
  body .learndash-wrapper .ld-item-list .ld-item-list-actions > .ld-expand-button{
    min-height:44px;margin:0 !important;padding:0 !important;
    font-size:11px !important;letter-spacing:.05em;
  }

  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview{
    position:relative;display:flex !important;align-items:center;
    min-height:72px;padding:14px 80px 14px 8px !important;
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-item-name{
    width:100%;min-width:0;margin:0;
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-item-details{
    position:absolute;right:4px;top:50%;
    display:flex;flex-direction:column;align-items:center;gap:2px;
    width:64px;margin:0 !important;
    transform:translateY(-50%);
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-item-details .ld-status{
    max-width:64px;margin:0 !important;
    font-size:10.5px;line-height:1.2;
    white-space:normal !important;text-align:center;
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button.ld-not-mobile{
    display:none !important;
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button.ld-mobile-only{
    display:inline-flex !important;
  }
  body .pj-espace .learndash-wrapper .ld-item-list-item-course .ld-item-list-item-preview .ld-expand-button .ld-text:not(.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;
  }

  body .learndash-wrapper .ld-course-status{
    padding:14px 16px !important;
  }
  body .learndash-wrapper .ld-course-status .ld-progress-stats{
    align-items:flex-start;gap:3px 12px;
  }

  body .learndash-wrapper .ld-focus .ld-focus-header{
    box-sizing:border-box;
    display:grid !important;
    grid-template-columns:56px minmax(0,1fr) 52px;
    grid-template-rows:56px auto;
    width:100%;height:auto !important;min-height:0;
    padding:0 !important;align-items:center;
  }
  body .learndash-wrapper .ld-focus-header > .ld-mobile-nav{
    box-sizing:border-box;
    grid-column:1;grid-row:1;
    display:flex !important;align-items:center;justify-content:center;
    width:56px !important;height:56px;margin:0;padding:0;
  }
  body .learndash-wrapper .ld-focus-header .ld-trigger-mobile-nav{
    box-sizing:border-box;
    display:flex;align-items:center;justify-content:center;
    width:44px;height:44px;min-width:44px;min-height:44px;
    margin:0;padding:0 10px;
  }
  body .learndash-wrapper .ld-focus-header > .ld-brand-logo{
    display:none !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-progress{
    box-sizing:border-box;
    grid-column:2;grid-row:1;
    display:flex;width:100% !important;height:56px;min-width:0;
    margin:0;padding:7px 10px !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-progress .ld-progress-wrap{
    width:100%;min-width:0;
  }
  body .learndash-wrapper .ld-focus-header > .ld-progress .ld-progress-stats{
    display:flex;align-items:baseline;justify-content:space-between;
    gap:4px;width:100%;
  }
  body .learndash-wrapper .ld-focus-header > .ld-progress .ld-progress-percentage,
  body .learndash-wrapper .ld-focus-header > .ld-progress .ld-progress-steps{
    width:auto !important;
    font-size:11px !important;line-height:1.3;
    letter-spacing:.05em;white-space:nowrap;
  }
  body .learndash-wrapper .ld-focus-header > .ld-progress .ld-progress-bar{
    height:6px;margin:7px 0 0 !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-user-menu{
    box-sizing:border-box;
    grid-column:3;grid-row:1;
    display:flex !important;align-items:center;justify-content:flex-end;
    width:52px !important;height:56px;min-width:52px;
    margin:0;padding:0 8px 0 0 !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-user-menu .ld-profile-avatar{
    margin:0;
  }
  body .learndash-wrapper .ld-focus-header > .ld-content-actions{
    box-sizing:border-box;
    grid-column:1/-1;grid-row:2;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;width:100% !important;height:auto;
    margin:0 !important;padding:8px !important;
    border-top:1px solid var(--wp--preset--color--filet);
  }
  body .learndash-wrapper .ld-focus-header > .ld-content-actions > .ld-content-action{
    box-sizing:border-box;
    width:auto !important;min-width:0;height:auto;
    margin:0;padding:0 !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-content-actions form{
    width:100%;margin:0;
  }
  body .learndash-wrapper .ld-focus-header > .ld-content-actions .ld-button,
  body .learndash-wrapper .ld-focus-header > .ld-content-actions .learndash_mark_complete_button{
    box-sizing:border-box;
    display:flex !important;align-items:center;justify-content:center;
    gap:6px;width:100% !important;min-width:0;min-height:44px;height:44px;
    margin:0 !important;padding:9px 8px !important;
    font-size:12.5px !important;white-space:nowrap !important;
  }
  body .learndash-wrapper .ld-focus-header > .ld-content-actions .ld-button .ld-text{
    display:inline !important;white-space:nowrap !important;
  }

  body .learndash-wrapper .ld-focus .ld-focus-content{
    box-sizing:border-box;
    width:100%;max-width:100%;
    margin:24px auto 40px !important;padding:0 20px 32px !important;
  }
  body .learndash-wrapper .ld-focus .ld-focus-content .ld-content-actions{
    display:grid !important;grid-template-columns:1fr;gap:10px;
    width:100%;margin-top:24px;padding-top:16px;
  }
  body .learndash-wrapper .ld-focus .ld-focus-content .ld-content-action{
    box-sizing:border-box;width:100% !important;margin:0;padding:0 !important;
  }
  body .learndash-wrapper .ld-focus .ld-focus-content .ld-content-action .ld-button,
  body .learndash-wrapper .ld-focus .ld-focus-content .ld-content-action form,
  body .learndash-wrapper .ld-focus .ld-focus-content .ld-content-action .learndash_mark_complete_button{
    box-sizing:border-box;width:100% !important;min-height:44px;margin:0 !important;
  }

  body .learndash-wrapper .ld-focus .ld-focus-sidebar{
    box-sizing:border-box;
    width:min(350px,100vw) !important;max-width:100vw;
  }
  body .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading,
  body .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation{
    box-sizing:border-box;width:100%;
  }
}
