/* TalenPRO CRO Templates — frontend stylesheet
 * Sections are added per phase. Custom properties at the top so the child
 * theme can override the palette without forking the file.
 */

:root {
	--tp-green-900: #1d4731;
	--tp-green-700: #2c5b3f;
	--tp-green-500: #4a8060;
	--tp-green-100: #d5e2cf;
	--tp-green-050: #e8f0e4;
	--tp-text:      #1d4731;
	--tp-muted:     #6b7c70;
	--tp-white:     #ffffff;
	--tp-radius-sm: 6px;
	--tp-radius-md: 12px;
	--tp-radius-lg: 24px;
	--tp-shadow-sm: 0 1px 2px rgba(29, 71, 49, 0.08);
	--tp-section-pad: clamp(48px, 8vw, 96px);
}

.talenpro-template {
	color: var(--tp-text);
	font-family: inherit;
	line-height: 1.55;
}

.talenpro-template h2 {
    font-size: clamp(38px, 4.5vw, 58px) !important;
    text-align: center;
    color: var(--tp-green-900) !important;
}

.tp-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.tp-section {
	padding: var(--tp-section-pad) 0;
}

.tp-check-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.tp-check-list li {
	position: relative;
	padding-left: 28px;
	color: var(--tp-text);
	font-family: 'DM Serif Text';
}

.tp-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%231d4731' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M2 8.5l3.5 3.5L14 4'/></svg>") center / contain no-repeat;
}

/* === Testimonials (Klantenvertellen) === */

.tp-testimonials {
    background: rgba(221, 245, 227, 0.76);
    text-align: center;
    max-width: 1052px;
    margin: 32px auto;
    border-radius: var(--tp-radius-lg);
    box-sizing: border-box;
    margin-top: -40px;
    position: relative;
}

@media (max-width: 767.98px) {
	.tp-testimonials {
		border-radius: 0;
		margin-left: 0;
		margin-right: 0;
	}
}

.tp-testimonials__intro {
	color: var(--tp-muted);
	margin: 0 auto 32px;
	max-width: 480px;
}

.tp-testimonials__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0 auto 40px;
}

