/*
Theme Name: domibouawa
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domibouawa
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* === tokens === */
:root {
	--sidebar-w: 33.333%;
	--rule: #e6e6e6;
	--ink: var( --wp--preset--color--primary );
	--bg: var( --wp--preset--color--background );
	--muted: var( --wp--preset--color--muted );
	--label: var( --wp--preset--font-size--label );
	--md: var( --wp--preset--spacing--md );
	--sm: var( --wp--preset--spacing--sm );
	--sport-bg: #eef1f6;
	--about-bg: #f7efd4;
}

/* === sticky split === */
header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: var( --sidebar-w );
	background: var( --bg );
	z-index: 50;
	overflow-y: auto;
	overflow-x: hidden;
}
header.wp-block-template-part .sidebar {
	height: 100%;
	/* the block layout sets column + flex-wrap:wrap; on wide screens that can
	   wrap the KvK/email footer into a phantom second column off to the side,
	   hiding it. Keep the column single so the footer stays under the nav. */
	flex-wrap: nowrap;
}

/* the nav block must not shrink when the sidebar is short: if it shrinks,
   its overflowing content (the Contact button) paints over the footer and
   overlaps the KvK/email. Keep it full-size so, if it ever doesn't fit, the
   sidebar scrolls as a whole instead of colliding with the footer. */
.sidebar-top {
	flex-shrink: 0;
}
/* desktop: move the whole logo + wordmark + nav cluster down so its top aligns
   with the About page header (which starts at y=128), keeping it near-original */
@media ( min-width: 783px ) {
	header.wp-block-template-part .sidebar-top {
		margin-top: 52px;
		margin-bottom: 0;
	}
}
.sidebar-foot {
	flex-shrink: 0;
}
.wp-site-blocks main,
.wp-site-blocks footer.wp-block-template-part {
	margin-left: var( --sidebar-w );
}

/* Sports page: light-blue nav panel only (content stays white) */
body.sport-page header.wp-block-template-part {
	background: var( --bg );
}

/* === sidebar === */
.sidebar-top .wp-block-site-title {
	margin: 12px 0 0 34px;
	margin-left: 34px !important;
	font-size: 5rem !important;
	line-height: 1.05;
}
.sidebar-top .wp-block-site-title a {
	font-family: "TC Chaddlewood", serif;
	font-weight: 400;
	font-size: 5rem;
	line-height: 1.05;
	letter-spacing: 0;
	color: var( --ink );
	text-decoration: none;
}
.sidebar-top .wp-block-site-title a .sport-script {
	font-family: "Amsterdam Four", cursive;
	font-weight: 300;
	font-size: 0.9em;
}
.sidebar-top .wp-block-site-title a .sport-x {
	font-weight: 700;
	font-size: 0.45em;
	color: #151515;
}
.sidebar-top .wp-block-site-title a .sport-script {
	font-weight: 300;
}
/* sport page: wordmark stacks as domi bou awa / x / sports. "domi bou awa"
   keeps the exact line-height, size and alignment of the other pages so it
   sits identically; the x and sports are centred under its middle, the x bold
   and slightly lower, the sports light. */
body.sport-page .sidebar-top .wp-block-site-title a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.05;
}
body.sport-page .sidebar-top .wp-block-site-title a .sport-title {
	font-family: "TC Chaddlewood", serif;
	font-size: 1em;
	line-height: 1.05;
}
body.sport-page .sidebar-top .wp-block-site-title a .sport-x,
body.sport-page .sidebar-top .wp-block-site-title a .sport-script {
	align-self: center;
}
body.sport-page .sidebar-top .wp-block-site-title a .sport-x {
	font-size: 0.42em;
	line-height: 1;
	margin-top: -14px;
}
body.sport-page .sidebar-top .wp-block-site-title a .sport-script {
	font-size: 0.8em;
	line-height: 1;
	margin-top: -38px;
}
/* the sport wordmark is taller (x + sports extra lines), so pull the nav up
   again to keep it level with the other pages */
