/**
 * Younik Wachttijden – front-end styling (kaarten in raster).
 *
 * Kleuren/afmetingen staan als CSS-variabelen, zodat de site-bouwer ze
 * eenvoudig kan overschrijven (bv. in Elementor > Site-instellingen > Aangepaste CSS):
 *
 *   .younik-wachttijden { --ywt-title-color:#2b3a67; --ywt-accent:#2b3a67; }
 */

.younik-wachttijden {
	--ywt-card-bg: #ffffff;
	--ywt-radius: 16px;
	--ywt-padding: clamp(20px, 3vw, 32px);
	--ywt-gap: 24px;
	--ywt-title-color: #52d68c;
	--ywt-label-color: #1a1a1a;
	--ywt-time-color: #1a1a1a;
	--ywt-text-color: #5f5f5f;
	--ywt-meta-color: #b23a48;
	--ywt-divider: rgba(0, 0, 0, 0.12);
	--ywt-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	--ywt-logo-max-h: 56px;

	margin: 0 0 1.5em;
	font-family: inherit;
	line-height: 1.45;
	box-sizing: border-box;
}

.younik-wachttijden *,
.younik-wachttijden *::before,
.younik-wachttijden *::after {
	box-sizing: border-box;
}

.younik-wachttijden__kop {
	margin: 0 0 0.8em;
	color: var(--ywt-title-color);
	font-size: 1.5em;
	line-height: 1.2;
}

.younik-wachttijden__groepen {
	display: grid;
	gap: var(--ywt-gap);
	grid-template-columns: repeat(var(--ywt-cols, 2), minmax(0, 1fr));
}

.younik-wachttijden__groepen--auto {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.younik-wachttijden__card {
	display: flex;
	flex-direction: column;
	background: var(--ywt-card-bg);
	border-radius: var(--ywt-radius);
	padding: var(--ywt-padding);
	box-shadow: var(--ywt-shadow);
}

.younik-wachttijden__logo {
	margin-bottom: 16px;
}

.younik-wachttijden__logo img {
	width: auto;
	height: auto;
	max-height: var(--ywt-logo-max-h);
	max-width: 70%;
}

.younik-wachttijden__title {
	margin: 0 0 0.15em;
	color: var(--ywt-title-color);
	font-size: 1.3em;
	line-height: 1.2;
}

.younik-wachttijden__meta {
	margin: 0 0 1em;
	color: var(--ywt-meta-color);
	font-size: 0.9em;
}

.younik-wachttijden__omschrijving {
	margin: 0 0 1.1em;
	color: var(--ywt-text-color);
}

.younik-wachttijden__list {
	margin-top: auto;
}

.younik-wachttijden__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em;
	padding: 0.8em 0;
	border-bottom: 1px solid var(--ywt-divider);
}

.younik-wachttijden__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.younik-wachttijden__label {
	color: var(--ywt-label-color);
	font-weight: 600;
}

.younik-wachttijden__time {
	color: var(--ywt-time-color);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* Mobiel: altijd één kolom. */
@media (max-width: 600px) {
	.younik-wachttijden__groepen {
		grid-template-columns: 1fr;
	}
}
