/*
Theme Name: J&B Warehousing
Description: Thema voor jbwarehousing.be, gebaseerd op de Webflow-site van J&B Warehousing. Werkt samen met Polylang (NL/FR/EN).
Version: 1.4.8
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: jb-warehousing
*/

@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--jb-navy: #0a1033;
	--jb-ink: #1a1b1f;
	--jb-muted: #5f6066;
	--jb-line: #e4e4e4;
	--jb-light: #f4f4f4;
	--jb-white: #ffffff;
	--jb-max: 1140px;
	--jb-gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	overflow-x: clip;
	margin: 0;
	background: var(--jb-white);
	color: var(--jb-ink);
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 16px;
	color: var(--jb-ink);
}

h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }

p { margin: 0 0 16px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	background: var(--jb-white); color: var(--jb-navy);
	padding: 8px 16px;
}

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

.jb-header {
	background: var(--jb-navy);
	color: var(--jb-white);
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .jb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jb-header { top: 46px; } }

.jb-header__inner {
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: 20px var(--jb-gutter);
	display: flex;
	align-items: center;
	gap: 32px;
}

.jb-logo { flex: 0 0 auto; display: block; }
.jb-logo img, .jb-logo .custom-logo { height: 60px; width: auto; }
.jb-logo__text {
	font-size: 18px; font-weight: 700; letter-spacing: 1px;
	text-decoration: none; color: var(--jb-white);
}

.jb-nav { flex: 1 1 auto; }

.jb-nav ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	justify-content: center;
	gap: 8px 36px;
	flex-wrap: wrap;
}

.jb-nav a {
	display: block;
	padding: 8px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s;
}

.jb-nav a:hover,
.jb-nav a:focus-visible,
.jb-nav .current-menu-item > a,
.jb-nav .current_page_item > a { color: var(--jb-white); }

.jb-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 0 0 auto;
}

.jb-langs {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: 1px;
}

.jb-langs a { text-decoration: none; color: rgba(255, 255, 255, 0.6); display: block; line-height: 0; }
.jb-langs a:hover, .jb-langs a:focus-visible, .jb-langs .is-current a { color: var(--jb-white); }

.jb-langs svg {
	display: block;
	width: 30px;
	height: 20px;
	border-radius: 2px;
	opacity: 0.55;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
	transition: opacity 0.2s, box-shadow 0.2s;
}

.jb-langs a:hover svg,
.jb-langs a:focus-visible svg { opacity: 1; }

.jb-langs .is-current svg { opacity: 1; box-shadow: 0 0 0 2px var(--jb-white); }

.jb-langs a:focus-visible { outline: 2px solid var(--jb-white); outline-offset: 3px; }

