/* Project Grid */
.project-grid {
	margin-bottom: 4rem;
}

.project-grid .search {
	margin-bottom: 2rem;
}

.project-grid .search form {
	display: flex;
	flex-wrap: wrap;
}

.project-grid .search input[type="search"] {
	border-radius: 0;
	flex: 1 0 0%;
}

.project-grid .search button {
	flex: 0 0 auto;
	width: auto;
}

.project-grid .search details {
	width: 100%;
}

.project-grid .search details summary {
	align-items: center;
	display: flex;
	gap: .5rem;
	margin-top: 1rem;
	transition: .25s all;
	width: 100%;
}

.project-grid .search details summary:hover {
	color: #0a85c9;
	cursor: pointer;
}

.project-grid .search details summary::marker {
	display: none;
}

.project-grid .search details summary i {
	transition: all .25s;
}

.project-grid .search details[open] summary i {
	transform: rotate(90deg);
}

.project-grid .search .naics-filters {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: .5rem;
	width: 100%;
}

.project-grid .search .naics-filters label {
	display: flex;
	font-size: .875rem;
	line-height: 1.25;
}

.project-grid .search .naics-filters input {
	align-items: center;
	appearance: none;
	border: .125rem solid #002a55;
	border-radius: 0;
	display: flex;
	height: 1rem;
	justify-content: center;
	margin: .0625rem .5rem 0 0;
	padding: 0;
	width: 1rem;
	will-change: transform background-color border-color;
}

.project-grid .search .naics-filters input:checked {
	background-color: #0a85c9;
	border-color: #0a85c9;
}

.project-grid .search .naics-filters input:before {
	content: '';
	background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2215%22%20viewBox%3D%220%200%2018%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M17.8223%201.65039L6.39746%2014.6514L0%208.25488L1.76758%206.48633L6.2793%2010.998L15.9453%200L17.8223%201.65039Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E');
	background-position: center;
	background-repeat: no-repeat;
	background-size: .75rem;
	height: 1rem;
	transition: .25s all;
	transform: scale(0);
	width: 1rem;
}

.project-grid .search .naics-filters input:checked:before {
	transition: .25s all;
	transform: scale(1);
}

.project-grid .search .clear-search {
	display: inline-block;
	font-size: .875rem;
	margin-top: .125rem;
	text-transform: uppercase;
}

.project-grid .grid {
	display: grid;
	gap: 1.5rem;
}

.project-grid .grid a {
	color: #000;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
}

.project-grid a .image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
}

.project-grid a .image img {
	inset: 0;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	position: absolute;
	transform-origin: 50% 50%;
	transition: 1s all;
	width: 100%;
}

.project-grid a:hover .image img {
	transform: scale(110%);
}

.project-grid .grid a .content {
	background-color: rgba(0,0,0,.04);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
	padding: 1.5rem;
}

.project-grid .grid h2 {
	color: #0a85c9;
	font-size: 24px;
	letter-spacing: 0;
	line-height: 1.25;
}

.project-grid .grid p {
	margin-bottom: 1rem;
	padding: 0;
}

.project-grid .grid .read-more {
	color: #002a55;
	font-weight: bold;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	transition: .25s all;
}

.project-grid .grid a:hover .read-more {
	color: #0a85c9;
}

.project-grid .grid .read-more i {
	display: inline-block;
	font-weight: bold;
	margin-left: .25rem;
	transition: .25s all;
}

.project-grid .grid a:hover .read-more i {
	transform: translateX(.125rem);
}

.project-grid .pagination {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 576px) {
	.project-grid .grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.project-grid .search .naics-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.project-grid .search .naics-filters {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.project-grid .grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Project Wrap */

.project-wrap {
	font-size: 1.125rem;
	line-height: 1.5;
	padding: 5rem 0;
}

.project-wrap .grid {
	display: grid;
	gap: 2rem;
}

.project-wrap img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 1rem;
	max-width: 100%;
	width: 100%;
}

.project-wrap :is(h1, h2) {
	color: #0a85c9;
	font-size: 1.5rem;
	letter-spacing: 0;
	line-height: 1.25;
	margin-bottom: 0;
}

.project-wrap .meta .details {
	font-size: 1rem;
}

.project-wrap .details:not(:last-child) {
	margin-bottom: 1.5em;
}

.project-wrap .details p {
	padding-bottom: 0;
}

.project-wrap ul {
	list-style: none;
	margin: 0;
}

.project-wrap ul li {
	list-style: none;
	margin: 0;
}

.project-wrap .nectar-button {
	color: #000;
	margin: 1.5rem 0 0;
}

.project-wrap .nectar-button:hover {
	background-color: #0a85c9 !important;
}

@media (min-width: 992px) {
	.project-wrap .grid {
		grid-template-columns: 7fr 5fr;
	}
	.project-wrap .grid .meta {
		order: 2;
	}
}

@media (min-width: 1200px) {
	.project-wrap .grid {
		grid-template-columns: 8fr 4fr;
	}
}

/* Lightbox */

.gallery {
	display: grid;
	gap: 1rem;
	margin-top: 3rem;
}

.gallery a {
	aspect-ratio: 16 / 9;
	display: block;
	overflow: hidden;
	position: relative;
}

.gallery a img {
	background: 0;
	border: 0 !important;
	height: 100%;
	margin: 0;
	max-height: none;
	max-width: 100%;
	object-fit: cover;
	padding: 0;
	transform-origin: 50% 50%;
	transition: 1s all;
	width: 100%;
}

.gallery a:hover img {
	transform: scale(110%);
}

@media (min-width: 576px) {
	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sl-wrapper {
	z-index: 10000;
}

.sl-overlay {
	background: #000;
	z-index: 9999;
}

.sl-counter {
	display: none;
}

.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-close {
	color: #fff;
}