/* =========================================================
   Hello Elementor Child — CPT archive (Activiteiten / Eten)

   - Typography inherits from active Elementor kit (CSS vars).
   - No box-shadows, no global overrides.
   - Filter is a 3-row aligned layout (label / control / output).
   ========================================================= */

.hec-archive {
	--hec-surface: #ffffff;
	--hec-filter-bg: #F4F4F4;
	--hec-placeholder: #F5F1E8;
	--hec-ink: #333333;
	--hec-ink-strong: #000000;
	--hec-ink-muted: #7A7A7A;
	--hec-line: #E5E5E5;
	--hec-line-strong: #CFCFCF;
	--hec-accent: var(--e-global-color-secondary, #C7AF00);
	--hec-radius: 4px;
	--hec-gap: 24px;
	--hec-ctrl-h: 36px;

	/* Use Elementor kit globals so the archive follows site typography. */
	--hec-font-body: var(--e-global-typography-text-font-family, "Roboto", -apple-system, BlinkMacSystemFont, sans-serif);
	--hec-font-body-weight: var(--e-global-typography-text-font-weight, 400);
	--hec-font-head: var(--e-global-typography-secondary-font-family, "Roboto Slab", Georgia, serif);
	--hec-font-head-weight: var(--e-global-typography-secondary-font-weight, 400);

	background: #ffffff;
	color: var(--hec-ink);
	padding: clamp(28px, 4vw, 56px) 0 72px;
	font-family: var(--hec-font-body);
	font-weight: var(--hec-font-body-weight);
	font-size: 17px;
	line-height: 1.6;
}

.hec-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 24px);
}

/* ---------- Header ---------- */
.hec-archive__header {
	margin-bottom: clamp(24px, 3vw, 36px);
}

.hec-archive__title {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	font-size: clamp(2rem, 4vw, 2.625rem);
	line-height: 1.15;
	margin: 0 0 .5rem;
	color: var(--hec-ink-strong);
}

.hec-archive__lead {
	font-size: 1.0625rem;
	color: var(--hec-ink-muted);
	max-width: 60ch;
	margin: 0;
}

/* ---------- Filter ----------
   The bar holds the full-width Categorie chip row plus a single reset (X)
   button. (An earlier multi-control layout — number/range fields aligned on
   a shared 3-row grid — was removed; only Categorie filtering remains.)
   ----------------------------- */
.hec-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	padding: 14px 18px;
	background: var(--hec-filter-bg);
	border: 1px solid var(--hec-line);
	border-radius: var(--hec-radius);
	margin-bottom: 18px;
}

/* ---------- Meta + grid ---------- */
.hec-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 6px 2px 16px;
	color: var(--hec-ink-muted);
	font-size: .9375rem;
}

.hec-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--hec-gap);
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.hec-grid__empty {
	text-align: center;
	padding: 56px 20px;
	color: var(--hec-ink-muted);
	background: var(--hec-surface);
	border: 1px dashed var(--hec-line-strong);
	border-radius: var(--hec-radius);
	margin-top: 6px;
}

/* ---------- Card ---------- */
.hec-card {
	background: var(--hec-surface);
	border: 1px solid var(--hec-line);
	border-radius: var(--hec-radius);
	overflow: hidden;
	transition: border-color .2s ease;
	display: flex;
}

.hec-card.is-hidden { display: none; }
.hec-card:hover { border-color: var(--hec-ink-strong); }

.hec-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

.hec-card__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--hec-placeholder);
}