body.sport-page .sidebar-top > .wp-block-navigation {
	margin-top: 66px;
}
.sidebar .logo {
	margin: 72px 0 var( --md );
	margin-top: 72px !important;
	margin-left: 34px !important;
	max-width: 120px;
}
.sidebar .logo img {
	display: block;
	width: 100%;
	height: auto;
}
.sidebar .wp-block-navigation {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-top: 0;
}
.sidebar-top > .wp-block-navigation {
	margin-top: 56px;
	margin-left: 34px !important;
}
.sidebar .wp-block-navigation-item a {
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --ink );
	padding: 3px 0;
	text-decoration: none;
}
.sidebar .wp-block-navigation-item a:hover,
.sidebar .wp-block-navigation-item.current-menu-item a {
	color: var( --muted );
}
.sidebar-nav {
	margin: 0;
}
.sidebar .sidebar-note,
.sidebar .sidebar-mail {
	color: var( --muted );
	margin: 0;
	width: 100%;
	font-size: 0.85rem !important;
	letter-spacing: 0.1em;
}
.sidebar .sidebar-note {
	margin-bottom: 4px;
}
.sidebar .sidebar-mail a {
	color: var( --muted );
	text-decoration: none;
}
.sidebar .sidebar-mail a:hover {
	color: var( --ink );
}
.sidebar-cta {
	justify-content: flex-start;
	margin-left: 34px !important;
	/* remove the block's inline 32px padding so the button left-edge aligns
	   exactly with the nav-item text (both sit at x=114) */
	padding-left: 0 !important;
}
.sidebar-cta .wp-block-button__link {
	background: #05244d;
	color: #fff;
	border-radius: 10px;
	padding: 15px 34px;
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.sidebar-cta .wp-block-button__link:hover {
	opacity: 0.88;
}
.getintouch .wp-block-button__link {
	background: #05244d;
	color: #fff;
	border-radius: 10px;
	padding: 11px 26px;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
/* contact form send button matches sidebar Contact button height (46px) */
.contact-form .wp-block-button__link {
	background: #05244d;
	color: #fff;
	border-radius: 10px;
	padding: 15px 34px;
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	height: 46px !important;
	min-height: 0 !important;
}
.contact-form .wp-block-button__link:hover {
	opacity: 0.88;
}
.getintouch .wp-block-button__link:hover {
	opacity: 0.88;
}
.sidebar-foot {
	width: calc( 100% - 34px );
	margin-top: var( --md );
	margin-left: 34px !important;
	padding-left: 48px !important;
}

/* === footer === */
.site-footer {
	border-top: 1px solid var( --rule );
	padding-right: 0 !important;
}
.site-footer-inner {
	width: 100%;
	max-width: none;
	justify-content: space-between;
	gap: 1.25rem;
	padding-right: 1.5rem !important;
}
.site-footer .footer-copy,
.site-footer .footer-tag {
	color: var( --muted );
	margin: 0;
}
.site-footer-inner .footer-link {
	margin: 0;
}
.site-footer-inner .footer-link a {
	color: var( --muted );
	text-decoration: none;
	letter-spacing: 0.1em;
	font-size: var( --label );
}
.site-footer-inner .footer-link a:hover {
	color: var( --ink );
}
.site-footer .wp-block-social-links {
	margin: 0;
	gap: 0.35rem;
}
.site-footer .wp-block-social-links .wp-social-link {
	background-color: transparent;
	color: var( --ink );
	padding: 0;
	line-height: 0;
	transition: opacity 0.2s ease;
}
.site-footer .wp-block-social-links .wp-social-link svg {
	width: 18px;
	height: 18px;
}
.site-footer .wp-block-social-links .wp-social-link:hover {
	opacity: 0.6;
}

/* === page intro === */
.page-intro .wp-block-heading {
	margin: 0 0 var( --sm );
}
.page-intro .wp-block-paragraph {
	color: var( --muted );
	max-width: 46ch;
}
/* about intro fills the right column like the What I make text */
body.about-page .page-intro .wp-block-paragraph {
	max-width: none;
}
.page-intro .intro-eyebrow {
	color: var( --muted );
	margin: 0 0 var( --sm );
}

/* subtle rounding on all content images */
.wp-block-image img {
	border-radius: 12px;
}
.sidebar .logo img {
	border-radius: 0;
}
/* illustrations: the wentletrap is a tall portrait, so at full column width
   it towers over the rest — cap its width so it reads modest like the others */
.collage .wentletrap {
	max-width: 170px;
}
.collage .wentletrap img {
	width: 100%;
	height: auto;
}

/* === collage === */
.collage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 30px;
	padding-left: var( --wp--style--root--padding-left );
	padding-right: var( --wp--style--root--padding-right );
}
.collage figure {
	margin: 0;
}
.collage .wp-block-image {
	margin: 0 0 30px;
}
.collage .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	filter: contrast(1.03);
}
.collage figcaption {
	font-size: var( --label );
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #bababa;
	margin-top: 6px;
	padding: 0;
}
/* captions: hidden on home, kept lighter on nature & illustrations */
body.page-id-33 .collage figcaption,
body.page-id-36 .collage figcaption {
	color: #bababa;
}
body.home .collage figcaption {
	display: none;
}
body.page-id-36 .collage figcaption {
	text-align: center;
}
.collage .tilt-a {
	transform: rotate( -2deg );
}
.collage .tilt-b {
	transform: rotate( 1.5deg );
}

