/**
 * enVisual Melding - meldingspopup.
 * Accentkleur via --emld-accent (inline gezet door de plugin).
 */

.emld-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 10, 14, 30, 0.6 );
	opacity: 0;
	transition: opacity 0.25s ease;
}
.emld-overlay.is-open {
	opacity: 1;
}
/* Verborgen = echt weg: anders overschrijft display:flex het hidden-attribuut
   en vangt deze laag onzichtbaar alle kliks op (bijv. op de doelgroep-splash). */
.emld-overlay[hidden] {
	display: none;
}

.emld-pop {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc( 100vh - 40px );
	overflow: auto;
	background: #fff;
	color: #171a33;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba( 0, 0, 0, 0.35 );
	transform: translateY( 14px ) scale( 0.98 );
	transition: transform 0.25s ease;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.emld-overlay.is-open .emld-pop {
	transform: none;
}

.emld-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba( 23, 26, 51, 0.08 );
	color: #171a33;
	cursor: pointer;
	transition: background 0.15s ease;
}
.emld-close:hover {
	background: rgba( 23, 26, 51, 0.18 );
}

.emld-body {
	padding: 24px 26px 28px;
}

.emld-title {
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #171a33;
	padding-right: 30px;
}

.emld-text {
	font-size: 15px;
	line-height: 1.55;
	color: #2a2e45;
}
.emld-text p {
	margin: 0 0 12px;
}
.emld-text a {
	color: var( --emld-accent, #cf161d );
	font-weight: 600;
	text-decoration: none;
}
.emld-text a:hover {
	text-decoration: underline;
}

/* Nette tijden-rij: label links, tijd rechts. */
.emld-text ul.emld-hours {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.emld-text ul.emld-hours li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 5px 0;
	border-bottom: 1px solid rgba( 23, 26, 51, 0.08 );
}
.emld-text ul.emld-hours li:last-child {
	border-bottom: 0;
}
.emld-text ul.emld-hours li span:first-child {
	font-weight: 600;
}
.emld-text ul.emld-hours li span:last-child {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.emld-actions {
	margin: 18px 0 0;
}
.emld-btn {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 999px;
	background: var( --emld-accent, #cf161d );
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: filter 0.15s ease;
}
.emld-btn:hover {
	filter: brightness( 0.92 );
}

@media ( max-width: 480px ) {
	.emld-body { padding: 20px 18px 24px; }
	.emld-title { font-size: 19px; }
}
