/* Explore Leiden Themawandelingen: voorkant.
 * Lettertypes worden van het thema overgenomen (inherit).
 * De accentkleur komt automatisch uit het Salient-thema, of uit de instellingen van de plugin.
 */
.elt,
.elt-modal {
	--elt-accent: var(--nectar-accent-color, #1f3a5f);
	--elt-accent-ink: #ffffff;
	--elt-ink: #1f2430;
	--elt-muted: #6c7280;
	--elt-line: #e9e4dc;
	--elt-soft: #f7f4ef;
	--elt-card: #ffffff;
	--elt-ok: #2f7d4f;
	--elt-ok-soft: #e8f4ec;
	--elt-hot: #c2410c;
	--elt-radius: 16px;
	--elt-shadow: 0 1px 2px rgba(20, 24, 33, .04), 0 8px 24px rgba(20, 24, 33, .06);
	--elt-tint: color-mix(in srgb, var(--elt-accent) 9%, #ffffff);
}

.elt.elt--wide { width: min(var(--elt-width, 1200px), calc(100vw - 32px)); max-width: none; position: relative; left: 50%; transform: translateX(-50%); }
.elt { container-type: inline-size; container-name: elt; font-family: inherit; color: var(--elt-ink); line-height: 1.55; margin: 0 0 2em; }
.elt *, .elt *::before, .elt *::after,
.elt-modal *, .elt-modal *::before, .elt-modal *::after { box-sizing: border-box; }
.elt svg, .elt-modal svg { flex: none; }

/* Maandfilter */
.elt-filter {
	display: flex; gap: 8px; flex-wrap: wrap;
	margin: 0 0 28px; padding: 0;
}
.elt .elt-chip {
	appearance: none; cursor: pointer;
	font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; margin: 0;
	border-radius: 999px; border: 1.5px solid var(--elt-line);
	background: var(--elt-card); color: var(--elt-ink);
	transition: border-color .15s, background .15s, color .15s, transform .15s;
	line-height: 1.2; box-shadow: none;
}
.elt .elt-chip:hover { border-color: var(--elt-accent); }
.elt .elt-chip.is-active { background: var(--elt-accent); border-color: var(--elt-accent); color: var(--elt-accent-ink); }
.elt-chip__count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	display: inline-grid; place-items: center; font-size: 12px;
	background: var(--elt-soft); color: var(--elt-muted);
}
.elt-chip.is-active .elt-chip__count { background: rgba(255, 255, 255, .22); color: inherit; }

/* Maandkop */
.elt-month { margin: 0 0 36px; }
.elt-month[hidden] { display: none; }
.elt-month__title {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 16px; font-size: 13px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--elt-muted);
}
.elt-month__title::after { content: ""; flex: 1; height: 1px; background: var(--elt-line); }

/* Kaart */
.elt-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 190px 320px;
	grid-template-areas: "date body aside media";
	background: var(--elt-card);
	border: 1px solid var(--elt-line);
	border-radius: var(--elt-radius);
	box-shadow: var(--elt-shadow);
	overflow: hidden;
	margin: 0 0 18px;
	transition: transform .2s, box-shadow .2s;
}
.elt-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 24, 33, .05), 0 14px 34px rgba(20, 24, 33, .09); }
.elt-card--noimg { grid-template-columns: 96px minmax(0, 1fr) 200px; grid-template-areas: "date body aside"; }
.elt-card.is-next { border-color: color-mix(in srgb, var(--elt-accent) 40%, var(--elt-line)); }

