/**
 * Themavoor Voss 2026 — front-end
 */

:root {
	--tv-header-height: 76px;
	--tv-logo-max-height: 48px;
	--tv-logo-max-width: 320px;
	--tv-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--tv-font);
	color: var(--tv-text);
	background: var(--tv-bg-dark);
	line-height: 1.55;
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.tv-skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 100000;
	background: #fff;
	color: #000;
	padding: 0.5rem 0.75rem;
}

/* Vaste header: geen effen achtergrond, alleen “laagje” */
.tv-site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	height: var(--tv-header-height);
	color: var(--tv-text);
	pointer-events: none;
}

.tv-site-header__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		var(--tv-header-shade-strong) 0%,
		var(--tv-header-shade-mid) 42%,
		var(--tv-header-shade-soft) 72%,
		rgba(0, 0, 0, 0) 100%
	);
	-webkit-backdrop-filter: saturate(140%) blur(6px);
	backdrop-filter: saturate(140%) blur(6px);
}

.tv-site-header__inner {
	position: relative;
	z-index: 1;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0.65rem 1rem;
	pointer-events: auto;
}

.tv-site-header__left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	flex: 1;
}

/* Logo-kolom mag krimpen (flex-shrink), anders overlapt breed logo de zoekbalk op smalle schermen. */
.tv-site-header__brand {
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(var(--tv-logo-max-width, 320px), 100%);
}

.tv-site-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
}

.tv-site-header__brand .custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: var(--tv-logo-max-height, 48px);
	max-width: 100%;
	object-fit: contain;
	object-position: right center;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.tv-text-logo {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.tv-icon-btn {
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	padding: 0.35rem;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.tv-icon-btn:focus-visible {
	outline: 2px solid var(--tv-accent);
	outline-offset: 2px;
}

.tv-burger {
	width: 44px;
	height: 44px;
}

.tv-burger__lines,
.tv-burger__lines::before,
.tv-burger__lines::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
}

.tv-burger__lines::before,
.tv-burger__lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.tv-burger__lines::before {
	top: -7px;
}

.tv-burger__lines::after {
	top: 7px;
}

body.tv-menu-open .tv-burger__lines {
	background: transparent;
}

body.tv-menu-open .tv-burger__lines::before {
	transform: translateY(7px) rotate(45deg);
}

body.tv-menu-open .tv-burger__lines::after {
	transform: translateY(-7px) rotate(-45deg);
}

.tv-search {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	min-width: min(9rem, 100%);
	flex: 1;
	max-width: 420px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 0.15rem 0.35rem 0.15rem 0.85rem;
	background: rgba(0, 0, 0, 0.12);
}

.tv-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	/* Minimaal 16px: iOS zoomt bij focus als tekst kleiner is. Geen appearance:!important — dat maakte hier juist erger gedrag. */
	font-size: 16px;
	line-height: 1.35;
	padding: 0.35rem 0;
}

.tv-search__input::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.tv-search__input:focus {
	outline: none;
}

.tv-search--overlay {
	max-width: none;
	width: min(720px, 100%);
	border-radius: 999px;
}

.tv-menu-drawer__top .tv-search--overlay {
	flex-wrap: nowrap;
}

@media (max-width: 720px) {
	.tv-site-header__inner {
		padding-inline: 0.65rem;
		gap: 0.5rem;
	}

	/* Kap breedte zodat logo niet over de zoekbalk valt; schaalt mee met viewport */
	.tv-site-header__brand {
		max-width: min(var(--tv-logo-max-width, 320px), 45vw, 11rem);
	}

	.tv-site-header__brand .custom-logo {
		max-height: min(40px, var(--tv-logo-max-height, 48px));
	}

	.tv-text-logo {
		font-size: 0.82rem;
		letter-spacing: 0.06em;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tv-search {
		border-radius: 10px;
		padding-inline: 0.55rem;
	}
}

/* Fullscreen menu: paneel schuift van boven naar beneden */
.tv-menu-drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	pointer-events: none;
	overflow: hidden;
}