.jb-button {
	display: inline-block;
	background: var(--jb-white);
	color: var(--jb-navy);
	border: 2px solid var(--jb-white);
	padding: 12px 24px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.jb-button:hover, .jb-button:focus-visible { background: transparent; color: var(--jb-white); }

.jb-button--dark { background: var(--jb-navy); border-color: var(--jb-navy); color: var(--jb-white); }
.jb-button--dark:hover, .jb-button--dark:focus-visible { background: var(--jb-white); color: var(--jb-navy); }

/* Mobile menu toggle (no JavaScript) */
.jb-menu-toggle { display: none; }
.jb-menu-button { display: none; }

@media (max-width: 900px) {
	.jb-header__inner { flex-wrap: wrap; gap: 16px; }
	.jb-logo { margin-right: auto; }
	.jb-menu-button {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; cursor: pointer;
		border: 1px solid rgba(255, 255, 255, 0.3);
	}
	.jb-menu-button span,
	.jb-menu-button span::before,
	.jb-menu-button span::after {
		content: ""; display: block; width: 20px; height: 2px;
		background: var(--jb-white); position: relative;
	}
	.jb-menu-button span::before { position: absolute; top: -6px; }
	.jb-menu-button span::after { position: absolute; top: 6px; }
	.jb-nav, .jb-header__actions { display: none; flex-basis: 100%; }
	.jb-menu-toggle:checked ~ .jb-nav,
	.jb-menu-toggle:checked ~ .jb-header__actions { display: flex; }
	.jb-nav ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
	.jb-nav a { padding: 12px 0; }
	.jb-header__actions { justify-content: space-between; padding-bottom: 8px; }
	.jb-menu-toggle:focus-visible + .jb-menu-button { outline: 2px solid var(--jb-white); outline-offset: 2px; }
}

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

.jb-main { display: block; }

.jb-content {
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: 56px var(--jb-gutter) 80px;
}

.jb-content > *:first-child { margin-top: 0; }

.jb-content .alignwide { max-width: var(--jb-max); }
.jb-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.jb-content p { color: var(--jb-muted); }

.jb-hero { margin: 0 0 72px; }
.jb-hero img { width: 100%; max-height: 640px; object-fit: cover; }

/* Services: alternating text / photo rows */
.jb-service.wp-block-columns {
	gap: 56px;
	margin: 0 0 88px;
	align-items: center;
}

.jb-service h2 { font-size: 36px; }

.jb-service .wp-block-image { margin: 0; }
.jb-service .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 781px) {
	.jb-service.wp-block-columns { gap: 24px; margin-bottom: 56px; }
	.jb-service--photo-first { flex-direction: column-reverse; }
	h2, .jb-service h2 { font-size: 28px; }
}

/* Section titles */
.jb-eyebrow {
	font-size: 12px; font-weight: 700; letter-spacing: 1px;
	text-transform: uppercase; color: var(--jb-muted);
	margin-bottom: 8px;
}

.jb-section-title { text-align: center; margin-bottom: 40px; }

/* Gallery "jb-slider": one photo at a time with arrows (see assets/slider.js) */
.wp-block-gallery.jb-slider {
	--jb-slide-h: clamp(300px, 56vw, 600px);
}