.elt-card__date {
	grid-area: date;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 18px 8px; text-align: center;
	background: var(--elt-accent); color: var(--elt-accent-ink);
}
.elt-card__wd { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.elt-card__day { font-size: 40px; font-weight: 700; line-height: 1; margin: 4px 0 2px; }
.elt-card__mon { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

.elt-card__media { grid-area: media; position: relative; min-height: 240px; background: var(--elt-soft); overflow: hidden; }
.elt-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; border-radius: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.elt-card:hover .elt-card__media img { transform: scale(1.04); }

.elt-card__body { grid-area: body; padding: 22px 26px; min-width: 0; }
.elt-card__eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--elt-muted); font-weight: 600; margin-bottom: 4px; }
.elt-pill {
	display: inline-block; padding: 3px 10px; border-radius: 999px;
	background: var(--elt-tint); color: var(--elt-accent);
	font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.elt .elt-card__title { font-size: 22px; line-height: 1.25; margin: 2px 0 10px; padding: 0; color: var(--elt-ink); }
.elt-card__meta { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--elt-muted); }
.elt-card__meta li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.elt-card__meta li::before { display: none; }
.elt-card__meta svg { color: var(--elt-accent); }
.elt .elt-card__excerpt { margin: 0 0 12px; font-size: 15px; color: #3d4350; padding: 0; }

.elt-card__more { margin: 0 0 14px; font-size: 15px; }
.elt-card__more summary { cursor: pointer; color: var(--elt-accent); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.elt-card__more summary::-webkit-details-marker { display: none; }
.elt-card__more summary::after { content: "+"; font-weight: 700; }
.elt-card__more[open] summary::after { content: "\2212"; }
.elt-card__content { padding-top: 10px; color: #3d4350; }
.elt-card__content p:last-child { margin-bottom: 0; }

/* Plekken */
.elt-spots { background: var(--elt-soft); border-radius: 12px; padding: 12px 14px; }
.elt-spots__row { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--elt-ink); }
.elt-spots__row svg { color: var(--elt-accent); }
.elt-spots__of { color: var(--elt-muted); }
.elt-hot { color: var(--elt-hot); }
.elt-spots__bar { position: relative; height: 8px; border-radius: 999px; background: #e6e0d6; margin: 10px 0 0; overflow: visible; }
.elt-spots__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--elt-accent); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.elt-spots__min { position: absolute; top: -4px; width: 2px; height: 16px; margin-left: -1px; background: var(--elt-ink); border-radius: 2px; opacity: .55; }
.elt-spots__status { margin-top: 10px; font-size: 14px; color: var(--elt-muted); }
.elt-go { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--elt-ok-soft); color: var(--elt-ok); font-weight: 700; }
.elt-min strong { color: var(--elt-ink); }

/* Prijs en knop */
.elt-card__aside {
	grid-area: aside;
	display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px;
	padding: 22px; border-left: 1px solid var(--elt-line); text-align: center;
}
.elt-price { display: flex; flex-direction: column; }
.elt-price__amount { white-space: nowrap; font-size: 28px; font-weight: 700; color: var(--elt-ink); line-height: 1.1; }
.elt-price__unit { font-size: 13px; color: var(--elt-muted); text-transform: uppercase; letter-spacing: .08em; }

.elt .elt-btn,
.elt-modal .elt-btn {
	appearance: none; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em; text-transform: none;
	min-height: 50px; padding: 12px 22px; margin: 0;
	border: 0; border-radius: 999px;
	background: var(--elt-accent); color: var(--elt-accent-ink);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--elt-accent) 28%, transparent);
	transition: transform .15s, box-shadow .15s, filter .15s, opacity .15s;
	text-decoration: none; line-height: 1.2;
}
.elt .elt-btn:hover, .elt-modal .elt-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.elt .elt-btn:focus-visible, .elt-modal .elt-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--elt-accent) 40%, transparent); outline-offset: 2px; }
.elt .elt-btn[disabled], .elt-modal .elt-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.elt-card.is-full .elt-btn { background: #d9d4cc; color: #555; }
.elt-modal .elt-btn--block { width: 100%; }
.elt-modal .elt-btn--ghost { background: transparent; color: var(--elt-ink); border: 1.5px solid var(--elt-line); box-shadow: none; }

.elt-empty { padding: 32px; text-align: center; background: var(--elt-soft); border-radius: var(--elt-radius); color: var(--elt-muted); }
.elt-empty p { margin: 0; }

/* Responsive */
@container elt (max-width: 980px) {
	.elt-card { grid-template-columns: 92px minmax(0, 1fr) 260px; grid-template-areas: "date body media" "date aside media"; }
	.elt-card--noimg { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "date body" "date aside"; }
	.elt-card__aside { flex-direction: row; justify-content: space-between; align-items: center; border-left: 0; border-top: 1px solid var(--elt-line); padding: 16px 22px; text-align: left; }
	.elt-card__aside .elt-btn { min-width: 170px; }
}
@container elt (max-width: 600px) {
	.elt-card,
	.elt-card--noimg { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "media media" "date body" "aside aside"; }
	.elt-card--noimg { grid-template-areas: "date body" "aside aside"; }
	.elt-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.elt-card__date { padding: 14px 4px; }
	.elt-card__day { font-size: 32px; }
	.elt-card__body { padding: 18px 18px 18px 16px; }
	.elt .elt-card__title { font-size: 19px; }
	.elt-card__aside { padding: 14px 16px; gap: 12px; }
	.elt-price__amount { font-size: 22px; }
	.elt-card__aside .elt-btn { min-width: 0; flex: 1; max-width: 220px; }
	.elt-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -16px; scrollbar-width: none; }
	.elt-filter::-webkit-scrollbar { display: none; }
	.elt .elt-chip { white-space: nowrap; flex: none; padding: 9px 15px; font-size: 14px; }
}