.tv-menu-drawer[hidden] {
	display: none !important;
	visibility: hidden;
	pointer-events: none !important;
}

body.tv-menu-open .tv-menu-drawer {
	pointer-events: auto;
}

.tv-menu-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	opacity: 0;
	transition: opacity 0.35s ease;
}

body.tv-menu-open .tv-menu-drawer__backdrop {
	opacity: 1;
}

.tv-menu-drawer__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: calc(var(--tv-header-height) + 0.5rem) 1.25rem 2rem;
	background: linear-gradient(135deg, var(--tv-menu-overlay), rgba(0, 0, 0, 0.55));
	color: var(--tv-text);
	overflow: auto;
	transform: translate3d(0, -100%, 0);
	transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

body.tv-menu-open .tv-menu-drawer__panel {
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	.tv-menu-drawer__backdrop,
	.tv-menu-drawer__panel {
		transition-duration: 0.01ms !important;
	}

	body.tv-menu-open .tv-menu-drawer__backdrop {
		opacity: 1;
	}

	body.tv-menu-open .tv-menu-drawer__panel {
		transform: none;
	}
}

.tv-menu-drawer__top {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
	.tv-menu-drawer__panel {
		align-items: center;
	}

	.tv-menu-drawer__top,
	.tv-menu-drawer__nav {
		width: 100%;
		max-width: 1400px;
		margin-left: auto;
		margin-right: auto;
	}
}

.tv-menu-drawer__close {
	font-size: 1.75rem;
	line-height: 1;
	width: 44px;
	height: 44px;
}

/* Mobiel: geen blauwe tap-/focus-rand; toetsenbord houdt accent-outline via :focus-visible */
.tv-menu-drawer a,
.tv-menu-drawer button {
	-webkit-tap-highlight-color: transparent;
}

.tv-menu-drawer a:focus,
.tv-menu-drawer button:focus {
	outline: none;
}

.tv-menu-drawer a:focus-visible,
.tv-menu-drawer button:focus-visible {
	outline: 2px solid var(--tv-accent);
	outline-offset: 2px;
}

.tv-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tv-menu--overlay {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.35rem 2rem;
}

@media (max-width: 899px) {
	.tv-menu--overlay {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 0.35rem 0.65rem;
	}

	/* Gewone items: volle breedte; knoppen: op één rij naast elkaar */
	.tv-menu--overlay > li:not(.tv-menu-overlay-break):not(:has(.tv-menu-link--btn)) {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}

	.tv-menu--overlay > li:has(.tv-menu-link--btn) {
		flex: 0 0 auto;
	}

	.tv-menu-overlay-break {
		display: none !important;
	}
}

@media (min-width: 900px) {
	.tv-menu--overlay {
		column-gap: 2.5rem;
		row-gap: 0.35rem;
	}

	.tv-menu--overlay > li:not(.tv-menu-overlay-break):not(:has(.tv-menu-link--btn)) {
		flex: 1 1 calc(50% - 1.35rem);
		max-width: calc(50% - 0.75rem);
		min-width: 0;
	}

	.tv-menu--overlay > li:has(.tv-menu-link--btn) {
		flex: 0 0 auto;
	}
}

/* Flex-linebreak vóór knoppen (desktop); zie main.js initOverlayMenuButtonRow */
.tv-menu-overlay-break {
	flex-basis: 100%;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	list-style: none;
}

@media (min-width: 900px) {
	.tv-menu-overlay-break {
		margin-top: 1.35rem;
		margin-bottom: 0.35rem;
	}
}

