:root {
	--hjp-blauw: #03498f;
	--hjp-donker: #101820;
	--hjp-geel: #fdc300;
	--hjp-licht: #f3f6f8;
	--hjp-grijs: #536170;
	--hjp-rand: #e2e8ee;
	--hjp-wit: #ffffff;
}

body.hjp-projectpagina {
	background: #fff;
	overflow-x: hidden;
}

/* HJP Projecten - archive-ruimte onderaan verwijderen */
.shoptimizer-archive:has(.hjp-project) {
	margin-bottom: 0 !important;
}

.hjp-project,
.hjp-project * {
	box-sizing: border-box;
}

.hjp-project {
	/*font-family: Montserrat, Arial, sans-serif;*/
	color: var(--hjp-donker);
}

.hjp-project-container {
	width: min(1170px, calc(100% - 40px));
	margin: 0 auto;
}

.hjp-project-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	isolation: isolate;
	/*min-height: 475px;*/
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--hjp-donker);
}

.hjp-project-hero__achtergrond {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--hjp-project-hero);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hjp-project-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(16, 24, 32, .97) 0%, rgba(16, 24, 32, .90) 34%, rgba(16, 24, 32, .60) 58%, rgba(16, 24, 32, .16) 84%, rgba(16, 24, 32, .04) 100%);
}

/* Hero-inhoud vanaf een vaste bovenzijde positioneren.
   Hierdoor verschuift de breadcrumb niet wanneer
   de inhoud lager wordt door extra regels. */
.hjp-project-hero__container {
	display: flex;
	align-items: flex-start;
	position: relative;
	z-index: 2;
}

.hjp-project-hero::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: var(--hjp-geel);
	z-index: 1;
}

/* Vaste bovenruimte in de hero */
.hjp-project-hero__inhoud {
	width: min(620px, 62%);
	padding: 35px 0 65px;
	color: #fff;
}

/* Breadcrumb binnen de hero */
.hjp-project-breadcrumb {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: -15px;
	margin-bottom: 37px;
	top: -10px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .78);
}

.hjp-project-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.hjp-project-breadcrumb a:hover {
	color: var(--hjp-geel);
}

.hjp-project-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hjp-geel);
	margin-bottom: 12px;
}

.hjp-project-label--licht {
	color: #b28700;
}

.hjp-project-hero h1 {
	position: relative;
	margin: 0;
	padding-left: 17px;
	font-size: 40px;
	line-height: 1.04;
	font-weight: 800;
	color: #fff;
}

.hjp-project-hero h1::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 5px;
	height: calc(100% - 6px);
	border-radius: 5px;
	background: var(--hjp-geel);
}

.hjp-project-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 28px;
	max-width: 650px;
	margin-top: 40px;
}

.hjp-project-meta__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.hjp-project-meta__ico {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	color: var(--hjp-geel);
}

.hjp-project-meta__ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hjp-project-meta__item strong,
.hjp-project-meta__item span:not(.hjp-project-meta__ico) {
	display: block;
}

.hjp-project-meta__item strong {
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}

.hjp-project-meta__item div > span {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .76);
}

.hjp-project-sectie {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 78px 0;
}

.hjp-project-over {
	background: #fff;
}

.hjp-project-two-kolommen {
	display: grid;
	grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
	gap: 58px;
	align-items: center;
}

.hjp-project-tekstkolom h2,
.hjp-project-sectie-kop h2 {
	margin: 0 0 18px;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--hjp-donker);
}

.hjp-project-richtekst,
.hjp-project-sectie-kop__tekst {
	font-size: 15px;
	line-height: 1.8;
	color: #526170;
	color: #000000;
}

.hjp-project-richtekst p,
.hjp-project-sectie-kop__tekst p {
	margin: 0 0 16px;
}

.hjp-project-richtekst p:last-child,
.hjp-project-sectie-kop__tekst p:last-child {
	margin-bottom: 0;
}

.hjp-project-pluspunten {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 11px;
}

.hjp-project-pluspunten li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #314250;
}

