.home-projects {
	background: #fffbe8;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.home-projects__inner {
	width: min(100% - 2rem, var(--home-container));
	margin-inline: auto;
	text-align: center;
}

.home-projects h2 {
	margin: 0 0 calc(40px + .55rem);
	position: relative;
	display: inline-block;
	color: #252a31;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
}



.home-projects__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(.9rem, 1.35vw, 1.6rem);
	align-items: start;
}

.home-project-card {
	min-width: 0;
	text-align: center;
}

.home-project-card__thumb {
	width: 100%;
	margin-bottom: .35rem;
	background: rgba(0, 0, 0, .06);
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.home-project-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-project-card h3 {
	margin: 0 auto .7rem;
	color: #1d1d1d;
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.08;
	text-shadow: 0 2px 2px rgba(0, 0, 0, .26);
}

.home-project-card p {
	max-width: 18rem;
	margin: 0 auto;
	color: #000000;
	font-size: 14px;
	line-height: 1.42;
	text-shadow: 0 2px 2px rgba(0, 0, 0, .18);
}

.home-projects__cta {
	display: flex;
	justify-content: center;
	margin-top: clamp(3rem, 5vw, 4.75rem);
}

.home-projects__cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 208px;
	min-height: 54px;
	padding: .75rem 2rem;
	color: #ffffff;
	background: #76bd00;
	border-radius: 5px;
	box-shadow:
		inset 0 3px 0 rgba(227, 255, 95, .9),
		inset 0 -5px 0 rgba(42, 105, 0, .22),
		0 1px 0 rgba(255, 255, 255, .35);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.home-projects__cta a:hover,
.home-projects__cta a:focus-visible {
	background: #82ce00;
}

@media (max-width: 1100px) {
	.home-projects__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.home-projects {
		padding-block: clamp(2.5rem, 5vw, 4rem);
	}

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


@media (max-width: 480px) {
	.home-projects__grid {
		grid-template-columns: 1fr;
	}

	.home-projects__cta a {
		width: 100%;
		min-width: 0;
	}
}