/* Without JavaScript: a simple horizontal strip */
.wp-block-gallery.jb-slider.has-nested-images:not(.is-enhanced) {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.wp-block-gallery.jb-slider.has-nested-images:not(.is-enhanced) figure.wp-block-image:not(#individual-image) {
	flex: 0 0 100%;
	width: 100%;
	scroll-snap-align: center;
	margin: 0;
}

.wp-block-gallery.jb-slider.has-nested-images:not(.is-enhanced) figure.wp-block-image:not(#individual-image) img {
	height: var(--jb-slide-h);
	width: 100%;
	object-fit: contain;
}

/* With JavaScript */
.wp-block-gallery.jb-slider.has-nested-images.is-enhanced {
	display: block;
	position: relative;
	margin-bottom: 0;
}

.jb-slider__stage {
	position: relative;
	overflow: hidden;
}

.jb-slider__track {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.jb-slider__track { transition: none; }
}

.wp-block-gallery.jb-slider.has-nested-images.is-enhanced figure.wp-block-image.jb-slider__slide:not(#individual-image) {
	flex: 0 0 100%;
	width: 100%;
	height: var(--jb-slide-h);
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
}

.wp-block-gallery.jb-slider.has-nested-images.is-cropped.is-enhanced figure.wp-block-image.jb-slider__slide:not(#individual-image) img,
.wp-block-gallery.jb-slider.has-nested-images.is-enhanced figure.wp-block-image.jb-slider__slide:not(#individual-image) img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	flex: 0 0 auto;
	object-fit: contain;
	background: transparent;
}

.jb-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(10, 16, 51, 0.85);
	color: var(--jb-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.jb-slider__arrow:hover { background: var(--jb-navy); }
.jb-slider__arrow:focus-visible { outline: 3px solid var(--jb-navy); outline-offset: 3px; }
.jb-slider__arrow--prev { left: 8px; }
.jb-slider__arrow--next { right: 8px; }

.jb-slider__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding-top: 20px;
}

.jb-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9cbd3;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.jb-slider__dot.is-active { background: var(--jb-navy); transform: scale(1.2); }
.jb-slider__dot:focus-visible { outline: 2px solid var(--jb-navy); outline-offset: 3px; }

@media (max-width: 781px) {
	.jb-slider__arrow { width: 40px; height: 40px; }
	.jb-slider__arrow--prev { left: 4px; }
	.jb-slider__arrow--next { right: 4px; }
}

/* About */
.jb-intro { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.jb-intro h1, .jb-intro h2 { font-size: 36px; }

/* Team */
.jb-team.wp-block-columns { gap: 32px; }
.jb-team .wp-block-column { text-align: center; }
.jb-team .wp-block-image { margin: 0 0 20px; }
.jb-team .wp-block-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--jb-light); }
.jb-team h3 { margin-bottom: 4px; }
.jb-team p { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.jb-team-photo.wp-block-image { margin: 0 auto 28px; max-width: 760px; }
.jb-team-photo.wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}
/* Names side by side under the group photo, also on phones */
.jb-team--names.wp-block-columns {
	/* Narrower than the photo, so each name sits under the right person */
	max-width: 480px;
	margin: 0 auto;
	gap: 8px;
	flex-wrap: nowrap !important;
}
.jb-team--names.wp-block-columns > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
.jb-team--names h3 { font-size: 16px; white-space: nowrap; }
@media (max-width: 600px) {
	.jb-team--names.wp-block-columns { max-width: none; gap: 4px; justify-content: space-around; }
	.jb-team--names.wp-block-columns > .wp-block-column { flex: 0 1 auto !important; }
	.jb-team--names h3 { font-size: clamp(11px, 3.3vw, 14px); line-height: 1.3; white-space: nowrap; }
	.jb-team--names p { font-size: 10px; letter-spacing: 0.5px; }
}

.jb-photo-placeholder {
	aspect-ratio: 3 / 4;
	background: var(--jb-light);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
}

.jb-photo-placeholder p {
	margin: 0; font-size: 48px; font-weight: 300; color: #b5b5b5; letter-spacing: 2px;
}

/* ---------- Contact form ---------- */

.jb-contact { max-width: 720px; margin: 0 auto; }

.jb-form { display: grid; gap: 20px; }

.jb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 640px) { .jb-form__row { grid-template-columns: 1fr; } }

.jb-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}

.jb-form input[type="text"],
.jb-form input[type="email"],
.jb-form input[type="tel"],
.jb-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 0;
	font: inherit;
	font-size: 16px;
	color: var(--jb-ink);
	background: var(--jb-white);
}

.jb-form textarea { min-height: 180px; resize: vertical; }

.jb-form input:focus, .jb-form textarea:focus { outline: 2px solid var(--jb-navy); outline-offset: 0; border-color: var(--jb-navy); }

