.image-text-section {
	padding-block: var(--space-7);
	background: var(--color-bg);
}

.image-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--space-6);
}

.image-text--image-right .image-text__media {
	order: 2;
}

.image-text__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-bg-soft);
}

.image-text__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.image-text__content {
	color: var(--color-text);
	font-size: clamp(1.125rem, 1.8vw, 1.125rem);
	line-height: 1.45;
}

.image-text--text-left .image-text__content {
	text-align: left;
}

.image-text--text-center .image-text__content {
	text-align: center;
}

.image-text--text-right .image-text__content {
	text-align: right;
}

.image-text__content p {
	margin-bottom: 1em;
}

.image-text__content p:last-child {
	margin-bottom: 0;
}

@media (max-width: 899px) {
	.image-text {
		grid-template-columns: 1fr;
	}

	.image-text--image-right .image-text__media {
		order: 0;
	}
}

@media (max-width: 639px) {
	.image-text-section {
		padding-block: var(--space-6);
	}

	.image-text {
		gap: var(--space-5);
	}
}
