/*
Theme Name: Brain On
Theme URI: https://brainon.be
Author: Brain On
Description: Bloktheme voor Brain On VR escape rooms in Avelgem. Lichte huisstijl (Brain Geel, Brein Donker, Crème), Poppins lokaal geladen, patronen voor alle secties uit de mockups, eigen blokken voor de rooms en ondersteuning voor het post type "rooms" van de huidige site.
Version: 1.8.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brainon
*/

/* ---------- Basis ---------- */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #343525; outline-offset: 3px; border-radius: 4px; }
img { height: auto; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 3px solid #343525; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header .wp-block-site-logo img { max-height: 64px; width: auto; }
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; }
.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation [aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-header .wp-block-navigation__submenu-container { border: 2px solid #343525 !important; border-radius: 10px; padding: 8px !important; min-width: 240px !important; }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { text-transform: none; font-weight: 600; padding: 6px 10px !important; border-radius: 6px; }
.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #FFF6DF; text-decoration: none; }
.site-header .wp-block-navigation__responsive-container-open { border: 2px solid #343525; border-radius: 12px; width: 48px; height: 48px; justify-content: center; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { font-size: 20px; }
@media (max-width: 600px) {
	.site-header .wp-block-site-logo img { max-height: 52px; }
	.site-header .wp-block-button__link { padding: 9px 18px; font-size: 15px; }
}

/* ---------- Gele titelbalk ---------- */

.title-band { position: relative; overflow: hidden; }
.title-band::after {
	content: ""; position: absolute; right: 3%; top: 16px; width: clamp(150px, 20vw, 280px); aspect-ratio: 5 / 4;
	background: url("assets/img/circuit.png") no-repeat center / contain; opacity: 0.55; pointer-events: none;
}
.title-band > * { position: relative; z-index: 1; }
@media (max-width: 700px) { .title-band::after { display: none; } }

.breadcrumb { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 6px; color: #343525; }
.breadcrumb a { color: #343525; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { opacity: 0.6; }

/* ---------- Markeringen via de knop "Markeren" in de editor ---------- */

/* Geel markeren = gele markering achter de woorden */
mark.has-inline-color.has-brain-geel-background-color,
mark.has-inline-color[style*="brain-geel"] {
	padding: 0 0.25em; border-radius: 0.2em; color: #343525;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Brein Donker markeren = het schuine "sticker"-blok */
mark.has-inline-color.has-brein-donker-background-color,
mark.has-inline-color[style*="brein-donker"] {
	display: inline-block; padding: 0.05em 0.35em 0.15em; border-radius: 0.22em; transform: rotate(-3deg); line-height: 1.15;
}

/* ---------- Blokstijlen (rechts in de editor bij "Stijlen") ---------- */

.is-style-label {
	display: inline-block; width: auto !important; background: #343525; color: #F6C22D;
	font-size: 13px !important; font-weight: 700; letter-spacing: 0.2em; line-height: 1.2; text-transform: uppercase;
	padding: 7px 16px; border-radius: 999px;
}
p.is-style-label { margin-bottom: 0; }
:where(.has-text-align-center) > .is-style-label, .has-text-align-center.is-style-label { margin-left: auto; margin-right: auto; }

.wp-block-group.is-style-card { background: #FFFFFF; border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.wp-block-group.is-style-card-geel { background: #F6C22D; color: #343525; border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.wp-block-group.is-style-card-donker { background: #343525; color: #E8DFC6; border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.wp-block-group.is-style-card-donker :where(h1, h2, h3, h4, strong) { color: #FFF6DF; }
.wp-block-group.is-style-card-donker a:not(.wp-block-button__link) { color: #F6C22D; }
.wp-block-group.is-style-card-donker .wp-block-button__link { background: #F6C22D; color: #343525; border-color: #F6C22D; }
.wp-block-group.is-style-card-donker .wp-block-button__link:hover { background: #D9A514; border-color: #D9A514; }

.wp-block-image.is-style-afgerond img { border-radius: 16px; }

.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #343525; border-color: #343525; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #343525; color: #F6C22D; }
.wp-block-button.is-style-geel > .wp-block-button__link { background: #F6C22D; color: #343525; border-color: #F6C22D; }
.wp-block-button.is-style-geel > .wp-block-button__link:hover { background: #D9A514; border-color: #D9A514; }

/* Nummerbolletje voor stappen */
.step-number {
	width: 48px; height: 48px; border-radius: 999px; background: #343525; color: #F6C22D !important;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; margin: 0 !important;
}

/* Grote cijfers op kaarten */
.big-number { font-size: clamp(34px, 4vw, 44px) !important; font-weight: 800; line-height: 1 !important; color: #343525; }
.is-style-card-donker .big-number { color: #F6C22D; }

/* ---------- Banner (coverblok) ---------- */

.hero .wp-block-cover__inner-container { width: 100%; }
@media (max-width: 781px) {
	.hero .wp-block-cover__background.has-background-gradient { background: rgba(246, 194, 45, 0.9) !important; }
}

/* ---------- Inhoud ---------- */

.wp-block-post-content iframe[src*="youtube"], .wp-block-post-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; }
.wp-block-post-content center { display: block; }
.wp-block-table table { background: #FFFFFF; border-radius: 10px; overflow: hidden; }
.wp-block-table th { background: #F6C22D; color: #343525; }
.wp-block-table td, .wp-block-table th { border-color: #EADFC2; }

/* Bookeo-widget (plak de Bookeo-code in een blok "Aangepaste HTML") */
#bookeo_position { background: #FFFFFF; border-radius: 16px; padding: clamp(10px, 2vw, 20px); min-height: 200px; }
#bookeo_position iframe { width: 100% !important; }

/* ---------- Rooms ---------- */

.room-meta { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.room-meta__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 12px; background: #FFF6DF; color: #343525; min-width: 130px; }
.room-meta__value { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.room-meta__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.room-meta .icon { width: 1.1em; height: 1.1em; }
.locks { display: inline-flex; gap: 3px; }
.lock { width: 20px; height: 20px; color: #EADFC2; }
.lock.is-active { color: #343525; }
.room-meta--compact { margin-top: 10px; gap: 6px 16px; }
.room-meta--compact .room-meta__item { padding: 0; background: none; min-width: 0; flex-direction: row; align-items: center; gap: 6px; }
.room-meta--compact .room-meta__value { font-size: 15px; font-weight: 700; }
.room-meta--compact .room-meta__label { display: none; }
.room-meta--compact .lock { width: 15px; height: 15px; }
.room-meta--compact .lock:not(.is-active) { color: #D8CDAE; }
@media (max-width: 520px) {
	.room-meta:not(.room-meta--compact) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.room-meta:not(.room-meta--compact) .room-meta__item { min-width: 0; padding: 10px; }
	.room-meta:not(.room-meta--compact) .room-meta__value { font-size: 17px; gap: 4px; }
	.room-meta:not(.room-meta--compact) .room-meta__value .icon { display: none; }
	.room-meta:not(.room-meta--compact) .room-meta__label { font-size: 10px; letter-spacing: 0.08em; }
	.room-meta:not(.room-meta--compact) .lock { width: 14px; height: 14px; }
}

.rooms__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid #343525; background: #FFFFFF; color: #343525; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.chip:hover { background: #FFF6DF; }
.chip.is-active { background: #343525; color: #F6C22D; }
.rooms__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.room-card[hidden] { display: none; }
.room-card__link { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border-radius: 16px; overflow: hidden; text-decoration: none; color: #4A4B38; border: 2px solid transparent; transition: border-color .15s ease, transform .15s ease; }
.room-card__link:hover { border-color: #343525; transform: translateY(-3px); color: #4A4B38; }
.room-card__image { aspect-ratio: 3 / 2; background: #F6C22D; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.room-card__image img { width: 100%; height: 100%; object-fit: cover; }
.room-card__image .room-card__placeholder { width: 40%; height: auto; object-fit: contain; }
.room-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.room-card__title { font-size: 1.3rem; margin: 0; color: #343525; }
.room-card__more { margin-top: auto; padding-top: 14px; font-weight: 700; color: #343525; display: inline-flex; align-items: center; gap: 6px; }
.room-card__more .icon { width: 1em; height: 1em; }
.rooms__empty { margin-top: 20px; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer a { color: #F6C22D; text-decoration: none; }
.site-footer a:hover { color: #FFF6DF; text-decoration: underline; }
.site-footer h2::before { content: ""; display: block; width: 36px; height: 4px; background: #F6C22D; border-radius: 2px; margin-bottom: 14px; }
.site-footer .wp-block-social-links .wp-social-link { background: #F6C22D !important; color: #343525 !important; }
.site-footer .wp-block-social-links .wp-social-link a { color: #343525 !important; }
.site-footer .hours p { display: flex; justify-content: space-between; gap: 12px; max-width: 280px; margin: 0; }

/* ---------- Kaarten met berichten ---------- */

.wp-block-post-template.is-layout-grid > li { background: #FFFFFF; border-radius: 16px; overflow: hidden; }
.wp-block-post-template .wp-block-post-featured-image { margin: 0; }

/* ---------- Opbouw ---------- */

/* Geen witruimte tussen header, inhoud en footer */
.wp-site-blocks > * { margin-block-start: 0; }
/* Ruimte onder gewone tekstpagina's; secties over de volle breedte sluiten wel aan op de footer */
.wp-block-post-content > :last-child:not(.alignfull) { margin-bottom: var(--wp--preset--spacing--70); }
.wp-block-post-content > .alignfull:first-child { margin-top: 0; }
/* Banner: tekst binnen dezelfde breedte als de rest */
.hero { padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.hero .wp-block-cover__inner-container { max-width: 1160px; margin-left: auto; margin-right: auto; }
/* Menuknop op mobiel: icoon netjes in het midden */
.site-header .wp-block-navigation__responsive-container-open { align-items: center; justify-content: center; padding: 0; }
.site-header .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }

/* ---------- Games (VR Pretpakket) ---------- */

.games__title { margin-bottom: var(--wp--preset--spacing--40); }
.games__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.game-card { background: #FFFFFF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.game-card__image { aspect-ratio: 3 / 2; overflow: hidden; background: #F6C22D; }
.game-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.game-card__label { font-size: 11px !important; padding: 5px 12px; }
.game-card__title { font-size: 16px; line-height: 1.35; margin: 0; color: #343525; }
.game-card__desc { font-size: 14px; margin: 0; }

/* ---------- Roompagina ---------- */

.room-hero { position: relative; overflow: hidden; background: #F6C22D; color: #343525; }
.room-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-hero:not(.has-image)::after {
	content: ""; position: absolute; right: 3%; top: 16px; width: clamp(150px, 20vw, 280px); aspect-ratio: 5 / 4;
	background: url("assets/img/circuit.png") no-repeat center / contain; opacity: 0.55; pointer-events: none;
}
.room-hero__inner {
	position: relative; z-index: 2; max-width: 1160px; margin: 0 auto;
	padding: var(--wp--preset--spacing--60) clamp(20px, 5vw, 48px) var(--wp--preset--spacing--50);
}
.room-hero.has-image::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: rgba(246, 194, 45, 0.78);
}
.room-hero.has-image .room-hero__inner { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); min-height: clamp(220px, 24vw, 320px); display: flex; flex-direction: column; justify-content: center; }
.room-hero.has-image .room-hero__inner > * { max-width: 620px; }
.room-hero__title { font-size: var(--wp--preset--font-size--huge); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 0; color: #343525; }

.brains { display: inline-flex; gap: 4px; align-items: center; }
.brain { width: 30px; height: auto; }
.brain:not(.is-active) { filter: grayscale(1); opacity: 0.35; }
.room-meta--compact .brain { width: 20px; }
@media (max-width: 520px) {
	.room-meta:not(.room-meta--compact) .brain { width: 18px; }
}
.langs { gap: 6px; }
.lang {
	display: inline-block; text-decoration: none; border: 0; background: #343525; color: #F6C22D;
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 6px; line-height: 1.3;
}
.room-meta--compact .lang { font-size: 11px; padding: 2px 6px; }

.room-video { margin: 0 0 var(--wp--preset--spacing--50); }
.room-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; display: block; background: #343525; }

.room-text { border-radius: 16px; padding: clamp(22px, 3vw, 32px); margin: var(--wp--preset--spacing--50) 0; }
.room-text > :first-child { margin-top: 0; }
.room-text > :last-child { margin-bottom: 0; }
.room-text--reward { background: #FFFFFF; }
.room-text--reward h3 { font-size: var(--wp--preset--font-size--large); margin: 1.2em 0 0.3em; }
.room-text--reward h3:first-child { margin-top: 0; }
.room-text--more { background: #F6C22D; color: #343525; }
.room-text--more h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 0; }
.room-text .wp-block-button__link { display: inline-block; text-decoration: none; background: #343525; color: #F6C22D; border: 2px solid #343525; border-radius: 999px; padding: 12px 28px; font-weight: 700; }
.room-text .wp-block-button__link:hover { background: #1E1F15; color: #F6C22D; }

.room-booking { margin: var(--wp--preset--spacing--60) 0; scroll-margin-top: 110px; }
.room-booking__title { font-size: var(--wp--preset--font-size--xx-large); }
.room-booking__notice { background: #FFFFFF; border: 2px dashed #D9A514; border-radius: 12px; padding: 14px 18px; }

.room-gallery { margin: var(--wp--preset--spacing--60) 0; }
.room-gallery__title { font-size: var(--wp--preset--font-size--x-large); }
.room-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 180px), 1fr)); gap: 10px; }
.room-gallery__link { display: block; border-radius: 12px; overflow: hidden; line-height: 0; }
.room-gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.room-gallery__link:hover img, .room-gallery__link:focus-visible img { transform: scale(1.04); }
.room-gallery__link { position: relative; }
.room-gallery__link video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #1E1F15; pointer-events: none; transition: transform .2s ease; }
.room-gallery__link:hover video, .room-gallery__link:focus-visible video { transform: scale(1.04); }
.room-gallery__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(246, 194, 45, 0.95); box-shadow: 0 4px 14px rgba(30, 31, 21, 0.35); }
.room-gallery__play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #343525; }
.lightbox__video { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 12px; background: #000; }
.lightbox__img[hidden], .lightbox__video[hidden], .lightbox__yt[hidden] { display: none; }
.lightbox__yt { width: min(92vw, calc(82vh * 16 / 9), 1400px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.lightbox__yt iframe { width: 100%; height: 100%; border: 0; display: block; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(30, 31, 21, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 12px; }
.lightbox__count { color: #FFF6DF; font-size: 14px; margin-top: 10px; }
.lightbox__btn {
	position: fixed; width: 52px; height: 52px; border-radius: 999px; border: 0; cursor: pointer;
	background: #F6C22D; color: #343525; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox__btn:hover { background: #FFFFFF; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }

.single-rooms .wp-block-post-content > :last-child { margin-bottom: 0; }
.single-rooms .wp-site-blocks main > :last-child { margin-bottom: var(--wp--preset--spacing--70); }

/* Game pages */
.back-link { margin: 0 0 var(--wp--preset--spacing--40); font-size: 15px; font-weight: 600; }
.back-link a { color: #343525; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.back-link a:hover { text-decoration: underline; }
.room-hero__intro { font-size: 18px; margin: 12px 0 0; max-width: 560px; }
.room-hero__label { margin-top: 16px; align-self: flex-start; width: fit-content; }
.game-card { position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(52, 53, 37, 0.12); }
.game-card__link { color: inherit; text-decoration: none; }
.game-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.game-card__link:focus-visible { outline: none; }
.game-card:focus-within { outline: 3px solid #343525; outline-offset: 2px; }
.single-brainon_game .wp-block-post-content > :last-child { margin-bottom: 0; }
.single-brainon_game .wp-site-blocks main > :last-child { margin-bottom: var(--wp--preset--spacing--70); }
.game-labels { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.room-hero .game-labels { margin-top: 16px; }
.room-hero .game-labels .room-hero__label { margin-top: 0; }
.game-label--4d { background: #F6C22D !important; color: #343525 !important; }
.room-hero .game-label--4d { background: #FFF6DF !important; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: var(--wp--preset--spacing--40); }
.faq__item { background: #FFFFFF; border-radius: 18px; scroll-margin-top: 110px; transition: box-shadow .15s ease; }
.faq__item[open] { box-shadow: 0 10px 28px rgba(52, 53, 37, 0.10); }
.faq__question { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 18px 24px; font-weight: 700; font-size: 18px; line-height: 1.35; color: #343525; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question:focus-visible { outline: 3px solid #343525; outline-offset: 2px; border-radius: 18px; }
.faq__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #F6C22D; position: relative; transition: background .15s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; background: #343525; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: #343525; }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #F6C22D; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__question:hover .faq__icon { background: #D9A514; }
.faq__item[open] .faq__question:hover .faq__icon { background: #343525; }
.faq__answer { padding: 0 24px 22px 86px; }
.faq__answer > :first-child { margin-top: 0; }
.faq__answer > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
	.faq__question { font-size: 16px; gap: 14px; padding: 14px 16px; }
	.faq__icon { flex-basis: 36px; height: 36px; }
	.faq__answer { padding: 0 16px 18px 16px; }
}

/* Header: logo left with the menu next to it, button right; same width as the content below */
.site-header .site-header__bar { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 40px; }
.site-header .site-header__bar > .wp-block-navigation { justify-self: start; }
.site-header .site-header__bar > .wp-block-site-logo { justify-self: start; margin: 0; }
.site-header .site-header__bar > .wp-block-group { justify-self: end; }
.site-header .wp-block-site-logo a { display: block; line-height: 0; }
/* Mobile: hamburger menu left, logo in the middle, "Reserveer" right */
@media (max-width: 599px) {
	.site-header .site-header__bar { grid-template-columns: 1fr auto 1fr; gap: 12px; }
	.site-header .site-header__bar > .wp-block-navigation { order: -1; justify-self: start; }
	.site-header .site-header__bar > .wp-block-site-logo { justify-self: center; }
}
/* Mobile: "Reserveer" becomes a calendar icon (the word stays for screen readers) */
@media (max-width: 600px) {
	.site-header .site-header__book .wp-block-button__link { font-size: 0 !important; width: 48px; height: 48px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
	.site-header .site-header__book .wp-block-button__link::before {
		content: ""; width: 24px; height: 24px; background-color: #F6C22D;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3Cpath d='M9 15l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3Cpath d='M9 15l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* Announcement bar: links in the text are yellow buttons */
.announcement { position: relative; background: #343525; color: #FFF6DF; font-size: 15px; line-height: 1.45; text-align: center; padding: 10px 48px; }
.announcement[hidden] { display: none; }
.announcement__inner { max-width: 1160px; margin: 0 auto; }
.announcement__text p, .announcement__text ul, .announcement__text ol { margin: 0; }
.announcement__text > * + * { margin-top: 6px; }
.announcement__text ul, .announcement__text ol { display: inline-block; text-align: left; padding-left: 1.2em; }
.announcement strong, .announcement b { color: #F6C22D; }
.announcement__text a { display: inline-block; margin: 2px 4px; padding: 3px 14px; border-radius: 999px; background: #F6C22D; color: #343525; font-weight: 700; font-size: 14px; line-height: 1.4; text-decoration: none; white-space: nowrap; vertical-align: middle; }
.announcement__text a strong, .announcement__text a b { color: inherit; }
.announcement__text a:hover { background: #FFF6DF; }
.announcement__text a:focus-visible { outline: 2px solid #FFF6DF; outline-offset: 2px; }
.announcement__close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #FFF6DF; font-size: 22px; line-height: 1; cursor: pointer; }
.announcement__close:hover, .announcement__close:focus-visible { background: rgba(255, 246, 223, 0.15); }
@media (max-width: 600px) {
	.announcement { font-size: 14px; padding: 8px 40px 8px 14px; text-align: left; }
	.announcement__text a { margin-left: 0; }
	.announcement__close { right: 4px; }
}

/* Opening hours (footer) */
.site-footer .hours { display: flex; flex-direction: column; gap: 2px; }
.site-footer .hours__note { margin: 12px 0 0; }

/* Cookie banner */
.cookie-banner { position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(960px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: #343525; color: #FFF6DF; border-radius: 16px; box-shadow: 0 12px 32px rgba(30, 31, 21, 0.35); font-size: 15px; line-height: 1.45; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; flex: 1; }
.cookie-banner__text a { color: #F6C22D; }
.cookie-banner__buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner button { font: inherit; font-weight: 700; border-radius: 999px; padding: 9px 22px; cursor: pointer; border: 2px solid #F6C22D; }
.cookie-banner__ok { background: #F6C22D; color: #343525; }
.cookie-banner__ok:hover { background: #FFF6DF; border-color: #FFF6DF; }
.cookie-banner__no { background: transparent; color: #FFF6DF; }
.cookie-banner__no:hover { background: rgba(255, 246, 223, 0.12); }
.cookie-banner button:focus-visible { outline: 3px solid #FFF6DF; outline-offset: 2px; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; } .cookie-banner__buttons button { flex: 1; } }

/* Reviews (Bookeo): yellow over the full screen width, reviews as wide as the text */
.reviews { background: #F6C22D; padding: var(--wp--preset--spacing--60) 0; border-image: conic-gradient(#F6C22D 0 0) fill 0 / / 0 100vw; }
.alignfull > .reviews, .reviews.alignfull { padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.reviews__inner { max-width: 1160px; margin: 0 auto; }
.reviews__title { margin-top: 0; }
.reviews__title { margin-bottom: var(--wp--preset--spacing--40); }
.reviews__frame { display: block; width: 100%; border: 0; border-radius: 16px; background: #FFFFFF; }
.reviews__frame--mobile { display: none; }
@media (max-width: 700px) {
	.reviews__frame--desktop { display: none; }
	.reviews__frame--mobile { display: block; }
}

/* Hero on wide screens: text in the same column as the rest of the page, yellow fade follows the text */
.wp-block-cover.hero.has-custom-content-position .wp-block-cover__inner-container { width: 100% !important; max-width: 1160px; margin-left: auto !important; margin-right: auto !important; }
.wp-block-cover.hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: auto !important; max-width: 680px; }
@media (min-width: 782px) {
	.hero .wp-block-cover__background.has-background-gradient {
		background: linear-gradient(90deg, rgba(246, 194, 45, 1) 0%, rgba(246, 194, 45, 0.75) 50%, rgba(246, 194, 45, 0.2) 100%) !important;
	}
}

/* Anchor targets below the sticky header */
#reserveren { scroll-margin-top: 110px; }

/* Full-width sections follow each other without a gap */
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }

/* Homepage banner slideshow */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .hero-slides__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides .hero-slides__img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides .hero-slides__img { transition: none; } }
.hero-arrows { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 32px); z-index: 2; display: flex; gap: 10px; }
.hero-arrows__btn { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 246, 223, 0.92); color: #343525; font-size: 28px; line-height: 1; padding: 0 0 4px; cursor: pointer; box-shadow: 0 4px 14px rgba(30, 31, 21, 0.25); transition: background .15s ease, transform .15s ease; }
.hero-arrows__btn:hover { background: #F6C22D; transform: scale(1.06); }
.hero-arrows__btn:focus-visible { outline: 3px solid #343525; outline-offset: 2px; }
@media (max-width: 600px) { .hero-arrows__btn { width: 40px; height: 40px; font-size: 24px; } }

.game-card__players { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #4A4B38; }
.game-card__players svg { width: 16px; height: 16px; }
.faq__answer .highlight { background: #FFF6DF; border-left: 4px solid #F6C22D; border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.faq__answer h5 { margin: 18px 0 6px; font-size: 16px; }
