.sq-block--fixed-title {
	padding: 6.4rem 0;
}

/* Het origineel laat de kopruimte na een overlappende sectie alleen onder 1000px
   wegvallen; daarboven houdt het paneel zijn ruimte, anders botst het tegen het
   logo. */
@media only screen and (max-width: 999px) {
	[data-overlap='true'] + .sq-block--fixed-title {
		padding-top: 0;
	}
}

.sq-block--fixed-title .sq-fixed-title {
	display: flex;
	flex-direction: column;
	gap: 3.2rem;
}

.sq-block--fixed-title .sq-fixed-title__title {
	margin: 0 0 2.4rem;
	color: var(--chapter-section-title-color);
}

.sq-block--fixed-title .sq-fixed-title__columns {
	display: flex;
	flex-direction: column;
	gap: 6.4rem;
}

.sq-block--fixed-title .sq-fixed-title__column {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 3.2rem;
}

.sq-block--fixed-title .sq-fixed-title__column h4 {
	margin: 0;
	color: var(--chapter-section-title-color);
	font-size: 2rem;
	font-weight: 600;
	line-height: 2.5rem;
	letter-spacing: -0.03em;
}

.sq-block--fixed-title .sq-fixed-title__column .sq-image-title-text {
	display: block;
	grid-template-columns: none;
	gap: 0;
}

/* Origineel `.styles_hasBorder`: .8rem radius, en `.styles_hasMaxWidth` zet die
   vanaf 1000px op 1.6rem. Randkleur en padding klopten al. */
.sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text {
	border: .1rem solid #5d1d73;
	border-radius: .8rem;
	padding: 3.2rem;
	max-width: none;
}

/* De kop in de kaart komt uit rich text en krijgt dus geen `.sq-h5`-klasse; deze
   regels herhalen die trap uit `_sqills_global.css`. */
.sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text h5 {
	margin: 0 0 2.4rem;
	color: var(--chapter-section-title-color);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 125%;
	letter-spacing: -0.03em;
}

.sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text ul {
	margin: 0;
	padding-left: 2.4rem;
	display: grid;
	gap: .8rem;
}

.sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text p {
	margin: 0;
}

/* Onder 600px vult de figuur zijn kolom, daarboven gaat hij naar
   column-width(6) — net als het origineel. */
@media only screen and (min-width: 600px) {
	.sq-image-title-text__figure {
		max-width: calc((calc(100vw - var(--gutter) * 2) * .5) - var(--gutter) * .5);
	}

	.sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text h5 {
		font-size: 2rem;
	}
}

@media only screen and (min-width: 1000px) {
	/* Paneelopmaak hangt aan de scrollrichting en niet aan de schermbreedte, dus
	   alles hieronder is op body.scroll_horizontal gescoopt; op een verticale
	   pagina valt het blok terug op de stroomlayout hierboven. `:where()` houdt de
	   specificiteit op nul, zodat de bredere media-queries verderop blijven winnen. */

	:where(body.scroll_horizontal) .sq-block--fixed-title {
		height: var(--window-height);
		width: max-content;
		min-width: var(--window-width);
		padding: var(--header-height) 0;
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-container {
		width: max-content;
		max-width: none;
		min-width: var(--window-width);
		height: 100%;
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title {
		height: 100%;
		min-height: 100%;
		gap: 0;
	}

	/* `__heading` is de volle-breedte ouder en `__title` het shrink-wrapped doosje
	   dat daarbinnen plakt; een sticky element kan niet bewegen in een doos die
	   even breed is als het element zelf. */
	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__heading {
		flex-shrink: 0;
		position: relative;
		padding-top: 4.8rem;
		width: 100%;
		align-self: stretch;
		top: auto;
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__title {
		margin-bottom: 0;
		/* Zonder `max-content` groeit de kop tot zijn `max-width` en laat hij te
		   vroeg los. */
		width: max-content;
		max-width: calc(100vw - (var(--gutter) * 2));
		position: sticky;
		left: var(--gutter);
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__columns {
		flex: 1 0 auto;
		flex-direction: row;
		gap: calc(var(--gutter) * 2);
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__column h4 {
		font-size: 2.4rem;
		line-height: 3rem;
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text {
		border-radius: 1.6rem;
		max-width: 51.5rem;
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__column {
		width: calc((calc(100vw - var(--gutter) * 2) * .75) - var(--gutter) * .25);
		flex: 0 0 auto;
	}

	/* Origineel: column-width(2) tot 1792px, daarboven column-width(2.5) (zie de
	   1792-query onderaan). Onder 1000px bewust geen max-width, want daar vult de
	   illustratie haar kolom. Niet op .sq-block--fixed-title gescoped, want
	   image_title_text komt ook in two_column_section voor met dezelfde maat. */
	:where(body.scroll_horizontal) .sq-image-title-text__figure {
		max-width: calc((calc(100vw - var(--gutter) * 2) * .1666666667) - var(--gutter) * .8333333333);
	}
}

@media only screen and (min-width: 1400px) {
	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__column {
		width: calc((calc(100vw - var(--gutter) * 2) * .5) - var(--gutter) * .5);
	}
}

@media only screen and (min-width: 1792px) {
	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__title {
		max-width: calc((calc(100vw - (var(--gutter) * 2)) * .75) - (var(--gutter) * .25));
	}

	/* Vanaf hier stapt het origineel over op column-width(2.5). */
	:where(body.scroll_horizontal) .sq-image-title-text__figure {
		max-width: calc((calc(100vw - var(--gutter) * 2) * .2083333333) - var(--gutter) * .7916666667);
	}

	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__column--one .sq-rich-text h5 {
		font-size: max(2rem, min(-1.7333333333rem + 2.0833333333vw, 3.6rem));
	}
}

@media only screen and (min-width: 2560px) {
	:where(body.scroll_horizontal) .sq-block--fixed-title .sq-fixed-title__title {
		max-width: calc((calc(100vw - (var(--gutter) * 2)) * .5) - (var(--gutter) * .5));
	}
}
