/* =========================================
   BLOCKS
========================================= */

.simple-blocks {
	width: 100%;
}

.simple-blocks *,
.simple-blocks *::before,
.simple-blocks *::after {
	box-sizing: border-box;
}

/* Grid */

.simple-blocks__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

/* Card */

.simple-blocks__card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 40px;
	width: 100%;
	min-width: 0;
	padding: 32px;
	border: 1px solid #C0CBD7;
	border-radius: 12px;
	background: #fff;
	color: inherit;
	text-decoration: none;

	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

a.simple-blocks__card:hover {
	border-color: #0072bc;
	box-shadow: 0 4px 16px rgb(0 0 0 / 5%);
	text-decoration: none;
}

/* Image */

.simple-blocks__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	flex: 0 0 104px;
	overflow: hidden;
	border-radius: 50%;
	background: #D7EEFF;
}

.simple-blocks__image img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* Content */

.simple-blocks__content {
	flex: 1;
	min-width: 0;
	padding-right: 8px;
}

body .simple-blocks__title {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25;
	color: #222;
}

.simple-blocks__subtitle {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}

.simple-blocks__description {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #6a6a6a;
}

/* Arrow */

.simple-blocks__arrow {
	position: absolute;

	top: 50%;
	right: 32px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 24px;
	height: 24px;

	color: #111;

	transform: translateY(-50%);
}

.simple-blocks__arrow svg {
	display: block;
	width: 20px;
	height: 20px;
}

a.simple-blocks__card:hover .simple-blocks__arrow {
	color: #0072bc;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

	.simple-blocks__grid {
		gap: 16px;
	}

	.simple-blocks__card {
		gap: 20px;
		padding: 16px;
	}

	.simple-blocks__image {
		width: 80px;
		height: 80px;
		flex-basis: 80px;
	}

	body .simple-blocks__title {
		font-size: 24px;
	}

	.simple-blocks__subtitle {
		font-size: 14px;
	}

	.simple-blocks__description {
		font-size: 14px;
	}

	.simple-blocks__arrow {
		right: 12px;
	}
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

	.simple-blocks__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.simple-blocks__card {
		display: flex;
		flex-direction: column;
		align-items: flex-start;

		gap: 24px;

		min-height: auto;

		padding: 20px 18px;

		border-radius: 12px;
	}

	/* Image above content */

	.simple-blocks__image {
		width: 85px;
		height: 85px;

		flex: 0 0 85px;
	}

	.simple-blocks__content {
		width: 100%;
		padding-right: 0;
	}

	.simple-blocks__title {
		margin-bottom: 10px;

		font-size: 23px;
		line-height: 1.3;
	}

	.simple-blocks__subtitle {
		margin-bottom: 10px;

		font-size: 14px;
		line-height: 1.5;
	}

	.simple-blocks__description {
		font-size: 14px;
		line-height: 1.6;
	}

	/* Arrow top-right */

	.simple-blocks__arrow {
		top: 40px;
		right: 18px;

		transform: none;
	}

}