/* =========================================================================
   DF Evenementen – huisstijl Davidsfonds Zwijnaarde
   Kleuren: Globale kleuren uit Elementor
   Fonts:   Spectral SemiBold (titels) · Libre Franklin (tekst)
   ========================================================================= */

:root {
	--df-beige-bg: #E8E1D8;
	--df-primary: #F6F1E6;
	--df-secondary: #102C46;
	--df-text: #21303B;
	--df-accent: #A9792B;
	--df-beige-el: #F4F0EE;
	--df-white: #FFFFFF;
	--df-heading: "Spectral", Georgia, serif;
	--df-body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------------------------------------------------
   KAART (mockup-ontwerp)
   ---------------------------------------------------------------------- */

.df-ev-card {
	background: var(--df-primary);
	border: 1px solid var(--df-accent);
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.df-ev-card:hover {
	box-shadow: 0 10px 30px rgba(16, 44, 70, 0.12);
	transform: translateY(-3px);
}
.df-ev-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.df-ev-card__media {
	margin: 12px 12px 0;
	border: 1px solid var(--df-accent);
	border-radius: 7px;
	aspect-ratio: 8 / 5;
	background: var(--df-beige-el);
	background-image: repeating-linear-gradient(
		135deg,
		var(--df-beige-el) 0 34px,
		#ECE7E2 34px 68px
	);
	position: relative;
	overflow: hidden;
}
.df-ev-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.df-ev-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 0.95rem;
	color: var(--df-text);
	opacity: 0.65;
}
.is-volzet .df-ev-card__media img { filter: saturate(0.75); }

.df-ev-card__body {
	padding: 30px 34px 38px;
	display: flex;
	flex-direction: column;
	flex: 1;
	font-family: var(--df-body);
	color: var(--df-secondary);
}

.df-ev-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.df-ev-card__date {
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--df-accent);
}
.df-ev-badge {
	background: var(--df-beige-bg);
	color: var(--df-secondary);
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: 4px;
	white-space: nowrap;
}

.df-ev-card__title {
	font-family: var(--df-heading);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.2;
	color: var(--df-secondary);
	margin: 0 0 10px;
}

.df-ev-card__type {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.98rem;
	color: var(--df-secondary);
	opacity: 0.9;
	margin-bottom: 14px;
}
.df-ev-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--df-beige-bg);
	border: 1px solid rgba(33, 48, 59, 0.25);
	flex: 0 0 auto;
}

.df-ev-card__excerpt {
	font-size: 1.02rem;
	line-height: 1.65;
	margin: 0 0 22px;
}

.df-ev-card__more {
	margin-top: auto;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--df-secondary);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.df-ev-arrow { transition: transform 0.2s ease; }
.df-ev-card__link:hover .df-ev-arrow { transform: translateX(4px); }
.df-ev-card__link:hover .df-ev-card__more { text-decoration: underline; text-underline-offset: 4px; }

/* -------------------------------------------------------------------------
   CAROUSEL
   ---------------------------------------------------------------------- */

.df-ev-carousel {
	position: relative;
}
.df-ev-swiper { padding: 4px; }
.df-ev-swiper .swiper-wrapper { align-items: stretch; } /* v1.10.0: alle kaarten even hoog */
.df-ev-swiper .swiper-slide { height: auto; display: flex; }
.df-ev-swiper .swiper-slide > article { width: 100%; }

/* Bedieningsbalk onder de carousel: pijl — bolletjes — pijl, gecentreerd */
.df-ev-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-top: 26px;
}
.df-ev-controls .swiper-pagination {
	position: static;
	width: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}
.df-ev-controls .swiper-pagination-bullet {
	background: var(--df-primary); /* v1.10.0: zichtbaar op donkere achtergrond */
	opacity: 0.45;
	width: 9px;
	height: 9px;
	margin: 0 4px;
}
.df-ev-controls .swiper-pagination-bullet-active {
	background: var(--df-accent);
	opacity: 1;
}

