.sv-week-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 24px;
	margin: 0 auto;
	max-width: 1140px;
	width: 100%;
}

.sv-week-overview .sv-week-card {
	background: rgba(250, 248, 242, 0.84);
	border-radius: 14px;
	box-sizing: border-box;
	color: #263746;
	height: 100%;
	min-height: 390px;
	overflow: hidden;
	padding: 30px 32px;
	transition: opacity 80ms linear;
	wil-change: opacity, mask-image, -webkit-mask-image;
}

.sv-week-overview .sv-week-card.sv-week-card-is-hidden {
	pointer-events: none;
}

.sv-week-overview .sv-week-day {
	align-items: baseline;
	color: #00335f;
	display: flex;
	font-size: 30px;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.2;
	margin: 0 0 26px;
	text-transform: uppercase;
}

.sv-week-date {
	color: #566672;
	flex: 0 0 auto;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.sv-week-slots {
	display: grid;
	gap: 25px;
}

.sv-week-slot {
	margin: 0;
}

.sv-week-time {
	color: #00335f;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 9px;
}

.sv-week-events {
	display: grid;
	gap: 7px;
}

.sv-week-event {
	align-items: baseline;
	display: grid;
	grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
	column-gap: 16px;
	font-size: 17px;
	line-height: 1.45;
}

.sv-week-event--no-room .sv-week-name {
	grid-column: 2;
}

.sv-week-room {
	color: #445765;
	font-weight: 600;
	min-width: 0;
}

.sv-week-name {
	color: #263746;
}

.sv-week-name a,
.sv-week-name a:visited {
	color: #d86f18;
	font-weight: 600;
}

.sv-week-name a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sv-week-name a:hover,
.sv-week-name a:focus,
.sv-week-name a:active {
	color: #d86f18;
}

.sv-week-empty {
	color: #566672;
	font-size: 17px;
	margin: 0;
}

.sv-week-message {
	background: #fff4e5;
	border-left: 4px solid #cc7a00;
	padding: 12px 16px;
}

.sv-week-navigation {
	align-items: flex-end;
	display: flex;
	gap: 16px 28px;
	justify-content: space-between;
	margin-top: 8px;
}

.sv-week-range {
	color: #445765;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0;
}

.sv-week-range-short {
	display: none;
}

body.page-id-242 .sv-week-title-panel .spiegelvecht-paginatitel {
	border-bottom: 1px solid rgba(0, 51, 95, 0.18);
	box-shadow: 0 4px 8px rgba(0, 51, 95, 0.10);
}

/* Evenementpagina's: laat inhoud zacht verdwijnen voordat die onder de sticky header schuift. */
body.single-event .site-header.stuck::before,
body.single-event-recurring .site-header.stuck::before {
	background: linear-gradient(
		to bottom,
		#f9f9f9 0,
		#f9f9f9 calc(100% - 24px),
		rgba(249, 249, 249, 0) 100%
	);
	bottom: -24px;
	content: "";
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

.sv-week-navigation-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: flex-end;
}

.sv-week-navigation-link,
.sv-week-navigation-link:visited {
	border-bottom: 2px solid transparent;
	color: #d86f18;
	font-size: 17px;
	font-weight: 600;
	padding-bottom: 3px;
	text-decoration: none;
}

.sv-week-navigation-current {
	margin-left: 2ch;
	margin-right: 2ch;
}

.sv-week-navigation-current.is-active {
	color: #445765;
	cursor: default;
	border-bottom-color: #d86f18;
	text-decoration: none;
}

.sv-week-navigation-link:hover,
.sv-week-navigation-link:focus,
.sv-week-navigation-link:active {
	border-bottom-color: #d86f18;
	color: #d86f18;
	text-decoration: none;
}

.sv-week-navigation-current.is-active:hover,
.sv-week-navigation-current.is-active:focus {
	color: #445765;
}

@media (max-width: 980px) {
	.sv-week-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.page-id-242 .panel-row-style-for-242-0 {
		padding-top: 96px !important;
	}

	body.page-id-242 .sv-week-title-panel {
		margin-left: -28px;
		margin-right: -28px;
		max-width: none;
		top: 96px !important;
		width: auto;
	}

	body.page-id-242 .sv-week-title-panel .spiegelvecht-paginatitel {
		box-sizing: border-box;
		margin-left: 0;
		margin-right: 0;
		max-width: none;
		width: 100%;
	}

	body.page-id-242 .sv-week-overview {
		margin-left: -28px;
		margin-right: -28px;
		max-width: none;
		width: calc(100% + 56px);
	}

	.sv-week-navigation-links {
		display: grid;
		gap: 8px;
		grid-template-columns: auto auto auto;
		justify-content: space-between;
		white-space: nowrap;
		width: 100%;
	}

	.sv-week-navigation-current {
		margin-left: 0;
		margin-right: 0;
	}

	.sv-week-word {
		display: none;
	}

	.sv-week-range-full {
		display: none;
	}

	.sv-week-range-short {
		display: inline;
	}
}

@media (max-width: 680px) {
	.sv-week-overview {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.sv-week-overview .sv-week-card {
		min-height: 0;
		padding: 26px;
	}

	.sv-week-overview .sv-week-day {
		font-size: 27px;
	}

	.sv-week-date {
		font-size: 14px;
	}

	.sv-week-navigation {
		align-items: flex-start;
		flex-direction: column;
	}

	.sv-week-navigation-links {
		justify-content: space-between;
	}
}

@media (max-width: 400px) {
	.sv-week-overview .sv-week-day {
		font-size: 24px;
		gap: 8px;
	}

	.sv-week-event {
		grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
		column-gap: 12px;
		font-size: 16px;
	}
}

/* Compacte mobiele weergave wanneer het toestel liggend wordt gebruikt. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
	body.page-id-242 #masthead.site-header {
		height: 76px !important;
		padding-top: 4px !important;
	}

	body.page-id-242 .site-header > .corp-container,
	body.page-id-242 .site-header-inner {
		height: 72px !important;
		min-height: 72px !important;
	}

	body.page-id-242 .site-header-inner {
		padding-bottom: 4px !important;
		padding-top: 4px !important;
	}

	body.page-id-242 .site-branding,
	body.page-id-242 .custom-logo-link,
	body.page-id-242 .custom-logo {
		height: 60px !important;
		max-height: 60px !important;
	}

	body.page-id-242 .custom-logo-link,
	body.page-id-242 .custom-logo {
		width: 60px !important;
	}

	body.page-id-242 .panel-row-style-for-242-0 {
		padding-top: 80px !important;
	}

	body.page-id-242 .sv-week-title-panel {
		top: 80px !important;
	}

	body.page-id-242 .sv-week-title-panel .spiegelvecht-paginatitel {
		padding: 10px 20px !important;
	}

	body.page-id-242 .spiegelvecht-paginatitel h1 {
		font-size: 30px !important;
		line-height: 1.15 !important;
		margin: 0 !important;
	}

	.sv-week-navigation {
		align-items: center;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 16px;
		margin-top: 4px;
	}

	.sv-week-range {
		flex: 0 0 auto;
		font-size: 16px;
		white-space: nowrap;
	}

	.sv-week-range-full,
	.sv-week-word {
		display: none;
	}

	.sv-week-range-short {
		display: inline;
	}

	.sv-week-navigation-links {
		display: flex;
		flex: 0 0 auto;
		flex-wrap: nowrap;
		gap: 16px;
		justify-content: flex-end;
		white-space: nowrap;
		width: auto;
	}

	.sv-week-navigation-current {
		margin-left: 0;
		margin-right: 0;
	}

	.sv-week-navigation-link {
		font-size: 16px;
	}
}
