/* =========================================================================
   IWL Design MasterStudy
   Harmonise MasterStudy LMS avec la charte Instants Web Learning.
   Les couleurs viennent des variables --iwl-* (Réglages > Design IWL).
   ========================================================================= */

:root {
	--iwl-navy: #172D7B;
	--iwl-coral: #FA7066;
	--iwl-yellow: #FBC66A;
	--iwl-teal: #75C1BA;
	--iwl-purple: #975AD3;
	--iwl-pink: #FFD4DB;
	--iwl-cream: #FCF7EE;
	--iwl-ink: #2B2F3A;
	--iwl-muted: #5A5F6E;
	--iwl-line: #ECE6DA;
	--iwl-radius: 16px;
	--iwl-shadow: 0 18px 40px rgba(23, 45, 123, .10);
	--iwl-font-title: 'Montserrat', system-ui, sans-serif;
	--iwl-font-text: 'Nunito', system-ui, sans-serif;
	--iwl-font-hand: 'Caveat', cursive;
}

/* -------------------------------------------------------------------------
   0. Style global (option « Appliquer à tout le site »)
   ---------------------------------------------------------------------- */
body.iwl-design--global {
	font-family: var(--iwl-font-text);
	color: var(--iwl-ink);
}
body.iwl-design--global h1,
body.iwl-design--global h2,
body.iwl-design--global h3,
body.iwl-design--global h4 {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-design--global a { color: var(--iwl-coral); }
body.iwl-design--global .iwl-home a.iwl-btn--primary,
body.iwl-design--global .iwl-home a.iwl-btn--outline-white { color: #fff; }

/* -------------------------------------------------------------------------
   1. Typographie commune à tous les blocs MasterStudy
   ---------------------------------------------------------------------- */
body.iwl-design .stm-lms-wrapper,
body.iwl-design .masterstudy-single-course,
body.iwl-design .masterstudy-single-bundle,
body.iwl-design .stm_lms_courses,
body.iwl-design .stm_lms_courses_carousel,
body.iwl-design .stm_lms_courses_search,
body.iwl-design .stm_lms_single_bundle_card,
body.iwl-design [class*="masterstudy-single-course-"],
body.iwl-design [class*="masterstudy-single-bundle"] {
	font-family: var(--iwl-font-text);
}

/* -------------------------------------------------------------------------
   2. Boutons MasterStudy
   ---------------------------------------------------------------------- */
body.iwl-design .masterstudy-button,
body.iwl-design .masterstudy-buy-button__link,
body.iwl-design .masterstudy-bundle-button,
body.iwl-design .masterstudy-bundle-button__link,
body.iwl-design a.stm_lms_button,
body.iwl-design .stm_lms_button .btn,
body.iwl-design .stm-lms-wrapper .btn-default {
	border-radius: 999px !important;
	font-family: var(--iwl-font-text);
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color .2s, transform .2s;
}
body.iwl-design .masterstudy-button_style-primary,
body.iwl-design .masterstudy-buy-button__link,
body.iwl-design .masterstudy-bundle-button__link,
body.iwl-design .stm-lms-wrapper .btn-default {
	background-color: var(--iwl-coral) !important;
	border-color: var(--iwl-coral) !important;
	color: #fff !important;
}
body.iwl-design .masterstudy-button:hover,
body.iwl-design .masterstudy-buy-button__link:hover,
body.iwl-design .masterstudy-bundle-button__link:hover {
	transform: translateY(-2px);
	background-color: var(--accent-hover) !important;
}
body.iwl-design .masterstudy-buy-button__title,
body.iwl-design .masterstudy-button__title {
	color: inherit !important;
	font-weight: 800;
}

/* -------------------------------------------------------------------------
   3. Cartes de cours (grilles, carrousels, catalogue, packs)
   ---------------------------------------------------------------------- */
body.iwl-design .stm_lms_courses__single__inner {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius);
	box-shadow: none;
	transition: transform .25s, box-shadow .25s;
}
body.iwl-design .stm_lms_courses__single:hover .stm_lms_courses__single__inner {
	transform: translateY(-4px);
	box-shadow: var(--iwl-shadow);
}
body.iwl-design .stm_lms_courses__single--image {
	border-radius: var(--iwl-radius) var(--iwl-radius) 0 0;
	overflow: hidden;
}
body.iwl-design .stm_lms_courses__single--image__container,
body.iwl-design .stm_lms_courses__single__inner .stm_lms_courses__single--inner,
body.iwl-design .stm_lms_courses__single--title h5 {
	border: 0 !important;
}
/* Fiche détaillée qui apparaît au survol */
body.iwl-design .stm_lms_courses__single--info {
	border-radius: var(--iwl-radius) !important;
	border: 1px solid var(--iwl-line) !important;
	box-shadow: var(--iwl-shadow) !important;
}
body.iwl-design .stm_lms_courses__single--title,
body.iwl-design .stm_lms_courses__single--title a,
body.iwl-design .stm_lms_courses__single--title h5,
body.iwl-design .stm_lms_courses__single--info_title,
body.iwl-design .stm_lms_courses__single--info_title a,
body.iwl-design .stm_lms_courses__single--info_title h4 {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: var(--iwl-navy) !important;
	text-decoration: none;
	text-transform: none;
}
body.iwl-design .stm_lms_courses__single--title a:hover,
body.iwl-design .stm_lms_courses__single--info_title a:hover {
	color: var(--iwl-coral) !important;
}
body.iwl-design .stm_lms_courses__single--meta {
	border-top: 1px dashed var(--iwl-line) !important;
	padding-top: 14px;
	color: var(--iwl-muted);
	font-size: 14px;
}
body.iwl-design .stm_lms_courses__single--meta i,
body.iwl-design .stm_lms_courses__hours i {
	color: var(--iwl-teal);
}
body.iwl-design .stm_lms_courses__single--price,
body.iwl-design .stm_lms_courses__single--price strong,
body.iwl-design .stm_lms_courses__single--price span {
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .stm_lms_courses__single--price s {
	color: var(--iwl-muted) !important;
	font-weight: 600 !important;
}
body.iwl-design .stm_lms_courses__single--info_excerpt {
	color: var(--iwl-muted);
}
body.iwl-design .stm_lms_courses__single--info_preview a {
	background: var(--iwl-coral) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-family: var(--iwl-font-text) !important;
	font-weight: 800 !important;
	text-transform: none !important;
}
body.iwl-design .stm_lms_courses__single--info_preview a:hover {
	background: var(--accent-hover) !important;
}
body.iwl-design .stm-lms-wishlist,
body.iwl-design .stm-lms-wishlist a {
	color: var(--iwl-coral) !important;
	font-weight: 700;
}
/* Étiquettes de catégorie / « Mis en avant » */
body.iwl-design .stm_lms_courses__single .featured-course,
body.iwl-design .stm_lms_courses__single--term,
body.iwl-design .stm_lms_courses__single .course-category {
	background: var(--iwl-yellow) !important;
	color: var(--iwl-navy) !important;
	border-radius: 999px;
	font-weight: 800;
	text-transform: none;
}

/* Boutons précédent / suivant des carrousels */
body.iwl-design .stm_lms_courses_carousel__button {
	width: 44px;
	height: 44px;
	border-radius: 50% !important;
	background: #fff !important;
	border: 2px solid var(--iwl-coral) !important;
	color: var(--iwl-coral) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, color .2s;
}
body.iwl-design .stm_lms_courses_carousel__button:hover {
	background: var(--iwl-coral) !important;
	color: #fff !important;
}
body.iwl-design .stm_lms_courses_carousel__button i { color: inherit !important; }

/* Pagination et « Charger plus » */
body.iwl-design .stm_lms_courses .btn-load-more,
body.iwl-design .stm_lms_load_more_courses,
body.iwl-design .stm-lms-pagination a {
	border-radius: 999px !important;
	border-color: var(--iwl-coral) !important;
	color: var(--iwl-coral) !important;
}

/* -------------------------------------------------------------------------
   4. Barre de recherche de cours
   ---------------------------------------------------------------------- */
body.iwl-design .stm_lms_courses_search {
	position: relative;
}
body.iwl-design .stm_lms_courses_search input,
body.iwl-design .stm_lms_courses_search .form-control {
	height: 56px;
	border-radius: 999px !important;
	border: 2px solid var(--iwl-line) !important;
	padding: 0 64px 0 22px !important;
	font-family: var(--iwl-font-text);
	font-size: 16px;
	box-shadow: none !important;
	background: #fff;
}
body.iwl-design .stm_lms_courses_search input:focus {
	border-color: var(--iwl-coral) !important;
	outline: none;
}
body.iwl-design .stm_lms_courses_search__button {
	right: 6px !important;
	top: 6px !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: var(--iwl-coral) !important;
	color: #fff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
body.iwl-design .stm_lms_courses_search__button i,
body.iwl-design .stm_lms_courses_search__button svg { color: #fff !important; fill: #fff; }

/* -------------------------------------------------------------------------
   5. Fiche cours (single course)
   ---------------------------------------------------------------------- */
body.iwl-design--cream { background: var(--iwl-cream); }

body.iwl-design .masterstudy-single-course-title,
body.iwl-design .masterstudy-single-course-title h1,
body.iwl-design .masterstudy-single-bundle__title,
body.iwl-design h1.masterstudy-single-bundle__title {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: clamp(28px, 4vw, 44px) !important;
	line-height: 1.12 !important;
	text-transform: none;
}
body.iwl-design .masterstudy-single-course-excerpt {
	font-size: 18px;
	color: var(--iwl-ink);
}
body.iwl-design .masterstudy-single-course-description__content,
body.iwl-design .masterstudy-single-course-description__content p,
body.iwl-design .masterstudy-single-course-description__content li {
	font-family: var(--iwl-font-text);
	color: var(--iwl-ink);
	font-size: 17px;
	line-height: 1.7;
}
body.iwl-design .masterstudy-single-course-description__content h2,
body.iwl-design .masterstudy-single-course-description__content h3,
body.iwl-design .masterstudy-single-course-description__content h4 {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-design .masterstudy-single-course-description__content ul {
	list-style: none;
	padding-left: 0;
}
body.iwl-design .masterstudy-single-course-description__content ul li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 8px;
}
body.iwl-design .masterstudy-single-course-description__content ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--iwl-coral);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Bloc contenu principal en carte blanche */
body.iwl-design--cream .masterstudy-single-bundle-description {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 8px 28px 28px;
}

/* Onglets */
body.iwl-design .masterstudy-single-course-tabs__item {
	font-family: var(--iwl-font-title);
	font-weight: 800 !important;
	color: var(--iwl-muted) !important;
}
body.iwl-design .masterstudy-single-course-tabs__item_active,
body.iwl-design .masterstudy-single-course-tabs__item:hover {
	color: var(--iwl-navy) !important;
}
body.iwl-design .masterstudy-single-course-tabs_style-underline .masterstudy-single-course-tabs__item_active {
	border-bottom-color: var(--iwl-coral) !important;
	box-shadow: inset 0 -3px 0 var(--iwl-coral);
}

/* Formateur et note */
body.iwl-design .masterstudy-single-course-instructor__name,
body.iwl-design .masterstudy-single-course-instructor__name a {
	color: var(--iwl-navy) !important;
	font-weight: 800;
}
body.iwl-design .masterstudy-single-course-rating__star_filled,
body.iwl-design .masterstudy-single-course-rating__star.masterstudy-single-course-rating__star_filled::before {
	color: #F2B544 !important;
}

/* Barre latérale : prix, achat, détails */
body.iwl-design .masterstudy-single-course__sidebar .masterstudy-single-course-details,
body.iwl-design .masterstudy-single-bundle-meta {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 22px 24px;
}
body.iwl-design .masterstudy-single-course-details__title {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-design .masterstudy-single-course-details__item {
	border-color: var(--iwl-line) !important;
}
body.iwl-design .masterstudy-single-course-details__icon,
body.iwl-design .masterstudy-single-course-details__icon::before {
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-single-course-details__quantity {
	color: var(--iwl-navy) !important;
	font-weight: 800;
}
body.iwl-design .masterstudy-buy-button {
	border-radius: 999px !important;
	overflow: hidden;
}
body.iwl-design .masterstudy-buy-button__link {
	min-height: 56px;
	font-size: 16px;
}
body.iwl-design .masterstudy-buy-button__price,
body.iwl-design .masterstudy-buy-button__price-value {
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	color: #fff !important;
}
body.iwl-design .masterstudy-single-course-wishlist__title,
body.iwl-design .masterstudy-single-course-share-button__title {
	color: var(--iwl-navy) !important;
	font-weight: 700;
}

/* Programme (curriculum) */
body.iwl-design .masterstudy-curriculum-list__wrapper {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: 14px !important;
	margin-bottom: 12px;
	overflow: hidden;
}
body.iwl-design .masterstudy-curriculum-list__section-title {
	font-family: var(--iwl-font-title);
	font-weight: 800 !important;
	color: var(--iwl-navy) !important;
}
body.iwl-design .masterstudy-curriculum-list__toggler {
	background: var(--iwl-cream) !important;
	color: var(--iwl-coral) !important;
	border-radius: 50%;
}
body.iwl-design .masterstudy-curriculum-list__link:hover .masterstudy-curriculum-list__title,
body.iwl-design .masterstudy-curriculum-list__preview {
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-curriculum-list__preview {
	background: var(--accent-10) !important;
	border-radius: 999px;
}

/* Cours populaires / similaires en bas de fiche */
body.iwl-design .masterstudy-related-courses__title,
body.iwl-design .masterstudy-popular-courses__title {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}


/* -------------------------------------------------------------------------
   6. Packs (MasterStudy Pro – bundles)
   ---------------------------------------------------------------------- */
body.iwl-design .stm_lms_single_bundle_card__inner {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius) !important;
	overflow: hidden;
	box-shadow: none;
	transition: transform .25s, box-shadow .25s;
}
body.iwl-design .stm_lms_single_bundle_card__inner:hover {
	transform: translateY(-4px);
	box-shadow: var(--iwl-shadow);
}
body.iwl-design .stm_lms_single_bundle_card__top {
	background: var(--iwl-navy) !important;
}
body.iwl-design .stm_lms_single_bundle_card__title,
body.iwl-design .stm_lms_single_bundle_card__title a {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: #fff !important;
}
body.iwl-design .stm_lms_single_bundle_card__course_title {
	color: var(--iwl-navy) !important;
	font-weight: 700;
}
body.iwl-design .stm_lms_single_bundle_card__price,
body.iwl-design .stm_lms_single_bundle_card__price .bundle_price {
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .stm_lms_single_bundle_card__course_price {
	color: var(--iwl-muted) !important;
}
body.iwl-design .masterstudy-single-bundle-courses__course-inner {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius) !important;
	overflow: hidden;
}
body.iwl-design .masterstudy-single-bundle-courses__title {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-design .masterstudy-single-bundle-courses__course-title,
body.iwl-design .masterstudy-single-bundle-courses__course-title a {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	color: var(--iwl-navy) !important;
}
body.iwl-design .masterstudy-single-bundle-courses__course-price {
	color: var(--iwl-coral) !important;
	font-weight: 800;
}
body.iwl-design .masterstudy-bundle-stats__icon,
body.iwl-design .masterstudy-bundle-stats__icon::before {
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-bundle-button__price,
body.iwl-design .masterstudy-bundle-button__price-bundle {
	color: #fff !important;
	font-family: var(--iwl-font-title);
	font-weight: 900;
}
body.iwl-design .masterstudy-bundle-stats__value {
	color: var(--iwl-coral) !important;
	font-family: var(--iwl-font-title);
	font-weight: 900;
}

/* -------------------------------------------------------------------------
   7. Filtres du catalogue
   ---------------------------------------------------------------------- */
body.iwl-design .stm_lms_courses__filter {
	font-family: var(--iwl-font-text);
}
body.iwl-design .stm_lms_courses__filter_heading,
body.iwl-design .stm_lms_courses__filter .stm_lms_courses__filter_heading h3 {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-design .stm_lms_styled_checkbox .stm_lms_styled_checkbox__inner input:checked + span,
body.iwl-design .stm_lms_styled_checkbox input:checked + span {
	background-color: var(--iwl-coral) !important;
	border-color: var(--iwl-coral) !important;
}

/* -------------------------------------------------------------------------
   8. Mobile
   ---------------------------------------------------------------------- */
@media (max-width: 767px) {
	body.iwl-design--cream .masterstudy-single-bundle-description {
		padding: 4px 18px 20px;
	}
}

/* -------------------------------------------------------------------------
   9. Icônes logiciels (ajoutées par assets/js/iwl-icons.js)
   ---------------------------------------------------------------------- */
body.iwl-design .iwl-has-soft-icon {
	position: relative;
}
body.iwl-design .iwl-soft-icon {
	display: block;
	max-width: none;
	height: auto;
	border: 0;
	pointer-events: none;
}
/* Carte de cours : pastille en haut à gauche de l'image */
body.iwl-design .iwl-soft-icon--card {
	position: absolute;
	z-index: 3;
	top: 12px;
	left: 12px;
	width: 52px !important;
	height: 52px !important;
	filter: drop-shadow(0 6px 14px rgba(23, 45, 123, .25));
}
/* Carte de pack : icône dans le bandeau du haut */
body.iwl-design .iwl-soft-icon--bundle {
	width: 56px !important;
	height: 56px !important;
	margin: 0 0 12px;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}
/* Cours dans un pack : petite pastille */
body.iwl-design .iwl-soft-icon--mini {
	position: absolute;
	z-index: 2;
	top: 6px;
	left: 6px;
	width: 30px !important;
	height: 30px !important;
	filter: drop-shadow(0 3px 8px rgba(23, 45, 123, .25));
}
/* Fiche cours et page de pack : icône au-dessus du titre */
body.iwl-design .iwl-has-soft-icon > .iwl-soft-icon--title,
body.iwl-design .iwl-soft-icon--title {
	position: static;
	width: 72px !important;
	height: 72px !important;
	margin: 0 0 16px;
	filter: drop-shadow(0 8px 18px rgba(23, 45, 123, .15));
}
/* Le titre MasterStudy est en flex : l'icône occupe sa propre ligne */
body.iwl-design .masterstudy-single-course-title.iwl-has-soft-icon,
body.iwl-design .masterstudy-single-bundle__title.iwl-has-soft-icon {
	flex-wrap: wrap;
}
body.iwl-design .iwl-has-soft-icon > .iwl-soft-icon--title {
	flex: none;
	margin-right: calc(100% - 72px);
}
body.iwl-design .iwl-soft-icon--inline {
	display: inline-block;
	vertical-align: middle;
}
@media (max-width: 767px) {
	body.iwl-design .iwl-soft-icon--title {
		width: 56px !important;
		height: 56px !important;
	}
	body.iwl-design .iwl-has-soft-icon > .iwl-soft-icon--title {
		margin-right: calc(100% - 56px);
	}
}

/* =========================================================================
   10. Fiche cours : lisibilité (v1.3)
   ========================================================================= */

/* Titre : plus compact, mieux proportionné */
body.iwl-design .masterstudy-single-course-title,
body.iwl-design .masterstudy-single-course-title h1 {
	font-size: clamp(26px, 3.2vw, 40px) !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
}
body.iwl-design .masterstudy-single-course-excerpt {
	font-size: 17px !important;
	line-height: 1.65 !important;
	color: var(--iwl-ink) !important;
	max-width: 62ch;
}

/* Catégories en pastilles */
body.iwl-design .masterstudy-single-course-categories__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.iwl-design .masterstudy-single-course-categories__item,
body.iwl-design .masterstudy-single-course-categories__item a {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13px !important;
	font-weight: 700;
	color: var(--iwl-navy) !important;
	text-decoration: none;
}
body.iwl-design .masterstudy-single-course-categories__item a { border: 0; padding: 0; background: none; }

/* Formateur + nombre d'inscrits */
body.iwl-design .masterstudy-single-course-instructor__title,
body.iwl-design .masterstudy-single-course-current-students__title {
	color: var(--iwl-muted) !important;
	font-size: 13px !important;
}
body.iwl-design .masterstudy-single-course-current-students__count {
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: 18px !important;
}

/* Onglets : contraste renforcé */
body.iwl-design .masterstudy-single-course-tabs__item {
	font-size: 15px !important;
	padding-bottom: 12px !important;
}

/* ---- Programme : sections et leçons lisibles ---- */
body.iwl-design .masterstudy-curriculum-list__wrapper {
	box-shadow: 0 1px 2px rgba(23, 45, 123, .04);
}
body.iwl-design .masterstudy-curriculum-list__section {
	background: var(--iwl-cream) !important;
	padding: 16px 20px !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--iwl-line);
}
body.iwl-design .masterstudy-curriculum-list__section-title {
	font-size: 17px !important;
	line-height: 1.3 !important;
}
body.iwl-design .masterstudy-curriculum-list__materials,
body.iwl-design .masterstudy-curriculum-list__item,
body.iwl-design .masterstudy-curriculum-list__link {
	background: #fff !important;
}
body.iwl-design .masterstudy-curriculum-list__item + .masterstudy-curriculum-list__item {
	border-top: 1px solid var(--iwl-line);
}
body.iwl-design .masterstudy-curriculum-list__link {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
	transition: background .15s;
}
body.iwl-design .masterstudy-curriculum-list__link:hover {
	background: var(--accent-5) !important;
}
body.iwl-design .masterstudy-curriculum-list__order {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--iwl-cream);
	color: var(--iwl-navy) !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
body.iwl-design .masterstudy-curriculum-list__title {
	font-family: var(--iwl-font-text) !important;
	font-weight: 700 !important;
	font-size: 15.5px !important;
	line-height: 1.45 !important;
	color: var(--iwl-ink) !important;
}
body.iwl-design .masterstudy-curriculum-list__meta {
	font-weight: 700;
	font-size: 14px !important;
	color: var(--iwl-muted) !important;
	font-variant-numeric: tabular-nums;
}
body.iwl-design .masterstudy-curriculum-list__image,
body.iwl-design .masterstudy-curriculum-list__image::before {
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-curriculum-list__excerpt {
	color: var(--iwl-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* ---- Barre latérale : détails du cours ---- */
body.iwl-design .masterstudy-single-course-details__item {
	align-items: flex-start !important;
	padding: 14px 0 !important;
	gap: 12px;
}
body.iwl-design .masterstudy-single-course-details__info {
	display: flex !important;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 14px;
	min-width: 0;
}
body.iwl-design .masterstudy-single-course-details__name {
	flex: 0 0 auto;
	margin: 0 !important;
	color: var(--iwl-muted) !important;
	font-size: 14px !important;
	font-weight: 600;
}
body.iwl-design .masterstudy-single-course-details__quantity {
	flex: 1 1 140px !important;
	margin: 0 0 0 auto !important;
	text-align: right !important;
	justify-content: flex-end !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
}

/* ---- Barre latérale : cours populaires ---- */
body.iwl-design .masterstudy-popular-courses {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 22px 20px 8px;
}
body.iwl-design .masterstudy-popular-courses__title {
	display: block;
	font-size: 20px !important;
	margin-bottom: 12px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid var(--iwl-line);
}
body.iwl-design .masterstudy-popular-courses__item {
	border: 0 !important;
	background: none !important;
	padding: 12px 0 !important;
	margin: 0 !important;
}
body.iwl-design .masterstudy-popular-courses__item + .masterstudy-popular-courses__item {
	border-top: 1px dashed var(--iwl-line) !important;
}
body.iwl-design .masterstudy-popular-courses__link {
	display: flex !important;
	gap: 14px;
	align-items: flex-start;
}
body.iwl-design .masterstudy-popular-courses__image-wrapper {
	flex: 0 0 112px !important;
	width: 112px !important;
	height: auto !important;
	border-radius: 10px;
	overflow: hidden;
}
body.iwl-design .masterstudy-popular-courses__image {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}
body.iwl-design .masterstudy-popular-courses__item-title {
	display: block;
	font-family: var(--iwl-font-text) !important;
	font-weight: 800 !important;
	font-size: 13.5px !important;
	line-height: 1.35 !important;
	letter-spacing: .01em;
	color: var(--iwl-navy) !important;
	text-decoration: none;
}
body.iwl-design .masterstudy-popular-courses__item-title:hover { color: var(--iwl-coral) !important; }
body.iwl-design .masterstudy-popular-courses__item-block,
body.iwl-design .masterstudy-popular-courses__price,
body.iwl-design .masterstudy-popular-courses .masterstudy-related-courses__price {
	margin-top: 6px;
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	font-size: 15px !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-popular-courses__instructor {
	display: block;
	margin-top: 2px;
	font-size: 12.5px !important;
	color: var(--iwl-muted) !important;
	text-decoration: none;
}

/* ---- Barre latérale : widgets WordPress (recherche, articles…) ---- */
body.iwl-design .masterstudy-single-course-widgets .widget {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 20px;
	margin-bottom: 20px;
}
body.iwl-design .masterstudy-single-course-widgets .widget h2,
body.iwl-design .masterstudy-single-course-widgets .widget h3,
body.iwl-design .masterstudy-single-course-widgets .widget .wp-block-heading,
body.iwl-design .masterstudy-single-course-widgets .widget label.wp-block-search__label {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	font-size: 18px !important;
	color: var(--iwl-navy) !important;
	margin: 0 0 12px !important;
}
body.iwl-design .masterstudy-single-course-widgets .widget a {
	color: var(--iwl-navy);
	font-weight: 700;
	text-decoration: none;
}
body.iwl-design .masterstudy-single-course-widgets .widget a:hover { color: var(--iwl-coral); }
body.iwl-design .masterstudy-single-course-widgets .widget ul { padding-left: 0; list-style: none; }
body.iwl-design .masterstudy-single-course-widgets .widget li { padding: 8px 0; border-bottom: 1px dashed var(--iwl-line); }
body.iwl-design .wp-block-search__input,
body.iwl-design .masterstudy-single-course-widgets input[type="search"] {
	border: 2px solid var(--iwl-line) !important;
	border-radius: 999px !important;
	padding: 10px 16px !important;
	font-family: var(--iwl-font-text);
}
body.iwl-design .wp-block-search__button,
body.iwl-design .masterstudy-single-course-widgets button[type="submit"] {
	background: var(--iwl-coral) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-weight: 800 !important;
	padding: 10px 18px !important;
}

/* =========================================================================
   11. Espace apprenant / formateur (compte utilisateur)
   ========================================================================= */
body.iwl-design .masterstudy-account,
body.iwl-design .masterstudy-account * { font-family: var(--iwl-font-text); }

/* Barre latérale du compte */
body.iwl-design .masterstudy-account-sidebar__wrapper {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 22px 14px;
}
body.iwl-design .masterstudy-account-profile {
	padding: 0 10px 16px;
	border-bottom: 1px solid var(--iwl-line);
	margin-bottom: 8px;
}
body.iwl-design .masterstudy-account-profile__avatar img,
body.iwl-design .masterstudy-account-profile__avatar {
	border-radius: 50% !important;
	box-shadow: 0 0 0 4px var(--iwl-cream), 0 0 0 6px var(--iwl-yellow);
}
body.iwl-design .masterstudy-account-profile__name {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: 18px !important;
}
body.iwl-design .masterstudy-account-menu__list-section-title {
	font-size: 11.5px !important;
	font-weight: 800 !important;
	letter-spacing: .1em;
	color: var(--iwl-muted) !important;
	padding-left: 10px;
}
body.iwl-design .masterstudy-account-menu__list-item,
body.iwl-design .masterstudy-account-become-instructor__button,
body.iwl-design .masterstudy-account-have-question__button {
	border-radius: 12px !important;
	padding: 9px 10px !important;
	color: var(--iwl-ink) !important;
	font-weight: 700 !important;
	transition: background .15s, color .15s;
}
body.iwl-design .masterstudy-account-menu__list-item:hover,
body.iwl-design .masterstudy-account-become-instructor__button:hover,
body.iwl-design .masterstudy-account-have-question__button:hover {
	background: var(--accent-5) !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-account-menu__list-item_active,
body.iwl-design .masterstudy-account-menu__list-item.active,
body.iwl-design .masterstudy-account-mobile-menu__link_active {
	background: var(--accent-10) !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-account-menu__list-item-label { font-weight: 700 !important; }
body.iwl-design .masterstudy-account-menu-divider { border-color: var(--iwl-line) !important; }

/* Titres des rubriques du compte */
body.iwl-design .masterstudy-enrolled-courses__title,
body.iwl-design .masterstudy-instructor-courses__title,
body.iwl-design .masterstudy-account h1,
body.iwl-design .masterstudy-account h2 {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: clamp(22px, 2.6vw, 30px) !important;
}

/* Onglets « Tous / Terminés / En cours / Échoués » */
body.iwl-design .masterstudy-enrolled-courses-tabs__block-title {
	font-weight: 800 !important;
	color: var(--iwl-muted) !important;
}
body.iwl-design .masterstudy-enrolled-courses-tabs__block_active .masterstudy-enrolled-courses-tabs__block-title {
	color: var(--iwl-navy) !important;
}
body.iwl-design .masterstudy-enrolled-courses-tabs__block-value {
	background: var(--iwl-cream) !important;
	color: var(--iwl-navy) !important;
	font-weight: 800 !important;
	border-radius: 999px !important;
}
body.iwl-design .masterstudy-enrolled-courses-tabs__block_active .masterstudy-enrolled-courses-tabs__block-value {
	background: var(--iwl-coral) !important;
	color: #fff !important;
}

/* Cartes des cours suivis */
body.iwl-design .masterstudy-course-card__wrapper {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius) !important;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
body.iwl-design .masterstudy-course-card__wrapper:hover {
	transform: translateY(-3px);
	box-shadow: var(--iwl-shadow);
}
body.iwl-design .masterstudy-course-card__image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	height: auto;
}
body.iwl-design .masterstudy-course-card__info-title,
body.iwl-design .masterstudy-course-card__info-title a {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: var(--iwl-navy) !important;
	text-decoration: none;
}
body.iwl-design .masterstudy-course-card__progress-bar_empty {
	background: var(--iwl-cream) !important;
	border-radius: 999px;
	height: 8px !important;
}
body.iwl-design .masterstudy-course-card__progress-bar_filled {
	background: var(--iwl-teal) !important;
	border-radius: 999px;
	height: 8px !important;
}
body.iwl-design .masterstudy-course-card__progress-title {
	font-weight: 800 !important;
	color: var(--iwl-navy) !important;
	font-size: 13px !important;
}
body.iwl-design .masterstudy-course-card__meta {
	background: var(--iwl-cream) !important;
	border-radius: 12px !important;
	color: var(--iwl-ink) !important;
}
body.iwl-design .masterstudy-course-card__meta-block {
	text-transform: none !important;
	font-size: 14px !important;
	font-weight: 600;
}
body.iwl-design .masterstudy-course-card__rating-star_filled,
body.iwl-design .masterstudy-course-card__rating-star.masterstudy-course-card__rating-star_filled { color: #F2B544 !important; }
body.iwl-design .masterstudy-course-card__start-time {
	color: var(--iwl-muted) !important;
	font-size: 13px !important;
}

/* États vides */
body.iwl-design [class*="__empty-text"] {
	font-family: var(--iwl-font-title);
	font-weight: 800;
	color: var(--iwl-navy);
}

/* Formulaires du compte (paramètres, connexion, inscription) */
body.iwl-design .masterstudy-account input[type="text"],
body.iwl-design .masterstudy-account input[type="email"],
body.iwl-design .masterstudy-account input[type="password"],
body.iwl-design .masterstudy-account textarea,
body.iwl-design .masterstudy-authorization input[type="text"],
body.iwl-design .masterstudy-authorization input[type="email"],
body.iwl-design .masterstudy-authorization input[type="password"] {
	border: 2px solid var(--iwl-line) !important;
	border-radius: 12px !important;
	font-family: var(--iwl-font-text) !important;
	font-size: 15px !important;
	color: var(--iwl-ink) !important;
}
body.iwl-design .masterstudy-account input:focus,
body.iwl-design .masterstudy-account textarea:focus,
body.iwl-design .masterstudy-authorization input:focus {
	border-color: var(--iwl-coral) !important;
	box-shadow: 0 0 0 3px var(--accent-10) !important;
	outline: none;
}
body.iwl-design .masterstudy-authorization__header-title,
body.iwl-design .masterstudy-authorization h2,
body.iwl-design .masterstudy-authorization h3 {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
}

/* =========================================================================
   12. Profils publics : apprenant et formateur
   ========================================================================= */
body.iwl-design .masterstudy-student-public__profile,
body.iwl-design .masterstudy-instructor-public__profile {
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-radius);
	padding: 28px;
	box-shadow: 0 1px 2px rgba(23, 45, 123, .04);
}
body.iwl-design .masterstudy-instructor-public__cover,
body.iwl-design .masterstudy-instructor-public__cover-image {
	border-radius: var(--iwl-radius) var(--iwl-radius) 0 0;
	background:
		radial-gradient(circle at 88% 30%, var(--iwl-yellow) 0 70px, transparent 71px),
		radial-gradient(circle at 12% 120%, var(--iwl-purple) 0 110px, transparent 111px),
		var(--iwl-navy);
}
body.iwl-design .masterstudy-student-public__avatar img,
body.iwl-design .masterstudy-instructor-public__avatar img,
body.iwl-design .masterstudy-instructor-public__avatar {
	border-radius: 50% !important;
	box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--iwl-yellow);
}
body.iwl-design .masterstudy-student-public__name,
body.iwl-design .masterstudy-instructor-public__name {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: clamp(22px, 2.8vw, 32px) !important;
	line-height: 1.15 !important;
}
body.iwl-design .masterstudy-instructor-public__position {
	display: inline-block;
	background: var(--iwl-yellow);
	color: var(--iwl-navy) !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	padding: 4px 12px;
	border-radius: 999px;
}
body.iwl-design .masterstudy-student-public__member,
body.iwl-design .masterstudy-instructor-public__member {
	color: var(--iwl-muted) !important;
	font-size: 14px !important;
}
body.iwl-design .masterstudy-instructor-public__description {
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: var(--iwl-ink) !important;
}
body.iwl-design .masterstudy-instructor-public__stats-row,
body.iwl-design .masterstudy-statistics-block {
	background: var(--iwl-cream) !important;
	border: 0 !important;
	border-radius: 14px !important;
}
body.iwl-design .masterstudy-instructor-public__stats-value,
body.iwl-design .masterstudy-statistics-block__value {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: 24px !important;
}
body.iwl-design .masterstudy-instructor-public__stats-label,
body.iwl-design .masterstudy-statistics-block__title {
	color: var(--iwl-muted) !important;
	font-weight: 700 !important;
	font-size: 13px !important;
}
body.iwl-design .masterstudy-statistics-block__icon,
body.iwl-design .masterstudy-statistics-block__icon::before { color: var(--iwl-coral) !important; }
body.iwl-design .masterstudy-instructor-public__rating-star_filled { color: #F2B544 !important; }
body.iwl-design .masterstudy-instructor-public__socials-link {
	background: var(--iwl-cream) !important;
	color: var(--iwl-navy) !important;
	border-radius: 50% !important;
}
body.iwl-design .masterstudy-instructor-public__socials-link:hover {
	background: var(--iwl-coral) !important;
	color: #fff !important;
}
body.iwl-design .masterstudy-student-public__list-header-title,
body.iwl-design .masterstudy-instructor-public__list-header-title {
	font-family: var(--iwl-font-title) !important;
	font-weight: 900 !important;
	color: var(--iwl-navy) !important;
	font-size: 22px !important;
}
body.iwl-design .masterstudy-instructor-public__list-header-total {
	background: var(--iwl-coral);
	color: #fff !important;
	border-radius: 999px;
	padding: 2px 10px;
	font-weight: 800;
}
/* Cartes de cours des profils */
body.iwl-design .masterstudy-student-course-card__wrapper {
	background: #fff;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius) !important;
	overflow: hidden;
}
body.iwl-design .masterstudy-student-course-card__image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	height: auto;
}
body.iwl-design .masterstudy-student-course-card__title,
body.iwl-design .masterstudy-student-course-card__title a {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	color: var(--iwl-navy) !important;
}

/* Onglets, recherche, listes déroulantes et pagination communs */
body.iwl-design .masterstudy-tabs__item {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	color: var(--iwl-muted) !important;
}
body.iwl-design .masterstudy-tabs__item_active {
	color: var(--iwl-navy) !important;
	border-color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-search input,
body.iwl-design .masterstudy-search__input {
	border: 2px solid var(--iwl-line) !important;
	border-radius: 999px !important;
	font-family: var(--iwl-font-text) !important;
}
body.iwl-design .masterstudy-select__wrapper,
body.iwl-design .masterstudy-select {
	border-radius: 12px !important;
}
body.iwl-design .masterstudy-pagination__item {
	border-radius: 50% !important;
	font-weight: 800 !important;
	color: var(--iwl-navy) !important;
}
body.iwl-design .masterstudy-pagination__item_current {
	background: var(--iwl-coral) !important;
	color: #fff !important;
}

/* Cours populaires : méta compacte */
body.iwl-design .masterstudy-popular-courses__item-meta {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start !important;
	gap: 4px;
	height: auto !important;
	min-height: 0 !important;
}
body.iwl-design .masterstudy-popular-courses__item-block { margin-top: 2px; }

/* Cours connexes (bas de fiche) */
body.iwl-design .masterstudy-related-courses__title {
	display: block;
	font-size: 22px !important;
	padding-bottom: 12px;
}
body.iwl-design .masterstudy-related-courses__item {
	background: #fff !important;
	border: 1px solid var(--iwl-line) !important;
	border-radius: var(--iwl-radius) !important;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
body.iwl-design .masterstudy-related-courses__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--iwl-shadow);
}
body.iwl-design .masterstudy-related-courses__image-wrapper { display: block; overflow: hidden; }
body.iwl-design .masterstudy-related-courses__image {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
body.iwl-design .masterstudy-related-courses__item-meta {
	padding: 14px 16px 16px !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.iwl-design .masterstudy-related-courses__item-title {
	font-family: var(--iwl-font-text) !important;
	font-weight: 800 !important;
	font-size: 13.5px !important;
	line-height: 1.35 !important;
	letter-spacing: .01em;
	color: var(--iwl-navy) !important;
	text-decoration: none;
}
body.iwl-design .masterstudy-related-courses__item-title:hover { color: var(--iwl-coral) !important; }
body.iwl-design .masterstudy-related-courses__price {
	font-family: var(--iwl-font-title);
	font-weight: 900 !important;
	font-size: 15px !important;
	color: var(--iwl-coral) !important;
}
body.iwl-design .masterstudy-related-courses__instructor {
	font-size: 12.5px !important;
	color: var(--iwl-muted) !important;
	text-decoration: none;
}

body.iwl-design .masterstudy-popular-courses__item-title,
body.iwl-design .masterstudy-popular-courses__item-block,
body.iwl-design .masterstudy-popular-courses__instructor,
body.iwl-design .masterstudy-related-courses__item-title,
body.iwl-design .masterstudy-related-courses__item-block,
body.iwl-design .masterstudy-related-courses__instructor {
	margin: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}
body.iwl-design .masterstudy-course-card__info-title h3 {
	font-family: var(--iwl-font-title) !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: var(--iwl-navy) !important;
	margin: 0 !important;
}
body.iwl-design .masterstudy-course-card__info-title:hover h3 { color: var(--iwl-coral) !important; }
body.iwl-design .masterstudy-course-card__progress-bars {
	position: relative !important;
	height: 8px !important;
	margin-bottom: 6px;
}
body.iwl-design .masterstudy-course-card__progress-bar_empty,
body.iwl-design .masterstudy-course-card__progress-bar_filled {
	position: absolute !important;
	top: 0 !important;
	left: 0;
	bottom: auto !important;
}
body.iwl-design .masterstudy-course-card__progress-bar_empty { width: 100%; }
body.iwl-design .masterstudy-course-card__meta-block,
body.iwl-design .masterstudy-course-card__meta-block * { text-transform: none !important; }
body.iwl-design .masterstudy-course-card__meta-block i { color: var(--iwl-coral) !important; }

/* Casse : pas de majuscule à chaque mot (« Mes Cours », « Commencer Le Cours ») */
body.iwl-design .masterstudy-account-menu__list-item-label,
body.iwl-design .masterstudy-account-mobile-menu__link,
body.iwl-design .masterstudy-account-become-instructor__label,
body.iwl-design .masterstudy-account-have-question__label,
body.iwl-design .masterstudy-button__title,
body.iwl-design .masterstudy-buy-button__title,
body.iwl-design .masterstudy-enrolled-courses-tabs__block-title,
body.iwl-design .masterstudy-course-card__start-time {
	text-transform: none !important;
}
