.project-taxonomy-page {
	background: #fff;
	color: #111;
}

.project-inner {
	max-width: 1300px;
	margin: 0 auto;
}

.project-hero {
	position: relative;
	min-height: 720px;
	background: #071523;
	color: #fff;
	overflow: hidden;
}

.project-hero-main,
.project-hero-main .splide__track,
.project-hero-main .splide__list,
.project-hero-main .splide__slide,
.project-hero-slide {
	min-height: 720px;
}

.project-hero-slide {
	position: relative;
	display: grid;
	align-items: end;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.project-hero-slide:before,
.project-hero-empty:before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 21, 33, 0.78) 0%, rgba(4, 21, 33, 0.48) 34%, rgba(4, 21, 33, 0.04) 72%),
		linear-gradient(180deg, rgba(4, 21, 33, 0.05) 45%, rgba(4, 21, 33, 0.74) 100%);
	pointer-events: none;
}

.project-hero-copy {
	position: relative;
	z-index: 2;
	width: 60%;
	margin-left: max(32px, calc((100vw - var(--width-max)) / 2));
	padding: 0 0 112px;
}

.project-hero-kicker {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.project-hero h1 {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(30px, 4.2vw, 50px);
	line-height: 1.5;
	font-weight: 900;
	text-transform: uppercase;
}

.project-hero-desc {
	max-width: 520px;
	margin: 0 0 30px;
	color: #fff;
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.55;
	font-weight: 600;
}

.project-hero-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 8px 0 26px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 999px;
	background: rgba(4, 21, 33, 0.22);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	text-decoration: none;
}

.project-hero-link span:last-child {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.86);
	color: #142335;
}

.project-hero-link:hover {
	border-color: #00aeef;
	color: #fff;
}

.project-hero-thumbs {
	position: absolute;
	right: max(28px, calc((100vw - var(--width-max)) / 2));
	bottom: 42px;
	z-index: 4;
	width: min(760px, calc(100% - 56px));
	ul{
		padding: 1rem !important;
	}
}

.project-hero-thumbs .splide__track {
	padding: 2px;
}

.project-hero-thumbs .splide__slide {
	border: 0;
	opacity: 0.8;
}

.project-hero-thumbs .splide__slide.is-active {
	opacity: 1;
}

.project-hero-thumbs .splide__slide.is-active .project-thumb {
	border-color: #00aeef;
	box-shadow: 0 0 0 3px #00aeef;
}

.project-thumb {
	position: relative;
	width: 100%;
	height: 88px;
	display: block;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: #18304b;
	color: #fff;
	cursor: pointer;
}

.project-thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.project-thumb:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54));
}

.project-thumb span {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	z-index: 1;
	color: #fff;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.project-list-section {
	padding: 88px 0 100px;
	background: #fafafa;
}

.project-section-kicker {
	margin: 0 0 12px;
	color: #666;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.project-section-title {
	margin: 0 0 34px;
	color: #111;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
	font-weight: 900;
	text-transform: uppercase;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.project-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	overflow: hidden;
}

.project-card-image {
	position: relative;
	display: block;
	aspect-ratio: 1.45 / 1;
	overflow: hidden;
	background: #eaf0f5;
	color: #777;
	text-decoration: none;
}

.project-card-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.project-card-image span {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	font-weight: 800;
}

.project-card:hover .project-card-image img {
	transform: scale(1.05);
}

.project-card h3 {
	margin: 0;
	padding: 22px 24px 24px;
	color: #111;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 900;
}

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

.project-card h3 a:hover {
	color: #00aeef;
}

.project-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 54px;
}

.project-pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d7d7d7;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.project-pagination .page-numbers.current,
.project-pagination a.page-numbers:hover {
	border-color: #00aeef;
	background: #00aeef;
	color: #fff;
}

.project-empty {
	margin: 0;
	padding: 42px;
	border: 1px solid #e1e1e1;
	background: #fff;
	color: #555;
	font-size: 16px;
	text-align: center;
}

.project-detail-page {
	background: #fff;
	color: #111;
}

.project-detail-hero .project-hero-copy {
	padding-bottom: 112px;
}

.project-detail-overview {
	padding: 82px 0 70px;
	background: #fff;
}

.project-detail-overview-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(48px, 8vw, 96px);
	align-items: start;
	margin-bottom: 58px;
}

.project-detail-heading {
	color: #8b8f94;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.28;
	font-weight: 900;
}

.project-detail-heading p {
	margin: 0;
}

.project-detail-heading strong,
.project-detail-heading b {
	color: var(--color-secondary);
}

.project-detail-bullets {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.project-detail-bullets li {
	position: relative;
	padding-left: 36px;
	color: #111;
	font-size: 15px;
	line-height: 1.55;
}

.project-detail-bullets li:before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #d0102a;
}