/* two equal columns, alternating portrait/landscape, same width */
.collage-col {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 30px;
	min-width: 0;
	position: relative;
}
.collage .collage-col:nth-child(2) {
	margin-top: 0;
}
.collage-col .wp-block-image {
	width: 100%;
	margin: 0;
}
.collage-col img {
	width: 100%;
	height: auto;
}
/* auto-scroll marquee (JS adds is-scrolling). The window (col) is clipped to one
   copy; the track holds two identical groups and scrolls -50% (exactly one copy). */
.collage.auto-scroll.is-scrolling .collage-col {
	height: var( --marquee-h, 60vh );
	overflow: hidden;
}
.collage.auto-scroll.is-scrolling .collage-track {
	width: 100%;
	display: flex;
	flex-direction: column;
	animation: colScroll var( --marquee-dur, 40s ) linear infinite;
	will-change: transform;
}
/* sports feed: scroll through once only, then stop (no infinite loop) */
body.sport-page .collage.auto-scroll.is-scrolling .collage-track {
	animation: colScroll var( --marquee-dur, 40s ) linear 1 forwards;
}
.collage-group {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	position: relative;
	box-sizing: border-box;
	padding: 15px 0;
}
@keyframes colScroll {
	from { transform: translateY( 0 ); }
	to   { transform: translateY( -50% ); }
}

/* === social tabs & feed === */
.social-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var( --sm );
	border-bottom: 1px solid var( --rule );
	margin-bottom: var( --md );
	padding-left: var( --wp--style--root--padding-left );
	padding-right: var( --wp--style--root--padding-right );
	position: sticky;
	top: 0;
	z-index: 30;
	background-color: #ffffff;
	box-shadow: 0 1px 0 var( --rule );
}
.social-tabs .wp-block-button {
	margin: 0;
}
.social-tabs .wp-block-button__link {
	background: transparent;
	color: var( --muted );
	padding: 12px 0 30px;
	border-radius: 0;
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
	font-size: var( --label );
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.social-tabs .wp-block-button__link:hover {
	background: transparent;
	color: var( --text );
}
.social-tabs .wp-block-button.is-active .wp-block-button__link {
	color: var( --text );
	border-bottom-color: currentColor;
}
.social-grid {
	display: block;
	columns: 3;
	column-gap: var( --sm );
	scroll-margin-top: 92px;
}
/* Landscape videos become full-width feature strips inside the masonry feed,
   so they read large (not a tiny sliver in one column) while the rest of the
   feed keeps tight, gap-free column packing. */
.social-grid .wp-block-video.span-2 {
	column-span: all;
}
/* Full-width section dividers that span the masonry columns. Headings inherit
   the TC Chaddlewood heading font from the theme's heading element style. */
.social-grid .social-section {
	column-span: all;
	margin: calc( var( --md ) * 2 ) 0 var( --sm );
	padding-bottom: var( --sm );
	border-bottom: 1px solid var( --rule );
	font-family: var( --wp--preset--font-family--dmsans );
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --ink );
}
.social-grid .wp-block-image {
	width: 100%;
	margin: 0 0 var( --sm );
	break-inside: avoid;
	border-radius: 12px;
	overflow: hidden;
}
.social-grid .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}
/* instagram carousel posts (auto-advancing core image groups) */
.insta-carousel {
	break-inside: avoid;
	margin: 0 0 var( --sm );
}
.insta-carousel.is-carousel {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
}
/* square LinkedIn carousel posts stay 1:1 in the masonry feed */
.social-grid .insta-carousel.linkedin-post.is-carousel {
	aspect-ratio: 1 / 1;
}
.insta-carousel.is-carousel .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.insta-carousel.is-carousel .wp-block-image.is-active {
	opacity: 1;
}
.insta-carousel.is-carousel .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* video slides share the stacked cover treatment; native controls are hidden so
   the clip reads as a clean auto-playing slide inside the carousel */