.df-ev-nav {
	-webkit-appearance: none;
	appearance: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--df-secondary);
	background: var(--df-secondary);
	color: var(--df-white);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease;
	padding: 0;
	margin: 0;
	box-shadow: none;
}
.df-ev-nav:hover,
.df-ev-nav:focus {
	background: var(--df-accent);
	border-color: var(--df-accent);
	color: var(--df-white);
}
.df-ev-nav[disabled] { opacity: 0.35; cursor: default; }

.df-ev-empty {
	font-family: var(--df-body);
	color: var(--df-text);
	text-align: center;
	padding: 2rem 0;
}

/* -------------------------------------------------------------------------
   LIJSTWEERGAVE (pagina Activiteiten): kaarten onder elkaar, foto links
   ---------------------------------------------------------------------- */

.df-ev-list {
	display: grid;
	gap: 30px;
}
.df-ev-lcard {
	background: var(--df-primary);
	border: 1px solid var(--df-accent);
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.df-ev-lcard:hover {
	box-shadow: 0 10px 30px rgba(16, 44, 70, 0.12);
	transform: translateY(-3px);
}
.df-ev-lcard__link {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	color: inherit;
	text-decoration: none;
	align-items: stretch;
}
.df-ev-lcard__media {
	margin: 12px 0 12px 12px;
	border: 1px solid var(--df-accent);
	border-radius: 7px;
	background: var(--df-beige-el);
	background-image: repeating-linear-gradient(
		135deg,
		var(--df-beige-el) 0 34px,
		#ECE7E2 34px 68px
	);
	position: relative;
	overflow: hidden;
	min-height: 220px;
}
.df-ev-lcard__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.df-ev-lcard__body {
	padding: 28px 34px 32px;
	display: flex;
	flex-direction: column;
	font-family: var(--df-body);
	color: var(--df-secondary);
}
.df-ev-lcard__body .df-ev-card__excerpt { margin-bottom: 18px; }
.df-ev-lcard__body .df-ev-card__more { margin-top: auto; }
.is-volzet .df-ev-lcard__media img { filter: saturate(0.75); }

@media (max-width: 760px) {
	.df-ev-lcard__link { grid-template-columns: 1fr; }
	.df-ev-lcard__media {
		margin: 12px 12px 0;
		aspect-ratio: 8 / 5;
		min-height: 0;
	}
	.df-ev-lcard__body { padding: 24px 26px 28px; }
}

/* -------------------------------------------------------------------------
   EVENEMENTPAGINA
   ---------------------------------------------------------------------- */

.df-ev-single {
	font-family: var(--df-body);
	color: var(--df-text);
	max-width: 1140px;
	margin: 0 auto;
	padding: 40px 20px 90px;
}

/* Twee kolommen: links beschrijving, rechts infokaders (zoals nationale site) */
.df-ev-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 56px;
	align-items: start;
	margin-top: 40px;
}
.df-ev-aside {
	display: grid;
	gap: 28px;
	position: sticky;
	top: 30px;
}
@media (max-width: 920px) {
	.df-ev-layout { grid-template-columns: 1fr; gap: 36px; }
	.df-ev-aside { position: static; }
}

.df-ev-hero__media {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 8;
	background: var(--df-beige-el);
	background-image: repeating-linear-gradient(
		135deg,
		var(--df-beige-el) 0 40px,
		#ECE7E2 40px 80px
	);
}
.df-ev-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.df-ev-hero__badge {
	position: absolute;
	left: 22px;
	bottom: 22px;
	background: var(--df-accent);
	color: var(--df-white);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 16px;
	border-radius: 6px;
}

