/* ============================================================
 * Mindcollege Agenda — frontend
 *
 * Alles is gescoped onder .mc-scope om Salient/WPBakery-conflicten
 * te voorkomen. Geen eigen fonts; gebruikt de inherited stack.
 * ============================================================ */

.mc-scope,
.mc-scope * {
	box-sizing: border-box;
}

.mc-scope {
	color: #1f2937;
	font-size: 16px;
	line-height: 1.5;
}

.mc-scope a {
	color: inherit;
}

/* ------------------------------------------------------------------
 * Card-moment
 * ------------------------------------------------------------------ */
.mc-scope .mc-card {
	display: grid;
	grid-template-columns: 6px 150px 1fr auto;
	gap: 0;
	align-items: stretch;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
	margin-bottom: 14px;
	transition: box-shadow .15s ease;
	position: relative;
}
.mc-scope .mc-card::before {
	content: "";
	display: block;
	background: var( --mc-accent, #cccccc );
}
.mc-scope .mc-card:hover {
	box-shadow: 0 4px 10px rgba( 0, 0, 0, 0.08 );
}
.mc-scope .mc-card--highlighted {
	box-shadow: 0 0 0 3px var( --mc-accent, #cccccc ), 0 4px 10px rgba( 0, 0, 0, 0.08 );
}
.mc-scope .mc-card--verleden {
	opacity: 0.6;
	filter: grayscale( 0.4 );
}
.mc-scope .mc-card--geannuleerd {
	opacity: 0.5;
}
.mc-scope .mc-card--geannuleerd .mc-card__datum {
	text-decoration: line-through;
}

.mc-scope .mc-card__media {
	position: relative;
	display: block;
	width: 150px;
	height: 110px;
	overflow: hidden;
	text-decoration: none;
}
.mc-scope .mc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mc-scope .mc-card__media-overlay {
	position: absolute;
	inset: 0;
	mix-blend-mode: multiply;
	opacity: 0.65;
}
.mc-scope .mc-card__media-label {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, 0.35 );
}

.mc-scope .mc-card__body {
	padding: 14px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.mc-scope .mc-card__datum {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
}
.mc-scope .mc-card__training {
	color: #111827;
	text-decoration: underline;
	font-weight: 600;
	font-size: 15px;
	width: max-content;
	max-width: 100%;
}
.mc-scope .mc-card__training--plain {
	text-decoration: none;
}
.mc-scope .mc-card__meta {
	color: #6b7280;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.mc-scope .mc-card__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.mc-scope .mc-card__badge--vol            { background: #fde4e1; color: #8a1c10; }
.mc-scope .mc-card__badge--bijna-vol      { background: #fdf3d8; color: #7a5a00; }
.mc-scope .mc-card__badge--onder-minimum  { background: #e0ecfd; color: #1d4f91; }
.mc-scope .mc-card__badge--geannuleerd    { background: #ececec; color: #555; }

.mc-scope .mc-card__actions {
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	border-left: 1px solid transparent;
}
.mc-scope .mc-card__cta {
	color: #111827;
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}
.mc-scope .mc-card__cta--disabled {
	color: #9ca3af;
	text-decoration: none;
	cursor: default;
}
.mc-scope .mc-card__share {
	background: transparent;
	border: 0;
	padding: 4px;
	color: #6b7280;
	cursor: pointer;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mc-scope .mc-card__share:hover {
	background: #f3f4f6;
	color: #111827;
}
.mc-scope .mc-card__share[data-mc-copied="1"] {
	color: #15803d;
}

/* Mobiel: stack media boven, content eronder, actions volle breedte. */
@media ( max-width: 640px ) {
	.mc-scope .mc-card {
		grid-template-columns: 6px 1fr;
		grid-template-rows: auto auto auto;
	}
	.mc-scope .mc-card__media {
		grid-column: 2;
		width: 100%;
		height: 140px;
	}
	.mc-scope .mc-card__body {
		grid-column: 2;
	}
	.mc-scope .mc-card__actions {
		grid-column: 2;
		border-top: 1px solid #f0f1f3;
	}
}

/* ------------------------------------------------------------------
 * Empty state + placeholders
 * ------------------------------------------------------------------ */
.mc-scope .mc-empty-state {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	padding: 24px;
	text-align: center;
	color: #4b5563;
}
.mc-scope .mc-empty-state__cta {
	display: inline-block;
	margin-top: 6px;
	padding: 8px 16px;
	background: #111827;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}
.mc-scope .mc-view-placeholder {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	padding: 32px;
	text-align: center;
	color: #6b7280;
}

/* ------------------------------------------------------------------
 * Agenda wrapper
 * ------------------------------------------------------------------ */
.mc-scope .mc-agenda__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}
.mc-scope .mc-agenda__title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	color: #111827;
}

.mc-scope .mc-agenda__view-toggle {
	display: inline-flex;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	overflow: hidden;
}
.mc-scope .mc-agenda__view-btn {
	padding: 8px 14px;
	background: #fff;
	border: 0;
	border-right: 1px solid #d1d5db;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
}
.mc-scope .mc-agenda__view-btn:last-child {
	border-right: 0;
}
.mc-scope .mc-agenda__view-btn.is-active {
	background: #111827;
	color: #fff;
}

.mc-scope .mc-agenda__layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	align-items: start;
}

@media ( max-width: 900px ) {
	.mc-scope .mc-agenda__layout {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------
 * Filters
 * ------------------------------------------------------------------ */
.mc-scope .mc-agenda__filters {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}
.mc-scope .mc-filters__toggle {
	display: none;
	width: 100%;
	padding: 12px 16px;
	background: #f9fafb;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 600;
	color: #111827;
	text-align: left;
	cursor: pointer;
}
.mc-scope .mc-filters__body {
	padding: 16px;
}
.mc-scope .mc-filters__group {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
}
.mc-scope .mc-filters__group legend {
	font-weight: 700;
	color: #111827;
	margin-bottom: 8px;
	padding: 0;
	font-size: 16px;
}
.mc-scope .mc-filters__search {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
}
.mc-scope .mc-filters__search-label {
	display: block;
	font-weight: 700;
	color: #111827;
	margin-bottom: 8px;
}
.mc-scope .mc-filters__check {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
}
.mc-scope .mc-filters__check input {
	margin: 0;
}
.mc-scope .mc-filters__check--all {
	font-weight: 600;
	color: #111827;
	margin-bottom: 4px;
	padding-bottom: 6px;
	border-bottom: 1px solid #f0f1f3;
}
.mc-scope .mc-color-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba( 0, 0, 0, 0.15 );
	flex-shrink: 0;
}
.mc-scope .mc-filters__reset {
	padding: 6px 12px;
	background: transparent;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	color: #374151;
	cursor: pointer;
	font-size: 13px;
}
.mc-scope .mc-filters__reset:hover {
	background: #f3f4f6;
}

/* Mobiel: filters collapsible. */
@media ( max-width: 900px ) {
	.mc-scope .mc-filters__toggle {
		display: block;
	}
	.mc-scope .mc-agenda__filters[data-open="false"] .mc-filters__body {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * Lijst-view: maand-grouping
 * ------------------------------------------------------------------ */
.mc-scope .mc-agenda-lijst__month {
	margin-bottom: 32px;
}
.mc-scope .mc-agenda-lijst__month-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

/* ------------------------------------------------------------------
 * Inschrijfpagina-samenvatting
 * ------------------------------------------------------------------ */
.mc-scope .mc-samenvatting {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-left: 6px solid var( --mc-accent, #cccccc );
	border-radius: 8px;
	padding: 18px 22px;
	margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
}
.mc-scope .mc-samenvatting__title {
	margin: 0 0 12px;
	font-size: 18px;
	color: #111827;
}
.mc-scope .mc-samenvatting__training {
	margin-bottom: 14px;
}
.mc-scope .mc-samenvatting__label {
	display: block;
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 2px;
}
.mc-scope .mc-samenvatting__training-link {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	text-decoration: underline;
}
.mc-scope .mc-samenvatting__details {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
	gap: 14px 24px;
	margin: 0 0 14px;
}
.mc-scope .mc-samenvatting__details > div {
	margin: 0;
}
.mc-scope .mc-samenvatting__details dt {
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 2px;
}
.mc-scope .mc-samenvatting__details dd {
	margin: 0;
	color: #111827;
	font-weight: 600;
}
.mc-scope .mc-samenvatting__adres {
	display: inline-block;
	font-weight: 400;
	color: #4b5563;
	font-size: 14px;
	margin-top: 2px;
}
.mc-scope .mc-samenvatting__route {
	display: inline-block;
	margin-top: 4px;
	color: #1d4f91;
	text-decoration: underline;
	font-weight: 500;
	font-size: 14px;
}
.mc-scope .mc-samenvatting__alt {
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid #f0f1f3;
	font-size: 13px;
	color: #6b7280;
}
.mc-scope .mc-samenvatting__alt a {
	color: #1d4f91;
	text-decoration: underline;
}

/* WPForms: hide pre-filled fields. Targeted niet binnen .mc-scope omdat
 * WPForms zijn eigen container heeft die buiten onze wrapper kan staan. */
.wpforms-form .wpforms-field.mc-prefilled-hidden,
.wpforms-form .mc-prefilled-hidden {
	display: none !important;
}