.project-detail-bullets li:after {
	content: "";
	position: absolute;
	top: 7px;
	left: 5px;
	width: 8px;
	height: 4px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
}

.project-detail-gallery {
	display: grid;
	grid-template-columns: 1.08fr 0.68fr 0.68fr;
	gap: 18px;
}

.project-gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #edf1f4;
}

.project-gallery-item.is-large {
	grid-row: span 2;
	aspect-ratio: auto;
	min-height: 512px;
}

.project-gallery-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.project-gallery-item:hover img {
	transform: scale(1.04);
}

.project-detail-specs {
	padding: 0 0 72px;
	background: #fff;
}

.project-spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #e7e7e7;
	border-left: 1px solid #e7e7e7;
}

.project-spec-item {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	min-height: 72px;
	border-right: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

.project-spec-label {
	padding: 20px 28px;
	display: flex;
	align-items: center;
	background: #f7f7f7;
	color: #111;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 900;
}

.project-spec-value {
	padding: 20px 30px;
	display: flex;
	align-items: center;
	color: #596b7c;
	font-size: 15px;
	line-height: 1.55;
}

.project-detail-content {
	padding: 0 0 72px;
	background: #fff;
}

.project-detail-content-box {
	position: relative;
	overflow: hidden;
	max-height: 430px;
	color: #333;
	font-size: 16px;
	line-height: 1.75;
	transition: max-height 0.35s ease;
}

.project-detail-content-box:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.project-detail-content-box.is-expanded {
	max-height: none;
}

.project-detail-content-box.is-expanded:after,
.project-detail-content-box:not(.is-collapsible) .project-content-toggle {
	display: none;
}

.project-detail-content-body h2,
.project-detail-content-body h3,
.project-detail-content-body h4 {
	margin: 0 0 18px;
	color: #111;
	line-height: 1.28;
	font-weight: 900;
}

.project-detail-content-box.is-collapsible .project-detail-content-body {
	padding-bottom: 64px;
}

.project-detail-content-body p,
.project-detail-content-body ul,
.project-detail-content-body ol {
	margin: 0 0 18px;
}

.project-detail-content-body img {
	max-width: 100%;
	height: auto;
}

.project-content-toggle {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 2;
	min-width: 132px;
	min-height: 42px;
	padding: 0 24px;
	border: 0;
	background: #00aeef;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transform: translateX(-50%);
	text-align:center;
}

.project-detail-location {
	padding: 8px 0 96px;
	background: #fff;
}

.project-detail-location h2 {
	margin: 0 0 42px;
	color: #f06d18;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.2;
	font-weight: 900;
}

.project-map {
	width: 100%;
	overflow: hidden;
	background: #eef2f5;
}

.project-map iframe {
	width: 100%;
	min-height: 360px;
	display: block;
	border: 0;
}

@media (max-width: 1100px) {
	.project-hero,
	.project-hero-main,
	.project-hero-main .splide__track,
	.project-hero-main .splide__list,
	.project-hero-main .splide__slide,
	.project-hero-slide {
		min-height: 650px;
	}

	.project-hero-copy {
		padding-bottom: 168px;
		width:calc(100% - 30px);
		margin:0px 1rem;
	}

	.project-hero-thumbs {
		left: 28px;
		right: 28px;
		width: auto;
	}

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

	.project-detail-overview-grid,
	.project-detail-gallery,
	.project-spec-table {
		grid-template-columns: 1fr;
	}

	.project-gallery-item.is-large {
		min-height: 420px;
	}
}

@media (max-width: 768px) {
	.project-hero,
	.project-hero-main,
	.project-hero-main .splide__track,
	.project-hero-main .splide__list,
	.project-hero-main .splide__slide,
	.project-hero-slide {
		min-height: 590px;
	}

	.project-hero-copy {
		margin-left: 16px;
		padding-bottom: 146px;
	}

	.project-hero h1 {
		font-size: 25px;
	}

	.project-hero-desc {
		font-size: 16px;
	}

	.project-hero-thumbs {
		left: 16px;
		right: 16px;
		bottom: 28px;
	}

	.project-list-section {
		padding: 30px 1rem;
	}

	.project-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.project-detail-overview {
		padding: 30px 1rem;
	}

	.project-detail-overview-grid {
		gap: 28px;
		margin-bottom: 38px;
	}

	.project-detail-heading {
		font-size: 27px;
	}

	.project-gallery-item.is-large {
		min-height: 340px;
	}

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

	.project-spec-label,
	.project-spec-value {
		padding: 16px 18px;
	}

	.project-detail-location {
		padding: 16px 1rem 64px;
	}

	.project-detail-content {
		padding: 0 1rem 56px;
	}

	.project-detail-content-box {
		max-height: 380px;
	}
}