.tp-testimonials__circle {
	position: relative;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #ffb84d 0%, #f59331 100%);
	color: var(--tp-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(245, 147, 49, 0.32);
}

.tp-testimonials__circle--has-icon {
	background: none;
	box-shadow: none;
}

.tp-testimonials__icon {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.tp-testimonials__score {
	position: relative;
	z-index: 1;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	color: #000;
	margin-top: -2px;
}

.tp-testimonials__logo {
	display: inline-block;
	max-height: 24px;
	width: auto;
}

.tp-testimonials__stars {
	display: inline-flex;
	gap: 2px;
}

.tp-testimonials__count {
	font-size: 14px;
	color: var(--tp-muted);
}

.tp-testimonials__brand {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 32px;
	color: var(--tp-text);
	letter-spacing: 0.01em;
}

.tp-testimonials__brand-light {
	font-weight: 300;
}

.tp-testimonials__brand-bold {
	font-weight: 900;
}

.tp-testimonials__slider {
	position: relative;
}

.tp-testimonials__track {
	list-style: none;
	margin: 0;
	padding: 4px 4px 4px 16px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scroll-padding-left: 16px;
	scrollbar-width: none;
}

.tp-testimonials__track::-webkit-scrollbar {
	display: none;
}

.tp-testimonials__card {
	background: var(--tp-white);
	border-radius: var(--tp-radius-md);
	padding: 18px 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 calc(100% - 60px);
	scroll-snap-align: start;
	text-align: left;
}

@media (min-width: 600px) {
	.tp-testimonials__card {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (min-width: 960px) {
	.tp-testimonials__card {
		flex: 0 0 calc(33.333% - 11px);
	}
}

.tp-testimonials__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tp-stars {
	display: inline-flex;
	gap: 2px;
}

svg.tp-stars__star {
    width: 24px;
    height: 24px;
}

.tp-testimonials__name {
	font-weight: 700;
	color: var(--tp-green-900);
	font-size: 14px;
}

.tp-testimonials__text {
	margin: 0;
	color: var(--tp-text);
	font-size: 14px;
	line-height: 1.4;
}

.tp-testimonials__date {
	color: var(--tp-muted);
	font-size: 12px;
}

.tp-testimonials__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tp-white);
	color: var(--tp-green-900);
	border: 1px solid rgba(29, 71, 49, 0.12);
	font-size: 22px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(29, 71, 49, 0.12);
	transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}

.tp-testimonials__nav--prev {
	left: 8px;
}

.tp-testimonials__nav--next {
	right: 8px;
}

.tp-testimonials__nav:hover,
.tp-testimonials__nav:focus-visible {
	background: var(--tp-green-900);
	color: var(--tp-white);
}

.tp-testimonials__nav[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

@media (max-width: 599.98px) {
	.tp-testimonials__nav {
		display: none;
	}

	/* Track breaks out of the container so the cards can use the full
	 * viewport width — buttons are hidden anyway, swipe replaces them. */
	.tp-testimonials__slider {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}

	.tp-testimonials__track {
		padding-left: 16px;
		padding-right: 0;
	}

	.tp-testimonials__card {
		flex: 0 0 calc(100vw - 60px);
	}
}

/* === Hero === */

.tp-hero {
	position: relative;
	overflow: hidden;
	min-height: 720px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
	background: linear-gradient(180deg, var(--tp-green-700) 0%, var(--tp-green-900) 100%);
	color: var(--tp-white);
	isolation: isolate;
}

@media (min-width: 768px) {
	.tp-hero {
		max-height: 80vh;
	}
}

.tp-hero__bg {
	z-index: 0;
	pointer-events: none;
	min-width: 0;
	min-height: 0;
}

.tp-hero__bg--top {
	grid-area: 1 / 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.tp-hero__bg--top img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 100%;
	flex-shrink: 0;
}

.tp-hero__bg--bottom {
	grid-area: 2 / 1;
	width: 100%;
}

.tp-hero__bg--bottom img {
	display: block;
	width: 100%;
	height: auto;
}

.tp-hero__inner {
	grid-area: 1 / 1;
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: clamp(48px, 6vw, 96px);
	padding-bottom: clamp(48px, 6vw, 96px);
}

.tp-hero__card {
    /* background: rgba(232, 240, 228, 0.92); */
    /* backdrop-filter: blur(2px); */
    border-radius: 12px;
    padding: clamp(24px, 3vw, 48px);
    color: var(--tp-text);
    box-shadow: 0 12px 32px rgba(29, 71, 49, 0.18);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: rgba(221, 245, 227, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
	position: relative;
}

@media (min-width: 960px) {
	.tp-hero__card {
		grid-template-columns: 1.05fr 1fr;
		gap: 56px;
		align-items: start;
	}
}

.tp-hero__title-block {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
}

.tp-hero__content-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}

.tp-hero__brand-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px;
	background: var(--tp-white);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
}

.tp-hero__brand-tag .fi {
	width: 18px;
	height: 14px;
	border-radius: 2px;
	overflow: hidden;
}

.tp-hero__brand-name {
	font-weight: 700;
	color: var(--tp-green-900);
}

.tp-hero__brand-tagline {
	color: var(--tp-muted);
}

.tp-hero__title {
	margin: 0;
	font-size: clamp(40px, 6vw, 74px) !important;
	line-height: 0.9 !important;
	font-weight: 500 !important;
	color: var(--tp-green-900) !important;
	letter-spacing: -0.01em;
}

@media(min-width: 768px){
	.tp-hero__title, .tp-hero__lede{
		text-align: right;
	}
}

.tp-hero__lede {
	margin: 0;
	color: var(--tp-text);
	font-size: 16px;
}

.tp-hero__usps {
	margin: 0;
	width: 100%;
}

.tp-hero__usps li {
	padding-left: 28px;
}

.tp-hero__usps strong {
	display: block;
	font-weight: 500;
	color: var(--tp-green-900);
	font-family: "DM Serif Text", Sans-serif;
}

.tp-hero__usps span {
    color: var(--tp-green-900);
    font-size: 15px;
    line-height: 1.3em;
    display: block;
    margin-bottom: 12px;
}

.tp-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

a.tp-btn,
.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 300;
	font-size: 15px;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
	cursor: pointer;
}

a.tp-btn--primary,
.tp-btn--primary {
	background: var(--tp-green-900);
	color: var(--tp-white) !important;
}

.tp-btn-wide{
	min-width:320px;
}

a.tp-btn--primary:hover,
a.tp-btn--primary:focus-visible,
.tp-btn--primary:hover,
.tp-btn--primary:focus-visible {
	background: var(--tp-green-700);
	color: var(--tp-white);
}

a.tp-btn--ghost,
.tp-btn--ghost {
	background: transparent;
	color: var(--tp-green-900);
	border-color: var(--tp-green-900);
}

a.tp-btn--ghost:hover,
a.tp-btn--ghost:focus-visible,
.tp-btn--ghost:hover,
.tp-btn--ghost:focus-visible {
	background: var(--tp-green-900);
	color: var(--tp-white) !important;
}

.tp-hero__sticker {
    position: absolute;
    right: calc(50% + 20px);
    bottom: -9px;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    color: var(--tp-text);
    font-weight: 500;
    border-radius: 12px;
    rotate: -4deg;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    font-family: 'DM Serif Text';
    background: rgba(221, 245, 227, 0.76);
    /* transform: translateX(50%); */
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

@media(max-width: 768px){
	.tp-hero__sticker{
		right: 20px;
  }
}

/* === Kwaliteitsgarantie === */

.tp-kwaliteit {
	background: var(--tp-green-050);
}

.tp-kwaliteit__intro {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
	color: var(--tp-muted);
}

.tp-kwaliteit__keurmerken {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin: 0 auto 32px;
	flex-wrap: wrap;
}

.tp-kwaliteit__keurmerken img,
.tp-kwaliteit__keurmerken svg {
	width: 128px;
	height: 128px;
	display: block;
}

.tp-kwaliteit__keurmerken .tp-keurmerk-fallback {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	color: var(--tp-white);
	letter-spacing: 0.05em;
}

.tp-kwaliteit__keurmerken .tp-keurmerk-fallback--cedeo {
	background: var(--tp-green-700);
}

.tp-kwaliteit__keurmerken .tp-keurmerk-fallback--nrto {
	background: #f59331;
}

.tp-kwaliteit__usps {
	max-width: 320px;
	margin: 0 auto;
}

/* === Leer op maat === */

.tp-leer {
	background: var(--tp-green-050);
}

.tp-leer__grid {
	display: grid;
	gap: 32px;
	align-items: start;
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.tp-leer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}
}

.tp-leer__icon-wrap {
	text-align: center;
}

.tp-leer__icon {
	display: inline-block;
	width: 116px;
	height: 116px;
	color: var(--tp-green-900);
}

.tp-leer__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}