.hec-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.hec-card__img--placeholder {
	background: repeating-linear-gradient(45deg, var(--hec-placeholder), var(--hec-placeholder) 12px, #ECE5D5 12px, #ECE5D5 24px);
}

.hec-card:hover .hec-card__img { transform: scale(1.03); }

.hec-card__body {
	padding: 20px 22px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.hec-card__title {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	font-size: 1.375rem;
	line-height: 1.25;
	margin: 0;
	color: var(--hec-ink-strong);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

/* Title text is forced to a single line + ellipsis so all cards in a row
   share the same body height regardless of title length. */
.hec-card__title-text {
	min-width: 0;
	flex: 1 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* "Bekijk" affordance — subtle arrow that wakes up on hover. */
.hec-card__arrow {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hec-ink-muted);
	transition: color .15s ease, transform .25s ease;
	margin-top: 2px;
}

.hec-card__arrow svg {
	width: 20px;
	height: 20px;
	display: block;
}

.hec-card:hover .hec-card__arrow {
	color: var(--hec-accent);
	transform: translateX(4px);
}

.hec-card__intro {
	margin: 0;
	color: var(--hec-ink-muted);
	font-size: 1rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Meta: duur + personen on the left, price pushed right.
   All children — icons, values, V.a. label, € value — share one centered
   horizontal line via cross-axis centering at both the row and item level. */
.hec-card__meta {
	margin: auto 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid var(--hec-line);
}

.hec-card__meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.hec-card__meta-item dt {
	font-size: .6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hec-ink-muted);
	display: flex;
	align-items: center;
	min-height: 18px;
	line-height: 1;
	margin: 0;
}

.hec-card__meta-item dt .hec-icon {
	width: 18px;
	height: 18px;
	display: block;
	color: currentColor;
}

.hec-card__meta-item dd {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--hec-ink-strong);
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

/* Inline modifier — label/icon and value share a single horizontal row,
   centered on the cross-axis so the dd text middle and icon middle line up. */
.hec-card__meta-item--inline {
	flex-direction: row;
	align-items: center;
	gap: 6px;
	line-height: 1.25;
}

.hec-card__meta-item--inline dt {
	min-height: 0;
	color: var(--hec-ink-muted);
	line-height: 1;
}

.hec-card__meta-item--inline dt .hec-icon { color: currentColor; }

/* Price pinned far right. Label + value still inline. */
.hec-card__meta-item--price {
	margin-left: auto;
}

.hec-card__meta-item--price dt {
	color: var(--hec-ink-muted);
}

.hec-card__meta-item--price dd {
	color: var(--hec-accent);
	font-weight: 600;
}

.hec-card__meta-item--price dd .hec-currency {
	margin-right: 2px;
}

/* =========================================================
   Single — productpagina-layout
   Image (top-left) + content (bottom-left) | booking aside (right, sticky).
   ========================================================= */

/* Back-button — sits below the related section, centered, outline style. */
.hec-single__back-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.hec-single__back-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1px solid var(--hec-ink-strong);
	border-radius: var(--hec-radius);
	color: var(--hec-ink-strong);
	background: transparent;
	text-decoration: none;
	font: inherit;
	font-weight: 500;
	font-size: 1rem;
	transition: background .15s ease, color .15s ease;
}

.hec-single__back-btn svg {
	width: 18px;
	height: 18px;
	display: block;
	transition: transform .25s ease;
}

.hec-single__back-btn:hover {
	background: var(--hec-ink-strong);
	color: #fff;
}

.hec-single__back-btn:hover svg { transform: translateX(-3px); }

.hec-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	grid-template-areas:
		"media   aside"
		"article aside";
	column-gap: clamp(24px, 3vw, 40px);
	row-gap: clamp(20px, 2.5vw, 32px);
	align-items: start;
	margin-bottom: clamp(48px, 7vw, 80px);
}

/* ---------- Media ---------- */
.hec-single__media {
	grid-area: media;
	margin: 0;
	border-radius: var(--hec-radius);
	overflow: hidden;
	border: 1px solid var(--hec-line);
}

.hec-single__img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ---------- Article (title + intro + content) ---------- */
.hec-single__article {
	grid-area: article;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.hec-single__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hec-single__title {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	font-size: clamp(1.875rem, 3.2vw, 2.375rem);
	line-height: 1.15;
	color: var(--hec-ink-strong);
	margin: 0;
}

/* Prose typography — intro and content share the same body styling so
   the description reads as one continuous, evenly-weighted block. */
.hec-single__intro,
.hec-single__content {
	color: var(--hec-ink);
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 400;
}

.hec-single__intro {
	margin: 0;
}

.hec-single__content > * { margin-block: 0 1em; }
.hec-single__content > :last-child { margin-bottom: 0; }

/* Kill the random <strong>/<b> emphasis the imported Elementor content brought
   along with it — the list items become normal-weight body text. Real
   intentional emphasis can still be applied later via <em>. */
.hec-single__content strong,
.hec-single__content b {
	font-weight: 400;
}

.hec-single__content h2,
.hec-single__content h3,
.hec-single__content h4 {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	color: var(--hec-ink-strong);
	margin-top: 1.4em;
}
.hec-single__content h2 { font-size: 1.5rem; }
.hec-single__content h3 { font-size: 1.25rem; }
.hec-single__content ul,
.hec-single__content ol { padding-left: 1.25em; }
.hec-single__content ul li,
.hec-single__content ol li { margin-bottom: .25em; }
.hec-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--hec-radius);
	display: block;
	margin: 1em 0;
}
.hec-single__content a {
	color: var(--hec-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Booking aside (sticky on desktop) ---------- */
.hec-single__aside {
	grid-area: aside;
	position: sticky;
	top: 20px;          /* slightly below viewport edge so hero room */
	align-self: start;
}

.hec-booking {
	background: #fff;
	border: 1px solid var(--hec-line);
	border-radius: var(--hec-radius);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hec-booking__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--hec-line);
	flex-wrap: wrap;
}

.hec-booking__price-label {
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hec-ink-muted);
}

