/* MMLangues conversion and trust enhancements. Loaded after the combined theme CSS. */

#logo img.header-logo,
#logo img.header-logo-dark {
	width: 10rem !important;
	height: 3.25rem !important;
	object-fit: contain !important;
	object-position: center !important;
}

.mml-team-showcase,
.mml-language-teacher {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 5%, rgba(178, 128, 59, .12), transparent 24%),
		linear-gradient(145deg, #fffefa 0%, #f7f1e9 100%);
}

.mml-team-showcase .uppercase,
.mml-language-teacher .uppercase,
.mml-enterprise-proof .uppercase,
.mml-value-system .uppercase {
	letter-spacing: .14em;
}

.mml-team-grid,
.mml-value-grid {
	margin-top: 28px;
}

.mml-team-showcase > .section-content > .row {
	width: min(calc(100% - 3rem), 72rem);
	margin-right: auto !important;
	margin-left: auto !important;
	justify-content: center;
}

.mml-team-showcase .mml-team-grid {
	align-items: stretch;
	justify-content: center;
}

.mml-team-card,
.mml-teacher-identity {
	height: 100%;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid rgba(75, 23, 41, .13);
	border-radius: 20px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 16px 44px rgba(75, 23, 41, .08);
}

.mml-team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.mml-team-card h3,
.mml-teacher-identity h2 {
	margin: 10px 0 12px;
	color: #381322;
}

.mml-team-card > a {
	display: inline-flex;
	margin-top: auto;
	padding-top: 18px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mml-team-monogram {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: linear-gradient(145deg, #6c263d, #3e1323);
	box-shadow: 0 10px 24px rgba(75, 23, 41, .2);
	color: #fff;
	font-family: Georgia, serif;
	font-size: 1.45rem;
	font-weight: 700;
}

.mml-team-language {
	margin: 18px 0 0;
	color: #8a6030;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.mml-team-focus {
	width: 100%;
	padding-top: 14px;
	border-top: 1px solid rgba(75, 23, 41, .1);
	color: #5d5049;
}

.mml-team-card > p:not(.mml-team-language) {
	max-width: 31rem;
	margin-right: auto;
	margin-left: auto;
}

.mml-value-system,
.mml-enterprise-proof {
	background:
		radial-gradient(circle at 12% 12%, rgba(211, 164, 93, .16), transparent 25%),
		linear-gradient(135deg, #26141b 0%, #3a1724 52%, #202421 100%) !important;
}

.mml-value-system > .section-content > .row,
.mml-enterprise-proof > .section-content > .row {
	width: min(calc(100% - 3rem), 72rem);
	margin-right: auto !important;
	margin-left: auto !important;
	justify-content: center;
}

.mml-value-system .mml-value-grid,
.mml-enterprise-proof .mml-value-grid {
	align-items: stretch;
	justify-content: center;
}

.mml-value-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 18px;
	background: rgba(255, 255, 255, .07);
	box-shadow: inset 0 1px rgba(255, 255, 255, .08);
	text-align: center;
}

.mml-value-card > span {
	display: block;
	margin-bottom: 22px;
	color: #e1bc7d;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .14em;
}

.mml-value-card h3 {
	margin-bottom: 10px;
	color: #fff;
}

.mml-value-card p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, .78);
}

.mml-language-teacher .mml-teacher-identity {
	border-top: 4px solid var(--mml-page-accent, #6c263d);
}

.mml-teacher-promises {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.mml-teacher-promises span {
	padding: 9px 13px;
	border: 1px solid rgba(75, 23, 41, .13);
	border-radius: 999px;
	background: #fff;
	color: #4b1729;
	font-size: .86rem;
	font-weight: 700;
}

body.home .mml-home-school .mml-home-founder-card {
	min-height: 0;
	text-align: center;
}

body.home .mml-home-school .mml-home-founder-card > p {
	max-width: 850px;
	margin-right: auto;
	margin-left: auto;
}

.mml-profile-paths {
	background: #fff;
}

.mml-profile-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 30px;
}

.mml-profile-card {
	height: 100%;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid rgba(75, 23, 41, .13);
	border-top: 4px solid var(--mml-page-accent, #6c263d);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(75, 23, 41, .07);
}

.mml-profile-card h3 {
	margin: 0 0 12px;
	color: #381322;
	font-size: 1.3rem;
}

.mml-profile-card p {
	margin-bottom: 0;
	color: #5d5049;
	line-height: 1.7;
}

.mml-collective-note {
	margin: 22px auto 0;
	padding: 16px 18px;
	border: 1px solid rgba(108, 38, 61, .18);
	border-radius: 12px;
	background: #fff;
	color: #4b1729;
	text-align: center;
}

.mml-bilan-optional-details {
	margin: 0 0 1.4rem;
	border: 1px solid rgba(75, 23, 41, .13);
	border-radius: 10px;
	background: #fbfaf7;
}

.mml-bilan-optional-details summary {
	padding: 1rem 1.1rem;
	cursor: pointer;
	color: #4b1729;
	font-weight: 750;
}

.mml-bilan-optional-details summary span {
	color: #747a75;
	font-size: .8rem;
	font-weight: 500;
}

.mml-bilan-optional-fields {
	padding: 0 1.1rem 1rem;
}

.mml-mobile-call {
	display: none;
}

@media (max-width: 849px) {
	.mml-team-showcase > .section-content > .row {
		width: min(calc(100% - 2rem), 44rem);
	}

	.mml-value-system > .section-content > .row,
	.mml-enterprise-proof > .section-content > .row {
		width: min(calc(100% - 2rem), 44rem);
	}

	.mml-team-card,
	.mml-value-card {
		margin-bottom: 18px;
	}

	.mml-profile-grid {
		grid-template-columns: 1fr;
	}

	.mml-mobile-call {
		display: inline-flex;
		width: 42px;
		height: 42px;
		align-items: center;
		justify-content: center;
		border: 1px solid rgba(108, 38, 61, .18);
		border-radius: 50%;
		background: #fff;
		color: #6c263d;
	}

	.mml-mobile-call svg {
		width: 19px;
		height: 19px;
		fill: currentColor;
	}

	.mobile-nav .html_nav_position_text_top {
		margin: 0 4px 0 0;
	}
}

@media (max-width: 549px) {
	.mml-team-showcase,
	.mml-language-teacher,
	.mml-value-system,
	.mml-enterprise-proof {
		text-align: center;
	}

	.mml-team-card,
	.mml-teacher-identity,
	.mml-value-card {
		padding: 22px 19px;
		border-radius: 16px;
		text-align: center;
	}

	.mml-team-monogram {
		width: 52px;
		height: 52px;
		font-size: 1.2rem;
	}

	.mml-teacher-promises {
		justify-content: center;
	}

	.mml-profile-card {
		padding: 20px 18px;
	}
}