.tv-menu--overlay > li > a,
.tv-menu--overlay > li > .tv-menu-item__row > a {
	display: block;
	padding: 0.55rem 0;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-menu--overlay > li > .tv-menu-item__row > a {
	border-bottom: none;
	padding-right: 0.15rem;
}

.tv-menu--overlay > li > a:hover,
.tv-menu--overlay > li > a:focus-visible,
.tv-menu--overlay > li > .tv-menu-item__row > a:hover,
.tv-menu--overlay > li > .tv-menu-item__row > a:focus-visible {
	color: var(--tv-accent);
}

/* Thema-knoppen op overlay-menu (veld “Knop in overlay-menu”) */
.tv-menu--overlay > li > a.tv-menu-link--btn,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn {
	display: inline-flex !important;
	width: fit-content;
	max-width: 100%;
	margin: 0.15rem 0;
	padding: 0.65rem 1.05rem;
	border-bottom: none !important;
	text-align: center;
	line-height: 1.25;
}

/* Ghost: volledige rand (menu-link had border-bottom:none) */
.tv-menu--overlay > li > a.tv-menu-link--btn.tv-btn--ghost,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn.tv-btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

.tv-menu--overlay > li > a.tv-menu-link--btn.tv-btn--solid,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn.tv-btn--solid {
	border: 1px solid transparent !important;
}

.tv-menu--overlay > li > a.tv-menu-link--btn:hover,
.tv-menu--overlay > li > a.tv-menu-link--btn:focus-visible,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn:hover,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn:focus-visible {
	color: inherit;
	filter: brightness(1.06);
}

.tv-menu--overlay > li > a.tv-menu-link--btn.tv-btn--solid:hover,
.tv-menu--overlay > li > a.tv-menu-link--btn.tv-btn--solid:focus-visible,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn.tv-btn--solid:hover,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--btn.tv-btn--solid:focus-visible {
	color: var(--tv-bg-dark);
}

.tv-menu--overlay > li > .sub-menu > li > a.tv-menu-link--btn {
	margin-left: auto;
	margin-right: auto;
	box-shadow: none;
}

.tv-menu--overlay > li > .sub-menu > li > a.tv-menu-link--btn.tv-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
}

.tv-menu--overlay a.tv-menu-link--btn:focus-visible {
	outline: 2px solid var(--tv-accent);
	outline-offset: 2px;
}

