/* ==========================================================================
   MBS Group – brand style of the MBS folder (July 2025), see the "MBS Brandguide".
   Figtree (web stand-in for the house font Mundial), MBS red and black on white,
   the C mark of the logo (buttons, active menu items, bullets, map markers),
   slanted red bars, red statement blocks, quarter circles, square photos.
   ========================================================================== */

/* Figtree (SIL Open Font License, see ../fonts/figtree-OFL.txt), variable 300–900, normal and italic. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Token names match tokens.json of the MBS Brandguide. */
:root {
	--red: #E30613;          /* MBS red (logo), CMYK 0/100/100/0 */
	--red-dark: #B8050F;     /* hover on red; small red text on mist */
	--ink: #1D1D1B;          /* text and headings (100% black in print) */
	--black: #000;           /* logo black: the dot of the C mark */
	--graphite: #26252A;     /* anthracite (CMYK 71/62/50/76): lists, footer bar */
	--grey: #6B6B6B;         /* secondary text: dates, captions, breadcrumbs */
	--mist: #F2F2F2;         /* alternating sections, panels, tiles */
	--tile: #ECECEC;         /* image placeholders (10% black) */
	--line: #DADADA;         /* dividers */
	--line-strong: #8F8F8F;  /* input borders */
	--white: #fff;
	--font: "Figtree", "Segoe UI", Arial, sans-serif;
	--c-stroke: 3px;         /* stroke of the C mark */
	--bar-h: 10px;           /* slanted red bar */
	--bar-slant: 12px;
	--shadow-menu: 0 10px 24px rgba(0, 0, 0, .1);
	--header-h: 96px;
}

/* ---- Base --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 14px; color: var(--ink); font-weight: 600; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(28px, 3vw, 36px); }
h2 { font-size: 26px; font-weight: 700; color: var(--red); }
h3 { font-size: 20px; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 18px; }
strong { font-weight: 700; }
.icon { flex-shrink: 0; vertical-align: middle; }

.wrap { width: 92%; max-width: 1280px; margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; color: var(--white); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- C mark (the logo's open red bracket with a black dot) -------------- */

/* Shared C outline: red on the left, top and bottom, open to the right. */
.btn-c, .nav__link, .filters a, .mbs-chip span, .pagination .page-numbers, .webbar {
	border: var(--c-stroke) solid transparent; border-right: 0; border-radius: 999px 0 0 999px;
}

/* C button (secondary action) */
.btn-c {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 26px 6px 15px;
	border-color: var(--red); background: none; color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.3;
	transition: background-color .15s, color .15s;
}
.btn-c::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--black); flex-shrink: 0; transition: background-color .15s; }
.btn-c:hover { background: var(--red); color: var(--white); }
.btn-c:hover::before { background: var(--white); }

/* Red button with a slanted end, like the red bars (primary action) */
.btn, .mbs-form button[type="submit"], .mbs-newsletter button, .search-form input[type="submit"] {
	position: relative; display: inline-flex; align-items: center; min-height: 46px; margin-right: var(--bar-slant); padding: 10px 16px 10px 22px;
	border: 0; border-radius: 0; background: var(--red); color: var(--white); font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .15s;
}
.btn::after, .mbs-form button[type="submit"]::after, .mbs-newsletter button::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: var(--bar-slant); background: inherit;
	clip-path: polygon(0 0, 100% 0, 0 100%);
}
.btn:hover, .mbs-form button[type="submit"]:hover, .mbs-newsletter button:hover, .search-form input[type="submit"]:hover { background: var(--red-dark); color: var(--white); }
.quote-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 0; }

/* C-mark bullets (folder lists) */
.prose ul, .c-list { margin: 0 0 18px; padding: 0; list-style: none; }
.prose ul > li, .c-list > li { position: relative; padding-left: 26px; }
.prose ul > li::before, .c-list > li::before {
	content: ""; position: absolute; left: 0; top: calc(.5lh - 6.5px); width: 15px; height: 13px;
	border: 2px solid var(--red); border-right: 0; border-radius: 999px 0 0 999px;
}
.prose ul > li::after, .c-list > li::after { content: ""; position: absolute; left: 4px; top: calc(.5lh - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--black); }
.prose ul ul { margin: 4px 0 0; }
.prose ul ul > li::before { top: calc(.5lh - 3px); width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--ink); }
.prose ul ul > li::after { content: none; }

