/*
 * Olyphant Events – frontend
 * Kleuren en typografie volgen de huidige site (Total-theme, Outfit).
 */
.olyphant-events,
.olyphant-upcoming {
	--ol-bg: #d4bea8;
	--ol-ink: #6b3a1f;
	--ol-accent: #834133;
	--ol-cream: #f4efe2;
	--ol-line: rgba(131, 65, 51, 0.35);
	color: var(--ol-ink);
	font-family: inherit;
	line-height: 1.55;
}

/* ---------- Knoppen ---------- */
.olyphant-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 12px 22px;
	border-radius: 4px;
	background: var(--ol-accent);
	color: var(--ol-cream) !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1.2;
	transition: background-color 0.2s ease;
}
.olyphant-btn:hover,
.olyphant-btn:focus-visible {
	background: var(--ol-ink);
	color: var(--ol-cream) !important;
}
.olyphant-btn svg {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}
.olyphant-btn:hover svg {
	transform: translateX(3px);
}
.olyphant-btn--muted {
	background: transparent;
	border: 1px solid rgba(131, 65, 51, 0.45);
	color: var(--ol-ink) !important;
	cursor: default;
}
.olyphant-btn--muted:hover {
	background: transparent;
	color: var(--ol-ink) !important;
}

.olyphant-eyebrow {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-ink);
}

.olyphant-eyebrow--light {
	color: var(--ol-cream);
}
.olyphant-textlink {
	color: var(--ol-accent) !important;
	text-decoration: underline !important;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
.olyphant-textlink:hover {
	color: var(--ol-ink) !important;
}
.olyphant-btn--outline {
	background: transparent;
	border: 1px solid var(--ol-cream);
}
.olyphant-btn--outline:hover,
.olyphant-btn--outline:focus-visible {
	background: var(--ol-cream);
	color: var(--ol-accent) !important;
}

/* ---------- Eventpagina: intro ---------- */
.olyphant-intro {
	--ol-bg: #d4bea8;
	--ol-ink: #6b3a1f;
	--ol-accent: #834133;
	--ol-cream: #f4efe2;
	--ol-line: rgba(131, 65, 51, 0.35);
	display: flex;
	flex-wrap: wrap;
	gap: 48px 64px;
	align-items: center;
	margin-bottom: 96px;
	color: var(--ol-ink);
	line-height: 1.55;
}
.olyphant-intro__text {
	flex: 1 1 420px;
	min-width: 0;
}
.olyphant-intro__title {
	margin: 0 0 20px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--ol-accent);
}
.olyphant-intro__subtitle {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ol-accent);
}
.olyphant-intro__body p {
	margin: 0 0 1em;
}
.olyphant-intro__body p:last-child {
	margin-bottom: 0;
}
.olyphant-intro__action {
	margin: 24px 0 0;
}
.olyphant-intro__media {
	flex: 1 1 460px;
	min-width: 0;
}
.olyphant-intro__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ---------- Eventpagina: lijst ---------- */
.olyphant-events {
	scroll-margin-top: 32px;
}
.olyphant-events__heading {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ol-ink);
}
.olyphant-events__heading::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--ol-line);
}
.olyphant-events__heading + .olyphant-events__grid {
	border-top: 0;
}
.olyphant-events__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 64px;
	border-top: 1px solid var(--ol-line);
}

/* ---------- Eventpagina: privé-evenementen ---------- */
.olyphant-private {
	--ol-accent: #834133;
	--ol-cream: #f4efe2;
	display: flex;
	flex-wrap: wrap;
	margin-top: 96px;
	background: var(--ol-accent);
	color: var(--ol-cream);
	line-height: 1.55;
}
.olyphant-private__media {
	flex: 1 1 440px;
	min-width: 0;
	min-height: 320px;
	position: relative;
}
.olyphant-private__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.olyphant-private__text {
	flex: 1 1 440px;
	min-width: 0;
	box-sizing: border-box;
	padding: 56px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.olyphant-private__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--ol-cream);
}
.olyphant-private__body {
	margin: 0;
	font-size: 18px;
	color: var(--ol-cream);
}
.olyphant-private__action {
	margin: 24px 0 0;
}
@media (max-width: 767px) {
	.olyphant-intro {
		margin-bottom: 56px;
	}
	.olyphant-private {
		margin-top: 56px;
	}
	.olyphant-private__media {
		flex-basis: 100%;
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
	.olyphant-private__text {
		padding: 36px 24px;
	}
}
.olyphant-event {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	padding: 36px 0;
	border-bottom: 1px solid var(--ol-line);
}
.olyphant-event__media {
	flex: 0 0 200px;
	width: 200px;
}
.olyphant-event__img {
	display: block;
	width: 200px;
	height: 160px;
	object-fit: cover;
	border-radius: 2px;
}
.olyphant-event__body {
	flex: 1 1 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.olyphant-event__date {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.olyphant-event__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	color: var(--ol-accent);
}
.olyphant-event__summary {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}
.olyphant-event__action {
	margin: 8px 0 0;
}
.olyphant-events__empty {
	margin: 0;
	padding: 36px 0;
	border-top: 1px solid var(--ol-line);
	border-bottom: 1px solid var(--ol-line);
}

@media (max-width: 959px) {
	.olyphant-events__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 559px) {
	.olyphant-event {
		gap: 20px;
	}
	.olyphant-event__media {
		flex-basis: 100%;
		width: 100%;
	}
	.olyphant-event__img {
		width: 100%;
		height: auto;
		aspect-ratio: 5 / 4;
	}
}

/* ---------- Homepage: agendablok ---------- */
.olyphant-upcoming {
	display: flex;
	flex-wrap: wrap;
	gap: 48px 64px;
	align-items: flex-start;
}
.olyphant-upcoming__intro {
	flex: 1 1 360px;
	min-width: 0;
	animation: olyphant-rise 0.7s ease both;
}
.olyphant-upcoming__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--ol-accent);
}
.olyphant-upcoming__text {
	margin: 0 0 24px;
}
.olyphant-upcoming__action {
	margin: 0;
}