/* Rij: titel + pijl direct naast elkaar (geen volle-breedte-spreiding) */
.tv-menu--overlay > li.menu-item-has-children > .tv-menu-item__row {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	width: auto;
	max-width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-menu--overlay > li.menu-item-has-children > .tv-menu-item__row > a {
	flex: 0 1 auto;
	min-width: 0;
}

/* Topniveau: afbeelding naast titel (niet in .sub-menu) */
.tv-menu--overlay > li > a.tv-menu-link--has-media,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--has-media {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.65rem;
}

.tv-menu--overlay > li > a.tv-menu-link--has-media .tv-menu-link__media,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--has-media .tv-menu-link__media {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 9px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tv-menu--overlay > li > a.tv-menu-link--has-media .tv-menu-link__img,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--has-media .tv-menu-link__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tv-menu--overlay > li > a.tv-menu-link--has-media .tv-menu-link__text,
.tv-menu--overlay > li > .tv-menu-item__row > a.tv-menu-link--has-media .tv-menu-link__text {
	min-width: 0;
}

.tv-menu-sub-toggle {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	border-radius: 8px;
}

.tv-menu-sub-toggle:focus-visible {
	outline: 2px solid var(--tv-accent);
	outline-offset: 2px;
}

.tv-menu-sub-toggle__icon {
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.22s ease;
}

.tv-menu--overlay > li.menu-item-has-children.is-open > .tv-menu-item__row .tv-menu-sub-toggle__icon {
	transform: translateY(2px) rotate(-135deg);
}

/* Open submenu: geen dubbele lijn boven afbeeldingen; één lijn eronder (zoals bij dicht menu) */
.tv-menu--overlay > li.menu-item-has-children.is-open > .tv-menu-item__row {
	border-bottom: none;
}

.tv-menu--overlay > li.menu-item-has-children.is-open > .sub-menu:not([hidden]) {
	border-top: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 0.35rem;
	margin-bottom: 0.75rem;
}

/* Submenu: verborgen tot open (display:flex overschrijft anders het [hidden]-attribuut) */
.tv-menu--overlay > li > .sub-menu[hidden] {
	display: none !important;
}

/* Horizontaal submenu: titel boven, afbeelding eronder */
.tv-menu--overlay > li.menu-item-has-children {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
}

.tv-menu--overlay > li > .sub-menu:not([hidden]) {
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem 0.85rem;
	margin: 0.35rem 0 0.75rem;
	padding: 0.75rem 0 0.35rem;
	border-left: 0;
	width: 100%;
	max-width: 100%;
	align-self: stretch;
	box-sizing: border-box;
}

@media (min-width: 900px) {
	.tv-menu--overlay > li > .sub-menu:not([hidden]) {
		padding-left: 0;
		padding-right: 0;
	}
}

.tv-menu--overlay > li > .sub-menu > li {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 11rem;
}

.tv-menu--overlay > li > .sub-menu > li > a {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
	padding: 0.55rem 0.45rem 0.65rem;
	font-size: clamp(0.88rem, 1.6vw, 1rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.92);
	border-bottom: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	min-height: 100%;
}

.tv-menu--overlay > li > .sub-menu > li > a:hover,
.tv-menu--overlay > li > .sub-menu > li > a:focus-visible {
	color: var(--tv-accent);
	background: rgba(255, 255, 255, 0.08);
}

/* Titel boven, afbeelding onder (DOM: media eerst, tekst tweede) */
.tv-menu--overlay > li > .sub-menu a.tv-menu-link--has-media {
	flex-direction: column-reverse;
	align-items: center;
	gap: 0.45rem;
}

.tv-menu--overlay > li > .sub-menu .tv-menu-link__media {
	width: 100%;
	max-width: 9.5rem;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
}

.tv-menu--overlay > li > .sub-menu .tv-menu-link__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tv-menu--overlay > li > .sub-menu .tv-menu-link__text {
	text-align: center;
	line-height: 1.25;
}

.tv-menu--footer > li > a {
	display: block;
	padding: 0.25rem 0;
	color: var(--tv-muted);
	text-decoration: none;
}

.tv-menu--footer > li > a:hover {
	color: var(--tv-accent);
}

/* Zwevende contactbalk */
.tv-fab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 0 6px 6px;
	background: var(--tv-accent-2);
	border-radius: 10px 0 0 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tv-fab__btn {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tv-accent);
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none;
}

.tv-fab__btn svg {
	display: block;
}

.tv-fab__btn:first-child {
	border-radius: 8px 0 0 0;
}

.tv-fab__btn:last-child {
	border-radius: 0 0 0 8px;
}

.tv-fab__btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.site {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
}

.site-main {
	flex: 1;
	width: min(1100px, 100% - 2rem);
	margin: 0 auto;
	padding: calc(var(--tv-header-height) + 1.75rem) 0 3rem;
}

.site-main--narrow {
	width: min(760px, 100% - 2rem);
}

.site-main--search {
	width: min(900px, 100% - 2rem);
}

.site-main--motor-single {
	width: min(1400px, calc(100% - 2.5rem));
	max-width: 1400px;
}

.site-main--news {
	width: min(1400px, calc(100% - 2.5rem));
	max-width: 1400px;
}

.tv-search-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.tv-search-motor {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.tv-search-motor__link {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	color: inherit;
	text-decoration: none;
}

.tv-search-motor__link:hover .tv-search-motor__title,
.tv-search-motor__link:focus-visible .tv-search-motor__title {
	color: var(--tv-accent);
}

.tv-search-motor__media {
	flex: 0 0 140px;
	width: 140px;
	min-height: 105px;
	background: rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.tv-search-motor__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tv-search-motor__placeholder {
	font-size: 0.75rem;
	color: var(--tv-muted);
	text-align: center;
	padding: 0.5rem;
}

.tv-search-motor__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 105px;
	object-fit: cover;
}

.tv-search-motor__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1rem 1.1rem;
}

.tv-search-motor__title {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

.tv-search-motor__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.tv-search-motor__meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.tv-search-motor__meta-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tv-muted);
}

.tv-search-motor__meta-value {
	font-size: 0.95rem;
	font-weight: 500;
}