/* Modal */
.elt-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: inherit; color: var(--elt-ink); line-height: 1.5; }
.elt-modal[hidden] { display: none; }
.elt-modal__backdrop { position: absolute; inset: 0; background: rgba(18, 22, 30, .55); backdrop-filter: blur(3px); animation: elt-fade .2s ease; }
.elt-modal__dialog {
	position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto;
	background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
	animation: elt-pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
.elt-modal__close {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
	display: grid; place-items: center; padding: 0;
	background: rgba(255, 255, 255, .18); color: #fff; transition: background .15s;
}
.elt-modal__close:hover { background: rgba(255, 255, 255, .3); }
.elt-modal__head { padding: 30px 32px 24px; background: var(--elt-accent); color: var(--elt-accent-ink); border-radius: 22px 22px 0 0; }
.elt-modal__eyebrow { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .8; margin-bottom: 4px; }
.elt-modal .elt-modal__title { font-size: 24px; line-height: 1.25; margin: 0 40px 8px 0; padding: 0; color: inherit; }
.elt-modal__when { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; opacity: .92; }
.elt-modal__when span:empty { display: none; }

.elt-form { padding: 26px 32px 28px; }
.elt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.elt-form__field { margin: 0 0 16px; }
.elt-modal label, .elt-form__label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--elt-ink); }
.elt-modal input[type="text"],
.elt-modal input[type="email"],
.elt-modal input[type="tel"] {
	width: 100%; height: 50px; margin: 0; padding: 0 16px;
	font: inherit; font-size: 16px; color: var(--elt-ink);
	background: #fff; border: 1.5px solid var(--elt-line); border-radius: 12px; box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.elt-modal input:focus { outline: none; border-color: var(--elt-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--elt-accent) 14%, transparent); }
.elt-modal input.is-invalid { border-color: #d14343; box-shadow: 0 0 0 4px rgba(209, 67, 67, .1); }
.elt-modal input::placeholder { color: #a7abb3; }

.elt-form__persons { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--elt-line); border-radius: 14px; margin: 0 0 14px; }
.elt-form__persons .elt-form__label { margin: 0; }
.elt-form__help { display: block; font-size: 13px; color: var(--elt-muted); }
.elt-stepper { display: flex; align-items: center; gap: 6px; }
.elt-stepper button {
	width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--elt-line); cursor: pointer;
	background: #fff; color: var(--elt-ink); font: inherit; font-size: 22px; font-weight: 600; line-height: 1; padding: 0;
	display: grid; place-items: center; transition: border-color .15s, background .15s;
}
.elt-stepper button:hover:not([disabled]) { border-color: var(--elt-accent); color: var(--elt-accent); }
.elt-stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.elt-modal .elt-stepper input {
	width: 52px; height: 42px; text-align: center; font: inherit; font-size: 20px; font-weight: 700;
	border: 0; background: transparent; padding: 0; margin: 0; color: var(--elt-ink); box-shadow: none;
	-moz-appearance: textfield;
}
.elt-stepper input::-webkit-outer-spin-button,
.elt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.elt-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--elt-tint); margin: 0 0 16px; font-size: 15px; }
.elt-total strong { font-size: 22px; color: var(--elt-ink); }

.elt-modal .elt-form__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; margin: 0 0 16px; cursor: pointer; }
.elt-form__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--elt-accent); flex: none; }
.elt-form__check a { color: var(--elt-accent); text-decoration: underline; }

.elt-form__error { padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #a12c2c; font-size: 14px; margin: 0 0 14px; }
.elt-form__note { text-align: center; font-size: 13px; color: var(--elt-muted); margin: 12px 0 0; }
.elt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.elt-btn.is-loading { pointer-events: none; }
.elt-btn.is-loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: elt-spin .7s linear infinite; }

/* Succes */
.elt-success { padding: 44px 32px 34px; text-align: center; }
.elt-success__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--elt-ok-soft); color: var(--elt-ok); animation: elt-pop .4s cubic-bezier(.2, .9, .3, 1.4); }
.elt-success__icon svg { width: 38px; height: 38px; }
.elt-success .elt-modal__title { margin: 0 0 10px; color: var(--elt-ink); }
.elt-success__text { color: #3d4350; margin: 0 auto 18px; max-width: 400px; }
.elt-success__summary { background: var(--elt-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 22px; font-size: 15px; line-height: 1.6; }

@media (max-width: 560px) {
	.elt-modal { padding: 0; align-items: flex-end; }
	.elt-modal__dialog { max-height: 94vh; border-radius: 22px 22px 0 0; animation: elt-up .3s cubic-bezier(.2, .9, .3, 1); }
	.elt-modal__head { padding: 24px 22px 20px; }
	.elt-form { padding: 22px 22px 26px; }
	.elt-form__row { grid-template-columns: 1fr; gap: 0; }
	.elt-modal .elt-modal__title { font-size: 21px; }
}

@keyframes elt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes elt-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes elt-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes elt-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	.elt *, .elt-modal * { animation: none !important; transition: none !important; }
}

body.elt-modal-open { overflow: hidden; }
.elt-modal__dialog.is-success .elt-modal__close { background: var(--elt-soft); color: var(--elt-ink); }