.tp-leer h2 {
	margin: 0;
}

@media (min-width: 760px) {
	.tp-leer__title {
		align-items: flex-end;
		text-align: right;
		margin-top: -18px;
	}

	.tp-leer__title h2,
	.tp-leer__title p {
		text-align: right;
	}
}

.tp-leer__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tp-leer__content p {
	margin: 0;
	color: var(--tp-text);
}

/* === Specifieke trainingen === */

.tp-trainingen {
	background: var(--tp-white);
}

.tp-trainingen__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 600px) {
	.tp-trainingen__grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 16px;
	}
}

.tp-trainingen__card {
	display: flex;
	flex-direction: column;
	background: var(--tp-white);
	border-radius: var(--tp-radius-md);
	color: var(--tp-text);
	text-decoration: none;
	height: 100%;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.08);
	transition: transform 0.15s, box-shadow 0.15s;
}

.tp-trainingen__card--link:hover,
.tp-trainingen__card--link:focus-visible {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.14);
	transform: translateY(-2px);
}

.tp-trainingen__card-header {
	display: block;
	min-height: 68px;
	background-color: var(--tp-green-100);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 600px) {
	.tp-trainingen__card-header {
		min-height: 96px;
	}
}

.tp-trainingen__card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 20px;
}

.tp-trainingen__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.tp-trainingen__taal {
	font-weight: 700;
	color: #000;
	font-size: 22px;
	line-height: 1.15;
	width: 26px;
    height: 19px;
	border-radius: 3px;
	flex-shrink: 0;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.tp-trainingen__pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	text-transform: lowercase;
	flex-shrink: 0;
}