.tv-search-motor__meta-item--price .tv-search-motor__meta-value {
	color: var(--tv-accent);
	font-weight: 600;
}

.tv-search-motor__excerpt {
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
}

@media (min-width: 600px) {
	.tv-search-motor__media {
		flex: 0 0 200px;
		width: 200px;
		min-height: 140px;
	}

	.tv-search-motor__img {
		min-height: 140px;
	}
}

.site-main:has(.elementor) {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.home .site-main {
	padding-top: 0;
}

.tv-panel {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
}

.tv-panel--padded {
	padding: clamp(1.25rem, 3vw, 2.25rem);
}

.tv-elementor-entry {
	background: transparent;
	border: 0;
	padding: 0;
	border-radius: 0;
}

.tv-heading {
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	letter-spacing: 0.04em;
	text-transform: none;
	margin: 0 0 0.75rem;
}

.tv-kicker {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
	color: var(--tv-muted);
}

.tv-muted {
	color: var(--tv-muted);
	margin-top: 0;
}

.tv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.1rem;
	border-radius: 2px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
}

.tv-btn--solid {
	background: var(--tv-accent);
	color: var(--tv-bg-dark);
}

.tv-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--tv-text);
	background: transparent;
}

.tv-site-footer {
	flex-shrink: 0;
	margin-top: auto;
	background: var(--tv-bg-dark);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 2.5rem 1rem max(2.25rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
	color: var(--tv-text);
}

.tv-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.tv-site-footer__copy {
	width: 100%;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	order: 10;
}

.tv-site-footer__copy .tv-copy {
	margin: 0;
	font-size: 0.85rem;
	color: var(--tv-muted);
	line-height: 1.5;
}

/* Footer-widgetgrid */
.tv-footer-widgets {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
	align-items: start;
}

.tv-footer-widget {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-footer-widget:last-child {
	border-bottom: 0;
}

.tv-footer-widget__head {
	margin: 0;
}

.tv-footer-widget__head--static {
	padding: 0.35rem 0 0.65rem;
}

.tv-footer-widget__head--static .wp-block-heading,
.tv-footer-widget__head--static h1,
.tv-footer-widget__head--static h2,
.tv-footer-widget__head--static h3,
.tv-footer-widget__head--static h4,
.tv-footer-widget__head--static h5,
.tv-footer-widget__head--static h6 {
	margin: 0;
	font-size: inherit;
	font-weight: 600;
}

.tv-footer-widget__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.85rem 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.tv-footer-widget__toggle:focus-visible {
	outline: 2px solid var(--tv-accent);
	outline-offset: 2px;
}

.tv-footer-widget__title {
	margin: 0;
}

.tv-footer-widget__caret {
	flex: 0 0 auto;
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-inline-end: 0.15em;
	margin-block-end: 0.15em;
}

.tv-footer-widget__toggle[aria-expanded="true"] .tv-footer-widget__caret {
	transform: rotate(-135deg);
	margin-block-end: -0.1em;
}

.tv-footer-widget__body {
	padding: 0 0 1rem;
}

.tv-footer-widget__body[hidden] {
	display: none !important;
}

.tv-footer-widget__body > :first-child {
	margin-top: 0;
}

.tv-footer-widget__body > :last-child {
	margin-bottom: 0;
}

@media (max-width: 781px) {
	.tv-site-footer__copy {
		margin-top: 1.75rem;
		padding-top: 1.5rem;
	}
}

@media (min-width: 782px) {
	.tv-footer-widgets {
		gap: 2rem 2.5rem;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.tv-footer-widget {
		border-bottom: 0;
	}

	.tv-footer-widget__toggle {
		cursor: default;
		pointer-events: none;
		padding: 0 0 0.65rem;
	}

	.tv-footer-widget__caret {
		display: none;
	}

	.tv-footer-widget__body {
		padding: 0;
	}

	.tv-footer-widget__body[hidden] {
		display: block !important;
	}
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Elementor content: geen dubbele marges */
.elementor-widget-container > *:first-child {
	margin-top: 0;
}

@media (max-width: 640px) {
	.tv-search {
		max-width: none;
		flex: 1;
	}
}

/*
 * iOS: geen auto-zoom bij focus zolang computed font-size ≥16px.
 * !important wint van Elementor kit-typografie; IDs alleen theme-header (#tv-s / #tv-s2).
 * Ook in wp_footer gedupliceerd voor stylesheets die ná het theme laden.
 */
#tv-s,
#tv-s2 {
	font-size: 16px !important;
	line-height: 1.35 !important;
	touch-action: auto;
}

/* -------------------------------------------------------------------------
 * Contact Form 7 — werkplaats (mat glass, thema Voss)
 * ------------------------------------------------------------------------- */

.wpcf7 {
	color: var(--tv-text);
}

.wpcf7 form {
	margin: 0;
}

.tv-contact-form.tv-panel {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}

.tv-contact-form__title {
	margin-bottom: 0.35rem;
}

.tv-contact-form__intro {
	margin: 0 0 1.5rem;
	max-width: 52ch;
}

.tv-contact-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem 1.25rem;
}

@media (min-width: 640px) {
	.tv-contact-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tv-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.tv-contact-form__field--full {
	grid-column: 1 / -1;
}

.tv-contact-form__label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.tv-contact-form__req {
	color: var(--tv-accent);
	font-weight: 700;
}

.tv-contact-form__optional {
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--tv-muted);
	font-size: 0.78rem;
}

.tv-contact-form__hint {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
}

.tv-contact-form .wpcf7-form-control-wrap {
	display: block;
}

.tv-contact-form .tv-cf7-input,
.tv-contact-form input[type="text"],
.tv-contact-form input[type="email"],
.tv-contact-form input[type="tel"],
.tv-contact-form input[type="url"],
.tv-contact-form input[type="number"],
.tv-contact-form textarea {
	width: 100%;
	margin: 0;
	padding: 0.7rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	color: var(--tv-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.35;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tv-contact-form .tv-cf7-textarea,
.tv-contact-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.tv-contact-form .tv-cf7-input::placeholder,
.tv-contact-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.tv-contact-form .tv-cf7-input:focus,
.tv-contact-form textarea:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--tv-accent) 65%, transparent);
	background: rgba(0, 0, 0, 0.28);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 0 0 3px color-mix(in srgb, var(--tv-accent) 22%, transparent);
}

.tv-contact-form .wpcf7-not-valid .tv-cf7-input,
.tv-contact-form .wpcf7-not-valid textarea {
	border-color: rgba(232, 120, 100, 0.85);
	box-shadow: 0 0 0 2px rgba(232, 120, 100, 0.2);
}

.tv-contact-form .tv-cf7-file,
.tv-contact-form input[type="file"] {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px dashed rgba(255, 255, 255, 0.28);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.14);
	color: var(--tv-muted);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}

