/* =========================================================
   PROJECT COMMON CONTAINER
========================================================= */

.project-container {
	width: 100%;
	max-width: 1280px;

	margin-left: auto;
	margin-right: auto;

	padding-left: 24px;
	padding-right: 24px;
}


/* =========================================================
   FILTER
========================================================= */

.project-archive__filter {
	padding: 32px 0 10px;
}


.project-filter {
	display: flex;
	flex-wrap: wrap;

	gap: 10px;
}


.project-filter__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 10px 18px;

	border: 1px solid #e2e8f0;
	border-radius: 999px;

	background: #fff;

	color: #475569;

	font-size: 13px;
	font-weight: 600;

	text-decoration: none;

	transition: .25s ease;
}


.project-filter__item:hover,
.project-filter__item.is-active {
	background: #D2F832;

	color: #0f172a;

	border-color: #D2F832;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-archive__content {
	padding: 40px 0 90px;
}


/* 2 columns */

.project-archive__grid {
	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 32px;
}


/* Card fill height */

.project-archive__grid .project-card {
	height: 100%;
}


/* =========================================================
   TITLE LINK
========================================================= */

.project-card__title a {
	color: inherit;
	text-decoration: none;
}


/* =========================================================
   PAGINATION
========================================================= */

.project-pagination {
	margin-top: 55px;
}


.project-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 8px;
}


.project-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 42px;
	height: 42px;

	padding: 0 12px;

	border-radius: 10px;

	background: #f1f5f9;

	color: #0f172a;

	font-size: 13px;
	font-weight: 700;

	text-decoration: none;
}


.project-pagination .page-numbers.current,
.project-pagination .page-numbers:hover {
	background: #D2F832;

	color: #0f172a;
}


.project-pagination .prev,
.project-pagination .next {
	padding: 0;

	width: 42px;
}


/* =========================================================
   EMPTY
========================================================= */

.project-archive__empty {
	padding: 60px 0;

	text-align: center;

	color: #64748b;
}


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

@media (max-width: 991px) {

	.project-archive__grid {
		gap: 22px;
	}

}


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

@media (max-width: 767px) {

	.project-container {
		padding-left: 16px;
		padding-right: 16px;
	}


	.project-archive__hero {
		padding: 60px 0 38px;
	}


	.project-archive__intro {
		font-size: 15px;
	}


	.project-archive__grid {
		grid-template-columns: 1fr;
	}


	.project-filter {
		flex-wrap: nowrap;

		overflow-x: auto;

		padding-bottom: 6px;

		scrollbar-width: none;
	}


	.project-filter::-webkit-scrollbar {
		display: none;
	}


	.project-filter__item {
		flex: 0 0 auto;
	}

}




/* =========================================================
   CONTENT
========================================================= */

.single-project__main {
	padding: 80px 0 100px;
}


.single-project__layout {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		340px;

	gap: 70px;
}


.single-project__content {
	min-width: 0;

	font-size: 17px;
	line-height: 1.8;

	color: #475569;
}


.single-project__content h2,
.single-project__content h3 {
	color: #0f172a;
}


.single-project__content img {
	max-width: 100%;
	height: auto;

	border-radius: 16px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.single-project__sidebar {
	position: relative;
}


.single-project__info-card {
	position: sticky;

	top: 100px;

	margin-bottom: 22px;

	padding: 28px;

	background: #f7f8f5;

	border: 1px solid #e7e9e2;
	border-radius: 18px;
}


.single-project__info-item + .single-project__info-item {
	margin-top: 24px;

	padding-top: 24px;

	border-top: 1px solid #dde2d7;
}


.single-project__info-label {
	display: block;

	margin-bottom: 6px;

	font-size: 11px;
	font-weight: 700;

	text-transform: uppercase;
	letter-spacing: .08em;

	color: #94a3b8;
}


.single-project__info-value {
	display: block;

	font-size: 16px;
	font-weight: 700;

	color: #0f172a;
}


.single-project__info-value--lime {
	color: #829600;
}


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

@media (max-width: 767px) {

	.single-project__hero {
		min-height: 500px;
	}


	.single-project__hero-content {
		padding: 90px 0 50px;
	}


	.single-project__layout {
		grid-template-columns: 1fr;

		gap: 42px;
	}


	.single-project__main {
		padding: 55px 0 70px;
	}


	.single-project__info-card {
		position: static;
	}

}