.stroo-projects,
.stroo-single-project {
	--stroo-ink: #272725;
	--stroo-muted: #6f6f69;
	--stroo-line: #deddd7;
	--stroo-surface: #f5f4ef;
	--stroo-accent: #f39200;
	color: var(--stroo-ink);
}

.stroo-projects__header {
	max-width: 100%;
	margin: 0 auto clamp(34px, 5vw, 64px);
	text-align: center;
}

.stroo-projects__header h1 {
	margin: 0;
	color: var(--stroo-ink);
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1.08;
}

.stroo-projects__header p {
	margin: 18px 0 0;
	color: var(--stroo-muted);
	font-size: clamp(16px, 1.45vw, 22px);
	font-weight: 600;
}

.stroo-projects__layout {
	display: grid;
	gap: 28px;
}

.stroo-projects__toolbar {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 0 0 24px;
}

.stroo-projects__mobile-controls {
	display: none;
}

.stroo-projects__types {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 15px;
}

.stroo-filter-button {
	appearance: none;
	border: 1px solid var(--stroo-ink);
	border-radius: 25px;
	background: var(--stroo-ink);
	color: #fff;
	padding: 6px 15px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: 160ms ease;
}

.stroo-filter-button:hover,
.stroo-filter-button:focus-visible {
	border-color: #000;
	background: #000;
	color: #fff;
}

.stroo-filter-button.is-active {
	border-color: var(--stroo-accent);
	background: transparent;
	color: var(--stroo-accent);
	font-weight: 700;
}

.stroo-projects__more-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 12px;
}

