/**
 * IEMA "Contact Us" section styles.
 *
 * A rounded split card centred on a white band: a team image on one side
 * and a light-grey panel (with a lime top accent) on the other, holding
 * the heading, copy and CTA. Desktop places the image left / panel right;
 * mobile stacks the panel on top of the image. Matches the Figma
 * "Contact Us" section and reuses the shared IEMA tokens.
 */

.iema-contact {
	background-color: #ffffff;
	color: #002147;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.iema-contact__inner {
	box-sizing: border-box;
	max-width: 1440px;
	margin: 0 auto;
	padding: 100px 80px;
}

.iema-contact__card {
	display: flex;
	/* DOM order is panel, image; reverse so the image sits on the left. */
	flex-direction: row-reverse;
	min-height: 400px;
	border-radius: 24px;
	overflow: hidden;
/* 	box-shadow: 0 10px 40px rgba(0, 33, 71, 0.08); */
}

/* Panel (heading + copy + CTA) -------------------------------------- */
.iema-contact__panel {
	flex: 1 1 50%;
	min-width: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: 56px 64px;
	background-color: #f6f6f6;
	border-top: 5px solid #c1d82a;
}

.iema-contact__heading {
	margin: 0;
	color: #002147;
	font-weight: 700;
	font-size: 40px;
	line-height: 44px;
	letter-spacing: 0;
}

.iema-contact__text {
	color: #767676;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	max-width: 520px;
}

.iema-contact__text p {
	margin: 0 0 12px;
}

.iema-contact__text p:last-child {
	margin-bottom: 0;
}

.iema-contact__cta {
	align-self: flex-start;
}

/* Image ------------------------------------------------------------- */
.iema-contact__figure {
	flex: 1 1 50%;
	min-width: 0;
	position: relative;
	background-color: #e9e9e9;
}

.iema-contact__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iema-contact__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #002147 0%, #00152d 100%);
}

/* Tablet ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.iema-contact__inner {
		padding: 64px 24px;
	}

	.iema-contact__panel {
		padding: 40px 40px;
	}

	.iema-contact__heading {
		font-size: 32px;
		line-height: 35.2px;
	}
}

/* Mobile: stack panel on top, image below -------------------------- */
@media (max-width: 640px) {
	.iema-contact__inner {
		padding: 48px 24px;
	}

	.iema-contact__card {
		flex-direction: column;
		min-height: 0;
	}

	.iema-contact__panel {
		flex: 0 0 auto;
		padding: 40px 24px 24px;
		gap: 24px;
	}

	.iema-contact__figure {
		flex: 0 0 auto;
		width: 100%;
		aspect-ratio: 382 / 200;
	}
}