.olyphant-upcoming__list {
	flex: 1 1 460px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ol-line);
}
.olyphant-upcoming__item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ol-line);
	animation: olyphant-rise 0.7s ease both;
}
.olyphant-upcoming__item:nth-child(2) { animation-delay: 0.1s; }
.olyphant-upcoming__item:nth-child(3) { animation-delay: 0.2s; }
.olyphant-upcoming__item:nth-child(4) { animation-delay: 0.3s; }

.olyphant-upcoming__row {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 24px 0;
	color: var(--ol-ink) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}
a.olyphant-upcoming__row:hover .olyphant-upcoming__name,
a.olyphant-upcoming__row:focus-visible .olyphant-upcoming__name {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
a.olyphant-upcoming__row:hover > svg {
	transform: translateX(3px);
}
.olyphant-upcoming__row > svg {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}
.olyphant-upcoming__day {
	flex: 0 0 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}
.olyphant-upcoming__num {
	font-size: 40px;
	font-weight: 600;
	color: var(--ol-accent);
}
.olyphant-upcoming__mon {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.olyphant-upcoming__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.olyphant-upcoming__name {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ol-accent);
}
.olyphant-upcoming__meta {
	font-size: 17px;
	line-height: 1.4;
}

/* Op mobiel: events als veegbare rij, alle kaarten blijven bereikbaar */
@media (max-width: 767px) {
	.olyphant-upcoming__list {
		display: flex;
		gap: 16px;
		border-top: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 4px;
		margin-inline: -16px;
		padding-inline: 16px;
	}
	.olyphant-upcoming__list::-webkit-scrollbar {
		display: none;
	}
	.olyphant-upcoming__item {
		flex: 0 0 82%;
		scroll-snap-align: start;
		border: 1px solid var(--ol-line);
		border-radius: 4px;
	}
	.olyphant-upcoming__row {
		padding: 20px;
		gap: 20px;
	}
	.olyphant-upcoming__day {
		flex-basis: 56px;
	}
	.olyphant-upcoming__num {
		font-size: 32px;
	}
	.olyphant-upcoming__name {
		font-size: 19px;
	}
	.olyphant-upcoming__meta {
		font-size: 15px;
	}
}

@keyframes olyphant-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.olyphant-upcoming__intro,
	.olyphant-upcoming__item {
		animation: none;
	}
	.olyphant-btn svg,
	.olyphant-upcoming__row > svg {
		transition: none;
	}
}

/* ---------- Homepage: eventbalk onder het logo ---------- */
.olyphant-bar-wrap {
	--ol-ink: #6b3a1f;
	--ol-accent: #834133;
	--ol-cream: #f4efe2;
	width: 90%;
	max-width: 1280px;
	margin: 0 auto 8px;
	animation: olyphant-drop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.olyphant-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	padding: 20px 32px;
	background: var(--ol-accent);
	color: var(--ol-cream) !important;
	text-decoration: none !important;
	font-family: inherit;
	line-height: 1.3;
	border-radius: 2px;
	transition: background-color 0.25s ease;
}
.olyphant-bar:hover,
.olyphant-bar:focus-visible {
	background: var(--ol-ink);
	color: var(--ol-cream) !important;
}
.olyphant-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}
.olyphant-bar__divider {
	width: 1px;
	height: 24px;
	background: rgba(244, 239, 226, 0.4);
}
.olyphant-bar__title {
	font-size: 20px;
	font-weight: 600;
	white-space: nowrap;
}
.olyphant-bar__meta {
	font-size: 18px;
	min-width: 0;
}
.olyphant-bar__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	padding-bottom: 3px;
	border-bottom: 1px solid var(--ol-cream);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}
.olyphant-bar__cta svg {
	transition: transform 0.25s ease;
}
.olyphant-bar:hover .olyphant-bar__cta svg {
	transform: translateX(4px);
}
@media (max-width: 959px) {
	.olyphant-bar {
		gap: 10px 20px;
		padding: 18px 22px;
	}
	.olyphant-bar__divider {
		display: none;
	}
	.olyphant-bar__label {
		flex-basis: 100%;
	}
	.olyphant-bar__title {
		white-space: normal;
	}
	.olyphant-bar__cta {
		flex-basis: 100%;
		justify-content: flex-start;
		margin-left: 0;
		width: fit-content;
	}
}
@keyframes olyphant-drop {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.olyphant-bar-wrap {
		animation: none;
	}
	.olyphant-bar__cta svg {
		transition: none;
	}
}