.tv-contact-form .tv-cf7-file::file-selector-button,
.tv-contact-form input[type="file"]::file-selector-button {
	margin-right: 0.85rem;
	padding: 0.45rem 0.85rem;
	border: 0;
	border-radius: 6px;
	background: var(--tv-accent);
	color: var(--tv-bg-dark);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
}

.tv-contact-form__actions {
	margin-top: 1.35rem;
	padding-top: 0.25rem;
}

.tv-contact-form .wpcf7-submit.tv-btn {
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	min-width: min(100%, 16rem);
}

.tv-contact-form .wpcf7-submit.tv-btn:hover,
.tv-contact-form .wpcf7-submit.tv-btn:focus-visible {
	filter: brightness(1.06);
}

.tv-contact-form .wpcf7-spinner {
	margin-left: 0.65rem;
	vertical-align: middle;
}

.wpcf7 .wpcf7-not-valid-tip {
	font-size: 0.82rem;
	color: #e87864;
	margin-top: 0.25rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.22);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: color-mix(in srgb, var(--tv-accent) 45%, transparent);
	color: var(--tv-text);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: rgba(232, 120, 100, 0.5);
}

.wpcf7 form .wpcf7-response-output {
	margin-left: 0;
	margin-right: 0;
}

/* Elementor: formulier in smalle kolom */
.elementor-widget-shortcode .tv-contact-form,
.elementor-widget-text-editor .tv-contact-form {
	max-width: 100%;
}