.tp-trainingen__pill--beginners {
	background: #73CC88;
	color: var(--tp-white);
}

.tp-trainingen__pill--gemiddeld {
	background: #EE9768;
	color: var(--tp-white);
}

.tp-trainingen__pill--gevorderd {
	background: #A271AA;
	color: var(--tp-white);
}

.tp-trainingen__name {
	display: block;
	font-weight: 600;
	color: #000;
	font-size: 16px;
	line-height: 1.35;
}

/* === Merken === */

.tp-merken {
	background: #ffffff;
}

.tp-merken__intro {
	text-align: center;
	color: var(--tp-muted);
	max-width: 640px;
	margin: 0 auto 32px;
}

.tp-merken__viewport {
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tp-merken__strip {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	width: max-content;
	animation: tp-merken-scroll 60s linear infinite;
}

.tp-merken__viewport:hover .tp-merken__strip {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.tp-merken__strip {
		animation: none;
	}
}

.tp-merken__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 48px;
}

@keyframes tp-merken-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.tp-merken__item img {
	display: block;
	max-height: 120px;
	max-width: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0.2);
	opacity: 0.95;
	transition: filter 0.2s, opacity 0.2s;
}

.tp-merken__link:hover img,
.tp-merken__link:focus-visible img {
	filter: none;
	opacity: 1;
}

/* === Vaktaal === */

.tp-vaktaal {
	background: var(--tp-white);
}

.tp-vaktaal__grid {
	display: grid;
	gap: 32px;
	align-items: start;
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.tp-vaktaal__grid {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}
}

.tp-vaktaal__icon-wrap {
	text-align: center;
	margin-bottom: 24px;
}

.tp-vaktaal__plus {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--tp-green-900);
    color: var(--tp-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 86px;
    font-weight: 700;
}

.tp-vaktaal__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: -16px;
}

.tp-vaktaal h2 {
	margin: 0;
	text-align: center;
}

@media (min-width: 760px) {
	.tp-vaktaal__title {
		align-items: flex-end;
		text-align: right;
	}

	.tp-vaktaal__title h2 {
		text-align: right;
	}
}

.tp-vaktaal__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* === Klaar voor de start (final CTA) === */

.tp-startcta {
	position: relative;
	background: var(--tp-green-050);
}

.tp-startcta__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tp-green-100);
	margin-top: 32px;
}

.tp-startcta__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-startcta__inner {
	position: relative;
}

.tp-startcta__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}

.tp-startcta__content h2 {
	margin: 0;
}

.tp-startcta__content p {
	margin: 0;
	color: var(--tp-text);
}

@media (min-width: 760px) {
	.tp-startcta__media {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 50%;
		margin: 0;
		aspect-ratio: auto;
	}

	.tp-startcta__content {
		margin-left: 50%;
		padding-left: 56px;
		align-items: flex-start;
		text-align: left;
	}

	.tp-startcta__content h2 {
		text-align: left !important;
	}

	.tp-startcta__ctas {
		justify-content: flex-start;
	}
}

