/* Mentorship at Elimu Sasa School. Builds on teach-page.css (shared .esa-tc-* section styles)
   and the application form components (.esa-ap / .esa-ti). Tokens: ink #1B1642, brand #2E2380,
   deep #14103A, ember #F15A24, tint #FFEDE4, Archivo headings, Manrope body. */

/* ---------- Journey flows: Learn > Practise > ... ---------- */
.esa-mentors .esa-mt-flow ul {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
}
.esa-mentors .esa-mt-flow li {
	display: inline-flex; align-items: center; font-family: Archivo, sans-serif; font-weight: 700;
	font-size: clamp(15px, 1.5vw, 18px); line-height: 1.2; color: #1B1642;
}
.esa-mentors .esa-mt-flow li span {
	display: inline-block; padding: 12px 18px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid #E7E4F2;
}
.esa-mentors .esa-mt-flow li:last-child span { background: #F15A24; border-color: #F15A24; color: #FFFFFF; }
.esa-mentors .esa-mt-flow li + li::before {
	content: "\2192"; margin: 0 10px; color: #F15A24; font-weight: 800;
}
.esa-mentors .esa-mt-flow.is-dark li span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: #FFFFFF; }
.esa-mentors .esa-mt-flow.is-dark li:last-child span { background: #F15A24; border-color: #F15A24; }
.esa-mentors .esa-mt-flow.is-center ul { justify-content: center; }
/* The community journey has no end point to highlight: every role is equal. */
.esa-mentors .esa-mt-flow.is-center li:last-child span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.esa-mentors .esa-mt-flow.is-center li + li::before { content: "\00B7"; font-size: 22px; line-height: 1; }

/* ---------- Pathway cards with photos ---------- */
.esa-mentors .esa-mt-path { overflow: hidden; padding: 0 !important; }
.esa-mentors .esa-mt-path .esa-mt-path-body { padding: 30px 30px 32px !important; }
.esa-mentors .esa-mt-path-img img {
	width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 35%; border-radius: 0;
}
.esa-mentors .esa-mt-path-tag p {
	margin: 0; display: inline-block; padding: 5px 12px; border-radius: 999px; background: #FFEDE4;
	font-family: Archivo, sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #C7420F;
}
.esa-mentors .esa-mt-path-line p { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; color: #F15A24; line-height: 1.35; }

/* ---------- Instructor vs mentor ---------- */
.esa-mentors .esa-mt-role p.esa-mt-role-k { margin: 0; }
.esa-mentors .esa-mt-both p {
	margin: 0; padding: 18px 22px; border-left: 5px solid #F15A24; border-radius: 0 12px 12px 0; background: #FFEDE4;
	font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.4; color: #1B1642;
}

/* ---------- Boundaries: what mentors do not do ---------- */
.esa-mentors .esa-mt-nolist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.esa-mentors .esa-mt-nolist li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; color: #55507E; }
.esa-mentors .esa-mt-nolist li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
	background: #F1F0F5 linear-gradient(#55507E, #55507E) center / 8px 2px no-repeat;
}
.esa-mentors .esa-mt-principle p {
	margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2;
	letter-spacing: -0.015em; color: #FFFFFF;
}
.esa-mentors .esa-mt-principle em { font-style: normal; color: #FFB08A; }

/* ---------- From learner to mentor ---------- */
.esa-mentors .esa-mt-lines p { margin: 0 0 6px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.35; color: #FFFFFF; }
.esa-mentors .esa-mt-lines p:last-child { margin: 10px 0 0; color: #FFB08A; }

/* ---------- Volunteer note ---------- */
.esa-mentors .esa-mt-volnote p {
	margin: 0; padding: 18px 22px; border: 1px solid #FFC7AC; border-left: 5px solid #F15A24; border-radius: 0 12px 12px 0;
	background: #FFEDE4; font-size: 16px; line-height: 1.6; color: #1B1642;
}

/* ---------- Application tabs ---------- */
.esa-mt-apps { width: 100%; }
.esa-mt-tabs { display: none; }
.esa-mt-apps.is-enhanced .esa-mt-tabs {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px;
}
.esa-mt-apps .esa-mt-tab {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 22px; text-align: left;
	border: 1.5px solid #DCD8EE; border-radius: 14px; background: #FFFFFF; color: #1B1642; cursor: pointer;
	font-family: Manrope, sans-serif; box-shadow: none; text-transform: none; letter-spacing: 0;
	transition: border-color 160ms ease, background-color 160ms ease;
}
.esa-mt-apps .esa-mt-tab:hover, .esa-mt-apps .esa-mt-tab:focus { background: #FFFFFF; color: #1B1642; border-color: #7C77A8; }
.esa-mt-apps .esa-mt-tab[aria-selected="true"] { border-color: #F15A24; background: #FFEDE4; }
.esa-mt-apps .esa-mt-tab:focus-visible { outline: 3px solid #F15A24; outline-offset: 2px; }
.esa-mt-tab-l { font-family: Archivo, sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2; }
.esa-mt-tab-s { font-size: 13.5px; font-weight: 600; color: #7C77A8; }
.esa-mt-pane { outline: none; }
.esa-mt-pane + .esa-mt-pane { margin-top: 48px; }
.esa-mt-apps.is-enhanced .esa-mt-pane + .esa-mt-pane { margin-top: 0; }
.esa-mt-apps h3.esa-mt-pane-h {
	font-family: Archivo, sans-serif; font-weight: 800; font-size: 26px; color: #1B1642; margin: 0 0 16px;
}
.esa-mt-apps.is-enhanced h3.esa-mt-pane-h {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.esa-mt-apps [hidden] { display: none !important; }
.esa-mt-apps p.esa-ap__pre { margin-bottom: 18px; }

@media (max-width: 767px) {
	.esa-mentors .esa-mt-flow li { font-size: 15px; }
	.esa-mentors .esa-mt-flow li span { padding: 10px 14px; }
	.esa-mentors .esa-mt-flow li + li::before { margin: 0 6px; }
	.esa-mentors .esa-mt-path .esa-mt-path-body { padding: 22px 22px 26px !important; }
	.esa-mt-apps.is-enhanced .esa-mt-tabs { grid-template-columns: 1fr; gap: 8px; }
	.esa-mt-apps .esa-mt-tab { padding: 14px 16px; }
}