.hec-booking__price-amount {
	font-family: var(--hec-font-head);
	font-weight: 700;
	font-size: 2rem;
	line-height: 1;
	color: var(--hec-accent);
	font-variant-numeric: tabular-nums;
}

.hec-booking__price-amount .hec-currency {
	margin-right: 4px;
	font-size: 1.5rem;
}

.hec-booking__price-unit {
	font-size: .8125rem;
	color: var(--hec-ink-muted);
}

.hec-booking__facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hec-booking__facts li {
	display: grid;
	grid-template-columns: 20px 1fr auto;
	align-items: center;
	gap: 10px;
	font-size: .9375rem;
}

.hec-booking__facts svg.hec-icon {
	width: 18px;
	height: 18px;
	color: var(--hec-ink-muted);
}

.hec-booking__fact-label {
	color: var(--hec-ink-muted);
}

.hec-booking__fact-value {
	color: var(--hec-ink-strong);
	font-weight: 500;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ---------- Compact form (in booking aside) ---------- */
.hec-booking__form-head {
	border-top: 1px solid var(--hec-line);
	padding-top: 14px;
	margin: 0 0 4px;
}

.hec-booking__form-title {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	font-size: 1.1875rem;
	line-height: 1.2;
	color: var(--hec-ink-strong);
	margin: 0 0 4px;
}

.hec-booking__form-lead {
	margin: 0;
	color: var(--hec-ink-muted);
	font-size: .8125rem;
	line-height: 1.5;
}

.hec-booking__form-note {
	margin: 0;
	font-size: .75rem;
	color: var(--hec-ink-muted);
	font-style: italic;
	text-align: center;
	padding-top: 8px;
	border-top: 1px dashed var(--hec-line);
}

.hec-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hec-form__row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hec-form__row > label {
	font-size: .75rem;
	color: var(--hec-ink-muted);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.hec-form__grid--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hec-form input[type="text"],
.hec-form input[type="email"],
.hec-form input[type="tel"],
.hec-form input[type="number"],
.hec-form select,
.hec-form textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--hec-line-strong);
	border-radius: var(--hec-radius);
	background: #fff;
	font: inherit;
	font-size: .9375rem;
	color: var(--hec-ink);
	box-sizing: border-box;
	transition: border-color .15s ease;
}

.hec-form input[type="number"] { -moz-appearance: textfield; }
.hec-form input[type="number"]::-webkit-outer-spin-button,
.hec-form input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hec-form textarea {
	min-height: 70px;
	resize: vertical;
}

.hec-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.hec-form ::placeholder {
	color: #C2C2C2;
	opacity: 1;
}

.hec-form *:disabled {
	cursor: not-allowed;
	background-color: #FBFBFB;
}

.hec-form__submit {
	width: 100%;
	padding: 12px 16px;
	background: var(--hec-accent);
	color: #fff;
	border: 0;
	border-radius: var(--hec-radius);
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	letter-spacing: .01em;
	transition: filter .15s ease;
	margin-top: 4px;
}

.hec-form__submit:hover { filter: brightness(.92); }
.hec-form__submit:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Gravity Forms override (inside booking aside) ----------
   Match the compact placeholder styling. GF 2.9 ships its own theme (Orbital)
   driven by CSS custom properties — overriding those vars on the wrapper is
   the most reliable way to recolor controls without specificity wars. */