/* -------------------------------------------------------------------------
 * Nieuws / blog
 * ------------------------------------------------------------------------- */

.tv-news-header.tv-panel,
.tv-news-card.tv-panel,
.tv-news-single.tv-panel {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}

.tv-news-header {
	margin-bottom: 1.75rem;
}

.tv-news-header__lead {
	margin: 0.5rem 0 0;
	max-width: 60ch;
	font-size: 1.05rem;
}

.tv-news-header__content {
	margin-top: 1rem;
}

.tv-news-header__content > :first-child {
	margin-top: 0;
}

.tv-news-header__back {
	margin: 1.25rem 0 0;
}

.tv-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.35rem;
	margin-bottom: 2rem;
}

@media (min-width: 640px) {
	.tv-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.tv-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tv-news-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 0;
	transition:
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.tv-news-card:hover {
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tv-news-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.28);
}

.tv-news-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.tv-news-card:hover .tv-news-card__img {
	transform: scale(1.03);
}

.tv-news-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.04) 0%,
		rgba(0, 0, 0, 0.2) 100%
	);
}

.tv-news-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.5rem;
	padding: 1.1rem 1.15rem 1.25rem;
}

.tv-news-card__meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

.tv-news-card__sep {
	opacity: 0.5;
}

.tv-news-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

.tv-news-card__title a {
	color: inherit;
	text-decoration: none;
}

.tv-news-card__title a:hover,
.tv-news-card__title a:focus-visible {
	color: var(--tv-accent);
}

.tv-news-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	flex: 1;
}

.tv-news-card__excerpt p {
	margin: 0;
}

.tv-news-card__more {
	margin: 0.35rem 0 0;
}

.tv-news-card__more .tv-btn {
	font-size: 0.88rem;
	padding: 0.55rem 0.9rem;
}

/* Enkel bericht */
.tv-news-single__header {
	margin-bottom: 1rem;
}

.tv-news-single__sep {
	opacity: 0.55;
}

.tv-news-single__header .tv-kicker a {
	color: var(--tv-muted);
	text-decoration: none;
}

.tv-news-single__header .tv-kicker a:hover {
	color: var(--tv-accent);
}

.tv-news-single__figure {
	margin: 0 0 1.5rem;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-news-single__img {
	display: block;
	width: 100%;
	height: auto;
}

.tv-news-single__tags {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-news-single__tag-list {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
}

.tv-news-single__tag-list a {
	color: var(--tv-muted);
	text-decoration: none;
}

.tv-news-single__tag-list a:hover {
	color: var(--tv-accent);
}

.tv-news-single__nav {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
	.tv-news-single__nav {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.tv-news-single__adjacent {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.9rem;
	text-align: left;
}

@media (min-width: 640px) {
	.tv-news-single__adjacent {
		text-align: right;
	}
}

.tv-news-single__adjacent a {
	color: var(--tv-muted);
	text-decoration: none;
}

.tv-news-single__adjacent a:hover {
	color: var(--tv-accent);
}

/* Paginering */
.tv-news-pagination-wrap {
	margin-top: 0.5rem;
}

.tv-news-pagination-wrap .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.5rem;
}

.tv-news-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.18);
	color: var(--tv-text);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
}

.tv-news-pagination-wrap .page-numbers:hover,
.tv-news-pagination-wrap .page-numbers:focus-visible {
	border-color: color-mix(in srgb, var(--tv-accent) 50%, transparent);
	color: var(--tv-accent);
}

.tv-news-pagination-wrap .page-numbers.current {
	background: var(--tv-accent);
	border-color: transparent;
	color: var(--tv-bg-dark);
}

.tv-news-empty {
	margin-top: 0;
}