/* Slanted red bar (decorative, as in the folder) */
.bar { display: block; height: var(--bar-h); background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - var(--bar-slant)) 100%, 0 100%); }

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

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: stretch; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: auto; height: 58px; transition: height .2s; }
.site-header.is-scrolled .logo img { height: 46px; }

.nav { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.nav__top { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.toplinks { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.toplinks a { color: var(--ink); text-decoration: none; }
.toplinks a:hover, .toplinks a[aria-current] { color: var(--red); }
.header-service { display: inline-flex; align-items: center; gap: 6px; color: var(--red); text-decoration: none; white-space: nowrap; }
.header-service span { color: var(--ink); }
.header-service:hover strong { text-decoration: underline; }

.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 3px 20px 3px 14px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__link::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--black); opacity: 0; transition: opacity .15s; }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link, .nav__item:focus-within > .nav__link { border-color: var(--red); color: var(--ink); }
.nav__item:hover > .nav__link::before, .nav__item.is-active > .nav__link::before, .nav__item:focus-within > .nav__link::before { opacity: 1; }
.nav__toggle { display: none; }

.sub {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 250px; padding: 14px 0;
	background: var(--white); border-top: 3px solid var(--red); box-shadow: var(--shadow-menu);
	visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub ul { margin: 0; padding: 0; list-style: none; }
.sub li a { display: block; padding: 5px 20px; color: var(--graphite); text-decoration: none; font-size: 15px; }
.sub li a:hover { color: var(--red); }
.sub--wide { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 8px; width: 760px; left: -40px; }
.sub__title { display: block; padding: 5px 20px 6px; color: var(--red); font-weight: 700; text-decoration: none; font-size: 15px; }
@media (min-width: 1001px) {
	.nav__item:hover > .sub, .nav__item:focus-within > .sub, .nav__item.is-open > .sub { visibility: visible; opacity: 1; }
}

.lang { display: flex; align-self: stretch; margin: 0; padding: 0; list-style: none; }
.lang li { display: flex; }
.lang a {
	display: flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--line);
	color: var(--grey); text-decoration: none; text-transform: uppercase; font-size: 14px; font-weight: 600;
}
.lang li:last-child a { border-right: 1px solid var(--line); }
.lang a[aria-current] { background: var(--mist); color: var(--ink); }
.lang a:not([aria-current]):hover { background: var(--mist); color: var(--ink); }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; align-self: center; width: 44px; height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; }
.menu-toggle__bar { display: block; height: 5px; background: var(--red); transition: transform .2s, opacity .2s; }
.nav-open .menu-toggle__bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle__bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 1000px) {
	:root { --header-h: 76px; }
	.logo img, .site-header.is-scrolled .logo img { height: 42px; }
	.site-header__inner { gap: 12px; }
	.lang { margin-left: auto; }
	.menu-toggle { display: flex; }
	.nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 99;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 8px 4% 40px; overflow-y: auto; background: var(--white); border-top: 1px solid var(--line);
		visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
	}
	.nav-open { overflow: hidden; }
	.nav-open .nav { visibility: visible; opacity: 1; }
	.nav__top { order: 2; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; font-size: 16px; }
	.toplinks { flex-direction: column; gap: 12px; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1; padding: 12px 0; border: 0; border-radius: 0; font-size: 18px; }
	.nav__link::before { opacity: 1; background: var(--red); }
	.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
	.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.sub, .sub--wide { position: static; display: none; width: 100%; padding: 0 0 12px 16px; border: 0; box-shadow: none; visibility: visible; opacity: 1; grid-template-columns: 1fr; }
	.nav__item.is-open > .sub { display: block; }
	.sub__title, .sub li a { padding-left: 0; }
}
@media (max-width: 420px) {
	.lang a { padding: 0 8px; }
}

