/* Certis · juridische pagina's (paginarol pagina-overig). Rustig, leesbaar, geen beweging. */

/* Raster: leeskolom 720 px; vanaf 1280 px een inhoudsopgave links ernaast (de kolom blijft op dezelfde plaats). */
.jr-raster { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: 0 56px; }
@media (min-width: 1280px) {
	.jr-raster { grid-template-columns: 280px minmax(0, 720px) 280px; }
	.jr-raster > * { grid-column: 2; }
	.jr-raster > .jr-toc { grid-column: 1; grid-row: 1; }
}

.jr-kop { padding: clamp(24px, 3vw, 48px) 0 clamp(28px, 3vw, 48px); background: var(--ct-wit); }
.jr-kop .ct-kruimel { margin-bottom: 24px; }
.jr-kop__titel { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); font-weight: 580; line-height: 1.06; letter-spacing: -0.024em; color: var(--ct-navy); text-wrap: balance; }
.jr-kop__intro { margin-top: 16px; font-size: var(--ct-fs-lead); color: var(--ct-inkt); }

.jr-body { padding-bottom: clamp(56px, 7vw, 120px); }
.jr-tekst { font-size: var(--ct-fs-body); }
.jr-tekst h2 { scroll-margin-top: calc(var(--ct-kop-h-klein) + 24px); padding-top: 12px; border-top: 1px solid var(--ct-lijn); }
.jr-tekst h3 { scroll-margin-top: calc(var(--ct-kop-h-klein) + 24px); }
.jr-tekst h2:first-child { border-top: 0; padding-top: 0; }
.jr-tekst h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem); letter-spacing: -0.01em; }
.jr-tekst h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
.jr-tekst p, .jr-tekst li { overflow-wrap: break-word; }
.jr-tekst em { font-style: normal; font-weight: 600; }
@media (max-width: 767px) { .jr-tekst p, .jr-tekst li { hyphens: auto; } }

/* Inhoudsopgave: gsm = uitklapper bovenaan, desktop = vaste lijst links met de i-stip bij de actieve sectie. */
.jr-toc { margin-bottom: 32px; }
.jr-toc__uitklap { border-radius: var(--ct-r-m); background: var(--ct-ijs); }
.jr-toc__titel {
	list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px;
	cursor: pointer; font-weight: 650; color: var(--ct-navy);
}
.jr-toc__titel::-webkit-details-marker { display: none; }
.jr-toc__titel::after {
	content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ct-navy); border-bottom: 2px solid var(--ct-navy);
	rotate: 45deg; translate: 0 -3px; transition: rotate var(--ct-dur-kort) var(--ct-ease-uit);
}
.jr-toc__uitklap[open] .jr-toc__titel::after { rotate: 225deg; translate: 0 2px; }
.jr-toc__aantal { margin-left: auto; font-weight: 500; font-size: var(--ct-fs-klein); color: var(--ct-inkt-zacht); }
.jr-toc__lijst { list-style: none; margin: 0; padding: 4px 18px 16px; counter-reset: jr; }
.jr-toc__lijst li { counter-increment: jr; }
.jr-toc__lijst a {
	position: relative; display: block; padding: 8px 0 8px 18px; font-size: var(--ct-fs-klein); line-height: 1.4; color: var(--ct-navy); text-decoration: none;
}
.jr-toc__lijst a:hover { text-decoration: underline; text-underline-offset: 3px; }
.jr-toc__lijst a::before {
	content: ""; position: absolute; left: 2px; top: 0.85em; width: 4px; height: 13px; background: var(--ct-lijn-koel); transform: skewX(-7.5deg);
	transition: background-color var(--ct-dur-kort);
}
.jr-toc__lijst a.is-actief { font-weight: 650; }
.jr-toc__lijst a.is-actief::before { background: var(--ct-cyaan); }
@media (min-width: 1280px) {
	.jr-toc { margin: 0; align-self: start; position: sticky; top: calc(var(--ct-kop-h-klein) + 32px); max-height: calc(100vh - var(--ct-kop-h-klein) - 64px); overflow: auto; }
	.jr-toc__uitklap { background: none; }
	.jr-toc__titel { pointer-events: none; min-height: 0; padding: 0 0 12px; border-bottom: 1px solid var(--ct-lijn); }
	.jr-toc__titel::after { display: none; }
	.jr-toc__lijst { padding: 8px 0 0; }
}

/* Andere juridische pagina's */
.jr-meer__titel { font-size: var(--ct-fs-h4); font-weight: 600; color: var(--ct-navy); margin-bottom: 10px; }
.jr-meer__lijst { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ct-lijn-koel); }
.jr-meer__lijst li { border-bottom: 1px solid var(--ct-lijn-koel); }
.jr-meer__lijst a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 0; font-weight: 600; color: var(--ct-navy); text-decoration: none; }
.jr-meer__lijst a .ct-ic { width: 18px; height: 18px; flex: none; transition: transform var(--ct-dur-kort) var(--ct-ease-uit); }
.jr-meer__lijst a:hover .ct-ic { transform: translateX(4px); }
.jr-meer__lijst a[aria-current="page"] { color: var(--ct-inkt-zacht); }
.jr-meer__lijst a[aria-current="page"]::after { content: "u bent hier"; margin-left: auto; font-size: 13px; font-weight: 500; }
.jr-meer__lijst a[aria-current="page"] .ct-ic { display: none; }
.jr-meer__vraag { margin-top: 20px; font-size: var(--ct-fs-klein); color: var(--ct-inkt); }
.jr-meer__vraag a { color: var(--ct-link); font-weight: 600; }