.jb-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.jb-notice { padding: 16px 20px; margin-bottom: 24px; }
.jb-notice--ok { background: #e7f4ea; color: #1d5b2c; }
.jb-notice--error { background: #fbeaea; color: #8a1f1f; }

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

.jb-footer { background: var(--jb-navy); color: var(--jb-white); }

.jb-footer__inner {
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: 64px var(--jb-gutter);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

@media (max-width: 781px) { .jb-footer__inner { grid-template-columns: 1fr; padding: 48px var(--jb-gutter); } }

.jb-footer h2 { color: var(--jb-white); font-size: 25px; margin-bottom: 12px; }
.jb-footer p, .jb-footer a { color: rgba(255, 255, 255, 0.85); margin: 0; text-decoration: none; }
.jb-footer a:hover, .jb-footer a:focus-visible { color: var(--jb-white); text-decoration: underline; }
.jb-footer ul { list-style: none; margin: 0; padding: 0; }

.jb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
	padding: 20px var(--jb-gutter);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.jb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.jb-footer__bottom a { color: rgba(255, 255, 255, 0.75); }

.jb-content .jb-form__privacy { font-size: 13px; margin: 0; }
.jb-form__privacy a { color: var(--jb-navy); }

/* Legal text (privacy statement) */
.jb-legal { max-width: 780px; margin: 0 auto; }
.jb-legal h1 { margin-bottom: 8px; }
.jb-legal h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.jb-legal ul { color: var(--jb-muted); padding-left: 20px; margin: 0 0 16px; }
.jb-legal li { margin-bottom: 4px; }
.jb-legal a { color: var(--jb-navy); }

/* ---------- Logo with name ---------- */

.jb-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.jb-logo__name {
	color: var(--jb-white);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.5px;
	white-space: nowrap;
}
@media (max-width: 1100px) and (min-width: 901px) { .jb-logo__name { display: none; } }
@media (max-width: 420px) { .jb-logo__name { font-size: 15px; } }

/* ---------- Homepage hero (cover block with class jb-hero-cover) ---------- */

.jb-content > .wp-block-cover.jb-hero-cover:first-child { margin-top: -56px; }

.wp-block-cover.jb-hero-cover {
	min-height: clamp(420px, 62vh, 640px);
	margin-bottom: 88px;
	padding: 64px var(--jb-gutter);
}

.wp-block-cover.jb-hero-cover.has-custom-content-position .wp-block-cover__inner-container {
	max-width: calc(var(--jb-max) - 2 * var(--jb-gutter)) !important;
	margin: 0 auto !important;
	width: 100% !important;
	color: var(--jb-white);
}

.wp-block-cover.jb-hero-cover .wp-block-cover__inner-container > * {
	max-width: 720px !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.jb-hero-cover h1 {
	color: var(--jb-white);
	font-size: clamp(32px, 5vw, 54px);
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: 20px;
}

.jb-hero-cover p { color: rgba(255, 255, 255, 0.9); font-size: clamp(17px, 2vw, 20px); margin-bottom: 32px; }

.jb-hero-cover .wp-block-buttons { gap: 12px; }

.wp-block-button .wp-block-button__link,
.jb-content .wp-element-button {
	border-radius: 0;
	padding: 14px 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	background: var(--jb-navy);
	color: var(--jb-white);
	border: 2px solid var(--jb-navy);
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.jb-hero-cover .wp-block-button .wp-block-button__link { background: var(--jb-white); color: var(--jb-navy); border-color: var(--jb-white); }
.jb-hero-cover .wp-block-button .wp-block-button__link:hover,
.jb-hero-cover .wp-block-button .wp-block-button__link:focus-visible { background: transparent; color: var(--jb-white); }
.jb-hero-cover .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--jb-white); }
.jb-hero-cover .wp-block-button.is-style-outline .wp-block-button__link:hover,
.jb-hero-cover .wp-block-button.is-style-outline .wp-block-button__link:focus-visible { background: var(--jb-white); color: var(--jb-navy); }

/* ---------- Section headings ---------- */

.jb-section-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.jb-section-head h2 { margin-bottom: 12px; }
.jb-section-head .jb-eyebrow { margin-bottom: 8px; }
[id] { scroll-margin-top: 120px; }

/* ---------- A to Z steps ---------- */

.wp-block-columns.jb-steps {
	counter-reset: jb-step;
	gap: 32px;
	margin: 0 0 104px;
	position: relative;
}

.jb-step {
	counter-increment: jb-step;
	position: relative;
	padding-top: 76px;
}

.jb-step::before {
	content: counter(jb-step);
	position: absolute;
	top: 0;
	left: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--jb-navy);
	color: var(--jb-white);
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.jb-step::after {
	content: "";
	position: absolute;
	top: 26px;
	left: 64px;
	right: -20px;
	border-top: 2px dashed #c9cbd3;
}

.jb-step:last-child::after { display: none; }
.jb-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.jb-step p { font-size: 15px; margin: 0; }

@media (max-width: 781px) {
	.wp-block-columns.jb-steps { gap: 32px; margin-bottom: 72px; }
	.jb-step { padding-top: 0; padding-left: 72px; min-height: 52px; }
	.jb-step::after { top: 60px; bottom: -28px; left: 25px; right: auto; border-top: 0; border-left: 2px dashed #c9cbd3; }
}

/* ---------- Why J&B ---------- */

.jb-why { background: var(--jb-light); padding: 80px var(--jb-gutter); margin: 24px 0 88px; }
.jb-why .wp-block-columns.jb-usps { max-width: var(--jb-max); margin: 0 auto; gap: 32px; }

.jb-usp { position: relative; padding-top: 72px; }
.jb-usp::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: var(--jb-navy);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
}
.jb-usp h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.jb-usp p { font-size: 15px; margin: 0; }

.jb-usp--port::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v14M8 6h8M5 12a7 7 0 0 0 14 0M5 12H3M21 12h-2'/%3E%3C/svg%3E"); }
.jb-usp--az::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M3 7v10l9 4 9-4V7'/%3E%3Cpath d='M12 11v10'/%3E%3C/svg%3E"); }
.jb-usp--flex::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.jb-usp--people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6 6 0 0 1 3.5 6'/%3E%3C/svg%3E"); }

@media (max-width: 781px) {
	.jb-why { padding: 56px var(--jb-gutter); }
	.jb-why .wp-block-columns.jb-usps { gap: 40px; }
}

/* ---------- Contact band above the footer ---------- */

.jb-cta { background: var(--jb-light); border-top: 1px solid var(--jb-line); }
.jb-cta__inner {
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: 56px var(--jb-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	flex-wrap: wrap;
}
.jb-cta h2 { font-size: 28px; margin-bottom: 8px; }
.jb-cta p { margin: 0; color: var(--jb-muted); }
.jb-cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.jb-cta__mail { color: var(--jb-navy); font-weight: 600; }
.jb-cta .jb-button--dark:hover, .jb-cta .jb-button--dark:focus-visible { background: transparent; color: var(--jb-navy); }

/* ---------- Contact page ---------- */

.jb-contact-layout.wp-block-columns { gap: 56px; align-items: flex-start; margin-bottom: 64px; }
.jb-contact-layout .jb-contact { max-width: none; margin: 0; }

.jb-contact-info { background: var(--jb-navy); color: var(--jb-white); padding: 36px 32px; }
.jb-contact-info h2 { color: var(--jb-white); font-size: 24px; margin-bottom: 24px; }
.jb-contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.jb-ci { padding-left: 36px; position: relative; }
.jb-ci::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: contain;
}
.jb-ci--address::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.jb-ci--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.jb-ci--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.jb-ci__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 4px;
}
.jb-ci__line { display: block; }
.jb-contact-info a { color: var(--jb-white); text-decoration: none; }
.jb-contact-info a:hover, .jb-contact-info a:focus-visible { text-decoration: underline; }

/* Map */
.jb-map {
	position: relative;
	aspect-ratio: 16 / 7;
	min-height: 320px;
	background: var(--jb-light);
	border: 1px solid var(--jb-line);
}
.jb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jb-map__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	background-image: radial-gradient(circle at 1px 1px, #d9dbe2 1px, transparent 0);
	background-size: 18px 18px;
}
.jb-map__address { font-size: 20px; color: var(--jb-ink); font-weight: 600; margin-bottom: 8px; }
.jb-content .jb-map__note { font-size: 13px; max-width: 460px; margin-bottom: 20px; }
.jb-map__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; margin: 0; }
.jb-map__actions a { color: var(--jb-navy); font-weight: 600; }
@media (max-width: 781px) { .jb-map { aspect-ratio: 4 / 5; } }
