/* Aanvullingen op het oude ontwerp voor de WordPress-versie. */

/* --- Slider (vervangt responsiveSlides) --- */
.top .slider .mvh-slides {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: var(--mvh-ratio, 1170 / 628);
}
.top .slider .mvh-slides li {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.top .slider .mvh-slides li.is-active {
	opacity: 1;
}
.top .slider .mvh-slides img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Tekstregels over de slider (vervangt wow.js + animate.css) --- */
@keyframes mvhSlideInLeft {
	from { transform: translate3d(-110%, 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}
.top .slider .line {
	animation: mvhSlideInLeft 1s both;
	animation-delay: var(--mvh-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
	.top .slider .line { animation: none; }
	.top .slider .mvh-slides li { transition: none; }
}

/* --- Accentkleur per pagina (was .page-32/.page-33/.page-34) --- */
body.has-accent .top .slider .line,
body.has-accent .content .buttons a {
	background-color: var(--mvh-accent);
}
body.has-accent .content .buttons a:hover {
	filter: brightness(0.93);
}

/* --- Menu --- */
.top #hoofdmenu li.current-menu-item > a,
.top #hoofdmenu li.current-menu-ancestor > a {
	color: #C7B299;
}
.top #hoofdmenu li:last-child > a {
	padding-right: 0 !important;
}
.top .navbar-toggle {
	border: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
.top .navbar-toggle .icon-bar {
	display: none;
}

/* --- Kaarten (projecten/producten) --- */
.content .projectitem a {
	color: inherit;
	text-decoration: none;
}
[data-href] {
	cursor: pointer;
}

/* --- Inhoud --- */
.content img {
	max-width: 100%;
	height: auto;
}
/* Detailpagina's: de foto sluit direct aan op de inhoud, de knop valt over de onderrand (zoals de oude site). */
.single .top .slider {
	padding: 10px 0 0;
}
.content .sitemap-list a {
	color: #4D4D4D;
}

/* --- Offerteformulier --- */
.contactform h4 small {
	display: block;
	margin-top: 7px;
	color: #ffffff;
	font-size: 16px;
	line-height: 42px;
}
@media (max-width: 768px) {
	.contactform h4 small {
		margin-top: 0;
		line-height: 26px;
	}
}
.contactform form input,
.contactform form select {
	color: #4D4D4D;
}
.contactform form .is-invalid {
	outline: 2px solid #e2401c;
	outline-offset: -2px;
}
.contactform .mvh-form-message {
	width: 80%;
	margin: 0 auto 30px;
	padding: 12px 20px;
	background-color: #ffffff;
	color: #a02812;
	font-size: 16px;
	font-weight: 400;
}
.contactform .mvh-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contactform .mvh-recaptcha-note {
	width: 80%;
	margin: 10px auto 0;
	color: #b7b7b7;
	font-size: 12px;
	line-height: 18px;
}
.contactform .mvh-recaptcha-note a {
	color: #b7b7b7;
	text-decoration: underline;
}
.grecaptcha-badge {
	visibility: hidden;
}

/* --- Toegankelijkheid --- */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
a.screen-reader-text:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 8px 14px;
	clip: auto;
	background-color: #ffffff;
	color: #4D4D4D;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
	outline: 2px solid #C7B299;
	outline-offset: 2px;
}