.tp-startcta__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.tp-startcta__cta {
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 28px;
	line-height: 1.15;
}

.tp-startcta__cta-secondary {
	padding: 14px 24px;
}

.tp-startcta__cta-main {
	font-size: 17px;
	font-weight: 500;
}

.tp-startcta__cta-sub {
	font-size: 13px;
	font-weight: 300;
	opacity: 0.85;
}

.tp-startcta__note {
	color: var(--tp-muted);
	font-size: 14px;
}

/* === Locaties (map + side panel + email form) === */

section#locaties {
    padding-bottom: 0;
}

.tp-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.tp-locaties__intro-wrap {
	margin-bottom: 24px;
}

.tp-locaties__intro {
	text-align: center;
	color: var(--tp-muted);
	margin: 0;
}

/* Map area: full-bleed (escape any container max-width). overflow is left
 * default (visible) so a tall panel can extend below the map. The panel's
 * slide-in uses clip-path, so nothing ever spills off-screen horizontally. */
.tp-locaties__map-wrap {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tp-locaties__map {
	width: 100%;
	height: 650px;
	background: var(--tp-green-050);
}

.tp-locaties__map .leaflet-container {
	font-family: inherit;
}

/* Search overlay: floats over the map, top-center, semi-transparent white. */
.tp-locaties__search-overlay {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	width: min(420px, calc(100% - 40px));
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(4px);
	border-radius: var(--tp-radius-md);
	box-shadow: 0 8px 24px rgba(29, 71, 49, 0.18);
	padding: 8px;
	z-index: 1500;
}

.tp-locaties__search {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--tp-green-100);
	border-radius: var(--tp-radius-sm);
	font: inherit;
	color: var(--tp-text);
	background: var(--tp-white);
}

.tp-locaties__search:focus {
	outline: none;
	border-color: var(--tp-green-500);
	box-shadow: 0 0 0 3px rgba(74, 128, 96, 0.18);
}

.tp-locaties__suggestions {
	position: absolute;
	top: calc(100% + 4px);
	left: 8px;
	right: 8px;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: var(--tp-white);
	border: 1px solid var(--tp-green-100);
	border-radius: var(--tp-radius-md);
	box-shadow: 0 8px 24px rgba(29, 71, 49, 0.18);
	max-height: 280px;
	overflow-y: auto;
	z-index: 1500;
}

.tp-locaties__suggestion {
	padding: 8px 16px;
	cursor: pointer;
	color: var(--tp-text);
}

.tp-locaties__suggestion:hover,
.tp-locaties__suggestion:focus-visible {
	background: var(--tp-green-050);
}

/* Scroll-zoom hint that briefly flashes when the user scrolls without ctrl.
 * z-index sits below the panel (1000) so the hint never covers the open
 * detail panel. */
.tp-locaties__scroll-hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(29, 71, 49, 0.4);
	color: var(--tp-white);
	font-weight: 600;
	font-size: 18px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 900;
}

.tp-locaties__scroll-hint--visible {
	opacity: 1;
}

/* Map + side panel stage. Mobile: stack (panel below map). Desktop: side
 * panel slides in from the right; map shrinks to make room. No internal
 * panel scroll — content determines panel height. */
