/* BWP content layouts — leesbaarheid, media, share & lightbox */

.bwp-prose {
	text-align: left;
	line-height: 1.65;
	color: #fff;
}

.bwp-prose p {
	margin: 0 0 1em;
}

.bwp-prose h2,
.bwp-prose h3,
.bwp-prose h4 {
	font-family: inherit;
	font-weight: 700;
	line-height: 1.25;
	margin: 1.6em 0 0.55em;
	color: #fff;
	-webkit-text-fill-color: #fff;
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
}

.bwp-prose h2:first-child,
.bwp-prose h3:first-child,
.bwp-prose h4:first-child {
	margin-top: 0;
}

.bwp-prose h2 {
	font-size: 1.55rem;
	padding-bottom: 0.35em;
	border-bottom: 2px solid rgba(239, 119, 75, 0.55);
}

.bwp-prose h3 {
	font-size: 1.28rem;
	color: #ffd4b8;
	-webkit-text-fill-color: #ffd4b8;
	margin: 2em 0 0.75em;
	padding: 0.55em 0 0.45em;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 2px solid rgba(239, 119, 75, 0.45);
}

.bwp-prose h3:first-child {
	margin-top: 0;
	border-top: 0;
	padding-top: 0;
}

.openinghours-section .bwp-prose h3,
.bwp-oh-panel .bwp-prose h3,
.openinghours-page .bwp-prose h3,
.bwp-oh-heading {
	display: block;
	margin: 2.1em 0 0.9em;
	padding: 0.75em 1em;
	border: 0 !important;
	border-radius: 10px !important;
	background: rgba(6, 18, 36, 0.72) !important;
	background-image: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	box-shadow: inset 4px 0 0 #ef774b;
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

.openinghours-section .bwp-prose h3:first-child,
.bwp-oh-panel .bwp-prose h3:first-child,
.openinghours-page .bwp-prose h3:first-child,
.bwp-oh-heading:first-child {
	margin-top: 0.4em;
}

.bwp-prose ul,
.bwp-prose ol {
	margin: 0 0 1em 1.2em;
	padding: 0;
}

.bwp-prose a {
	color: #ffd4b8;
	text-decoration: underline;
}

.bwp-split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 48px;
}

.bwp-split__main {
	flex: 1 1 320px;
	min-width: 0;
	max-width: 720px;
}

.bwp-split__side {
	flex: 0 1 340px;
	min-width: 220px;
	max-width: 420px;
}

.bwp-split--oh-page .bwp-split__main,
.bwp-split--oh-page .bwp-split__side {
	flex: 1 1 420px;
	max-width: none;
}

.bwp-split__side img,
.bwp-zoom img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.bwp-zoom {
	display: block;
	position: relative;
	cursor: zoom-in;
	text-decoration: none !important;
	margin: 0 0 16px;
}

.bwp-zoom:last-child {
	margin-bottom: 0;
}

.bwp-zoom::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(8, 20, 40, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") center/18px no-repeat;
	pointer-events: none;
	opacity: 0.9;
}