.hec-booking .gform_wrapper {
	--gf-ctrl-btn-bg-color-primary:        var(--hec-accent);
	--gf-ctrl-btn-bg-color-hover-primary:  #B59E00;
	--gf-ctrl-btn-bg-color-focus-primary:  var(--hec-accent);
	--gf-ctrl-btn-color-primary:           #ffffff;
	--gf-ctrl-btn-color-hover-primary:     #ffffff;
	--gf-ctrl-btn-border-color-primary:    var(--hec-accent);
	--gf-ctrl-btn-border-color-hover-primary: #B59E00;
	--gf-ctrl-btn-border-color-focus-primary: var(--hec-accent);
	--gform-theme-control-button-background-color-primary:        var(--hec-accent);
	--gform-theme-control-button-background-color-hover-primary:  #B59E00;
	--gform-theme-control-button-color-primary:                   #ffffff;
	--gform-theme-control-button-border-color-primary:            var(--hec-accent);
}

/* Hide the "* indicates required fields" legend. */
.hec-booking .gform_wrapper .gform_required_legend { display: none; }

/* Hide GF's auto-generated number-field range hint ("Voer een nummer in van
   X tot Y") since we inject our own description. GF marks it with class
   `instruction` (no `gfield_` prefix) and also gives it `id` starting with
   `gfield_instruction_` — match both for safety. */
.hec-booking .gform_wrapper .gfield--type-number .gfield_description.instruction,
.hec-booking .gform_wrapper [id^="gfield_instruction_"] {
	display: none !important;
}

/* Style our injected description (sits under the number input). */
.hec-booking .gform_wrapper .gfield_description {
	font-size: .75rem;
	color: var(--hec-ink-muted);
	margin-top: 4px;
	line-height: 1.4;
}

/* Calendar icon next to the datepicker input — removed via field setting,
   but also defensively suppressed in CSS in case GF re-adds it. */
.hec-booking .gform_wrapper .ginput_container_date img,
.hec-booking .gform_wrapper .datepicker_with_icon img,
.hec-booking .gform_wrapper .ui-datepicker-trigger { display: none; }

.hec-booking .gform_wrapper.gravity-theme { margin: 0; font-size: .9375rem; }
.hec-booking .gform_wrapper .gform_validation_errors { margin-bottom: 12px; padding: 10px 12px; border-radius: var(--hec-radius); font-size: .875rem; }
.hec-booking .gform_wrapper form { display: block; }
.hec-booking .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* All fields default to full width — date + time get explicit half via cssClass. */
.hec-booking .gform_wrapper .gfield { grid-column: 1 / -1; min-width: 0; }
.hec-booking .gform_wrapper .gfield.hec-gf-col-2-left  { grid-column: 1 / 2; }
.hec-booking .gform_wrapper .gfield.hec-gf-col-2-right { grid-column: 2 / 3; }
.hec-booking .gform_wrapper .gfield_label {
	font-size: .75rem;
	color: var(--hec-ink-muted);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 4px;
}
.hec-booking .gform_wrapper .gfield_required { color: var(--hec-accent); margin-left: 2px; }
.hec-booking .gform_wrapper input[type="text"],
.hec-booking .gform_wrapper input[type="email"],
.hec-booking .gform_wrapper input[type="tel"],
.hec-booking .gform_wrapper input[type="number"],
.hec-booking .gform_wrapper input[type="date"],
.hec-booking .gform_wrapper select,
.hec-booking .gform_wrapper textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--hec-line-strong);
	border-radius: var(--hec-radius);
	background: #fff;
	font: inherit;
	font-size: .9375rem;
	color: var(--hec-ink);
	box-sizing: border-box;
	transition: border-color .15s ease;
}
.hec-booking .gform_wrapper input:focus,
.hec-booking .gform_wrapper select:focus,
.hec-booking .gform_wrapper textarea:focus {
	outline: none;
	border-color: var(--hec-accent);
}
.hec-booking .gform_wrapper textarea { min-height: 80px; resize: vertical; }
.hec-booking .gform_wrapper select {
	appearance: none;
	-webkit-appearance: none;
	padding: 9px 36px 9px 12px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
	line-height: 1.4;
	height: 40px;
}

/* Normalize line-height across all booking-form fields so text sits
   visually centered (selects render slightly off-center otherwise). */