.tp-locaties__stage {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

/* Mobile-first: panel is an absolute overlay over the map, sitting just
 * below the search overlay. Desktop @media query below repositions it as a
 * left-edge slide-in. */
.tp-locaties__panel {
	position: absolute;
	top: 110px;
	left: 16px;
	right: 16px;
	z-index: 1000;
	background: var(--tp-white);
	box-shadow: 0 12px 36px rgba(29, 71, 49, 0.22);
	padding: 24px;
	border-radius: var(--tp-radius-lg);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.3s ease;
}

.tp-locaties__panel--open {
	/* Negative inset extends the clip rect beyond the panel so the
	 * box-shadow isn't cut off by the clip-path itself. */
	clip-path: inset(-60px);
}

.tp-locaties__panel[hidden] {
	display: none;
}

.tp-locaties__panel-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0;
	background: var(--tp-green-050);
	color: var(--tp-green-900);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.tp-locaties__panel-close:hover,
.tp-locaties__panel-close:focus-visible {
	background: var(--tp-green-100);
}

.tp-locaties__panel-header {
	margin-bottom: 16px;
	padding-right: 36px;
}

.tp-locaties__panel-title {
	margin: 0 0 6px;
	font-size: 22px;
	color: var(--tp-green-900);
	text-align: left;
}

.tp-locaties__panel-location {
	margin: 0 0 -4px;
	color: var(--tp-text);
	font-weight: 700;
	font-size: 15px;
}

.tp-locaties__panel-address {
	margin: 0 0 4px;
	color: var(--tp-text);
	font-size: 15px;
}

.tp-locaties__panel-note {
	margin: 0;
	color: var(--tp-muted);
	font-size: 14px;
}

@media(max-width: 768px){
	.tp-locaties__phone {
      padding: 24px 16px !important;
	}
	.tp-locaties__form-summary, .tp-locaties__phone {
    background: #f6f6f6 !important;
	}
}

.tp-locaties__panel-slider {
	position: relative;
	margin: 0 0 16px;
}

.tp-locaties__slider-track {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.tp-locaties__slider-track::-webkit-scrollbar {
	height: 6px;
}

.tp-locaties__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	border-radius: var(--tp-radius-md);
	overflow: hidden;
	background: var(--tp-green-050);
}

.tp-locaties__slide img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.tp-locaties__slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--tp-green-900);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--tp-shadow-sm);
	border: 2px solid #ffffff70 !important;
    border-radius: 10px !important;
}
.tp-locaties__slider-nav--prev { left: 8px; }
.tp-locaties__slider-nav--next { right: 8px; }

.tp-locaties__slider-nav[disabled] {
	opacity: 0.4;
	cursor: default;
}

/* Hide nav arrows when there is only one (or zero) image. */
.tp-locaties__panel-slider--single .tp-locaties__slider-nav {
	display: none;
}

/* Bericht + Tel action row at the bottom of the panel. Mobile stacks the
 * two buttons vertically; desktop keeps them side-by-side. When the form
 * is expanded on desktop, the form-details takes the full row width and
 * the phone button wraps to its own line. */
.tp-locaties__actions {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.tp-locaties__form-details {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	border: 0;
}

.tp-locaties__form-details[open] {
	flex-basis: 100%;
}

.tp-locaties__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tp-green-900);
	flex: 0 0 auto;
}

/* Collapsible "Bericht" form */

.tp-locaties__form-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    color: var(--tp-text);
    list-style: none;
    font-size: 15px;
    background: #f6f6f6;
    border-radius: var(--tp-radius-sm);
}

.tp-locaties__form-summary:hover,
.tp-locaties__form-summary:focus-visible {
    background: var(--tp-green-100);
}

.tp-locaties__form-summary .tp-locaties__form-summary-label {
    flex: 1;
}

/* When the form is expanded, drop the button-fill on both the Bericht
 * summary and the sibling phone link so the row reads as flat text. */
.tp-locaties__form-details[open] .tp-locaties__form-summary,
.tp-locaties__form-details[open] .tp-locaties__form-summary:hover,
.tp-locaties__form-details[open] .tp-locaties__form-summary:focus-visible,
.tp-locaties__form-details[open] ~ .tp-locaties__phone,
.tp-locaties__form-details[open] ~ .tp-locaties__phone:hover,
.tp-locaties__form-details[open] ~ .tp-locaties__phone:focus-visible {
    background: transparent !important;
}

