.wke-testi,
.wke-testi * { box-sizing: border-box; }

.wke-testi {
	--green: #00B67A;
	--accent: #b91416;
	--cols: 4;
	--cols-tab: 2;
	--mobile-w: 85%;
	--gap: 22px;
	font-family: 'Outfit', sans-serif;
	width: 100%;
	position: relative;
	color: #111;
}

/* ============================ HEADER ============================ */
.wke-testi .wket-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}
.wke-testi .wket-head-left { display: flex; flex-direction: column; gap: 14px; }

.wke-testi .wket-title {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	text-transform: none;
	letter-spacing: .3px;
	color: #111;
}

.wke-testi .wket-score {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.wke-testi .wket-score-text { font-size: 15px; font-weight: 600; color: #111; }

.wke-testi .wket-badge {
	display: inline-flex;
	align-items: center;
	background: var(--green);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2px;
	padding: 5px 12px;
	border-radius: 4px;
}

.wke-testi .wket-head-right {
	font-size: 14px;
	color: #6b6b6b;
	max-width: 280px;
	text-align: right;
	line-height: 1.4;
	margin-top: 4px;
}

/* ============================ STARS ============================ */
/* Scherpe, vierkante Trustpilot-sterren: groen vakje, witte ster erin */
.wke-testi .wket-stars {
	--star: 22px;
	display: inline-flex;
	gap: 3px;
	line-height: 0;
}
.wke-testi .wket-star {
	position: relative;
	width: var(--star);
	height: var(--star);
	background: #dcdce6;           /* leeg = grijs vakje */
	border-radius: 0;               /* GEEN border-radius: strak vierkant */
	display: inline-block;
	overflow: hidden;
}
.wke-testi .wket-star::before {
	content: "";
	position: absolute;
	inset: 0;
	width: var(--fill, 100%);
	background: var(--green);       /* gevuld deel = groen */
}
.wke-testi .wket-star svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	fill: #fff;                     /* ster zelf = wit uitgesneden vorm */
	padding: 13%;
}

/* Score-balk variant net iets compacter */
.wke-testi .wket-stars--bar { --star: 30px; gap: 3px; }

/* ============================ TRACK ============================ */
.wke-testi .wket-track {
	display: flex;
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px 12px;
}
.wke-testi .wket-track::-webkit-scrollbar { display: none; }

.wke-testi .wket-card {
	flex: 0 0 calc((100% - (var(--gap) * (var(--cols) - 1))) / var(--cols));
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 10px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	min-height: 240px;
}

.wke-testi .wket-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}
.wke-testi .wket-date { font-size: 13px; color: #9a9a9a; white-space: nowrap; }

.wke-testi .wket-rtitle {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}

.wke-testi .wket-quote {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.55;
	color: #3a3a3a;
}

/* ---- author ---- */
.wke-testi .wket-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}
.wke-testi .wket-avatar {
	width: 40px; height: 40px; min-width: 40px;
	border-radius: 50%;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 14px; font-weight: 700;
}
.wke-testi .wket-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wke-testi .wket-author-info { display: flex; flex-direction: column; gap: 1px; }
.wke-testi .wket-author-info strong { color: #111; font-size: 14px; font-weight: 700; }
.wke-testi .wket-author-info small { color: #8a8a8a; font-size: 12px; }

/* ============================ CONTROLS ============================ */
.wke-testi .wket-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}
.wke-testi .wket-dots { display: flex; align-items: center; gap: 8px; }
.wke-testi .wket-dot {
	width: 9px; height: 9px;
	border: none; padding: 0;
	border-radius: 50%;
	background: #d8d8d8;
	cursor: pointer;
	transition: width .3s ease, background .3s ease, border-radius .3s ease;
}
.wke-testi .wket-dot.is-active {
	width: 22px;
	border-radius: 5px;
	background: var(--green);
}
.wke-testi .wket-arrow {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #111;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.wke-testi .wket-arrow:hover {
	background: #111;
	border-color: #111;
	color: #fff;
	transform: translateY(-1px);
}

/* ============================ CLASSIC VARIANT ============================ */
.wke-testi.wke-testi--classic .wket-title { font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.wke-testi.wke-testi--classic .wket-badge { background: var(--accent); }
.wke-testi.wke-testi--classic .wket-star { background: rgba(185,20,22,.18); }
.wke-testi.wke-testi--classic .wket-star::before { background: var(--accent); }
.wke-testi.wke-testi--classic .wket-dot.is-active { background: var(--accent); }
.wke-testi.wke-testi--classic .wket-card { box-shadow: 0 8px 26px rgba(0,0,0,.03); }

/* ============================ TABLET ============================ */
@media (max-width: 1024px) {
	.wke-testi .wket-card {
		flex: 0 0 calc((100% - (var(--gap) * (var(--cols-tab) - 1))) / var(--cols-tab));
	}
	.wke-testi .wket-head-right { text-align: left; max-width: 100%; }
}

/* ============================ MOBILE ============================ */
@media (max-width: 749px) {
	.wke-testi .wket-head { flex-direction: column; gap: 12px; }
	.wke-testi .wket-title { font-size: 26px; }
	.wke-testi .wket-head-right { text-align: left; }
	.wke-testi .wket-card {
		flex: 0 0 var(--mobile-w);
		padding: 22px;
		min-height: 0;
	}
	.wke-testi .wket-stars--bar { --star: 26px; }
	.wke-testi .wket-arrow { width: 40px; height: 40px; }
}
