/* RHH Lezer: knoppen op de uitgavepagina en de schermvullende leesmodule */
html.rhh-lezer-actief { overflow: hidden; }

.rhh-uitgave-acties { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.rhh-uitgave-acties .rhh-uitgave-pdf-knop { margin-top: 0 !important; }
.rhh-lezer-open {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border: 0; border-radius: 5px; padding: 0.75rem 1.5rem;
	background: #2099CF; color: #FFFFFF; cursor: pointer;
	font-family: inherit; font-size: 1.0625rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
	transition: background-color 0.15s ease;
}
.rhh-lezer-open:hover { background: #1E2E38; }
.rhh-lezer-open:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(32,153,207,0.35); }
.rhh-lezer-open svg { flex: 0 0 auto; }

.rhh-lezer {
	position: fixed; inset: 0; z-index: 100002;
	display: flex; flex-direction: column;
	background: #0E161B; color: #FFFFFF;
	-webkit-tap-highlight-color: transparent;
}
.rhh-lezer[hidden] { display: none; }
.rhh-lezer-balk {
	flex: 0 0 auto; display: flex; align-items: center; gap: 1rem;
	min-height: 56px; padding: 0.375rem 0.75rem; box-sizing: border-box;
	background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rhh-lezer-titel { flex: 1 1 auto; min-width: 0; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhh-lezer-teller { flex: 0 0 auto; font-size: 0.875rem; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.rhh-lezer-acties { flex: 0 0 auto; display: flex; gap: 0.25rem; }
.rhh-lezer-knop {
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9999px;
	background: transparent; color: #FFFFFF; cursor: pointer; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color 0.15s ease;
}
.rhh-lezer-knop[hidden] { display: none; }
.rhh-lezer-knop:hover { background: rgba(255,255,255,0.14); }
.rhh-lezer-knop[aria-pressed="true"] { background: #2099CF; }
.rhh-lezer-knop svg { width: 22px; height: 22px; display: block; }
.rhh-lezer-knop:focus-visible, .rhh-lezer-pijl:focus-visible, .rhh-lezer-mini:focus-visible { outline: none; box-shadow: 0 0 0 2px #2099CF; }

.rhh-lezer-podium {
	flex: 1 1 auto; min-height: 0; display: flex; overflow: auto;
	padding: 16px; box-sizing: border-box;
	overscroll-behavior: contain; touch-action: manipulation; outline: none;
}
.rhh-lezer.is-ingezoomd .rhh-lezer-podium { cursor: grab; }
.rhh-lezer-podium.sleept { cursor: grabbing; user-select: none; }
.rhh-lezer-opslag {
	position: relative; display: flex; flex: 0 0 auto; margin: auto;
	background: #FFFFFF; border-radius: 2px; box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.rhh-lezer-opslag img {
	flex: 1 1 0; min-width: 0; height: 100%; display: block;
	object-fit: contain; background: #FFFFFF; user-select: none; -webkit-user-drag: none;
}
.rhh-lezer-opslag.is-dubbel::after {
	content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 36px; transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgba(0,0,0,0.14) 50%, transparent); pointer-events: none;
}
@keyframes rhh-lezer-in-volgende { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes rhh-lezer-in-vorige { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.rhh-lezer-opslag.draait-volgende { animation: rhh-lezer-in-volgende 0.22s ease both; }
.rhh-lezer-opslag.draait-vorige { animation: rhh-lezer-in-vorige 0.22s ease both; }

.rhh-lezer-pijl {
	position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 9999px;
	background: rgba(255,255,255,0.16); color: #FFFFFF; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background-color 0.15s ease, opacity 0.15s ease;
}
.rhh-lezer-pijl svg { width: 26px; height: 26px; display: block; }
.rhh-lezer-vorige { left: 12px; }
.rhh-lezer-volgende { right: 12px; }
.rhh-lezer-pijl:hover:not(:disabled) { background: rgba(255,255,255,0.3); }
.rhh-lezer-pijl:disabled { opacity: 0.25; cursor: default; }

.rhh-lezer-strook {
	position: relative; flex: 0 0 auto; display: flex; gap: 0.5rem; overflow-x: auto;
	padding: 0.625rem 0.75rem; background: rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.08);
}
.rhh-lezer-strook[hidden] { display: none; }
.rhh-lezer-mini {
	position: relative; flex: 0 0 auto; width: 64px; padding: 0; overflow: hidden;
	border: 2px solid transparent; border-radius: 4px; background: #FFFFFF; cursor: pointer;
}
.rhh-lezer-mini img { display: block; width: 100%; height: auto; min-height: 80px; background: #FFFFFF; }
.rhh-lezer-mini span {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 0;
	background: rgba(14,22,27,0.75); color: #FFFFFF; font-size: 0.6875rem; line-height: 1.3; text-align: center;
}
.rhh-lezer-mini[aria-current="true"] { border-color: #2099CF; }

@media (max-width: 700px) {
	.rhh-lezer-titel { display: none; }
	.rhh-lezer-teller { flex: 1 1 auto; }
	.rhh-lezer-podium { padding: 8px; }
	.rhh-lezer-pijl { width: 44px; height: 44px; }
	.rhh-lezer-vorige { left: 6px; }
	.rhh-lezer-volgende { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.rhh-lezer-opslag.draait-volgende, .rhh-lezer-opslag.draait-vorige { animation: none; }
}

.rhh-lezer-teller{white-space:nowrap;}
@media (max-width:700px){.rhh-lezer-titel{display:none;}.rhh-lezer-teller{margin-right:auto;}}

/* Omslageffect */
.rhh-lezer-opslag.is-flip { perspective: 2600px; }
.rhh-lezer-blad {
	position: absolute; top: 0; left: 50%; width: 50%; height: 100%; z-index: 3;
	transform-origin: left center; transform-style: preserve-3d; will-change: transform;
	animation: rhh-blad-vooruit 0.72s cubic-bezier(0.45, 0.05, 0.25, 1) both;
}
.rhh-lezer-blad.terug { animation-name: rhh-blad-terug; }
.rhh-lezer-blad > div {
	position: absolute; inset: 0; overflow: hidden; background: #FFFFFF;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.rhh-lezer-blad > .achter { transform: rotateY(180deg); }
.rhh-lezer-blad img { width: 100%; height: 100%; display: block; object-fit: contain; }
.rhh-lezer-blad > div::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.rhh-lezer-blad > .voor::after { background: linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0)); animation: rhh-blad-schaduw-voor 0.72s linear both; }
.rhh-lezer-blad > .achter::after { background: linear-gradient(270deg, rgba(0,0,0,0.28), rgba(0,0,0,0)); animation: rhh-blad-schaduw-achter 0.72s linear both; }
.rhh-lezer-blad.terug > .voor::after { animation-direction: reverse; }
.rhh-lezer-blad.terug > .achter::after { animation-direction: reverse; }
@keyframes rhh-blad-vooruit { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
@keyframes rhh-blad-terug { from { transform: rotateY(-180deg); } to { transform: rotateY(0deg); } }
@keyframes rhh-blad-schaduw-voor { from { opacity: 0; } to { opacity: 1; } }
@keyframes rhh-blad-schaduw-achter { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rhh-lezer-blad { animation: none; } }