.tp-locaties__form-summary::-webkit-details-marker { display: none; }
.tp-locaties__form-summary::marker { content: ''; }

span.tp-locaties__form-summary-label {
    font-size: 15px;
    font-weight: 400;
    color: black;
}

.tp-locaties__chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-bottom: 3px;
    margin-left: 3px;
}

.tp-locaties__form-details[open] .tp-locaties__chevron {
	transform: rotate(-135deg);
	margin-bottom: 0;
	margin-top: 4px;
}

.tp-locaties__form {
	display: grid;
	gap: 12px;
	padding: 0 0 16px;
}

.tp-locaties__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.tp-locaties__field {
	display: grid;
	gap: 4px;
}

.tp-locaties__field-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--tp-green-900);
}

.tp-locaties__field input,
.tp-locaties__field textarea {
	padding: 10px 12px;
	border: 1px solid var(--tp-green-100);
	border-radius: var(--tp-radius-sm);
	font: inherit;
	color: var(--tp-text);
	background: var(--tp-white);
	resize: vertical;
}

.tp-locaties__field input:focus,
.tp-locaties__field textarea:focus {
	outline: none;
	border-color: var(--tp-green-500);
	box-shadow: 0 0 0 3px rgba(74, 128, 96, 0.18);
}

/* Pristine prefilled textarea reads like a placeholder until edited. */
.tp-locaties__textarea--pristine {
	color: rgba(29, 71, 49, 0.4);
	font-style: italic;
}

.tp-locaties__textarea--pristine:focus {
	color: var(--tp-text);
	font-style: normal;
}

.tp-locaties__submit {
	justify-self: start;
}

.tp-locaties__form-status {
	margin: 0;
	font-size: 14px;
	min-height: 1em;
}

.tp-locaties__form-status--success { color: var(--tp-green-700); }
.tp-locaties__form-status--error   { color: #b3261e; }
.tp-locaties__form-status--pending { color: var(--tp-muted); }

.tp-locaties__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 0;
	min-width: 0;
	padding: 12px 16px;
	background: #f6f6f6;
	border-radius: var(--tp-radius-sm);
	color: var(--tp-text) !important;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-locaties__phone:hover,
.tp-locaties__phone:focus-visible {
	background: var(--tp-green-100);
	text-decoration: none;
}

@media (min-width: 768px) {
	.tp-locaties__map {
		height: 600px;
	}

	/* Stage stays a relative container; map is full-width; panel becomes
	 * an absolute overlay that slides in from the LEFT edge of the map. */
	.tp-locaties__stage {
		position: relative;
	}

	.tp-locaties__stage > .tp-locaties__map {
		width: 100%;
	}

	.tp-locaties__actions {
		flex-direction: row;
	}

	.tp-locaties__stage > .tp-locaties__panel {
		position: absolute;
		top: 20px;
		left: 0;
		right: auto;
		width: 400px;
		max-width: calc(100% - 32px);
		clip-path: inset(0 100% 0 0);
		transition: clip-path 0.3s ease;
		z-index: 1000;
		background: var(--tp-white);
		box-shadow: 0 12px 36px rgba(29, 71, 49, 0.22);
		border-radius: 0 var(--tp-radius-lg) var(--tp-radius-lg) 0;
		padding: 28px 32px;
	}

	.tp-locaties__stage--has-open-panel > .tp-locaties__panel {
		clip-path: inset(-60px);
	}

	.tp-locaties__panel-close {
		top: 16px;
		right: 16px;
	}
}

/* Brand-color marker pin (set via L.divIcon). */
.tp-locaties__pin {
	background: transparent;
	border: 0;
}

.tp-locaties__pin svg {
	display: block;
	filter: drop-shadow(0 2px 4px rgba(29, 71, 49, 0.35));
}

.leaflet-marker-icon.tp-locaties__pin {
	cursor: pointer;
}
