/* WordPress- and GeneratePress-specific rules. Hand-written; site.css is generated.
   Everything here exists because the WordPress markup differs from the design's static
   HTML in a small, known way. */

/* GeneratePress wraps the page in div#page.site.grid-container.container. The design's
   own .container (max-width + gutters) must not apply to that wrapper. */
#page.site { max-width: none; width: auto; margin: 0; padding: 0; }
.site-content { display: block; }
.site-main, .inside-article, .entry-content { margin: 0; padding: 0; }
.entry-content > :last-child { margin-bottom: 0; }

/* GenerateBlocks puts an icon inside span.gb-shape. Let the svg act as the direct child
   the design's flex and grid rules expect. */
.gb-shape { display: contents; }
.notice .icon { color: var(--orange-ink); align-self: flex-start; margin-top: 1px; }

/* Where the design used a span or p and the block is a div. */
.go__place { display: inline-flex; align-items: center; gap: var(--space-2); }
.sh__eyebrow .checker, .hero__eyebrow .checker { flex: none; }
.ecard__more .gb-text, .pitch__kind .gb-text { font: inherit; letter-spacing: inherit; }

/* FAQ items are core/details blocks: the chevron is drawn here, not an inline icon. */
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--orange-ink); border-bottom: 2px solid var(--orange-ink); transform: rotate(45deg); transition: transform .15s ease; }
.acc details[open] summary::after { transform: rotate(-135deg); }

/* Pages the design did not have: family campsite, rental, contact, privacy. */
.hero--plain .hero__in { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 900px; }
.prose > * + * { margin-top: var(--space-5); }
.prose__list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.prose__list li { display: flex; align-items: flex-start; gap: var(--space-3); }
.prose__list .icon { color: var(--orange-ink); margin-top: 2px; }
.notice--draft { display: block; }
.family-band p { margin: 0; max-width: 60ch; }
.prose h2 { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 800; font-style: italic; text-transform: uppercase; }
@media (max-width: 720px) { .prose h2 { font-size: 34px; } }
/* The Google score in the hero: five stars, filled up to the score, and a link to the reviews. */
.grating-wrap { margin: var(--space-4) 0 0; }
.grating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); color: inherit; text-decoration: none; }
.grating__stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; color: rgba(255, 255, 255, .28); }
.grating__stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--fill, 0%); overflow: hidden; white-space: nowrap; color: var(--orange); }
.grating__score { font-weight: 700; }
.grating__text { color: var(--on-asphalt-muted); }
.grating:hover .grating__text, .grating:focus-visible .grating__text { text-decoration: underline; }
/* Marco's own videos and photos on the TT page: tiles of the same shape, as many per row as fit. */
.vibe { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); align-items: start; margin-top: var(--space-6); }
.vibe figure { margin: 0; }
.vibe img, .vclip video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: #17191c; }
.vclip figcaption, .vibe .shot figcaption { margin-top: var(--space-2); font-size: 15px; }
@media (max-width: 520px) { .vibe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Language switch: a small flag beside each code (Marco, 18 November 2026: "heel subtiel").
   Muted until hovered or current, so the codes still lead. */
.lang a { gap: 6px; }
.lang__flag { flex: none; width: 15px; height: 10px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); opacity: .7; filter: saturate(.75); transition: opacity .15s ease, filter .15s ease; }
.lang a:hover .lang__flag, .lang a[aria-current="true"] .lang__flag { opacity: 1; filter: none; }

/* Photo galleries (includes/galleries.php, assets/gallery.js): a few photos on the page,
   all of them in the viewer. */
.gallery { margin-top: var(--space-5); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.gallery__grid li[hidden] { display: none; }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius-sm); background: #17191c; }
.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__more { margin-top: var(--space-4); }
@media (max-width: 600px) { .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); } }
@media (prefers-reduced-motion: reduce) { .gallery__item img { transition: none; } .gallery__item:hover img { transform: none; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 11, 13, .94); color: #fff; }
.lightbox::backdrop { background: rgba(10, 11, 13, .94); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); height: 100%; margin: 0; padding: 56px 64px; box-sizing: border-box; }
.lightbox__img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; }
.lightbox__count { font-size: 15px; color: rgba(255, 255, 255, .8); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--orange); color: var(--on-orange); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 64px 8px 80px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* The sanitary block on the family and TT pages. */
.sanitary { margin-top: var(--space-6); }
.sanitary h3 { margin: 0 0 var(--space-2); }

/* The hall request form (includes/hall-request.php). */
.hall-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.hall-form p { margin: 0; }
.hall-form__field { display: grid; gap: var(--space-1); }
.hall-form__field:has(textarea), .hall-form__note, .hall-form p:has(button), .hall-form__status { grid-column: 1 / -1; }
.hall-form label { font-weight: 600; }
.hall-form textarea.input { height: auto; min-height: 140px; padding: var(--space-3) var(--space-4); resize: vertical; }
.hall-form .input[aria-invalid="true"] { border-color: var(--red); }
.hall-form__error { color: var(--red); font-size: 15px; }
.hall-form__note { font-size: 15px; color: var(--ink-muted); }
.hall-form__status:empty { display: none; }
.hall-form__status { font-weight: 600; }
.hall-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .hall-form { grid-template-columns: 1fr; } }

/* Home: family campsite and hall hire (Marco, 19 November 2026). Two cards, wider than the event cards. */
.ecards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
@media (max-width: 600px) { .ecards--2 { grid-template-columns: 1fr; } }
/* Main menu (Marco, 19 November 2026): Evenementen, Faciliteiten, FAQ, Zaalverhuur, Contact.
   Logo, five items, the four languages and the booking button need, unsqueezed and with 20 px
   between the items, at most 1.181 px (fr). The design folded at 1040 px, where the header
   already ran off screen; now the menu button takes over below 1200 px (tablets, phones). */
.header .nav { gap: 20px; }
@media (max-width: 1199px) {
  .nav, .header__tools .lang { display: none; }
  .header__tools { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