.hjp-project-pluspunten li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--hjp-geel);
	color: var(--hjp-donker);
	font-size: 13px;
	font-weight: 800;
}

/* Fotoblokken */
.hjp-project-fotoblok {
	min-width: 0;
	display: grid;
	gap: 12px;
}

.hjp-project-foto-link {
	position: relative;
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	border-radius: 8px;
	background: transparent;
	text-decoration: none;
}

.hjp-project-foto-link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(3, 73, 143, .0);
	transition: background .2s ease;
	z-index: 1;
	pointer-events: none;
}

.hjp-project-foto-link::before {
	content: '↗';
	position: absolute;
	top: 12px;
	right: 12px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(16, 24, 32, .78);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 2;
}

.hjp-project-foto-link:hover::after {
	background: rgba(3, 73, 143, .12);
}

.hjp-project-foto-link:hover::before {
	opacity: 1;
	transform: translateY(0);
}

.hjp-project-foto {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	background: #eef2f5;
	transition: transform .35s ease;
}

.hjp-project-foto-link:hover .hjp-project-foto {
	transform: scale(1.025);
}

.hjp-project-fotoblok--1 {
	grid-template-columns: 1fr;
	grid-template-rows: 360px;
}

.hjp-project-fotoblok--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 320px;
}

.hjp-project-fotoblok--3 {
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, 170px);
}

.hjp-project-fotoblok--3 .hjp-project-foto-link--groot {
	grid-row: 1 / span 2;
}

.hjp-project-fotoblok--4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, 170px);
}

.hjp-project-two-kolommen--werkzaamheden {
	grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
}

.hjp-project-werkzaamheden__tekst {
	grid-column: 2;
	grid-row: 1;
}

.hjp-project-fotoblok--werkzaamheden {
	grid-column: 1;
	grid-row: 1;
}

.hjp-project-two-kolommen--resultaat {
	grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
}

.hjp-project-resultaat__tekst {
	grid-column: 1;
	grid-row: 1;
}

.hjp-project-fotoblok--resultaat {
	grid-column: 2;
	grid-row: 1;
}

.hjp-project-sectie-kop {
	display: flex;
	justify-content: space-between;
	gap: 50px;
	align-items: flex-end;
	margin-bottom: 34px;
}

.hjp-project-sectie-kop__tekst {
	max-width: 470px;
}

.hjp-project-sectie-kop--compact {
	align-items: center;
}

.hjp-project-resultaat {
	background: #fff;
}

/* =========================================================
   CTA - Project realiseren
   ========================================================= */

.hjp-project-cta {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: 30px;
	padding: 38px 0;
	background: #101820;
	color: #fff;
	background:
	linear-gradient(
		90deg,
		rgba(16, 24, 32, .94) 0%,
		rgba(16, 24, 32, .82) 55%,
		rgba(16, 24, 32, .72) 100%
	),
	url("/wp-content/uploads/2026/10/Themafeesten.png") center center / cover no-repeat;
}

.hjp-project-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 50px;
}

.hjp-project-cta__tekst {
	min-width: 0;
}

.hjp-project-cta__label {
	margin: 0 0 6px;
	font-size: 11px;
	line-height: 1.4;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fdc300;
}

.hjp-project-cta__tekst h2 {
	position: relative;
	margin: 0 0 8px;
	padding-left: 14px;
	font-size: 32px;
	line-height: 1.18;
	font-weight: 800;
	color: #fff;
}

.hjp-project-cta__tekst h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;
	width: 4px;
	border-radius: 4px;
	background: #fdc300;
}

.hjp-project-cta__tekst p {
	max-width: 760px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	/*color: rgba(255,255,255,.78);*/
	color: #fff;
}

.hjp-project-knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 180px;
	padding: 15px 20px;
	border-radius: 5px;
	background: #fdc300;
	color: #101820;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}

.hjp-project-knop span {
	font-size: 17px;
	line-height: 1;
	transition: transform .2s ease;
}

.hjp-project-knop:hover {
	color: #101820;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.hjp-project-knop:hover span {
	transform: translateX(4px);
}

/* EINDE CTA */