.hec-booking .gform_wrapper input[type="text"],
.hec-booking .gform_wrapper input[type="email"],
.hec-booking .gform_wrapper input[type="tel"],
.hec-booking .gform_wrapper input[type="number"],
.hec-booking .gform_wrapper input[type="date"] {
	line-height: 1.4;
	height: 40px;
}
.hec-booking .gform_wrapper ::placeholder { color: #C2C2C2; opacity: 1; }

/* Time field — GF renders hh:mm as two inputs in a flex. Compact. */
.hec-booking .gform_wrapper .ginput_complex .ginput_container_time {
	display: flex;
	gap: 6px;
	align-items: center;
}
.hec-booking .gform_wrapper .ginput_complex .ginput_container_time input {
	flex: 1 1 0;
	min-width: 0;
}

/* Submit */
.hec-booking .gform_wrapper .gform_footer {
	margin: 12px 0 0;
	padding: 0;
}
.hec-booking .gform_wrapper .gform_button,
.hec-booking .gform_wrapper input[type="submit"].gform_button,
.hec-booking .gform_wrapper button.gform_button {
	width: 100%;
	padding: 14px 18px;
	background: var(--hec-accent) !important;
	background-color: var(--hec-accent) !important;
	color: #fff !important;
	border: 1px solid var(--hec-accent) !important;
	border-radius: var(--hec-radius);
	font: inherit;
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
	box-shadow: none;
}
.hec-booking .gform_wrapper .gform_button:hover,
.hec-booking .gform_wrapper input[type="submit"].gform_button:hover,
.hec-booking .gform_wrapper button.gform_button:hover {
	background-color: #B59E00 !important;
	border-color: #B59E00 !important;
}
.hec-booking .gform_wrapper .gform_button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(199,175,0,.35);
}

/* Validation error message */
.hec-booking .gform_wrapper .gfield_error input,
.hec-booking .gform_wrapper .gfield_error select,
.hec-booking .gform_wrapper .gfield_error textarea {
	border-color: #c0392b;
}
.hec-booking .gform_wrapper .gfield_validation_message {
	font-size: .8125rem;
	color: #c0392b;
	margin-top: 4px;
}

/* Ajax spinner */
.hec-booking .gform_wrapper .gform_ajax_spinner { margin-left: 6px; }

/* Confirmation message */
.hec-booking .gform_confirmation_wrapper,
.hec-booking .gform_confirmation_message {
	padding: 12px;
	border-radius: var(--hec-radius);
	background: #fff;
	border: 1px solid var(--hec-line);
	color: var(--hec-ink);
	font-size: .9375rem;
	line-height: 1.5;
}

/* ---------- jQuery UI datepicker portal ----------
   The datepicker popup is rendered in document.body, NOT inside our archive
   container, so CSS variables and `.hec-booking`-scoped rules can't reach it.
   We override the GF / jQuery UI core blue with the site's yellow accent.
   Selectors stay global because that's where the markup lives. */
.ui-datepicker .ui-state-active,
.ui-datepicker .ui-state-default.ui-state-active,
.ui-datepicker .ui-state-default.ui-state-hover,
.ui-datepicker .ui-datepicker-current-day .ui-state-default,
.ui-datepicker .ui-state-highlight {
	background: #C7AF00 !important;
	background-color: #C7AF00 !important;
	color: #ffffff !important;
	border-color: #C7AF00 !important;
}

.ui-datepicker .ui-state-default.ui-state-hover {
	background: rgba(199, 175, 0, .85) !important;
	background-color: rgba(199, 175, 0, .85) !important;
}

.ui-datepicker .ui-datepicker-header {
	background: #ffffff;
	border-color: #E5E5E5;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	cursor: pointer;
}

/* ---------- Related ---------- */
.hec-single__related {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.hec-single__related-title {
	font-family: var(--hec-font-head);
	font-weight: var(--hec-font-head-weight);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	color: var(--hec-ink-strong);
	margin: 0 0 22px;
	line-height: 1.2;
}

/* Related: 3 evenly-distributed cards on desktop, fewer on smaller screens. */
.hec-single__related .hec-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
	.hec-single__related .hec-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.hec-single__related .hec-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Single layout — tablet / mobile ---------- */
@media (max-width: 960px) {
	.hec-single__layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"media"
			"aside"
			"article";
		row-gap: 24px;
	}
	.hec-single__aside {
		position: static;
		top: auto;
	}
	.hec-booking {
		padding: 18px;
	}
}

/* =========================================================
   News (nieuws) — archive & single
   ========================================================= */

.hec-news .hec-archive__header { margin-bottom: clamp(28px, 3vw, 40px); }

