/* Engagement Lees ook
 * .snr = het "Lees ook"-blok tussen de alinea's, .sne-live = de lezersregel.
 * Selectors zijn bewust dubbel (.snr.snr) zodat JNews-contentstijlen
 * (.content-inner a, h2, h3, img, button) de blokken niet overschrijven. */

.snr.snr {
	--sne-accent: #D63035;
	--sne-ink: #14161B;
	--sne-muted: #6B7080;
	--sne-line: #E8E8EC;
	--sne-soft: #F4F4F6;
	--sne-soft-line: #E2E3E8;
	--sne-soft-ink: var(--sne-accent);
	--sne-card: #fff;
	box-sizing: border-box;
	font-family: inherit;
	text-align: left;
}

/* Lichte tinten afgeleid van de accentkleur van de site (instelling Accentkleur). */
@supports (color: color-mix(in srgb, red 50%, white)) {
	.snr.snr {
		--sne-soft: color-mix(in srgb, var(--sne-accent) 9%, #fff);
		--sne-soft-line: color-mix(in srgb, var(--sne-accent) 28%, #fff);
		--sne-soft-ink: color-mix(in srgb, var(--sne-accent) 82%, #000);
	}
}

.snr.snr * { box-sizing: border-box; }

/* ---------- Gedeelde lezersregel met knipperend bolletje ---------- */

.snr.snr .sne-live {
	display: none;
	align-items: center;
	gap: 6px;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	color: var(--sne-muted);
	text-transform: none;
	letter-spacing: 0;
}

.snr.snr .sne-live.is-live { display: inline-flex; }

.snr.snr .sne-dot {
	position: relative;
	width: 14px;
	height: 14px;
	flex: none;
	border-radius: 50%;
	background: var(--sne-halo, rgba(31, 165, 90, .16));
}

.snr.snr .sne-dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--sne-dotc, #1FA55A);
	animation: snePulse 1.4s ease-in-out infinite;
}

.snr.snr .sne-text { overflow: hidden; text-overflow: ellipsis; }

.snr.snr .sne-text strong { color: var(--sne-ink); font-weight: 700; }

.sne-text.is-swap { animation: sneFade .35s ease-out; }

@keyframes snePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .35; transform: scale(.75); }
}

@keyframes sneFade {
	from { opacity: 0; transform: translateY(2px); }
	to { opacity: 1; transform: none; }
}

/* ======================================================================
 * Related in Content
 * ==================================================================== */

.snr.snr {
	display: flex;
	align-items: stretch;
	gap: 14px;
	margin: 24px 0;
	padding: 14px 16px;
	background: var(--sne-card);
	border: 1px solid var(--sne-line);
	border-left: 5px solid var(--sne-accent);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(20, 22, 27, .04);
	clear: both;
	line-height: 1.3;
}

.snr.snr .snr__media {
	flex: 0 0 142px;
	width: 142px;
	height: 96px;
	align-self: flex-start;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: #2B2F37;
	border: 0;
	box-shadow: none;
}

/* Afbeelding als achtergrond (geen img-element), zodat in-image advertenties er niets overheen leggen. */
.snr.snr .snr__media { position: relative; }
.snr.snr .sne-pic {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	margin: 0;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 0;
	pointer-events: none;
}

.snr.snr .snr__body {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 96px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.snr.snr .snr__kicker {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sne-accent);
}