.bwp-intro-media {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.bwp-intro-media img {
	display: inline-block !important;
	width: auto !important;
	max-width: min(100%, 280px) !important;
	height: auto !important;
	max-height: 220px !important;
	object-fit: contain !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* Logo + deelknoppen verticaal gecentreerd t.o.v. linker tekstkolom */
.grid-area.embeds > .grid-wrapper.flex {
	align-items: stretch;
}

.bwp-intro-col {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 100%;
}

.bwp-location-card {
	text-align: left;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	padding: 28px 24px;
}

.bwp-location-card__logo {
	display: block;
	max-width: 200px;
	width: 100%;
	height: auto;
	margin: 0 auto 22px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.bwp-location-card .bwp-prose {
	text-align: left;
}

.bwp-location-card__photo {
	margin-top: 20px;
}

.bwp-page-title {
	display: block;
	text-align: left;
	margin-bottom: 18px;
}

.bwp-share {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	width: 100%;
	max-width: 520px;
}

.bwp-share__label {
	display: block;
	margin: 0 0 14px;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
}

.bwp-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

/* Reset oude .social (50x50 cirkel) + button-styles */
.bwp-share a.bwp-share__btn,
.bwp-share .bwp-share__btn {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 44px !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 11px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #ce2435 0%, #ef774b 100%) !important;
	background-image: linear-gradient(90deg, #ce2435 0%, #ef774b 100%) !important;
	color: #fff !important;
	text-decoration: none !important;
	text-align: center !important;
	white-space: nowrap !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em !important;
	cursor: pointer !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
	transform: none !important;
	flex-shrink: 0 !important;
	position: relative !important;
	overflow: visible !important;
	transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.bwp-share .bwp-share__btn--copy {
	background: linear-gradient(90deg, #123868 0%, #245894 100%) !important;
	background-image: linear-gradient(90deg, #123868 0%, #245894 100%) !important;
}

.bwp-share .bwp-share__btn.is-copied {
	background: linear-gradient(90deg, #207848 0%, #38a060 100%) !important;
	background-image: linear-gradient(90deg, #207848 0%, #38a060 100%) !important;
}

.bwp-share .bwp-share__btn:hover,
.bwp-share .bwp-share__btn:focus {
	filter: brightness(1.08);
	transform: translateY(-1px) !important;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34) !important;
	color: #fff !important;
	text-decoration: none !important;
}

.bwp-share .bwp-share__icon {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 16px !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
}

.bwp-share .bwp-share__text {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
}

/* Homepage opening hours: tekst links (~helft), foto full-bleed rechts tot viewport-rand */
.bwp-oh-panel {
	position: relative;
	overflow: hidden;
}

.bwp-oh-panel__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	min-height: 480px;
	width: 100%;
}

.bwp-oh-panel--has-media .bwp-oh-panel__inner {
	grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
}

.bwp-oh-panel__content {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: none;
	padding: 60px 40px 60px max(20px, calc((100vw - 1180px) / 2));
}

.bwp-oh-panel:not(.bwp-oh-panel--has-media) .bwp-oh-panel__content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 60px 20px;
}

.bwp-oh-panel__content > .bwp-prose,
.bwp-oh-panel__content > .grid-column,
.bwp-oh-panel__content > h3 {
	max-width: 640px;
}

/* Openingstijdentabel: zelfde breedte als H3, rijen ~15% hoger */
.bwp-oh-panel__content > .grid-column {
	width: 100%;
	max-width: 640px;
}

.bwp-oh-panel .openinghours {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.bwp-oh-panel .openinghourscolumn {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.bwp-oh-panel__media {
	position: relative;
	min-height: 420px;
	min-width: 0;
	overflow: hidden;
}

.bwp-oh-panel__media .bwp-zoom--cover {
	position: absolute;
	inset: 0;
	margin: 0;
	border-radius: 0;
}

.bwp-oh-panel__media .bwp-zoom--cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.bwp-oh-panel__media .bwp-zoom--cover::after {
	right: 18px;
	bottom: 18px;
}

.mediaitems .bwp-prose,
.mediaitems .bwp-prose p,
.mediaitems .bwp-prose span {
	color: #fff;
}

/* Dark lightbox — gecentreerd (override theme absolute full-screen container) */
body [data-lightbox].bwp-lightbox,
body .bwp-lightbox[data-lightbox] {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	z-index: 1000000 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 28px !important;
	box-sizing: border-box !important;
	background: rgba(3, 8, 18, 0.9) !important;
	cursor: zoom-out;
	overflow: auto !important;
}

body [data-lightbox].bwp-lightbox.is-open,
body .bwp-lightbox[data-lightbox].is-open {
	display: flex !important;
}

body [data-lightbox].bwp-lightbox [data-image-container],
body .bwp-lightbox[data-lightbox] [data-image-container],
body [data-lightbox].bwp-lightbox .bwp-lightbox__frame,
body .bwp-lightbox[data-lightbox] .bwp-lightbox__frame {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: min(92vw, 1100px) !important;
	max-height: 88vh !important;
	margin: 0 auto !important;
	cursor: default;
	transform: none !important;
}

body [data-lightbox].bwp-lightbox [data-image-container] img,
body .bwp-lightbox[data-lightbox] [data-image-container] img {
	display: block !important;
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	max-width: min(92vw, 1100px) !important;
	max-height: 88vh !important;
	width: auto !important;
	height: auto !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.bwp-lightbox__close {
	position: fixed !important;
	top: 18px !important;
	right: 18px !important;
	z-index: 1000001 !important;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.bwp-lightbox__close:hover,
.bwp-lightbox__close:focus {
	background: rgba(239, 119, 75, 0.9);
}

/* Compacte headers op alle pagina's behalve homepage (body#eventDetail) */
body:not(#eventDetail) .grid-area.frontpage-visual {
	height: 38vh !important;
	min-height: 260px !important;
	max-height: 420px;
}

body:not(#eventDetail) .grid-area.frontpage-visual h1 {
	font-size: 42px !important;
	margin-top: 6px !important;
	margin-bottom: 6px !important;
}

body:not(#eventDetail) .grid-area.frontpage-visual .header-times {
	display: none !important;
}

body:not(#eventDetail) .grid-area.frontpage-visual .fs30 {
	font-size: 22px !important;
}

@media screen and (max-width: 930px) {
	/* 20% hoger dan eerdere compacte mobiele header (32vh → ~38.4vh) */
	body:not(#eventDetail) .grid-area.frontpage-visual {
		height: 38.4vh !important;
		min-height: 264px !important;
		max-height: 384px;
	}

	body:not(#eventDetail) .grid-area.frontpage-visual h1 {
		font-size: 32px !important;
	}

	.bwp-split {
		gap: 28px;
	}

	.bwp-split__side {
		flex-basis: 100%;
		max-width: 100%;
	}

	/* Activiteiten: 2 foto's naast elkaar op mobiel */
	body#eventActivities .bwp-split__side {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 12px;
		align-items: stretch;
	}

	body#eventActivities .bwp-split__side .bwp-zoom {
		flex: 1 1 0;
		min-width: 0;
		margin: 0;
	}

	body#eventActivities .bwp-split__side .bwp-zoom img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}

	.bwp-oh-panel--has-media .bwp-oh-panel__inner {
		grid-template-columns: 1fr;
	}

	.bwp-oh-panel__content {
		padding: 40px 20px 24px !important;
		max-width: none;
	}

	.bwp-oh-panel__content > .bwp-prose,
	.bwp-oh-panel__content > .grid-column,
	.bwp-oh-panel__content > h3 {
		max-width: none;
	}

	.bwp-oh-panel__media {
		min-height: 280px;
	}
}

@media screen and (max-width: 425px) {
	body:not(#eventDetail) .grid-area.frontpage-visual .fs30 {
		font-size: 16px !important;
	}

	body:not(#eventDetail) .grid-area.frontpage-visual h1 {
		font-size: 26px !important;
	}
}

/* ========== Mobiel navigatiemenu ========== */
.bwp-nav-toggle {
	display: none;
}

@media screen and (max-width: 930px) {
	/* Vastgepint aan de bovenkant (sticky, blijft onder cookiebanner) */
	body #menu.grid-area,
	body #menu.grid-area.sticky-menu {
		position: sticky !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 100000 !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		background: rgba(6, 14, 28, 0.94) !important;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	body #menu .color {
		display: none !important;
	}

	body .grid-area.menu-pos {
		display: none !important;
	}

	body #menu .grid-wrapper.menu-container {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		max-width: none !important;
		height: 72px !important;
		min-height: 72px !important;
		padding: 0 16px !important;
		box-sizing: border-box !important;
		position: relative;
	}

	body #menu .menu-container > .logo {
		width: auto !important;
		max-width: calc(100% - 72px) !important;
		flex: 1 1 auto !important;
		padding: 0 !important;
		margin: 0 !important;
		z-index: 2;
	}

	body #menu .menu-container > .logo a {
		display: inline-flex;
		align-items: center;
		max-width: 160px;
	}

	body #menu .menu-container > .logo img {
		max-height: 52px !important;
		width: auto !important;
		max-width: 100% !important;
		padding: 0 !important;
		object-fit: contain;
	}

	/* Hamburger rechts */
	body #menu .bwp-nav-toggle.mobile-menu {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		bottom: auto !important;
		z-index: 3;
		flex: 0 0 auto;
		width: 48px;
		height: 48px;
		margin: 0 0 0 auto !important;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		cursor: pointer;
		box-shadow: none;
		appearance: none;
		-webkit-appearance: none;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	body #menu .bwp-nav-toggle.mobile-menu:hover,
	body #menu .bwp-nav-toggle.mobile-menu:focus {
		background: rgba(239, 119, 75, 0.28);
		border-color: rgba(239, 119, 75, 0.7);
		outline: none;
	}

	body #menu .bwp-nav-toggle.mobile-menu.is-active {
		background: linear-gradient(90deg, #ce2435 0%, #ef774b 100%);
		border-color: transparent;
	}

	body #menu .bwp-nav-toggle__bars {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 22px;
		height: 16px;
	}

	body #menu .bwp-nav-toggle__bars span {
		display: block;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transform-origin: center;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	body #menu .bwp-nav-toggle.is-active .bwp-nav-toggle__bars span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	body #menu .bwp-nav-toggle.is-active .bwp-nav-toggle__bars span:nth-child(2) {
		opacity: 0;
	}

	body #menu .bwp-nav-toggle.is-active .bwp-nav-toggle__bars span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* Dropdown panel */
	body #menu .menu-section,
	body #menu .menu-section.flex {
		display: none !important;
		position: absolute !important;
		top: 72px !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		margin: 0 !important;
		padding: 12px 14px 20px !important;
		box-sizing: border-box !important;
		background: linear-gradient(180deg, rgba(8, 18, 36, 0.98) 0%, rgba(12, 28, 52, 0.98) 100%) !important;
		box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45) !important;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		z-index: 100001 !important;
		justify-content: flex-start !important;
	}

	body #menu.is-nav-open .menu-section,
	body #menu.is-nav-open .menu-section.flex,
	body #menu .menu-section.is-open,
	body #menu .menu-section.flex.is-open {
		display: block !important;
	}

	body #menu .menu-section .menu,
	body #menu .menu-section .menu-organisator-menu-container {
		width: 100% !important;
		background: transparent !important;
		padding: 0 !important;
	}

	body #menu .menu-section ul {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		font-size: 1.05rem !important;
		border: 0 !important;
		background: transparent !important;
		gap: 8px;
	}

	body #menu .menu-section ul li {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		overflow: visible !important;
		text-indent: 0 !important;
	}

	body #menu .menu-section ul li:after {
		display: none !important;
	}

	body #menu .menu-section ul li > a {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 !important;
		padding: 14px 16px !important;
		border-radius: 12px !important;
		background: rgba(255, 255, 255, 0.06) !important;
		border: 1px solid rgba(255, 255, 255, 0.1) !important;
		color: #fff !important;
		font-weight: 600 !important;
		text-decoration: none !important;
		text-indent: 0 !important;
		line-height: 1.3 !important;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	body #menu .menu-section ul li > a:hover,
	body #menu .menu-section ul li > a:focus {
		background: rgba(239, 119, 75, 0.22) !important;
		border-color: rgba(239, 119, 75, 0.55) !important;
		text-decoration: none !important;
	}

	body #menu .menu-section ul li.current-menu-item > a,
	body #menu .menu-section ul li.current-menu-item > a.bsa2,
	body #menu .menu-section ul li.current-menu-item > a.bgradient,
	body #menu .menu-section ul li.current-menu-item > a.bgradient2 {
		background: linear-gradient(90deg, #ce2435 0%, #ef774b 100%) !important;
		background-image: linear-gradient(90deg, #ce2435 0%, #ef774b 100%) !important;
		border-color: transparent !important;
		color: #fff !important;
		box-shadow: 0 10px 24px rgba(206, 36, 53, 0.28);
	}

	body #menu .menu-section ul li.current-menu-item > a:before {
		display: none !important;
	}

	body #menu .menu-section ul.submenu {
		position: static !important;
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		margin: 8px 0 0 !important;
		padding: 0 0 0 10px !important;
		left: auto !important;
		top: auto !important;
		transform: none !important;
		box-shadow: none !important;
		background: transparent !important;
		gap: 6px;
	}

	body #menu .menu-section ul.submenu:before {
		display: none !important;
	}

	body #menu .menu-section ul.submenu li {
		height: auto !important;
		background: transparent !important;
		border: 0 !important;
	}

	body #menu .menu-section ul.submenu li:before {
		display: none !important;
	}

	body #menu .menu-section ul.submenu li a {
		position: static !important;
		display: block !important;
		height: auto !important;
		width: 100% !important;
		padding: 12px 14px !important;
		line-height: 1.3 !important;
		text-indent: 0 !important;
		font-size: 0.95rem !important;
		font-weight: 500 !important;
		border-radius: 10px !important;
		background: rgba(255, 255, 255, 0.04) !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		color: rgba(255, 255, 255, 0.9) !important;
	}

	body #menu .menu-section ul.submenu li a:hover,
	body #menu .menu-section ul.submenu li a:focus {
		background: rgba(255, 255, 255, 0.1) !important;
		text-decoration: none !important;
	}

	body #menu .menu-section ul.submenu li.current-menu-item a {
		background: rgba(239, 119, 75, 0.25) !important;
		border-color: rgba(239, 119, 75, 0.45) !important;
		color: #fff !important;
	}

	body.bwp-nav-open {
		overflow: hidden;
	}
}