.insta-carousel.is-carousel .wp-block-video {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.insta-carousel.is-carousel .wp-block-video.is-active {
	opacity: 1;
}
.insta-carousel.is-carousel .wp-block-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #151515;
}
.insta-carousel.is-carousel .wp-block-video video::-webkit-media-controls,
.insta-carousel.is-carousel .wp-block-video video::-moz-media-controls {
	display: none !important;
}
/* Editor-only marker: which image groups become slideshows. These rules are
   scoped to the editor canvas so they only ever appear in the block/site editor,
   never on the front end (there is no .editor-styles-wrapper there). */
.editor-styles-wrapper .insta-carousel {
	outline: 1px dashed rgba(21, 21, 21, 0.4);
	outline-offset: 4px;
	border-radius: 6px;
	position: relative;
}
.editor-styles-wrapper .insta-carousel::before {
	content: "Slideshow";
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 2;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: #151515;
	color: #fff;
	padding: 3px 9px;
	border-radius: 3px;
	pointer-events: none;
}
.editor-styles-wrapper .insta-carousel > .wp-block-image:first-child {
	outline: 0;
}
/* social video placeholder */
.social-grid .wp-block-video {
	width: 100%;
	margin: 0 0 var( --sm );
	break-inside: avoid;
	background: transparent;
	border-radius: 12px;
	overflow: hidden;
}
/* real videos keep their natural size (no 4/5 crop); only the corners round */
.social-grid .wp-block-video video {
	display: block;
	width: 100%;
	height: auto;
}
/* empty "Reel" placeholders keep a tidy 4/5 tile so they don't collapse */
.social-grid .wp-block-video:not(:has(video[src])) {
	aspect-ratio: 4 / 5;
}
.social-grid .wp-block-video figcaption {
	text-align: center;
	color: var( --muted );
	font-size: var( --label );
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
.social-grid .wp-block-image,
.social-grid .wp-block-video {
	position: relative;
	cursor: pointer;
}
.social-grid.is-hidden {
	display: none;
}
.social-desc {
	margin: 0 0 var( --md );
	color: var( --muted );
	column-span: all;
}

/* Full-width article link at the top of an org's feed, spanning all columns. */
.social-desc.article-link {
	display: block;
	width: 100%;
}
.social-desc.article-link a {
	color: var( --ink );
	text-decoration: underline;
	text-underline-offset: 3px;
}
.social-desc.article-link a:hover {
	color: var( --muted );
}

/* Organization directory shown in the All tab: a vertical list of org cards,
   each with its small square logo, name and description, clicking to its feed. */
.social-grid.social-index {
	columns: 1;
}
.social-index-intro {
	margin: 0 0 var( --md );
	color: var( --muted );
	column-span: all;
}
.org-card {
	display: grid;
	grid-template-columns: 150px 1fr;
	grid-template-rows: auto auto;
	column-gap: var( --md );
	row-gap: var( --sm );
	align-items: center;
	padding: var( --md ) 0;
	border-top: 1px solid var( --rule );
	cursor: pointer;
}
.org-card + .org-card {
	margin-top: 0;
}
/* no hairline above the very first org card ("IUCN NL") */
.social-grid.social-index .org-card:first-child {
	border-top: 0;
}
.social-grid.social-index .org-logo {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: center;
	width: 150px;
	height: 76px;
	overflow: hidden;
	margin: 0 !important;
}
.social-index .org-logo img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
}
.org-card .org-name {
	grid-column: 2;
	grid-row: 1;
	font-family: var( --wp--preset--font-family--dmsans );
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.08em;
	margin: 0;
	color: var( --ink );
}
.org-card:hover .org-name,
.org-card:focus-visible .org-name {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.org-card .org-desc {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	color: var( --muted );
	max-width: 34em;
}

/* Footer: KvK + email pinned bottom-left, social icons + copyright to their right. */
.footer-left,
.footer-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.footer-left {
	column-gap: var( --md );
}
.footer-right {
	column-gap: var( --sm );
}
.footer-left .footer-kvk,
.footer-left .footer-email {
	margin: 0;
	color: var( --muted );
}
.footer-email a {
	color: var( --muted );
	text-decoration: none;
}
.footer-email a:hover {
	text-decoration: underline;
}
.about-shot .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}
/* about page: text left, images right in columns */
.about-cols.wp-block-columns,
.service-cols.wp-block-columns {
	gap: 2rem;
}
.about-cols .wp-block-image img,
.service-cols .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* === project blocks === */
.project {
	padding: var( --wp--preset--spacing--md ) 0;
}
.project + .project,
.project.has-rule {
	border-top: 1px solid var( --rule );
}
.project .project-label {
	color: var( --muted );
	margin: 0 0 var( --sm );
}
.project .project {
	border-top: 1px solid var( --rule );
}
.project-title {
	margin: 0 0 var( --md );
}
.project .project-summary {
	color: var( --muted );
	max-width: 46ch;
	margin: 0 0 var( --md );
}
.project-collage {
	columns: 2;
}
.project .collage {
	padding-left: calc( var( --wp--style--root--padding-left ) * 2 );
	padding-right: calc( var( --wp--style--root--padding-right ) * 2 );
}

