:root {
	--gouwe-purple: #6e2b62;
	--gouwe-text: #2b2230;
	--gouwe-muted: #6a5d6c;
	--gouwe-line: #e4dce3;
	--gouwe-surface: #ffffff;
	--gouwe-tint: #f6f1f5;
}

/* Slider */
.gouwe-slider {
	overflow: hidden;
	padding: 12px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gouwe-slider-track {
	display: flex;
	width: max-content;
	animation: gouwe-slide var(--gouwe-slider-duration, 60s) linear infinite;
}

.gouwe-slider:hover .gouwe-slider-track,
.gouwe-slider:focus-within .gouwe-slider-track {
	animation-play-state: paused;
}

ul.gouwe-slider-set {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 40px;
	margin: 0;
	padding: 0 20px;
	list-style: none;
}

.gouwe-slider-item {
	flex: 0 0 auto;
	list-style: none;
	padding: 0;
}

.gouwe-slider-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 96px;
	border-radius: 4px;
	transition: transform 0.2s ease;
}

a.gouwe-slider-link:hover {
	transform: scale(1.06);
}

a.gouwe-slider-link:focus-visible,
a.gouwe-card:focus-visible,
a.gouwe-button:focus-visible {
	outline: 3px solid var(--gouwe-purple);
	outline-offset: 2px;
}

.gouwe-slider-link img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@keyframes gouwe-slide {
	to {
		transform: translateX(-50%);
	}
}

/* Zonder beweging: de logo's staan stil en de tweede reeks verdwijnt. */
@media (prefers-reduced-motion: reduce) {
	.gouwe-slider {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.gouwe-slider-track {
		width: auto;
		animation: none;
	}

	ul.gouwe-slider-set {
		flex-wrap: wrap;
		flex-shrink: 1;
		justify-content: center;
	}

	ul.gouwe-slider-set[aria-hidden="true"] {
		display: none;
	}
}

@media (max-width: 600px) {
	ul.gouwe-slider-set {
		gap: 24px;
		padding: 0 12px;
	}

	.gouwe-slider-link {
		width: 130px;
		height: 72px;
	}
}

/* Overzicht */
ul.gouwe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.gouwe-grid > li {
	display: flex;
	min-width: 0;
	padding: 0;
	list-style: none;
}

.gouwe-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	color: var(--gouwe-text);
	background: var(--gouwe-surface);
	border: 1px solid var(--gouwe-line);
	border-radius: 6px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.gouwe-card:hover {
	border-color: var(--gouwe-purple);
	box-shadow: 0 4px 14px rgba(110, 43, 98, 0.14);
}

.gouwe-card-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	margin-bottom: 10px;
}

.gouwe-card-logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.gouwe-card-title {
	font-weight: 700;
	line-height: 1.3;
}

.gouwe-card-sector {
	color: var(--gouwe-muted);
	font-size: 14px;
	line-height: 1.4;
}

.gouwe-card-action {
	margin-top: auto;
	padding-top: 10px;
	color: var(--gouwe-purple);
	font-size: 14px;
	font-weight: 600;
}

.gouwe-sponsor-name {
	font-weight: 700;
	text-align: center;
}

/* Verhaalpagina */

/* Divi tekent in .container een scheidingslijn voor een zijbalk; deze pagina heeft geen zijbalk. */
#main-content.gouwe-story-main .container::before {
	display: none;
}

.gouwe-story {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 0 64px;
	color: var(--gouwe-text);
}

a.gouwe-story-back {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--gouwe-purple);
	font-weight: 600;
}

a.gouwe-story-back::before {
	content: "\2190\00a0";
}

.gouwe-story-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--gouwe-line);
}

.gouwe-story-logo {
	flex: 0 0 200px;
	max-width: 100%;
}

.gouwe-story-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.gouwe-story-heading {
	flex: 1 1 240px;
	min-width: 0;
}

.gouwe-story-sector {
	margin: 0 0 4px;
	padding: 0;
	color: var(--gouwe-muted);
}

.gouwe-story-title {
	margin: 0;
	padding: 0;
	color: var(--gouwe-purple);
	font-size: clamp(28px, 5vw, 40px);
	line-height: 1.15;
}

.gouwe-story-content p {
	padding-bottom: 1em;
	font-size: 17px;
	line-height: 1.65;
}

.gouwe-story-actions {
	margin: 24px 0 36px;
}

a.gouwe-button {
	display: inline-block;
	padding: 12px 22px;
	color: #ffffff;
	font-weight: 600;
	background: var(--gouwe-purple);
	border-radius: 4px;
}

a.gouwe-button:hover {
	background: #57214e;
}

.gouwe-story-cta {
	padding: 22px;
	background: var(--gouwe-tint);
	border-radius: 6px;
}

.gouwe-story-cta h2 {
	margin: 0 0 6px;
	padding: 0;
	font-size: 20px;
}

.gouwe-story-cta p {
	margin: 0;
	padding: 0;
}

.gouwe-story-cta a {
	color: var(--gouwe-purple);
	font-weight: 600;
	text-decoration: underline;
}