/* ---- Banner slider ------------------------------------------------------ */

.banner { position: relative; overflow: hidden; aspect-ratio: 1800 / 615; max-height: 480px; width: 100%; background: var(--tile); }
/* Slanted red bar along the bottom edge, as under the photos in the folder. */
.banner::after {
	content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; width: min(38%, 560px); height: var(--bar-h);
	background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - var(--bar-slant)) 100%, 0 100%);
}
.banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.banner__slide.is-active { opacity: 1; }
.banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.banner__arrow {
	position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px;
	border: 0; background: var(--red); color: var(--white); cursor: pointer; padding: 0;
}
.banner__arrow:hover { background: var(--red-dark); }
.banner__arrow--prev { left: 0; }
.banner__arrow--next { right: 0; }
@media (max-width: 600px) {
	.banner { aspect-ratio: 16 / 7; }
	.banner__arrow { width: 40px; height: 40px; margin-top: -20px; }
}

/* ---- Page title (tagline + h1) ------------------------------------------ */

.section { padding: 48px 0; }
.section--grey { background: var(--mist); }
.section__more { margin: 28px 0 0; }

/* Section title: red, with a short black rule below ("Sectoren" in the folder). */
.section__title, .tiles-block > h2, .gallery-block > h2, .docs > h2 { margin-bottom: 26px; color: var(--red); font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; line-height: 1.15; }
.section__title::after, .tiles-block > h2::after, .gallery-block > h2::after, .docs > h2::after { content: ""; display: block; width: 44px; height: 5px; margin-top: 12px; background: var(--ink); }
.section__title a { color: inherit; text-decoration: none; }
.section__title a:hover { color: var(--red-dark); }

.page-title { margin-bottom: 32px; }
.tagline { margin: 0 0 8px; color: var(--graphite); font-size: 17px; font-weight: 600; line-height: 1.4; }
.page-title h1 { margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--grey); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* Slogan (home): "MBS," bold italic, the promise in red, the rest black. */
.slogan { max-width: 15em; font-size: clamp(30px, 3.8vw, 48px); font-weight: 600; line-height: 1.12; }
.slogan__brand, .slogan__accent { display: block; }
.slogan__brand { font-style: italic; font-weight: 700; color: var(--black); }
.slogan__accent { color: var(--red); }

/* ---- Layout ------------------------------------------------------------- */

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.layout--product { grid-template-columns: 280px minmax(0, 1fr); }
.layout__main > * + * { margin-top: 36px; }
.layout__main > .quote-buttons { margin-top: 28px; }
.layout__side > * + * { margin-top: 24px; }
@media (max-width: 900px) {
	.layout, .layout--product { grid-template-columns: 1fr; gap: 32px; }
	.layout--product .layout__side { order: 2; }
}

/* ---- Content ------------------------------------------------------------ */

.prose { max-width: 820px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 32px; }
.prose h3 { margin-top: 26px; }
.prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }
.prose img { margin: 8px 0 18px; }
.prose a[href$=".pdf"] { padding-left: 22px; background: url("../img/ico-pdf.png") left center no-repeat; }
.prose table { width: 100%; margin: 20px 0; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--red); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose figcaption, .prose .wp-caption-text { font-size: 14px; color: var(--grey); }
.post-date { margin: 0 0 12px; font-size: 14px; color: var(--grey); }
.back-link a { font-weight: 600; }

/* ---- Tiles -------------------------------------------------------------- */