.df-ev-hero__intro { padding-top: 30px; }
.df-ev-hero__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.df-ev-hero__title {
	font-family: var(--df-heading);
	font-weight: 600;
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.15;
	color: var(--df-secondary);
	margin: 0 0 10px;
}
.df-ev-hero__subtitle {
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--df-text);
	opacity: 0.9;
	margin: 0 0 26px;
}

.df-ev-category {
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--df-accent);
}

/* Blauwe infobalk: kolommen gescheiden door witte lijnen, witte tekst */
.df-ev-facts {
	background: var(--df-secondary);
	color: var(--df-white);
	border-radius: 10px;
	padding: 26px 10px;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}
.df-ev-facts__item {
	flex: 1 1 0;
	min-width: 180px;
	padding: 2px 26px;
	border-left: 1px solid rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.df-ev-facts__item:first-child { border-left: none; }
.df-ev-main { display: grid; gap: 34px; align-content: start; }

.df-ev-facts__label {
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-accent);
}
.df-ev-facts__value {
	font-size: 1.02rem;
	line-height: 1.5;
	color: var(--df-white);
}
@media (max-width: 700px) {
	.df-ev-facts { flex-direction: column; gap: 16px; padding: 22px 24px; }
	.df-ev-facts__item {
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.4);
		padding: 16px 0 0;
	}
	.df-ev-facts__item:first-child { border-top: none; padding-top: 2px; }
}

.df-ev-content {
	margin-top: 0;
	font-size: 1.1rem;
	line-height: 1.75;
}
.df-ev-content > :first-child { margin-top: 0; }
.df-ev-content h2,
.df-ev-content h3 {
	font-family: var(--df-heading);
	font-weight: 600;
	color: var(--df-secondary);
	line-height: 1.25;
	margin: 1.8em 0 0.6em;
}
.df-ev-content a { color: var(--df-accent); }
.df-ev-content a:hover { color: var(--df-secondary); }

.df-ev-signup,
.df-ev-prices {
	margin: 0;
	background: var(--df-white);
	border: 1px solid rgba(169, 121, 43, 0.18);
	border-radius: 10px;
	padding: 30px 32px;
}
.df-ev-signup h2,
.df-ev-prices h2 {
	font-family: var(--df-heading);
	font-weight: 600;
	font-size: 1.6rem;
	color: var(--df-secondary);
	margin: 0 0 14px;
}
.df-ev-signup p { margin: 0 0 16px; line-height: 1.6; }
.df-ev-signup__full {
	background: var(--df-beige-bg);
	color: var(--df-secondary);
	border-radius: 6px;
	padding: 14px 18px;
	font-size: 1.05rem;
}
.df-ev-signup__contact { font-size: 0.98rem; opacity: 0.9; }

.df-ev-single a.df-ev-button,
.df-ev-single a.df-ev-button:visited {
	display: inline-block;
	background: var(--df-accent);
	color: #FFFFFF !important;
	font-weight: 600;
	font-size: 1.05rem;
	padding: 14px 30px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease;
	margin-bottom: 8px;
	text-align: center;
}
.df-ev-single a.df-ev-button:hover,
.df-ev-single a.df-ev-button:focus {
	background: var(--df-secondary);
	color: #FFFFFF !important;
}

.df-ev-prices table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.02rem;
}
.df-ev-prices th,
.df-ev-prices td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid rgba(33, 48, 59, 0.12);
}
.df-ev-prices td:last-child,
.df-ev-prices th:last-child {
	white-space: nowrap;
	text-align: right;
}
.df-ev-prices th {
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--df-accent);
}
.df-ev-prices tr:last-child td { border-bottom: none; }

.df-ev-labels {
	margin-top: 42px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 0.95rem;
}
.df-ev-labels__title { font-weight: 700; color: var(--df-secondary); }
.df-ev-label {
	background: var(--df-beige-el);
	border: 1px solid rgba(33, 48, 59, 0.12);
	border-radius: 999px;
	padding: 6px 14px;
}

