.image_cards {
	margin: var(--padding) 0;
}

ul.image_cards__list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	gap: 33px;
}


.image_cards__list > li {
	flex: 1;
}

.image_card {
	display: block;
	border-radius: 8px;
	height: 720px;
	background-size: cover;
	background-position: center;
	color: white;
	display: flex;
	align-items: center;
	padding-left: 35px;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.image_card:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #5B554D;
	opacity: 0.4;
	transition: opacity 0.3s;
}

.image_card:hover:before {
	opacity: 0.3;
}

.image_card h3 {
	font-size: 28px;
	line-height: 1.642857;
	margin-bottom: 14px;
}

.image_card__link {
	color: #E0D6C9;
	text-decoration: underline;
}

.image_card__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.image_card__icon:before {
	content: '';
	background-color: var(--surface, #faf8f5);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.5;
}

.image_card__content {
	position: relative;
	z-index: 1;
}

.image_card__link {
	display: flex;
	align-items: center;
	gap: 8px;
}

.image_card__link:after {
	content: '';
	width: 14px;
	height: 12px;
	display: block;
	background-image: url('../../img/arrow-right-e0d6c9.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.image_card__icon img {
	width: 20px;
}

@media (max-width: 991px) {
	.image_card {
		height: 340px;
		padding: 22px;
	}

	ul.image_cards__list {
		gap: 15px;
		overflow: auto;
		padding: 0 16px;
	}

	section.image_cards .container {
		padding: 0;
	}

	.image_card h3 {
		font-size: 18px;
		line-height: 24px;
	}

	.image_card__link {
		font-size: 14px;
		line-height: 18px;
	}

	.image_card__icon {
		width: 38px;
		height: 38px;
	}

	.image_card__icon img {
		width: 16px;
	}

	.image_cards__list > li {
		min-width: 242px;
	}

	.image_card__link:after {
		width: 12px;
		height: 10px;
	}
}

@media (max-width: 767px) {
	.image_cards {
		padding: 0;
		margin: var(--padding-mobile) 0;
	}
}
