/* Block: cards-grid — Figma related cards */
.b-cards-grid .cards-grid__heading {
	margin: 0 0 23px;
	color: #000;
	font-family: "Manpore", Sans-serif;
	font-size: 34px;
	font-weight: 800;
	line-height: 42px;
}

.b-cards-grid .cards-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.b-cards-grid .cards-grid__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	border-radius: 12px;
	background-color: #f4f4f4;
}

.b-cards-grid .cards-grid__image {
	overflow: hidden;
	width: 100%;
	height: 240px;
	border-radius: 12px;
	flex-shrink: 0;
}

.b-cards-grid .cards-grid__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b-cards-grid .cards-grid__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
	min-height: 190px;
	padding: 20px 30px 30px;
}

.b-cards-grid .cards-grid__title {
	margin: 0;
	color: #000;
	font-family: "Manpore", Sans-serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 31px;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.b-cards-grid .cards-grid__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 58px;
	padding: 16px 20px;
	border: 0;
	border-radius: 12px;
	background-color: #e6333e;
	color: #fff;
	font-family: "Manpore", Sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 18px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.b-cards-grid a.cards-grid__button:hover {
	background-color: #c92b34;
	color: #fff;
}

.b-cards-grid a.cards-grid__button:focus-visible {
	outline: 2px solid #076bad;
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.b-cards-grid .cards-grid__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.b-cards-grid .cards-grid__heading {
		font-size: 28px;
		line-height: 34px;
	}

	.b-cards-grid .cards-grid__image {
		height: 200px;
	}

	.b-cards-grid .cards-grid__body {
		min-height: 170px;
		padding: 16px 20px 24px;
	}

	.b-cards-grid .cards-grid__title {
		font-size: 22px;
		line-height: 28px;
	}
}

@media (max-width: 767px) {
	.b-cards-grid .cards-grid__list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.b-cards-grid .cards-grid__heading {
		font-size: 24px;
		line-height: 30px;
	}

	.b-cards-grid .cards-grid__image {
		height: 200px;
	}

	.b-cards-grid .cards-grid__body {
		min-height: 0;
		padding: 16px;
	}

	.b-cards-grid .cards-grid__title {
		font-size: 20px;
		line-height: 26px;
	}

	.b-cards-grid .cards-grid__button {
		min-height: 52px;
		font-size: 16px;
	}
}
