/* 2026-06-29 v1.3
 * - Changed wrapper correction from 100vw to 100% for mobile viewport scrollbars.
 *
 * 2026-06-29 v1.2
 * - Forced Home 2026 wrapper width inside existing mobile wrapper offsets.
 *
 * 2026-06-29 v1.1
 * - Scoped mobile horizontal overflow containment to the Home 2026 page.
 *
 * 2026-06-29 v1.0
 * - Added Home 2026 RO block styling.
 */

html:has(body.template-wzm-home2026),
body.template-wzm-home2026 {
	overflow-x: hidden;
}

body.template-wzm-home2026 .content-wrapper {
	padding-top: 0;
	width: 100%!important;
	max-width: 100%!important;
	margin-left: 0!important;
	left: 0!important;
	overflow-x: hidden!important;
}

body.template-wzm-home2026 .ro-blocks,
body.template-wzm-home2026 .ro-blocks > [ro-block-template] {
	width: 100%!important;
	max-width: 100%!important;
	margin-left: 0!important;
	left: 0!important;
	overflow-x: hidden!important;
}

.wzm-home-hero {
	min-height: min(820px,100svh);
	background-position: center;
	background-size: cover;
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.wzm-home-hero:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 80px;
	background: var(--color_subtlebg,#f1f4e4);
	clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
}

.wzm-home-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(25,74,96,0.9), rgba(25,74,96,0.55), rgba(25,74,96,0.1));
}

.wzm-home-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 120px 40px 150px;
	display: grid;
	gap: 40px;
}

.wzm-home-hero-content {
	max-width: 620px;
}

.wzm-home-hero h1 {
	color: #fff;
	font-size: clamp(42px, 6vw, 74px);
	line-height: 0.98;
	margin: 0 0 24px;
	text-transform: uppercase;
}

.wzm-home-hero-text,
.wzm-home-hero-text * {
	color: #fff;
}

.wzm-home-hero-text p {
	font-size: clamp(17px, 2vw, 22px);
	line-height: 1.35;
}

.wzm-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.wzm-button-primary {
	background: #89d63d;
	border-color: #89d63d;
	color: var(--color_darkest,#194a60);
}

.wzm-button-primary * {
	color: var(--color_darkest,#194a60);
}

.wzm-button-ghost {
	border-color: rgba(255,255,255,0.8);
	color: #fff;
}

.wzm-button-ghost * {
	color: #fff;
}

.wzm-home-video-link {
	justify-self: center;
	align-self: end;
}

.wzm-home-section {
	background: var(--color_subtlebg,#f1f4e4);
	padding: clamp(55px, 8vw, 105px) 30px;
}

.wzm-home-section-title {
	text-align: center;
	text-transform: uppercase;
	margin: 0 auto 10px;
}

.wzm-home-section-intro {
	max-width: 780px;
	text-align: center;
	margin: 0 auto 34px;
}

.wzm-home-icon-grid,
.wzm-home-card-grid,
.wzm-home-stats > .max-width-lock {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
	gap: 28px;
}

.wzm-home-icon-item {
	text-align: center;
	padding: 0 28px;
}

.wzm-home-icon-item:not(:last-child) {
	border-right: 1px solid color-mix(in srgb,var(--color_darkest,#194a60), transparent 75%);
}

.wzm-home-icon-item img {
	width: 62px;
	height: 62px;
	object-fit: contain;
	margin: 0 auto 16px;
	display: block;
}

.wzm-home-icon-item h3,
.wzm-home-card h3,
.wzm-home-stat strong,
.wzm-home-bierviltje h3 {
	text-transform: uppercase;
}

.wzm-home-card {
	background: rgba(255,255,255,0.7);
	border-radius: 8px;
	overflow: hidden;
}

.wzm-home-card-image {
	aspect-ratio: 4 / 3;
	background: rgba(25,74,96,0.08);
}

.wzm-home-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wzm-home-card-content {
	padding: 18px;
}

.wzm-home-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--color_highlights,#31a7db);
}

.wzm-home-bierviltjes {
	background: #fff;
}

.wzm-home-bierviltjes-row {
	display: grid;
	grid-template-columns: repeat(4,minmax(160px,1fr));
	gap: 24px;
}

.wzm-home-bierviltje {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background-color: #eee;
	background-image: url('/themes/wezienmekaar/images/bierviltjes/biervilt-grain.png');
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 22px;
	text-align: center;
}

.wzm-home-bierviltje img {
	position: absolute;
	inset: 22%;
	width: 56%;
	height: 56%;
	object-fit: contain;
	mix-blend-mode: darken;
}

.wzm-home-bierviltje h3 {
	position: relative;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.05;
}

.wzm-home-center-action {
	text-align: center;
	margin-top: 30px;
}

.wzm-home-stats {
	background: var(--color_darkest,#194a60);
	padding: clamp(40px, 6vw, 70px) 30px;
}

.wzm-home-stat {
	text-align: center;
	padding: 0 18px;
}

.wzm-home-stat:not(:last-child) {
	border-right: 1px solid rgba(255,255,255,0.22);
}

.wzm-home-stat img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	margin: 0 auto 14px;
	display: block;
}

.wzm-home-stat strong,
.wzm-home-stat span {
	color: #fff;
	display: block;
}

.wzm-home-stat strong {
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1;
}

.wzm-home-split {
	display: grid;
	grid-template-columns: minmax(320px,1fr) minmax(320px,1.25fr);
	background: var(--color_subtlebg,#f1f4e4);
}

.wzm-home-split-text {
	padding: clamp(55px, 8vw, 110px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wzm-home-split-image img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	display: block;
}

@media only screen and (max-width: 760px) {
	.wzm-home-hero {
		min-height: 78svh;
	}

	.wzm-home-hero-inner {
		padding: 110px 24px 120px;
	}

	.wzm-home-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.wzm-home-section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wzm-home-icon-grid,
	.wzm-home-card-grid,
	.wzm-home-stats > .max-width-lock,
	.wzm-home-bierviltjes-row,
	.wzm-home-split {
		grid-template-columns: 1fr;
	}

	.wzm-home-icon-item,
	.wzm-home-stat {
		border-right: 0!important;
	}

	.wzm-home-bierviltjes-row {
		display: flex;
		overflow-x: auto;
		max-width: 100%;
		scroll-snap-type: x mandatory;
		padding-bottom: 10px;
	}

	.wzm-home-bierviltje {
		min-width: 220px;
		scroll-snap-align: center;
	}

	.wzm-home-split-text {
		padding: 50px 24px;
	}
}
