/*
 * Horizontal list layout — aligned with vvge-ticketing [vvge_events_horizontal]
 * (.vvge-events-horizontal* selectors). Keep in sync with ticketing frontend.css when layout changes.
 */
.vvge-events-horizontal {
	box-sizing: border-box;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 1.2rem 0;
}

.vvge-events-horizontal a {
	text-decoration: none;
}

.vvge-events-horizontal .vvge-events-horizontal__read-more {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vvge-events-horizontal__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.6rem, 2.3vw, 2.2rem);
	color: #1b2555;
}

.vvge-events-horizontal__intro {
	max-width: 520px;
	margin: 0 0 1.5rem;
	color: #3d4561;
	line-height: 1.45;
}

.vvge-events-horizontal__list {
	display: grid;
	gap: clamp(1.75rem, 3vw, 2.75rem);
}

.vvge-events-horizontal__item {
	display: grid;
	grid-template-columns: min(700px, 100%) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.75rem);
	align-items: start;
}

.vvge-events-horizontal__primary {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.vvge-events-horizontal__item-head {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: stretch;
	width: 100%;
}

.vvge-events-horizontal__meta-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 1rem;
	row-gap: 0.75rem;
	width: 100%;
}

.vvge-events-horizontal__meta-start {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
	letter-spacing: 0.02em;
	color: #6a728a;
	min-width: 0;
}

.vvge-events-horizontal__meta-end {
	justify-self: end;
	flex-shrink: 0;
}

.vvge-events-horizontal__meta-line {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
}

.vvge-events-horizontal__meta-icon {
	display: inline-flex;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	color: #ff5a1f;
}

.vvge-events-horizontal__meta-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.vvge-events-horizontal__location,
.vvge-events-horizontal__date,
.vvge-events-horizontal__tags {
	line-height: 1.3;
}

.vvge-events-horizontal__badge {
	padding: 0.2rem 0.65rem;
	border: 1px solid #cfd4e1;
	border-radius: 999px;
	font-size: clamp(0.65rem, 1vw, 0.72rem);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #424b66;
	background: #fff;
}

.vvge-events-horizontal__heading {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #171f55;
	text-decoration: none;
}

.vvge-events-horizontal__heading-link {
	color: inherit;
	display: inline-block;
	max-width: 100%;
	text-decoration: none;
}

.vvge-events-horizontal__heading-link:hover,
.vvge-events-horizontal__heading-link:focus {
	text-decoration: none;
}

.vvge-events-horizontal__heading-link:hover .vvge-events-horizontal__heading,
.vvge-events-horizontal__heading-link:focus .vvge-events-horizontal__heading {
	color: #0f1438;
}

.vvge-events-horizontal__image-link {
	display: block;
	width: 100%;
	max-width: 100%;
	color: inherit;
	min-width: 0;
}

.vvge-events-horizontal__image {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
}

.vvge-events-horizontal__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.vvge-inzichten-horizontal__image-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(243, 244, 246, 0.72);
	pointer-events: none;
}

.vvge-inzichten-horizontal__lock-badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: block;
	width: 36px;
	height: 36px;
	line-height: 0;
	z-index: 2;
	pointer-events: none;
}

.vvge-inzichten-horizontal__lock-icon {
	width: 36px;
	height: 36px;
	display: block;
	max-width: none;
	object-fit: contain;
}

.vvge-events-horizontal__item--no-image {
	grid-template-columns: 1fr;
}

.vvge-events-horizontal__inline-body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	width: 100%;
}

.vvge-events-horizontal__excerpt--inline {
	margin: 0;
	max-width: none;
}

.vvge-events-horizontal__aside {
	margin: 0;
	min-width: 0;
	padding-top: 100px;
	padding-left: 80px;
	padding-right: 80px;
}

.vvge-events-horizontal__aside-title {
	margin: 0 0 0.5rem;
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	font-weight: 700;
	line-height: 1.3;
	color: #1b2555;
}

.vvge-events-horizontal__excerpt {
	margin: 30px 0 0.75rem;
	font-size: clamp(0.8rem, 1.15vw, 0.9rem);
	line-height: 1.55;
	color: #57607a;
}

.vvge-events-horizontal__read-more {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #171f55;
}

.vvge-events-horizontal__read-more:hover,
.vvge-events-horizontal__read-more:focus {
	color: #0f1438;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vvge-events-horizontal__item--inzicht-locked .vvge-events-horizontal__heading,
.vvge-events-horizontal__item--inzicht-locked .vvge-events-horizontal__excerpt,
.vvge-events-horizontal__item--inzicht-locked .vvge-events-horizontal__tags,
.vvge-events-horizontal__item--inzicht-locked .vvge-events-horizontal__date,
.vvge-events-horizontal__item--inzicht-locked .vvge-events-horizontal__location {
	color: #9ca3af;
}

@media (max-width: 980px) {
	.vvge-events-horizontal__item {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.vvge-events-horizontal__aside {
		padding-top: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.vvge-events-horizontal__excerpt {
		margin-top: 0.65rem;
	}
}

/* Listing toolbar + view toggle */
.inzichten-listing-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.inzichten-listing-toolbar .inzichten-listing-controls {
	margin: 0;
	flex: 1 1 16rem;
}

.inzichten-listing-toolbar .inzichten-listing-toolbar__actions {
	align-self: flex-start;
}

.inzichten-listing-toolbar .inzichten-category-filters {
	margin: 0;
}

.inzichten-view-toggle {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem;
	border: 1px solid #cfd3dd;
	border-radius: 999px;
	background: #fff;
}

.inzichten-view-toggle__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #424b66;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.inzichten-view-toggle__button.is-active {
	background: #ff5a1f;
	color: #fff;
}

.inzichten-view-toggle__button:hover,
.inzichten-view-toggle__button:focus-visible {
	background: #0b0b5f;
	color: #fff;
	outline: none;
}

.inzichten-view-toggle__button.is-active:hover,
.inzichten-view-toggle__button.is-active:focus-visible {
	background: #ff5a1f;
	color: #fff;
}

.inzichten-view-toggle__icon {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	fill: currentColor;
}

.inzichten-view-toggle .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Grid / masonry view */
.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__list {
	display: block;
	column-count: 3;
	column-gap: clamp(1rem, 2vw, 1.5rem);
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__item {
	display: block;
	break-inside: avoid;
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	padding: 1.15rem;
	border: 1px solid #e3e6ef;
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__primary {
	gap: 0.85rem;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__aside {
	padding: 0;
	margin: 0;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__aside-title {
	display: none;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__excerpt {
	margin-top: 0;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__meta-row {
	grid-template-columns: 1fr;
	row-gap: 0.5rem;
}

.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__meta-end {
	justify-self: start;
}

@media (max-width: 1024px) {
	.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__list {
		column-count: 2;
	}
}

@media (max-width: 640px) {
	.inzichten-listing-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.inzichten-view-toggle {
		align-self: auto;
	}

	.vvge-inzichten-horizontal--view-grid .vvge-events-horizontal__list {
		column-count: 1;
	}
}
