/* =========================================================================
   Formateurs (Become Instructors) — page-scoped redesign
   Post ID 9371 — https://edumen.net/become-instructors/
   Follows the active Novamira design system: Edumen Learning Platform
   Scope: body.page-id-9371 only — nothing else on the site is touched.
   ========================================================================= */

body.page-id-9371 {
	--fx-bg: #F4F7FF;
	--fx-surface: #FFFFFF;
	--fx-ink: #030F40;
	--fx-ink-soft: #667085;
	--fx-accent: #C75702;   /* storytelling accent, used sparingly */
	--fx-cta: #2A5C69;      /* button / action color, matches sitewide CTAs */
	--fx-highlight: #FFC119;
	--fx-radius-sm: 10px;
	--fx-radius-md: 20px;
	--fx-shadow: 0 20px 45px -18px rgba(3, 15, 64, 0.22);
	--fx-shadow-soft: 0 12px 30px -14px rgba(3, 15, 64, 0.14);
	font-family: "Plus Jakarta Sans", sans-serif;
}

body.page-id-9371 * {
	box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   1. Benefit / step icon cards (jws_icon_box_advanced) — used three times
      on this page: "why partner", "how it works", and the process steps.
   ------------------------------------------------------------------------- */

body.page-id-9371 .iconbox {
	background: var(--fx-surface);
	border-radius: var(--fx-radius-md);
	padding: 34px 30px;
	box-shadow: var(--fx-shadow-soft);
	border: 1px solid rgba(3, 15, 64, 0.05);
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-id-9371 .iconbox:hover {
	transform: translateY(-6px);
	box-shadow: var(--fx-shadow);
}

body.page-id-9371 .iconbox .lqd-iconbox-heading {
	color: var(--fx-ink);
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

body.page-id-9371 .iconbox .contents p {
	color: var(--fx-ink-soft);
	line-height: 1.7;
	font-size: 15px;
	margin: 0;
}

/* Lottie marks that sit above each icon card get a soft rounded backdrop
   so illustrations with transparent art don't float awkwardly on white. */
body.page-id-9371 .lqd-lottie {
	filter: drop-shadow(0 8px 18px rgba(3, 15, 64, 0.12));
}

/* -------------------------------------------------------------------------
   2. Section headings — consistent rhythm across the page
   ------------------------------------------------------------------------- */

body.page-id-9371 .ld-fh-element {
	font-family: "Plus Jakarta Sans", sans-serif;
}

body.page-id-9371 h1.ld-fh-element,
body.page-id-9371 h2.ld-fh-element {
	color: var(--fx-ink);
	letter-spacing: -0.02em;
}

/* -------------------------------------------------------------------------
   3. FAQ accordion — give each item card presence instead of bare rules
   ------------------------------------------------------------------------- */

body.page-id-9371 .e-n-accordion {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

body.page-id-9371 .e-n-accordion-item {
	background: var(--fx-surface);
	border: 1px solid rgba(3, 15, 64, 0.08);
	border-radius: var(--fx-radius-sm);
	padding: 4px 26px;
	box-shadow: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-9371 .e-n-accordion-item[open] {
	border-color: rgba(199, 87, 2, 0.35);
	box-shadow: var(--fx-shadow-soft);
}

body.page-id-9371 .e-n-accordion-item-title {
	padding: 20px 0;
	font-weight: 600;
	color: var(--fx-ink);
}

body.page-id-9371 .e-n-accordion-item[open] .e-n-accordion-item-title-icon i {
	color: var(--fx-accent);
	transform: rotate(180deg);
}

body.page-id-9371 .e-n-accordion-item-title-icon i {
	transition: transform 0.25s ease, color 0.2s ease;
}

body.page-id-9371 .e-n-accordion-item .elementor-widget-text-editor p {
	color: var(--fx-ink-soft);
	line-height: 1.7;
	padding-bottom: 20px;
}

/* -------------------------------------------------------------------------
   4. Formateurs grid — the main listing, rebuilt as a real CSS grid so the
      column count degrades cleanly on every breakpoint (the underlying
      markup uses bare Bootstrap "col-4", which stayed at 3-up even on
      phones — this replaces that behaviour entirely).
   ------------------------------------------------------------------------- */

body.page-id-9371 .jws-instructors-advanced-element .row.instructors-advanced-content {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 28px !important;
	margin: 0 !important;
	width: 100% !important;
}

body.page-id-9371 .jws-instructors-advanced-element .jws-post-item {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
}

body.page-id-9371 .jws-post-item .post-inner {
	background: var(--fx-surface);
	border-radius: var(--fx-radius-md);
	box-shadow: var(--fx-shadow-soft);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-id-9371 .jws-post-item .post-inner:hover {
	transform: translateY(-8px);
	box-shadow: var(--fx-shadow);
}

body.page-id-9371 .jws-post-item .post-media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: linear-gradient(160deg, #F4F7FF 0%, #E7ECFB 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

body.page-id-9371 .jws-post-item .post-media img {
	width: 78%;
	height: 78%;
	object-fit: contain;
	transition: transform 0.35s ease;
}

body.page-id-9371 .jws-post-item .post-inner:hover .post-media img {
	transform: scale(1.05);
}

body.page-id-9371 .jws-post-item .post-content {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

body.page-id-9371 .jws-post-item .post-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

body.page-id-9371 .jws-post-item .post-title a {
	color: var(--fx-ink);
	text-decoration: none;
}

body.page-id-9371 .jws-post-item .post-title a:hover {
	color: var(--fx-cta);
}

body.page-id-9371 .jws-post-item .post-meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(3, 15, 64, 0.07);
	font-size: 13px;
	color: var(--fx-ink-soft);
}

body.page-id-9371 .jws-post-item .meta-course .cl-main,
body.page-id-9371 .jws-post-item .meta-student .cl-main {
	color: var(--fx-ink);
	font-weight: 700;
}

body.page-id-9371 .jws-post-item .course-rating {
	color: var(--fx-highlight);
	font-weight: 600;
}

body.page-id-9371 .jws-post-item .course-rating i {
	margin-right: 3px;
}

/* -------------------------------------------------------------------------
   5. Responsive — mobile-first safety net on top of Elementor's own
      breakpoints, so every custom block above degrades gracefully.
   ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	body.page-id-9371 .jws-instructors-advanced-element .row.instructors-advanced-content {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 22px !important;
	}
}

@media (max-width: 767px) {
	body.page-id-9371 .jws-instructors-advanced-element .row.instructors-advanced-content {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	body.page-id-9371 .jws-post-item .post-media {
		aspect-ratio: 16 / 11;
	}

	body.page-id-9371 .iconbox {
		padding: 26px 22px;
	}

	body.page-id-9371 .e-n-accordion-item {
		padding: 2px 18px;
	}
}

/* Respect reduced-motion preferences across every interactive treatment
   added on this page. */
@media (prefers-reduced-motion: reduce) {
	body.page-id-9371 .iconbox,
	body.page-id-9371 .jws-post-item .post-inner,
	body.page-id-9371 .jws-post-item .post-media img,
	body.page-id-9371 .e-n-accordion-item-title-icon i {
		transition: none !important;
	}

	body.page-id-9371 .iconbox:hover,
	body.page-id-9371 .jws-post-item .post-inner:hover {
		transform: none !important;
	}
}

/* -------------------------------------------------------------------------
   6. FAQ accordion — remove the purple/blue active background entirely,
      use a white card with dark ink text (matches the rest of the page).
   ------------------------------------------------------------------------- */

body.page-id-9371 .elementor-element-fa2bb4a {
	--n-accordion-title-active-color: var(--fx-ink) !important;
}

body.page-id-9371 .elementor-element-fa2bb4a > .elementor-widget-container > .e-n-accordion > .e-n-accordion-item[open] > .e-n-accordion-item-title,
body.page-id-9371 .elementor-element-fa2bb4a > .elementor-widget-container > .e-n-accordion > .e-n-accordion-item > .e-con {
	background-color: var(--fx-surface) !important;
}

body.page-id-9371 .elementor-element-fa2bb4a .e-n-accordion-item[open] .e-n-accordion-item-title-text {
	color: var(--fx-ink) !important;
}

body.page-id-9371 .elementor-element-fa2bb4a .e-n-accordion-item-title-text {
	color: var(--fx-ink) !important;
}

/* Safety net: anything left white by the theme's own styles, once it now
   sits on one of this page's white cards, must read as dark ink instead. */
body.page-id-9371 .e-n-accordion-item *,
body.page-id-9371 .iconbox *,
body.page-id-9371 .jws-post-item .post-content * {
	color: inherit;
}

body.page-id-9371 .e-n-accordion-item-title-text,
body.page-id-9371 .e-n-accordion-item .elementor-widget-text-editor,
body.page-id-9371 .e-n-accordion-item .elementor-widget-text-editor p {
	color: var(--fx-ink) !important;
}

body.page-id-9371 .e-n-accordion-item .elementor-widget-text-editor p {
	color: var(--fx-ink-soft) !important;
}

/* -------------------------------------------------------------------------
   7. Hero illustration — the right-hand lottie animation never renders
      (broken/empty on load), so give that slot a real illustration instead.
   ------------------------------------------------------------------------- */

body.page-id-9371 .elementor-element-7f9692c {
	min-height: 420px;
	width: 100% !important;
	position: relative;
	background-image: url('help-guides.webp');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex: 1 1 100% !important;
}

body.page-id-9371 .elementor-element-7f9692c > .elementor-element {
	width: 100% !important;
	flex-basis: 100% !important;
}

body.page-id-9371 .elementor-element-7f9692c .elementor-widget-container,
body.page-id-9371 .elementor-element-7f9692c #lqd-lottie-5d628e2 {
	width: 100%;
	min-height: 420px;
	display: block;
}

@media (max-width: 1024px) {
	body.page-id-9371 .elementor-element-7f9692c,
	body.page-id-9371 .elementor-element-7f9692c #lqd-lottie-5d628e2 {
		min-height: 320px;
	}
}

@media (max-width: 767px) {
	body.page-id-9371 .elementor-element-7f9692c,
	body.page-id-9371 .elementor-element-7f9692c #lqd-lottie-5d628e2 {
		min-height: 260px;
	}
}