.snr.snr a.snr__title,
.snr.snr a.snr__title:visited {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	color: var(--sne-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	border: 0;
	box-shadow: none;
	background: none;
}

.snr.snr a.snr__title:hover { color: var(--sne-accent); }

.snr.snr .snr__foot {
	margin-top: auto;
	padding-top: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 38px;
}

.snr.snr .sne-live { font-size: 13px; }

.snr.snr a.snr__btn,
.snr.snr a.snr__btn:visited {
	flex: none;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 14px;
	border-radius: 6px;
	background: var(--sne-accent);
	border: 1px solid var(--sne-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(20, 22, 27, .12);
	transition: filter .2s ease;
}

.snr.snr a.snr__btn:hover,
.snr.snr a.snr__btn:focus { filter: brightness(.92); color: #fff !important; }

.snr.snr a.snr__btn svg { flex: none; width: 14px; height: 14px; transition: transform .2s ease; }

.snr.snr a.snr__btn:hover svg { transform: translateX(2px); }

.snr.snr.snr--noimg .snr__body { min-height: 0; }

@media (max-width: 600px) {
	.snr.snr {
		gap: 0;
		padding: 0;
		margin: 20px 0;
		overflow: hidden;
		border-left-width: 4px;
	}
	.snr.snr .snr__media {
		flex: 0 0 116px;
		width: 116px;
		height: auto;
		align-self: stretch;
		border-radius: 0;
	}
	.snr.snr .snr__body { min-height: 0; padding: 10px 12px; gap: 3px; }
	.snr.snr .snr__kicker { font-size: 12px; }
	.snr.snr a.snr__title,
	.snr.snr a.snr__title:visited { font-size: 16px; -webkit-line-clamp: 3; }
	.snr.snr .snr__foot { gap: 8px; padding-top: 6px; min-height: 34px; }
	.snr.snr .sne-live { font-size: 12px; }
	.snr.snr a.snr__btn,
	.snr.snr a.snr__btn:visited {
		height: 28px;
		padding: 0 11px;
		border-radius: 999px;
		background: #fff;
		color: var(--sne-accent) !important;
		font-size: 13px;
		box-shadow: none;
	}
	.snr.snr a.snr__btn:hover,
	.snr.snr a.snr__btn:focus { color: var(--sne-accent) !important; background: var(--sne-soft); filter: none; }
	.snr.snr a.snr__btn svg { width: 13px; height: 13px; }
}

/* ======================================================================
 * Strook: 2–4 titels onder elkaar (instelling "Als strook tonen")
 * Drievoudige selector (.snr.snr.snr--strip) zodat hij ook de mobiele kaartjesregels overschrijft.
 * ==================================================================== */

.snr.snr.snr--strip {
	display: block;
	padding: 12px 16px 4px;
}

.snr.snr.snr--strip .snr__kicker { display: block; margin: 0 0 2px; }

.snr.snr.snr--strip .snr__row {
	position: relative; /* voor de klikbare regel */
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-top: 1px solid var(--sne-line);
}

.snr.snr.snr--strip .snr__kicker + .snr__row { border-top: 0; }

.snr.snr.snr--strip .snr__media {
	flex: 0 0 88px;
	width: 88px;
	height: 60px;
	align-self: center;
	border-radius: 6px;
}

.snr.snr.snr--strip .snr__rbody {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.snr.snr.snr--strip a.snr__title,
.snr.snr.snr--strip a.snr__title:visited {
	font-size: 16px;
	line-height: 1.32;
	-webkit-line-clamp: 2;
}

/* De hele regel is klikbaar: de titellink ligt over de regel heen. */
.snr.snr.snr--strip a.snr__title::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.snr.snr.snr--strip .snr__row:hover a.snr__title { color: var(--sne-accent); }

.snr.snr.snr--strip .sne-live { font-size: 13px; }

.snr.snr.snr--strip .snr__go {
	flex: none;
	display: inline-flex;
	color: var(--sne-accent);
	transition: transform .2s ease;
}

.snr.snr.snr--strip .snr__go svg { width: 18px; height: 18px; }

.snr.snr.snr--strip .snr__row:hover .snr__go { transform: translateX(3px); }

.snr.snr.snr--strip a.snr__title:focus-visible { outline: 0; }
.snr.snr.snr--strip a.snr__title:focus-visible::after {
	outline: 2px solid var(--sne-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

@media (max-width: 600px) {
	.snr.snr.snr--strip {
		padding: 10px 12px 2px;
		overflow: visible;
	}
	.snr.snr.snr--strip .snr__kicker { font-size: 12px; }
	.snr.snr.snr--strip .snr__row { gap: 12px; padding: 9px 0; }
	.snr.snr.snr--strip .snr__media {
		flex: 0 0 72px;
		width: 72px;
		height: 54px;
		align-self: center;
		border-radius: 6px;
	}
	.snr.snr.snr--strip a.snr__title,
	.snr.snr.snr--strip a.snr__title:visited { font-size: 15px; -webkit-line-clamp: 2; }
	.snr.snr.snr--strip .sne-live { font-size: 12px; }
	.snr.snr.snr--strip .snr__go svg { width: 18px; height: 18px; } /* pijl blijft: het teken "tik hier" */
}

.snr.snr a:focus-visible {
	outline: 2px solid var(--sne-accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.snr.snr .sne-dot::after,
	.sne-text.is-swap { animation: none; }
	.snr.snr a.snr__btn svg,
	.snr.snr.snr--strip .snr__go { transition: none; }
}

/* Donkere modus van JNews */
.jnews-dark-mode .snr.snr {
	--sne-ink: #F2F3F5;
	--sne-muted: #A9AEB9;
	--sne-line: #2C2F36;
	--sne-card: #1B1D22;
	--sne-soft: rgba(255, 255, 255, .06);
	--sne-soft-line: rgba(255, 255, 255, .18);
	--sne-soft-ink: #F2F3F5;
	box-shadow: none;
}
@supports (color: color-mix(in srgb, red 50%, white)) {
	.jnews-dark-mode .snr.snr {
		--sne-soft: color-mix(in srgb, var(--sne-accent) 16%, transparent);
		--sne-soft-line: color-mix(in srgb, var(--sne-accent) 40%, transparent);
		--sne-soft-ink: color-mix(in srgb, var(--sne-accent) 55%, #fff);
	}
}
@media (max-width: 600px) {
	.jnews-dark-mode .snr.snr a.snr__btn { background: transparent; }
}