/* Card variant: shares .hec-card base. Category + "Lees meer" sit in a
   bottom footer row, mirroring where duur/personen/prijs live on CPT cards. */
.hec-card--news .hec-card__body {
	padding: 18px 22px 14px;
	gap: 8px;
}

.hec-card__footer {
	margin: auto 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--hec-line);
	font-size: .875rem;
}

.hec-card__category {
	color: var(--hec-ink-muted);
	font-weight: 400;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hec-card__readmore {
	color: var(--hec-ink-strong);
	font-weight: 500;
	transition: color .15s ease;
	white-space: nowrap;
}

.hec-card:hover .hec-card__readmore { color: var(--hec-accent); }

/* News pagination */
.hec-news__pagination,
.hec-archive .navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: clamp(28px, 4vw, 48px);
}

.hec-archive .navigation.pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.hec-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--hec-line-strong);
	border-radius: var(--hec-radius);
	color: var(--hec-ink-strong);
	background: #fff;
	text-decoration: none;
	font-size: .9375rem;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.hec-archive .page-numbers:hover {
	background: var(--hec-ink-strong);
	color: #fff;
	border-color: var(--hec-ink-strong);
}

.hec-archive .page-numbers.current {
	background: var(--hec-accent);
	color: #fff;
	border-color: var(--hec-accent);
}

/* Single news article — minimal: image + meta + title + content.
   Spans the full container width; content text inside gets its own readable
   max-width via .hec-single__content default styling if needed. */
.hec-news-article {
	margin: 0 0 clamp(40px, 6vw, 64px);
}

/* Hero image cinematic 16:9 — full container width otherwise too tall. */
.hec-single--news .hec-single__media .hec-single__img {
	aspect-ratio: 16 / 9;
}

.hec-news-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: .8125rem;
}

.hec-news-meta__cat {
	display: inline-flex;
	align-items: center;
	font-size: .6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hec-accent);
	background: rgba(199, 175, 0, .12);
	padding: 4px 10px;
	border-radius: 999px;
	line-height: 1;
	text-decoration: none;
}

.hec-news-meta__cat:hover {
	background: var(--hec-accent);
	color: #fff;
}

.hec-news-meta__date {
	color: var(--hec-ink-muted);
	font-variant-numeric: tabular-nums;
}

.hec-single--news .hec-single__media { margin-bottom: 0; }
.hec-single--news .hec-single__title {
	font-size: clamp(2rem, 3.5vw, 2.625rem);
}
.hec-single--news .hec-single__related .hec-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
	.hec-single--news .hec-single__related .hec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.hec-single--news .hec-single__related .hec-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.hec-filter {
		gap: 14px;
		padding: 14px;
	}
	.hec-grid { grid-template-columns: 1fr; }

	.hec-form__grid--2 { grid-template-columns: 1fr 1fr; }
}

/* Screen-reader-only text (Hello Elementor provides .screen-reader-text, but
   include a defensive fallback in case the parent class is overridden). */
.hec-archive .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ---------- Categorie chip filter ----------
   Full-width row inside .hec-filter — overrides the 3-row grid so the chips
   wrap naturally. Each chip is a label wrapping a visually-hidden checkbox
   plus a styled pill that toggles on :checked. */
.hec-filter__field--cats {
	display: block;
	flex: 1 1 100%;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

.hec-filter__field--cats legend {
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hec-ink-muted);
	line-height: 12px;
	margin: 0 0 8px;
	padding: 0;
}

.hec-cats {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	/* Padding + matching negative margin: keeps the row visually flush while
	   giving chip focus rings room inside the scroll container. */
	padding: 3px;
	margin: -3px;
}

.hec-cats__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	flex: 0 0 auto;        /* never shrink — stay one line, scroll if it overflows */
}

.hec-cats__chip input[type="checkbox"] {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.hec-cats__label {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 14px;
	border: 1px solid var(--hec-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hec-ink);
	font-size: .8125rem;
	line-height: 1;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.hec-cats__chip:hover .hec-cats__label {
	border-color: var(--hec-line-strong);
}

.hec-cats__chip input[type="checkbox"]:checked + .hec-cats__label {
	background: var(--hec-ink-strong);
	color: #fff;
	border-color: var(--hec-ink-strong);
}

.hec-cats__chip input[type="checkbox"]:focus-visible + .hec-cats__label {
	outline: 2px solid var(--hec-accent);
	outline-offset: 2px;
}
