/* Page Header — Split Mosaic (ACTS "Page Header", Teach with ACTS: web 1440×502 / mobile 393×552) */
.cew-smh{
	--cew-smh-h:502px;
	--cew-smh-img-w:47.2%;
	--cew-smh-gap:16px;
	--cew-smh-m-h:73.8vw;
	--cew-smh-tint:rgba(16,229,132,.35);
	--cew-smh-blend:color;
	display:grid;
	grid-template-columns:minmax(0,1fr) var(--cew-smh-img-w);
	min-height:var(--cew-smh-h);
	margin:0;
	background-color:#FAFBF8;
	font-family:"PP Neue Montreal",Arial,sans-serif;
	overflow:hidden;
}
.cew-smh:not(.has-photos){grid-template-columns:minmax(0,1fr)}
.cew-smh *,.cew-smh *::before,.cew-smh *::after{box-sizing:border-box}

/* Text */
.cew-smh-content{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:var(--cew-smh-ai,flex-start);
	min-width:0;
	padding:40px 40px 40px 64px;
	text-align:left;
}
.cew-smh-eyebrow{
	margin:0 0 8px;
	font-family:"DM Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
	font-size:14px;
	line-height:14px;
	font-weight:400;
	letter-spacing:0;
	text-transform:uppercase;
	color:#727272;
}
.cew-smh-heading{
	max-width:640px;
	margin:0 0 19px;
	margin-left:var(--cew-smh-ml,0px);
	margin-right:var(--cew-smh-mr,auto);
	padding:0;
	font-family:inherit;
	font-size:44px;
	line-height:1.2;
	font-weight:400;
	letter-spacing:0;
	color:#000;
}
.cew-smh-h-m{display:none}
.cew-smh-text{
	max-width:580px;
	margin:0 0 23px;
	margin-left:var(--cew-smh-ml,0px);
	margin-right:var(--cew-smh-mr,auto);
	font-size:16px;
	line-height:22px;
	font-weight:400;
	color:#4B4B4B;
}
.cew-smh-actions{display:flex;justify-content:var(--cew-smh-ai,flex-start);width:100%}
.cew-smh-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:16px 24px;
	border:0;
	border-radius:0;
	background-color:#023820;
	color:#FFFFFF;
	font-family:inherit;
	font-size:16px;
	line-height:16px;
	font-weight:400;
	text-decoration:none;
	white-space:nowrap;
	cursor:pointer;
	transition:background-color .2s ease,color .2s ease;
}
.cew-smh-btn:hover,
.cew-smh-btn:focus{color:#FFFFFF;background-color:#01261A;text-decoration:none}
.cew-smh-btn:focus-visible{outline:2px solid #023820;outline-offset:3px}

/* Photos: two small stacked + one tall, flush with the right edge and the section height */
.cew-smh-photos{
	display:grid;
	grid-template-columns:1fr 1fr;
	grid-template-rows:1fr 1fr;
	gap:var(--cew-smh-gap);
	min-width:0;
	min-height:var(--cew-smh-h);
}
.cew-smh-photo{position:relative;min-width:0;min-height:0;overflow:hidden;background:#d9e7df}
.cew-smh-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:0}
.cew-smh-photo--1{grid-column:1;grid-row:1}
.cew-smh-photo--2{grid-column:1;grid-row:2}
.cew-smh-photo--3{grid-column:2;grid-row:1 / span 2}
.cew-smh-ord-small-right .cew-smh-photo--1,
.cew-smh-ord-small-right .cew-smh-photo--2{grid-column:2}
.cew-smh-ord-small-right .cew-smh-photo--3{grid-column:1}
/* only 1 or 2 photos uploaded: fill the space */
.cew-smh-photos > .cew-smh-photo:only-child{grid-column:1 / -1;grid-row:1 / -1}
.cew-smh--tint .cew-smh-photo::after{content:"";position:absolute;inset:0;background:var(--cew-smh-tint);mix-blend-mode:var(--cew-smh-blend);pointer-events:none}

@media(max-width:1024px){
	.cew-smh{--cew-smh-h:440px}
	.cew-smh-content{padding:40px 32px}
	.cew-smh-heading{font-size:36px}
}

@media(max-width:767px){
	.cew-smh{
		--cew-smh-gap:8px;
		display:block;
		min-height:0;
	}
	.cew-smh-content{
		align-items:var(--cew-smh-ai,center);
		padding:38px 24px 40px;
		text-align:center;
	}
	.cew-smh-eyebrow{margin-bottom:5px;font-size:12px;line-height:12px}
	.cew-smh-heading{max-width:345px;margin-bottom:10px;margin-left:var(--cew-smh-ml,auto);margin-right:var(--cew-smh-mr,auto);font-size:28px;line-height:1.2}
	.cew-smh-text{max-width:345px;margin-bottom:15px;margin-left:var(--cew-smh-ml,auto);margin-right:var(--cew-smh-mr,auto);font-size:14px;line-height:20px}
	.cew-smh-actions{justify-content:var(--cew-smh-ai,center)}
	.cew-smh-photos{min-height:0;height:var(--cew-smh-m-h)}
	.cew-smh--no-m-photos .cew-smh-photos{display:none}
	.cew-smh-h-m{display:inline}
	.cew-smh-h-d{display:none}
}

/* Form popup (Become an ACTS Instructor) — on top of the shared .cew-cfm-skin look */
.cew-smh-skin .cfm-field-checkbox > label:not(.cfm-checkbox-control){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.cew-smh-skin .cfm-field-checkbox{margin-top:3px}
.cew-cfm-skin.cew-smh-skin .cfm-field .cfm-checkbox-control,
.cew-cfm-skin.cew-smh-skin .cfm-field .cfm-checkbox-control span{align-items:center;gap:8px;color:#4B4B4B;font-family:inherit;font-size:12px;line-height:20px;font-weight:400;cursor:pointer}
.cew-cfm-skin.cew-smh-skin .cfm-field textarea{height:92px;min-height:92px}
.cew-smh-skin .cfm-checkbox-control input{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#023820}
.cew-smh-skin .cfm-submit-button{width:100%;margin-top:23px}
@media(max-width:620px){
	/* the design keeps First / Last name, Country / City and Expertise / Years side by side on mobile */
	.cew-smh-skin .cfm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.cew-smh-skin .cfm-width-half{grid-column:auto}
	.cew-smh-skin .cfm-width-full{grid-column:1 / -1}
}
/* empty dropdowns (e.g. City) keep the grey placeholder colour */
.cew-cfm-skin.cew-smh-skin .cfm-field select:has(option[value=""]:checked){color:#727272}
@media(max-width:620px){
	.cew-cfm-skin.cew-smh-skin .cfm-modal-dialog{padding:24px 16px}
	.cew-cfm-skin.cew-smh-skin .cfm-width-half select{padding-left:12px;padding-right:28px;background-position:right 10px center}
	.cew-cfm-skin.cew-smh-skin .cfm-width-half input:not([type="checkbox"]):not([type="file"]){padding-left:12px;padding-right:12px}
}