/* === buttons & links === */
.wp-block-button__link:hover {
	opacity: 0.85;
}
.wp-site-blocks a {
	text-underline-offset: 0.15em;
}

/* === motion === */
.collage .wp-block-image {
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.collage .wp-block-image.reveal-hidden {
	opacity: 0;
	transform: translateY( 10px );
}
.hero-settle img {
	animation: hero-settle 6s ease-out both;
}
@keyframes hero-settle {
	from { transform: scale( 1.04 ); }
	to { transform: scale( 1 ); }
}
@media ( prefers-reduced-motion: reduce ) {
	* {
		animation: none !important;
		transition: none !important;
	}
	.collage .wp-block-image.reveal-hidden {
		opacity: 1;
		transform: none;
	}
}

/* === home === */
.hero-settle {
	overflow: hidden;
}
.hero-settle img {
	display: block;
	width: 100%;
	height: auto;
}
.index-section .index-row {
	border-top: 1px solid var( --rule );
	padding: var( --sm ) 0 var( --md );
}
.index-section .index-row h2 {
	margin: 0;
}
.index-section .index-row h2 a {
	color: var( --ink );
	text-decoration: none;
}
.index-section .index-row h2 a:hover {
	color: var( --muted );
}
.index-num {
	color: var( --muted );
	margin: 0;
}
.about-teaser h2 {
	margin: 0 0 var( --sm );
}
.about-teaser p {
	color: var( --muted );
	max-width: 46ch;
}

.about-teaser p {
	color: var( --muted );
	max-width: 46ch;
}

/* === contact === */
.contact-details .detail-row {
	border-top: 1px solid var( --rule );
	padding: var( --sm ) 0 var( --md );
}
.contact-details .detail-row:last-child {
	border-bottom: 1px solid var( --rule );
}
.contact-details .detail-row > * {
	margin: 0;
}
.contact-details .detail-links {
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}
.contact-details .detail-links .detail-value {
	margin: 0;
}
.contact-details .detail-label {
	color: var( --muted );
}
.contact-details .detail-value a {
	color: var( --ink );
	text-decoration: none;
	border-bottom: 1px solid var( --rule );
}
.contact-details .detail-value a:hover {
	color: var( --muted );
}
/* keep the two contact blocks tightly spaced; the boundary hairline lives
   under the last detail row (below Social), aligned with the content */
.wp-block-group.contact-form {
	margin-top: 0;
}
.contact-form .wp-block-jetpack-contact-form label {
	font-size: var( --label );
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var( --ink );
	margin-bottom: 6px;
}
.contact-form .wp-block-jetpack-contact-form input[type="text"],
.contact-form .wp-block-jetpack-contact-form input[type="email"],
.contact-form .wp-block-jetpack-contact-form input[type="url"],
.contact-form .wp-block-jetpack-contact-form textarea {
	width: 100%;
	border: 1px solid var( --rule );
	border-radius: 0;
	background: var( --bg );
	color: var( --ink );
	padding: 10px 12px;
	font-family: inherit;
	font-size: 1rem;
	box-sizing: border-box;
}
.contact-form .wp-block-jetpack-contact-form input:focus,
.contact-form .wp-block-jetpack-contact-form textarea:focus {
	outline: 1px solid var( --ink );
}
.contact-form .wp-block-jetpack-contact-form .contact-form__submit button[type="submit"],
.contact-form .wp-block-jetpack-contact-form button[type="submit"] {
	background: #05244d;
	color: #fff;
	border-radius: 10px;
	padding: 15px 34px;
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.contact-form .wp-block-jetpack-contact-form button[type="submit"]:hover {
	opacity: 0.88;
}

/* bilingual privacy / consent fine print under the form */
.contact-form .privacy-note {
	max-width: 46ch;
	margin-block-start: 1.25rem;
	font-family: var( --wp--preset--font-family--dmsans );
	font-size: 13px;
	line-height: 1.5;
	color: var( --muted );
}
.contact-form .privacy-note a {
	color: var( --ink );
	text-decoration: underline;
	text-underline-offset: 2px;
}
.contact-form .privacy-note a:hover {
	color: var( --muted );
}

/* === responsive === */
/* Keep the exact desktop sidebar on every format: no top-bar refactor, the
   KvK/email footer stays visible, and text never wraps to an extra line.
   Sizes scale fluidly with the viewport (clamp) so the look is identical,
   just smaller. */
.sidebar .logo {
	max-width: clamp( 46px, 11.5vw, 120px );
}
.sidebar-top .wp-block-site-title {
	font-size: clamp( 2rem, 7.7vw, 5rem ) !important;
}
.sidebar-top .wp-block-site-title a {
	font-size: clamp( 2rem, 7.7vw, 5rem );
}
.sidebar .wp-block-navigation-item a {
	font-size: clamp( 0.6rem, 1.3vw, 0.85rem );
}
.sidebar .sidebar-note,
.sidebar .sidebar-mail {
	font-size: clamp( 0.5rem, 1.3vw, 0.85rem ) !important;
}
.sidebar-cta {
	flex-wrap: nowrap;
}
.sidebar-cta .wp-block-button__link {
	font-size: clamp( 0.68rem, 1.54vw, 1rem );
	padding: clamp( 10px, 1.4vw, 15px ) clamp( 20px, 3.2vw, 34px );
	white-space: nowrap;
}
@media ( max-width: 782px ) {
	:root {
		--sidebar-w: 38%;
	}
	.sidebar .sidebar-foot {
		display: block;
	}
	.collage {
		grid-template-columns: 1fr;
	}
	.social-grid {
		columns: 2;
	}
}
@media ( max-width: 480px ) {
	:root {
		--sidebar-w: 46%;
	}
	.sidebar .logo {
		margin-left: 18px !important;
		margin-top: 48px !important;
	}
	.sidebar-top .wp-block-site-title {
		margin-left: 18px !important;
	}
	.sidebar-top > .wp-block-navigation {
		margin-left: 18px !important;
	}
	.sidebar-cta {
		margin-left: 18px !important;
	}
	.sidebar .sidebar-foot {
		margin-left: 18px !important;
		padding-left: 0 !important;
	}
	.collage-col .wp-block-image {
		margin: 0 0 var( --sm );
	}
	.social-grid {
		columns: 1;
	}
}

/* === mobile header: slim top bar + hamburger menu ===
   On small screens the fixed left sidebar collapses to a slim full-width
   top bar: compact wordmark on the left, hamburger on the right. Tapping the
   hamburger adds .menu-open to the sidebar and reveals a full-screen menu
   with the logo, the page links and the Contact button, so the content gets
   the whole viewport while it is closed. */
.menu-toggle {
	display: none;
}
@media ( max-width: 782px ) {
	header.wp-block-template-part {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		width: 100%;
		height: auto;
		min-height: 0;
		background: var( --bg );
		z-index: 100;
		overflow: visible;
		box-shadow: 0 1px 0 var( --rule );
	}
	header.wp-block-template-part .sidebar {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 0;
		height: auto;
		min-height: 52px;
		padding: 0 14px !important;
	}
	/* collapsed bar: hide everything except the compact wordmark */
	.sidebar .logo,
	.sidebar .sidebar-cta,
	.sidebar-foot {
		display: none;
	}
	.sidebar .wp-block-navigation {
		display: none;
	}
	.sidebar-top {
		display: flex;
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 0;
		width: auto;
		margin-top: 0 !important;
		padding: 0 !important;
	}
	.sidebar-top .wp-block-site-title {
		margin: 0 !important;
		font-size: 1.5rem !important;
		line-height: 1.1;
	}
	.sidebar-top .wp-block-site-title a {
		font-size: 1.5rem;
		line-height: 1.1;
	}
	body.sport-page .sidebar-top .wp-block-site-title a .sport-x,
	body.sport-page .sidebar-top .wp-block-site-title a .sport-script {
		display: none;
	}
	/* hamburger toggle; floats top-right and stays above the open menu */
	.menu-toggle {
		display: block;
		position: fixed;
		top: 6px;
		right: 12px;
		z-index: 210;
		margin: 0;
	}
	.menu-toggle .wp-block-button__link {
		position: relative;
		display: block;
		width: 40px;
		height: 40px;
		padding: 0;
		background: transparent;
		color: transparent;
		border-radius: 0;
		font-size: 0;
		text-indent: -9999px;
		overflow: hidden;
	}
	.menu-toggle .wp-block-button__link::before,
	.menu-toggle .wp-block-button__link::after {
		content: "";
		position: absolute;
		left: 8px;
		right: 8px;
		height: 2px;
		background: var( --ink );
		transition: transform 0.25s ease, top 0.25s ease;
	}
	.menu-toggle .wp-block-button__link::before { top: 15px; }
	.menu-toggle .wp-block-button__link::after { top: 23px; }
	.sidebar.menu-open .menu-toggle .wp-block-button__link::before {
		top: 19px;
		transform: rotate( 45deg );
	}
	.sidebar.menu-open .menu-toggle .wp-block-button__link::after {
		top: 19px;
		transform: rotate( -45deg );
	}
	/* open menu: full-screen panel that mirrors the desktop sidebar — logo,
	   big wordmark, nav links, then the Contact button, filling the whole
	   screen with breathing room. */
	.sidebar.menu-open .sidebar-top {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 200;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		width: 100% !important;
		height: 100% !important;
		gap: 0;
		background: var( --bg ) !important;
		padding: 60px 34px 40px !important;
		overflow-y: auto;
	}
	.sidebar.menu-open .logo {
		display: block !important;
		max-width: 130px;
		width: 130px;
		margin: 0 0 16px !important;
	}
	.sidebar.menu-open .wp-block-site-title {
		margin: 0 0 12px !important;
		font-size: clamp( 2.6rem, 9vw, 4rem ) !important;
		line-height: 1.05;
	}
	.sidebar.menu-open .wp-block-site-title a {
		font-size: 1em;
		line-height: 1.05;
	}
	.sidebar.menu-open .wp-block-navigation {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin: 36px 0 0 !important;
		padding: 0;
	}
	.sidebar.menu-open .wp-block-navigation .wp-block-navigation-item a,
	.sidebar.menu-open .wp-block-navigation .wp-block-navigation-item__content {
		font-size: 1.05rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var( --ink );
		text-decoration: none;
		padding: 0;
	}
	.sidebar.menu-open .sidebar-cta {
		display: flex;
		justify-content: flex-start;
		margin: 44px 0 0 !important;
	}
	.sidebar.menu-open .sidebar-cta .wp-block-button__link {
		background: #05244d;
		color: #fff;
		border-radius: 10px;
		padding: 15px 34px;
		font-size: 1rem;
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}
	/* give the content full width on mobile — the top bar frees the viewport */
	.wp-site-blocks main,
	.wp-site-blocks footer.wp-block-template-part {
		margin-left: 0;
	}
	.social-tabs {
		top: 52px;
	}
	.social-grid {
		scroll-margin-top: 128px;
	}
	/* The auto-scroll marquee only reads as a wide two-column loop; on the single
	   mobile column it becomes stacked strips of the same duplicated images, so
	   drop it and show the whole gallery stacked once instead. */
	.collage.auto-scroll .collage-col {
		height: auto !important;
		overflow: visible !important;
	}
	.collage.auto-scroll .collage-track {
		display: block !important;
		height: auto !important;
		animation: none !important;
	}
	.collage.auto-scroll .collage-group {
		height: auto !important;
	}
	.collage.auto-scroll .collage-group:nth-child( 2 ) {
		display: none;
	}
	/* Sport page "posters header": don't let the big alignwide title run flush
	   to the screen edge on a phone — pad it to the gallery and scale it down. */
	.project-title {
		padding-right: clamp( 1.25rem, 5vw, 3rem ) !important;
		padding-left: clamp( 1.25rem, 5vw, 3rem ) !important;
		font-size: clamp( 2.5rem, 13vw, 6rem ) !important;
	}
}