.hjp-project-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: rgba(0, 0, 0, .86);
}

.hjp-project-lightbox-overlay img {
	max-width: min(1400px, 94vw);
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .40);
}

.hjp-project-lightbox-sluiten {
	position: absolute;
	top: 18px;
	right: 22px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
}

body.hjp-project-lightbox-open {
	overflow: hidden;
}

/* Werkzaamheden - gele vinkjes */
.hjp-project-werkpunten {
	margin: 28px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: grid !important;
	gap: 14px !important;
}

.hjp-project-werkpunten li {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.hjp-project-werkpunten li::marker {
	display: none !important;
	content: none !important;
}

.hjp-project-werkpunten__ico {
	flex: 0 0 24px !important;
	width: 24px !important;
	height: 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-top: 1px !important;
	border-radius: 50% !important;
	background: #fdc300 !important;
	color: #101820 !important;
	font-size: 13px !important;
	line-height: 1 !important;
	font-weight: 800 !important;
}

.hjp-project-werkpunten li > div {
	min-width: 0 !important;
}

.hjp-project-werkpunten li strong {
	display: block !important;
	margin: 0 0 2px !important;
	color: #101820 !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	font-weight: 700 !important;
}

.hjp-project-werkpunten li > div > span {
	display: block !important;
	color: #526170 !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

section.hjp-project-sectie.hjp-project-werkzaamheden {
    background-color: #f7f9fc;
}

@media (max-width: 1050px) {
	.hjp-project-hero__inhoud {
		width: min(680px, 72%);
	}

}

@media (max-width: 800px) {
	.hjp-project-container {
		width: min(100% - 30px, 680px);
	}

	.hjp-project-hero {
		min-height: 0;
		margin-left: calc(50% - 50vw);
	}

	.hjp-project-hero__inhoud {
		width: 100%;
		padding: 44px 0 54px;
	}

	.hjp-project-hero::after {
		background: linear-gradient(90deg, rgba(3, 20, 34, .97), rgba(3, 20, 34, .83));
	}

	.hjp-project-meta {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.hjp-project-two-kolommen,
	.hjp-project-sectie-kop {
		grid-template-columns: 1fr;
		display: grid;
		gap: 35px;
		align-items: start;
	}

	.hjp-project-two-kolommen--werkzaamheden,
	.hjp-project-two-kolommen--resultaat {
		grid-template-columns: 1fr;
	}

	.hjp-project-werkzaamheden__tekst,
	.hjp-project-fotoblok--werkzaamheden,
	.hjp-project-resultaat__tekst,
	.hjp-project-fotoblok--resultaat {
		grid-column: auto;
		grid-row: auto;
	}

	.hjp-project-fotoblok--1,
	.hjp-project-fotoblok--2,
	.hjp-project-fotoblok--3,
	.hjp-project-fotoblok--4 {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 190px 140px;
	}

	.hjp-project-fotoblok--3 .hjp-project-foto-link--groot {
		grid-row: 1 / span 2;
	}

	.hjp-project-fotoblok--1 {
		grid-template-columns: 1fr;
		grid-template-rows: 330px;
	}

	.hjp-project-fotoblok--2 {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 190px;
	}

	.hjp-project-fotoblok--4 {
		grid-template-rows: repeat(2, 160px);
	}


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

	.hjp-project-cta {
			padding: 46px 0;
		}

		.hjp-project-cta__inner {
			grid-template-columns: 1fr;
			gap: 24px;
		}

		.hjp-project-knop {
			justify-self: start;
		}
}

@media (max-width: 560px) {
	.hjp-project-sectie {
		padding: 58px 0;
	}

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

	.hjp-project-fotoblok--1,
	.hjp-project-fotoblok--2,
	.hjp-project-fotoblok--3,
	.hjp-project-fotoblok--4 {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.hjp-project-fotoblok--1 .hjp-project-foto-link,
	.hjp-project-fotoblok--2 .hjp-project-foto-link,
	.hjp-project-fotoblok--3 .hjp-project-foto-link,
	.hjp-project-fotoblok--4 .hjp-project-foto-link {
		min-height: 230px;
	}

	.hjp-project-fotoblok--3 .hjp-project-foto-link--groot {
		grid-row: auto;
	}
	
	.hjp-project-cta {
		padding: 42px 0;
	}

	.hjp-project-cta__tekst {
		min-width: calc(100% - 68px);
	}

	.hjp-project-cta__tekst h2 {
		font-size: 22px;
	}

	.hjp-project-knop {
		margin-left: 0;
		width: 100%;
	}
}


/* =========================================================
   Projectnavigatie
   ========================================================= */

.hjp-project-terug {
	width: 100%;
	padding: 20px 0 0;
}

.hjp-project-terug a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hjp-blauw);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	position: relative;
	left: -20px;
}

.hjp-project-terug a span {
	font-size: 17px;
	line-height: 1;
	transition: transform .2s ease;
}

.hjp-project-terug a:hover { color: var(--hjp-donker); }
.hjp-project-terug a:hover span { transform: translateX(-3px); }

/* =========================================================
   Projectgalerij - lightbox bediening
   ========================================================= */

.hjp-project-lightbox-navigatie {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hjp-project-lightbox-knop {
	position: absolute;
	top: 50%;
	width: 46px;
	height: 46px;
	margin-top: -23px;
	border: 0;
	border-radius: 10%;
	background: rgba(16, 24, 32, .82);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
	transition: background .2s ease, transform .2s ease;
}

.hjp-project-lightbox-knop--vorige { left: 24px; }
.hjp-project-lightbox-knop--volgende { right: 24px; }

.hjp-project-lightbox-knop:hover { background: rgba(3, 73, 143, .95); }
.hjp-project-lightbox-knop--vorige:hover { transform: translateX(-2px); }
.hjp-project-lightbox-knop--volgende:hover { transform: translateX(2px); }

.hjp-project-lightbox-teller {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(16, 24, 32, .82);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.hjp-project-lightbox-overlay img {
	position: relative;
	z-index: 1;
}

/* =========================================================
   Andere projecten
   ========================================================= */

.hjp-project-meer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 45px 0;
}

.hjp-project-meer__kop {
	margin-bottom: 32px;
}

.hjp-project-meer__kop h2 {
	margin: 0;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--hjp-donker);
}

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

.hjp-project-meer__kaart {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--hjp-rand);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 6px 22px rgba(16, 24, 32, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.hjp-project-meer__kaart:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(16, 24, 32, .12);
}

.hjp-project-meer__afbeelding {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef2f5;
}

.hjp-project-meer__afbeelding img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.hjp-project-meer__kaart:hover .hjp-project-meer__afbeelding img { transform: scale(1.025); }

.hjp-project-meer__inhoud {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px;
}

.hjp-project-meer__label {
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	color: var(--hjp-blauw);
}

.hjp-project-meer__inhoud h3 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--hjp-donker);
}

.hjp-project-meer__inhoud p {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--hjp-grijs);
}

.hjp-project-meer__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #edf1f5;
	font-size: 12px;
	font-weight: 800;
	color: var(--hjp-blauw);
}

.hjp-project-meer__link span:last-child {
	font-size: 17px;
	transition: transform .2s ease;
}

.hjp-project-meer__kaart:hover .hjp-project-meer__link span:last-child { transform: translateX(4px); }

@media (max-width: 800px) {
	.hjp-project-lightbox-knop { width: 40px; height: 40px; margin-top: -20px; font-size: 22px; }
	.hjp-project-lightbox-knop--vorige { left: 14px; }
	.hjp-project-lightbox-knop--volgende { right: 14px; }
	.hjp-project-meer { padding: 58px 0; }
	.hjp-project-meer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.hjp-project-terug { padding-top: 16px; }
	.hjp-project-meer__grid { grid-template-columns: 1fr; }
	.hjp-project-meer__inhoud { padding: 18px; }
}


/* Lightbox-bediening boven de afbeelding plaatsen */
.hjp-project-lightbox-navigatie {
	z-index: 3;
}

.hjp-project-lightbox-sluiten {
	z-index: 4;
}