.df-ev-footer {
	margin-top: 54px;
	padding-top: 26px;
	border-top: 1px solid rgba(33, 48, 59, 0.15);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.df-ev-back {
	font-weight: 700;
	color: var(--df-secondary);
	text-decoration: none;
}
.df-ev-back:hover { color: var(--df-accent); }
.df-ev-share {
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 0.95rem;
}
.df-ev-share a {
	color: var(--df-accent);
	font-weight: 600;
	text-decoration: none;
}
.df-ev-share a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	.df-ev-card, .df-ev-arrow { transition: none; }
	.df-ev-card:hover { transform: none; }
}


/* -------------------------------------------------------------------------
   STATUS "AFGELOPEN" (v1.8.0)
   ---------------------------------------------------------------------- */

.df-ev-status {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--df-secondary);
	color: var(--df-white);
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: 4px;
}

.df-ev-hero__status {
	position: absolute;
	top: 22px;
	left: 22px;
	background: var(--df-secondary);
	color: var(--df-white);
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 16px;
	border-radius: 6px;
}

/* -------------------------------------------------------------------------
   LEDENGEDEELTE OP DE EVENEMENTPAGINA (v1.8.0)
   ---------------------------------------------------------------------- */

.df-ev-leden {
	margin-top: 40px;
	padding: 30px 34px;
	background: var(--df-beige-el);
	border: 1px solid var(--df-accent);
	border-radius: 7px;
}
/* Variant op volledige paginabreedte, onder de twee kolommen (v1.8.1) */
.df-ev-leden--full {
	margin-top: 56px;
}
/* Masonry-fotoraster binnen het ledengedeelte: <div class="df-masonry"> met <img>'s */
.df-ev-leden .df-masonry {
	column-count: 3;
	column-gap: 14px;
}
.df-ev-leden .df-masonry img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 14px;
	break-inside: avoid;
}
@media ( max-width: 1024px ) {
	.df-ev-leden .df-masonry { column-count: 2; }
}
@media ( max-width: 600px ) {
	.df-ev-leden .df-masonry { column-count: 1; }
}
.df-ev-leden__label {
	display: inline-block;
	font-family: var(--df-body);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--df-accent);
	margin-bottom: 12px;
}
.df-ev-leden__content {
	font-family: var(--df-body);
	color: var(--df-text);
}
.df-ev-leden__content img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--df-accent);
	border-radius: 6px;
}
.df-ev-leden__content a {
	color: var(--df-accent);
}
.df-ev-leden__content a:hover {
	color: var(--df-secondary);
}
.df-ev-leden__locked {
	font-family: var(--df-body);
	color: var(--df-text);
	margin: 0 0 6px;
}
/* Het inlogformulier van DF Ledengedeelte compact tonen binnen het blok */
.df-ev-leden .df-leden-login {
	margin: 14px 0 0;
	max-width: none;
	padding: 0;
	border: 0;
	background: transparent;
}

/* --- v1.9.0: klikbare links in de infobalk en het inschrijfblok --- */
.df-ev-facts__value a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: #C9B48A;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.df-ev-facts__value a:hover { text-decoration-color: #A9792B; }
.df-ev-signup__contact a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.df-ev-signup__contact a:hover { color: #A9792B; }

/* --- v1.9.1: status Geannuleerd (rode badge op de cover) --- */
.df-ev-status.is-geannuleerd,
.df-ev-hero__status.is-geannuleerd {
	background: #B0402F;
	color: #fff;
}
.df-ev-card.is-geannuleerd .df-ev-card__media img,
.df-ev-lcard.is-geannuleerd .df-ev-lcard__media img {
	filter: grayscale(0.35);
	opacity: 0.85;
}
.df-ev-card.is-geannuleerd .df-ev-card__title,
.df-ev-lcard.is-geannuleerd .df-ev-card__title {
	text-decoration: line-through;
	text-decoration-thickness: 2px;
	text-decoration-color: #B0402F;
}