.stroo-projects__more-filters label {
	position: relative;
	display: grid;
	gap: 5px;
	color: var(--stroo-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.stroo-projects__more-filters label::after {
	position: absolute;
	right: 14px;
	bottom: 18px;
	width: 0;
	height: 0;
	border-top: 5px solid var(--stroo-muted);
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	pointer-events: none;
	transition: border-color 160ms ease;
}

.stroo-projects__more-filters label.is-active::after {
	border-top-color: var(--stroo-accent);
}

.stroo-projects__more-filters select {
	appearance: none;
	min-width: 150px;
	height: 44px;
	border: 1px solid var(--stroo-line);
	border-radius: 0;
	background: #fff;
	padding: 0 36px 0 12px;
	color: var(--stroo-ink);
	font: inherit;
	text-transform: none;
}

.stroo-projects__results {
	min-width: 0;
}

.stroo-projects[data-filter-layout="left"] .stroo-projects__layout,
.stroo-projects[data-filter-layout="right"] .stroo-projects__layout {
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	align-items: start;
}

.stroo-projects[data-filter-layout="right"] .stroo-projects__toolbar {
	grid-column: 2;
}

.stroo-projects[data-filter-layout="right"] .stroo-projects__results {
	grid-column: 1;
	grid-row: 1;
}

.stroo-projects[data-filter-layout="left"] .stroo-projects__toolbar,
.stroo-projects[data-filter-layout="right"] .stroo-projects__toolbar {
	align-items: stretch;
	justify-content: flex-start;
	padding: 0;
}

.stroo-projects[data-filter-layout="left"] .stroo-projects__more-filters,
.stroo-projects[data-filter-layout="right"] .stroo-projects__more-filters {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
}

.stroo-projects[data-filter-layout="left"] .stroo-projects__more-filters label,
.stroo-projects[data-filter-layout="right"] .stroo-projects__more-filters label {
	width: 100%;
	text-align: left;
}

.stroo-projects[data-filter-layout="left"] .stroo-projects__more-filters select,
.stroo-projects[data-filter-layout="right"] .stroo-projects__more-filters select {
	width: 100%;
	min-width: 0;
}

.stroo-projects__filter-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.stroo-reset {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--stroo-muted);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.stroo-reset:hover,
.stroo-reset:focus-visible {
	color: var(--stroo-accent);
}

.stroo-reset__icon {
	width: 14px;
	height: 14px;
	fill: #fff;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
}

.stroo-projects__count {
	margin: 0;
	color: var(--stroo-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
}

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

.stroo-project-card[hidden] {
	display: none;
}

.stroo-project-card__link {
	display: block;
	color: inherit;
	cursor: zoom-in;
	text-decoration: none;
}

.stroo-project-card__image {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--stroo-surface);
}

.stroo-project-card__reference {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	border-radius: 0;
	background: rgba(31, 31, 29, .82);
	color: #fff;
	padding: 6px 9px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
}

body.single-stroo_realisatie .entry-title,
body.single-stroo_realisatie h1.entry-title,
body.single-stroo_realisatie .et_post_meta_wrapper > h1 {
	display: none !important;
}

.stroo-project-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(.2,.7,.2,1);
}

.stroo-project-card__link:hover .stroo-project-card__image img,
.stroo-project-card__link:focus-visible .stroo-project-card__image img {
	transform: scale(1.035);
}

.stroo-project-card__body {
	padding-top: 15px;
}

.stroo-project-card__location {
	display: block;
	margin-bottom: 4px;
	color: var(--stroo-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.stroo-project-card h3 {
	margin: 0;
	color: var(--stroo-ink);
	font-size: clamp(19px, 1.7vw, 25px);
	line-height: 1.24;
}

.stroo-project-card__tags {
	margin: 8px 0 0;
	color: var(--stroo-muted);
	font-size: 14px;
}

.stroo-project-card__action {
	display: inline-block;
	margin-top: 13px;
	border-bottom: 1px solid currentColor;
	font-size: 14px;
	font-weight: 600;
}

.stroo-projects__load-wrap {
	margin-top: 36px;
	text-align: center;
}

.stroo-load-more {
	appearance: none;
	border: 0;
	border-radius: 3px;
	background: var(--stroo-accent);
	color: #fff;
	padding: 4px 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	cursor: pointer;
	text-transform: uppercase;
	transition: background 160ms ease;
}

.stroo-load-more:hover,
.stroo-load-more:focus-visible {
	background: #d98100;
	color: #fff;
}

.stroo-projects__empty {
	padding: 40px 0;
	color: var(--stroo-muted);
	text-align: center;
}

.stroo-single-project__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0;
}

.stroo-single-project__meta span {
	border: 1px solid var(--stroo-line);
	border-radius: 999px;
	padding: 6px 11px;
	color: var(--stroo-muted);
	font-size: 13px;
}

.stroo-single-project__meta .stroo-single-project__reference {
	border-color: transparent;
	background: var(--stroo-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.stroo-single-project__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
}

.stroo-single-project__gallery a:first-child {
	grid-column: 1 / -1;
}

.stroo-single-project__gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.stroo-single-project__gallery a:first-child img {
	aspect-ratio: 16 / 9;
}

.stroo-single-project__cta {
	margin-top: 42px;
	padding: 30px;
	background: var(--stroo-surface);
	text-align: center;
}

.stroo-project-cta {
	display: inline-block;
	margin-top: 8px;
	border-radius: 999px;
	background: var(--stroo-ink);
	color: #fff !important;
	padding: 12px 22px;
	text-decoration: none;
}

.stroo-lightbox[hidden] {
	display: none !important;
}

.stroo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 17, 16, .94);
	padding: 28px;
}

.stroo-lightbox__image {
	display: block;
	max-width: min(94vw, 1800px);
	max-height: 92vh;
	width: auto;
	height: auto;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
	object-fit: contain;
}

.stroo-lightbox__close {
	position: fixed;
	top: 14px;
	right: 18px;
	z-index: 1;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 300 40px/1 Arial, sans-serif;
	cursor: pointer;
}

.stroo-lightbox__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.stroo-lightbox__previous,
.stroo-lightbox__next {
	position: fixed;
	top: 50%;
	z-index: 1;
	width: 52px;
	height: 64px;
	transform: translateY(-50%);
	border: 0;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	font: 300 52px/1 Arial, sans-serif;
	cursor: pointer;
}

.stroo-lightbox__previous {
	left: 16px;
}

.stroo-lightbox__next {
	right: 16px;
}

.stroo-lightbox__previous:focus-visible,
.stroo-lightbox__next:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.stroo-lightbox__counter {
	position: fixed;
	right: 18px;
	bottom: 14px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
}

html.stroo-lightbox-open {
	overflow: hidden;
}

/* Privacy: bestandsnamen en mediabijschriften worden nooit in een lightbox getoond. */
.mfp-title {
	display: none !important;
}

/* De oude DiviFilter-pagina blijft tijdens de migratie visueel proper. */
.df-buttons .dv-dropdown .caption::before {
	display: none !important;
	content: none !important;
}

@media (max-width: 980px) {
	.stroo-projects[data-filter-layout="left"] .stroo-projects__layout,
	.stroo-projects[data-filter-layout="right"] .stroo-projects__layout {
		grid-template-columns: 1fr;
	}

	.stroo-projects[data-filter-layout="right"] .stroo-projects__toolbar,
	.stroo-projects[data-filter-layout="right"] .stroo-projects__results {
		grid-column: 1;
	}

	.stroo-projects[data-filter-layout="right"] .stroo-projects__toolbar {
		grid-row: 1;
	}

	.stroo-projects[data-filter-layout="right"] .stroo-projects__results {
		grid-row: 2;
	}

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

	.stroo-projects__toolbar {
		align-items: stretch;
	}
}

@media (max-width: 600px) {
	.stroo-projects__header {
		margin-bottom: 24px;
	}

	.stroo-projects__toolbar {
		gap: 9px;
		padding-bottom: 18px;
	}

	.stroo-projects__mobile-controls {
		order: 1;
		display: grid;
		gap: 4px;
		width: 100%;
	}

	.stroo-mobile-type {
		position: relative;
		display: block;
		width: 100%;
	}

	.stroo-mobile-type > span {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}

	.stroo-mobile-type::after,
	.stroo-projects__more-filters label::after {
		right: 13px;
		bottom: 17px;
	}

	.stroo-mobile-type::after {
		position: absolute;
		width: 0;
		height: 0;
		border-top: 5px solid var(--stroo-muted);
		border-right: 4px solid transparent;
		border-left: 4px solid transparent;
		content: "";
		pointer-events: none;
	}

	.stroo-mobile-type select,
	.stroo-projects__more-filters select {
		appearance: none;
		width: 100%;
		min-width: 0;
		height: 40px;
		border: 1px solid var(--stroo-line);
		border-radius: 0;
		background: #fff;
		padding: 0 34px 0 11px;
		color: var(--stroo-ink);
		font: inherit;
		font-size: 13px;
	}

	.stroo-more-filters-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: flex-start;
		gap: 6px;
		width: fit-content;
		border: 0;
		background: transparent;
		padding: 5px 0;
		color: var(--stroo-muted);
		font: inherit;
		font-size: 12px;
		font-weight: 600;
		cursor: pointer;
	}

	.stroo-more-filters-toggle svg {
		width: 15px;
		height: 15px;
		fill: #fff;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.4;
	}

	.stroo-more-filters-toggle.is-active {
		color: var(--stroo-accent);
	}

	.stroo-projects__filter-meta {
		order: 3;
		margin-top: 3px;
	}

	.stroo-projects__more-filters {
		order: 2;
		display: none;
		gap: 8px;
	}

	.stroo-projects__more-filters.is-open {
		display: grid;
	}

	.stroo-projects__more-filters label {
		display: block;
	}

	.stroo-projects__more-filters label > span {
		display: none;
	}

	.stroo-projects__grid,
	.stroo-single-project__gallery {
		grid-template-columns: 1fr;
	}

	.stroo-projects__types {
		display: none;
	}

	.stroo-projects__more-filters,
	.stroo-projects__more-filters label,
	.stroo-projects__more-filters select {
		width: 100%;
	}

	.stroo-single-project__gallery a:first-child {
		grid-column: auto;
	}

	.stroo-single-project__gallery a:first-child img {
		aspect-ratio: 4 / 3;
	}

	.stroo-lightbox {
		padding: 12px;
	}

	.stroo-lightbox__image {
		max-width: 100%;
		max-height: 86vh;
	}

	.stroo-lightbox__close {
		top: 4px;
		right: 4px;
	}

	.stroo-lightbox__previous,
	.stroo-lightbox__next {
		top: auto;
		bottom: 10px;
		width: 46px;
		height: 46px;
		transform: none;
		background: rgba(0, 0, 0, .45);
		font-size: 40px;
	}

	.stroo-lightbox__previous {
		left: 10px;
	}

	.stroo-lightbox__next {
		right: 10px;
	}

	.stroo-lightbox__counter {
		right: 50%;
		bottom: 24px;
		transform: translateX(50%);
	}
}
