.wp-block-acf-fp-section-header {
	padding: 0;
}

.fp-section-header {
	padding: var(--ed-section-py, 80px) var(--ed-section-px, 48px);
	background: var(--ed-color-bg, #fff);
	color: var(--ed-color-text, #0f172a);
}

.fp-section-header__container {
	max-width: 1440px;
	margin: 0 auto;
}

.fp-section-header .fp-split-header {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	margin: 0;
}

/* ——— Teachers list (Figma 1276:6024) ——— */
.fp-section-header__teachers {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-top: 48px;
}

.fp-section-header__teacher {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.fp-section-header__teacher-media {
	flex: 1 1 0;
	min-width: 0;
	height: 400px;
	border-radius: var(--ed-radius, 16px);
	overflow: hidden;
}

.fp-section-header__teacher-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fp-section-header__teacher-content {
	flex: 0 1 818px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.fp-section-header__teacher-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	width: 100%;
}

.fp-section-header__teacher-title-text {
	font-family: var(--ed-font-sans, "Figtree", sans-serif);
	font-size: 26px;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--ed-color-text, #0f172a);
}

.fp-section-header__teacher-slash {
	flex-shrink: 0;
	font-family: var(--ed-font-mono, "Geist", monospace);
	font-size: 24px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--ed-color-accent, #244fd8);
}

.fp-section-header__teacher-description {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: #475569;
}

.fp-section-header__teacher-description > *:first-child {
	margin-top: 0;
}

.fp-section-header__teacher-description > *:last-child {
	margin-bottom: 0;
}

.fp-section-header__teacher-description p {
	margin: 0;
}

.fp-section-header__teacher-description em,
.fp-section-header__teacher-description i {
	font-style: italic;
}

.fp-section-header .fp-split-header__title {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	font-family: var(--ed-font-sans, "Figtree", sans-serif);
	font-size: 48px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ed-color-text, #0f172a);
}

.fp-section-header .fp-split-header__subtitle {
	flex: 0 0 648px;
	max-width: 648px;
	margin: 0;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 400;
	color: #475569;
}

@media (max-width: 960px) {
	.fp-section-header {
		padding: 56px 32px;
	}

	.fp-section-header .fp-split-header {
		flex-direction: column;
		gap: 20px;
	}

	.fp-section-header .fp-split-header__title {
		font-size: clamp(2rem, 5.5vw, 48px);
	}

	.fp-section-header .fp-split-header__subtitle {
		flex-basis: auto;
		max-width: none;
	}

	.fp-section-header__teacher {
		flex-direction: column;
		gap: 24px;
	}

	.fp-section-header__teacher-media {
		width: 100%;
		flex: none;
		height: auto;
		aspect-ratio: 478 / 400;
	}

	.fp-section-header__teacher-content {
		flex: none;
		width: 100%;
		gap: 24px;
	}
}

@media (max-width: 600px) {
	.fp-section-header {
		padding: 40px 16px;
	}

	.fp-section-header .fp-split-header__title {
		font-size: 30px;
	}

	.fp-section-header .fp-split-header__subtitle {
		font-size: 16px;
	}

	.fp-section-header__teachers {
		gap: 40px;
		margin-top: 32px;
	}

	.fp-section-header__teacher-title-text {
		font-size: 22px;
	}

	.fp-section-header__teacher-description {
		font-size: 16px;
		line-height: 24px;
	}
}