.tiles { display: grid; gap: 8px; }
.tiles--tile { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.tiles--product { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.tiles--project { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* Title tile (old "pgr"): photo with a white title band that turns red */
.tile { display: block; background: var(--mist); text-decoration: none; color: var(--ink); }
.section--grey .tile { background: var(--white); }
.tile__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__title {
	position: absolute; top: 0; left: 0; right: 0; padding: 11px 16px; background: rgba(255, 255, 255, .93);
	color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.3; transition: background-color .15s, color .15s;
}
.tile:hover .tile__title, .tile:focus-visible .tile__title { background: var(--red); color: var(--white); }
.tile__text { display: block; padding: 15px 16px 18px; font-size: 15px; line-height: 1.6; }
.tile:hover { color: var(--ink); }

/* Red statement block between tiles ("Eigen productie, steeds voor u op voorraad") */
.statement { display: block; min-height: 180px; margin: 0; padding: 20px 22px; background: var(--red); color: var(--white); font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; line-height: 1.25; }

/* Product tile (old "bl") */
.ptile { display: flex; flex-direction: column; background: var(--mist); text-decoration: none; }
.ptile__title {
	display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; text-align: center;
	color: var(--graphite); font-weight: 600; line-height: 1.3; transition: background-color .15s, color .15s;
}
.ptile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.ptile__media img { width: 100%; height: 100%; object-fit: cover; }
.ptile:hover .ptile__title { background: var(--red); color: var(--white); }

/* Project / document tile (old "rgr") */
.rtile { display: flex; flex-direction: column; background: var(--mist); text-decoration: none; }
.section--grey .rtile { background: var(--white); }
.rtile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.rtile__media img { width: 100%; height: 100%; object-fit: cover; }
.rtile__placeholder { display: grid; place-items: center; height: 100%; }
.rtile__placeholder img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.rtile__title { flex: 1; display: block; padding: 10px 12px; text-align: center; color: var(--graphite); font-size: 15px; font-weight: 600; line-height: 1.4; transition: background-color .15s, color .15s; }
.rtile__icon { display: inline; margin: 0 6px 0 0; vertical-align: -2px; }
.rtile:hover .rtile__title { background: var(--red); color: var(--white); }

/* ---- Sectors on the home page: quarter circles + list -------------------- */

.sectors-intro { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.quarters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: 1; width: 100%; max-width: 520px; }
.quarter { position: relative; display: block; margin: 0; overflow: hidden; background: var(--tile); }
.quarter:nth-child(1) { border-radius: 100% 0 0 0; }
.quarter:nth-child(2) { border-radius: 0 100% 0 0; }
.quarter:nth-child(3) { border-radius: 0 0 0 100%; }
.quarter:nth-child(4) { border-radius: 0 0 100% 0; }
.quarter img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
a.quarter:hover img { opacity: .85; }
.quarter--red { display: flex; align-items: flex-end; justify-content: flex-end; padding: 9%; background: var(--red); color: var(--white); font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; line-height: 1.1; text-align: right; }
.quarter--red span { max-width: 4.6em; }
.sectors-list li { margin-bottom: 8px; }
.sectors-list a { color: var(--graphite); font-size: 19px; font-weight: 600; text-decoration: none; }
.sectors-list a:hover { color: var(--red); }
@media (max-width: 800px) {
	.sectors-intro { grid-template-columns: 1fr; }
	.quarters { max-width: 420px; }
}

/* ---- Lists -------------------------------------------------------------- */

.news-list { display: grid; }
.news-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.news-item:last-child { margin-bottom: 0; }
.news-item__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news-item__title { margin: 0 0 4px; color: var(--ink); font-size: 20px; font-weight: 600; }
.news-item__title a { color: var(--ink); text-decoration: none; }
.news-item__title a:hover { color: var(--red); text-decoration: underline; }
.news-item__date { margin: 0 0 8px; font-size: 14px; color: var(--grey); }
.news-item p { margin-bottom: 8px; }
.news-item__more { font-weight: 600; }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; gap: 12px; } }

.link-lists { display: flex; flex-wrap: wrap; gap: 16px 64px; }
.link-lists h3 { margin-bottom: 6px; }
.link-lists ul { margin: 0; padding-left: 20px; list-style: square; }
.link-lists li::marker { color: var(--red); }
.link-lists a { text-decoration: none; }
.link-lists a:hover { text-decoration: underline; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; }
.filters a { padding: 3px 18px 3px 14px; color: var(--ink); font-weight: 600; text-decoration: none; }
.filters a:hover, .filters a[aria-current] { border-color: var(--red); }

/* ---- Side column -------------------------------------------------------- */

/* Red block with the 24/7 numbers (statement block style) */
.service-box { padding: 22px 24px; background: var(--red); color: var(--white); }
.service-box__title { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.service-box ul { margin: 0; padding: 0; list-style: none; }
.service-box li + li { margin-top: 10px; }
.service-box a { color: var(--white); font-size: 24px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.service-box a:hover { color: var(--white); text-decoration: underline; }
.service-box span { display: block; font-size: 14px; }

.logos-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.logos-box img { width: 130px; height: auto; }

.group-card { background: var(--mist); }
.group-card__title { display: block; padding: 11px 16px; background: var(--red); color: var(--white); font-size: 18px; font-weight: 600; text-decoration: none; }
.group-card__title:hover { color: var(--white); background: var(--red-dark); }
.group-card__list { margin: 0; padding: 6px 0; list-style: none; }
.group-card__list a { display: block; padding: 6px 16px; color: var(--ink); text-decoration: none; font-size: 15px; }
.group-card__list a:hover { color: var(--red-dark); }
.group-card__list a[aria-current] { color: var(--red-dark); font-weight: 700; }
.group-card__text { margin: 0; padding: 15px 16px; font-size: 15px; }

/* ---- Locations and map -------------------------------------------------- */

.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 32px; margin: 32px 0 0; }
.location-block { padding-top: 16px; border-top: 1px solid var(--line); }
.location-block h2 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.location-block h2 a { color: var(--red); text-decoration: none; }
.location-block h2 a:hover { text-decoration: underline; }
.location-block--main { padding-top: 0; border-top: 0; font-size: 17px; }
.details { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.details li { display: flex; gap: 10px; align-items: flex-start; }
.details .icon { margin-top: 4px; color: var(--red); }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; }
.details__route { margin: 10px 0 0; font-size: 15px; }
.details__route a { font-weight: 600; }

.map { position: relative; z-index: 0; height: 360px; margin: 28px 0 0; background: var(--tile); overflow: hidden; }
.map--wide { height: 420px; }
.map-section { padding-bottom: 40px; }
/* Map marker: the C mark (white inside for contrast on the map). */
.mbs-marker { display: block; width: 30px; height: 24px; border: 5px solid var(--red); border-right: 0; border-radius: 999px 0 0 999px; background: var(--white); box-shadow: -1px 1px 3px rgba(0, 0, 0, .3); }
.mbs-marker::after { content: ""; display: block; width: 8px; height: 8px; margin: 3px 0 0 3px; border-radius: 50%; background: var(--black); }
.leaflet-container { font: 14px/1.5 var(--font); }
.leaflet-popup-content strong { color: var(--red); }

/* ---- Gallery & lightbox ------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 8px; }
.gallery figure { margin: 0; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.gallery a:hover img { opacity: .85; }
.gallery figcaption { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--grey); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 8px; background: rgba(0, 0, 0, .9); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__figure img { max-height: 82vh; margin: 0 auto; }
.lightbox__figure figcaption { margin-top: 10px; color: #ddd; font-size: 14px; }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.lightbox button:hover { color: var(--red); }
.lightbox__close { position: absolute; top: 10px; right: 10px; }

/* ---- Forms -------------------------------------------------------------- */

.mbs-form { padding: 28px; background: var(--mist); }
.mbs-form form { display: grid; gap: 18px; }
.mbs-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
@media (max-width: 640px) { .mbs-form__grid { grid-template-columns: 1fr; } .mbs-form { padding: 20px; } }
.mbs-form__field { display: grid; gap: 4px; }
.mbs-form__field--wide { grid-column: 1 / -1; }
.mbs-form label { color: var(--ink); font-size: 15px; font-weight: 600; }
.mbs-form label span[aria-hidden] { color: var(--red-dark); }
.mbs-form input[type="text"], .mbs-form input[type="email"], .mbs-form input[type="tel"], .mbs-form textarea,
.mbs-newsletter input, .search-form input[type="search"] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white);
	color: var(--ink); font: inherit;
}
.mbs-form textarea { min-height: 170px; resize: vertical; }
.mbs-form input:focus, .mbs-form textarea:focus, .mbs-newsletter input:focus, .search-form input:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.mbs-form .has-error input, .mbs-form .has-error textarea { border-color: var(--red); }
.mbs-form__error { margin: 0; font-size: 14px; color: var(--red-dark); }
.mbs-form__types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.mbs-form__types legend { margin-bottom: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.mbs-chip { position: relative; cursor: pointer; }
.mbs-chip input { position: absolute; opacity: 0; }
.mbs-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 18px 4px 12px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px; }
.mbs-chip span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mbs-chip input:checked + span { border-color: var(--red); }
.mbs-chip input:checked + span::before { background: var(--black); }
.mbs-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.mbs-check { display: flex; gap: 10px; align-items: flex-start; }
.mbs-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--red); }
.mbs-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mbs-form__required { margin: 0; font-size: 14px; }
.mbs-form button[type="submit"] { justify-self: start; }
.mbs-form__notice { margin-bottom: 18px; padding: 12px 16px; border: 1px solid; background: var(--white); }
.mbs-form__notice--ok { border-color: #45A316; color: #2d6e0d; }
.mbs-form__notice--error { border-color: var(--red); color: var(--red-dark); }

.mbs-newsletter { padding: 22px 24px; background: var(--mist); }
.mbs-newsletter label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.mbs-newsletter__row { display: flex; gap: 8px; }
.mbs-newsletter__note { margin: 8px 0 0; font-size: 14px; }
.section .mbs-newsletter { margin-top: 28px; max-width: 620px; }
.search-box { max-width: 560px; margin: 0 0 28px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }

/* ---- Pagination --------------------------------------------------------- */

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px 0 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--red); }

