.image-text-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 430px;
}

/* Media */

.image-text-block__media {
	position: relative;
	background-color: #dde0e4;
}

.image-text-block__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content */

.image-text-block__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 64px;
}

.image-text-block__heading {
	margin: 0 0 24px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

.image-text-block__text {
	max-width: 32rem;
	margin-bottom: 32px;
	font-size: 18px;
	line-height: 1.9;
}

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

.image-text-block__button {
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 14px 34px;
	background-color: #0f79bf;
	border-color: #0f79bf;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	text-transform: none;
    border-radius: 300px;
}

.image-text-block__button:hover,
.image-text-block__button:focus {
	background-color: #0b5f99;
	border-color: #0b5f99;
	color: #fff;
}

/* Image position */

.image-text-block--image-right .image-text-block__media {
	order: 2;
}

/* Background: dark */

.image-text-block--dark .image-text-block__content {
	background-color: #002d4e;
	color: #fff;
}

.image-text-block--dark .image-text-block__heading {
	color: #fff;
}

/* Background: Pesmel blue */

.image-text-block--blue .image-text-block__content {
	background-color: #0f79bf;
	color: #fff;
}

.image-text-block--blue .image-text-block__heading {
	color: #fff;
}

.image-text-block--blue .image-text-block__button {
	background-color: #fff;
	border-color: #fff;
	color: #0f79bf;
}

.image-text-block--blue .image-text-block__button:hover,
.image-text-block--blue .image-text-block__button:focus {
	background-color: #002d4e;
	border-color: #002d4e;
	color: #fff;
}

/* Background: gray */

.image-text-block--light .image-text-block__content {
	background-color: #f6f6f6;
	color: #000000;
}

.image-text-block--light .image-text-block__heading {
	color: #000000;
}

/* Mobile */

@media (max-width: 767px) {
	.image-text-block {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.image-text-block__media {
		aspect-ratio: 4 / 3;
	}

	.image-text-block--image-right .image-text-block__media {
		order: 0;
	}

	.image-text-block__content {
		padding: 40px 24px;
	}

	.image-text-block__heading {
		font-size: 28px;
	}
}