.home-key-panels__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}


/* Card */

.home-panel {
	display: flex;
	flex-direction: column;
	background-color: #f2f2f2;
	overflow: hidden;
	border-radius: 0.75rem;
}


/* Image */

.home-panel__image-wrapper {
	aspect-ratio: 2.3 / 1;
	overflow: hidden;
}

.home-panel__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* Content */

.home-panel__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 2rem 2.4rem 1.5rem;
}


/* Title */

.home-panel__title {
	color: #2c654e;
	font-size: 1.4rem;
	line-height: 1.2;
	margin: 0;
}


/* Text */

.home-panel__text {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	line-height: 1.45;
}

.home-panel__text a{
	color: #2c654e;
	text-decoration: none;
}


/* Link */

.home-panel__link {
	position: relative;
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 0.8rem 3rem 0.8rem 1.5rem;

	background-color: var(--signature-green);
	color: #fff;

	font-size: 1.1rem;
	line-height: 1.3;
	text-decoration: none;
}


/* Arrow */

.home-panel__link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.2rem;

	width: 8px;
	height: 8px;

	border-top: 3px solid #fff;
	border-right: 3px solid #fff;

	transform: translateY(-50%) rotate(45deg);
}


/* Hover */

.home-panel__link:hover,
.home-panel__link:focus-visible {
	background-color: #00543f;
	color: #fff;
}


/* Tablet */

@media (max-width: 900px) {

	.home-key-panels__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* Mobile */

@media (max-width: 700px) {

	.home-key-panels__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.home-panel__content {
		padding: 1.5rem;
	}

	.home-panel__title {
		font-size: 1.4rem;
	}

}