/* ---- Footer (as the back of the folder) --------------------------------- */

.site-footer { margin-top: 48px; overflow-x: clip; }
/* Slanted red bar from the right edge. */
.site-footer::before {
	content: ""; display: block; width: min(38%, 560px); height: var(--bar-h); margin-left: auto;
	background: var(--red); clip-path: polygon(var(--bar-slant) 0, 100% 0, 100% 100%, 0 100%);
}
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 32px; padding: 40px 0 36px; }
.footer-main h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.footer-location h2 a { color: var(--red); text-decoration: none; }
.footer-location h2 a:hover { text-decoration: underline; }
.footer-location p, .footer-service li { margin: 0; font-size: 15px; line-height: 1.55; }
.footer-location a:not(h2 a) { text-decoration: none; }
.footer-location a:not(h2 a):hover { text-decoration: underline; }
.footer-service h2 { color: var(--ink); font-size: 18px; font-weight: 600; }
.footer-service ul { margin: 0; padding: 0; list-style: none; }
.footer-service li + li { margin-top: 4px; }
.footer-service li span { color: var(--red); font-weight: 600; }
.footer-service li a { font-weight: 300; text-decoration: none; white-space: nowrap; }
.footer-service li a:hover { text-decoration: underline; }

.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 0 0 32px; }
.footer-brand__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-brand__logos .footer-brand__mbs { width: auto; height: 46px; }
.footer-brand__logos img:not(.footer-brand__mbs) { width: auto; height: 44px; }

/* Web bar: the C outline with mbsgroup.be and the social icons, running off the right edge. */
.webbar { display: flex; align-items: center; gap: 18px; margin-left: auto; margin-right: calc(50% - 50vw); padding: 6px 32px 6px 24px; border-color: var(--red); }
.webbar__url { font-size: 20px; font-weight: 700; color: var(--red); text-decoration: none; }
.webbar__url span { color: var(--ink); }
.webbar__url:hover { color: var(--red); text-decoration: underline; }
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); }
.social a:hover { background: var(--red); color: var(--white); }
@media (max-width: 700px) {
	.webbar { margin-left: 0; }
}

.footer-bar { background: var(--graphite); color: #D4D4D4; font-size: 14px; }
.footer-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 0; }
.footer-bar p { margin: 0; }
.footer-bar a { color: var(--white); text-decoration: none; }
.footer-bar a:hover { color: var(--white); text-decoration: underline; }
.footer-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
