/*
 * HBB GeoSales global styles. Use tokens only; no hard-coded colours.
 * Breakpoints follow Elementor: tablet <= 1024px, mobile <= 767px.
 */

body {
	font-family: var(--hbb-font-family);
	font-size: var(--hbb-fs-body);
	line-height: var(--hbb-lh-base);
	color: var(--hbb-color-text-body);
	background: var(--hbb-color-bg);
	-webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--hbb-color-primary-dark);
}

a:hover,
a:focus {
	color: var(--hbb-color-primary-deep);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hbb-font-family);
	color: var(--hbb-color-heading);
	line-height: var(--hbb-lh-heading);
	margin-top: 0;
}

h1 { font-size: var(--hbb-fs-h1); font-weight: var(--hbb-fw-bold); color: var(--hbb-color-primary); }
h2 { font-size: var(--hbb-fs-h2); font-weight: var(--hbb-fw-semibold); }
h3 { font-size: var(--hbb-fs-h3); font-weight: var(--hbb-fw-semibold); }
h4 { font-size: var(--hbb-fs-h4); font-weight: var(--hbb-fw-semibold); }
h5, h6 { font-size: var(--hbb-fs-h5); font-weight: var(--hbb-fw-semibold); }

.hbb-btn,
.elementor-button.hbb-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--hbb-space-2);
	padding: 0.75em 1.75em;
	font-size: var(--hbb-fs-btn);
	font-weight: var(--hbb-fw-semibold);
	line-height: 1.2;
	color: var(--hbb-color-on-dark);
	background: var(--hbb-color-accent);
	border-radius: var(--hbb-radius-pill);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.hbb-btn:hover,
.hbb-btn:focus-visible {
	color: var(--hbb-color-on-dark);
	background: var(--hbb-color-accent-alt);
}

.hbb-container {
	width: 100%;
	max-width: var(--hbb-container);
	margin-inline: auto;
	padding-inline: var(--hbb-gutter);
}

/* Prevent accidental horizontal scroll on small screens */
html,
body {
	overflow-x: clip;
}

@media (max-width: 1024px) {
	/* tablet overrides */
}

@media (max-width: 767px) {
	/* mobile overrides */
}

/* ==========================================================================
   Header menu ([hbb_menu]) - desktop row with dropdown, mobile slide-down panel
   ========================================================================== */

.hbb-menu {
	position: relative;
	font-family: var(--hbb-font-family);
}

.hbb-menu__list,
.hbb-menu__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hbb-menu__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 3rem);
}

.hbb-menu__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.hbb-menu__list a {
	display: block;
	padding: var(--hbb-space-2) 0;
	font-size: var(--hbb-fs-small);
	font-weight: var(--hbb-fw-semibold);
	color: var(--hbb-color-text);
	text-decoration: none;
	white-space: nowrap;
}

.hbb-menu__list > li > a {
	border-bottom: 3px solid transparent;
}

.hbb-menu__list > li > a:hover,
.hbb-menu__list > li > a:focus-visible,
.hbb-menu__list > .current-menu-item > a,
.hbb-menu__list > .current-menu-ancestor > a,
.hbb-menu__list > .current-page-ancestor > a {
	color: var(--hbb-color-text);
	border-bottom-color: var(--hbb-color-accent);
}

/* Dropdown */
.hbb-menu__sub-toggle {
	width: 1.5em;
	height: 1.5em;
	margin-left: var(--hbb-space-1);
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.hbb-menu__sub-toggle::before {
	content: "";
	display: block;
	width: 0.45em;
	height: 0.45em;
	margin: 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
	transition: transform 0.2s ease;
}

.hbb-menu__sub-toggle[aria-expanded="true"]::before {
	transform: translateY(15%) rotate(-135deg);
}

.hbb-menu__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 50;
	min-width: 260px;
	padding: var(--hbb-space-2) 0;
	background: var(--hbb-color-bg);
	border-radius: var(--hbb-radius-md);
	box-shadow: var(--hbb-shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.hbb-menu__list .sub-menu a {
	padding: var(--hbb-space-2) var(--hbb-space-6);
	font-weight: var(--hbb-fw-medium);
}

.hbb-menu__list .sub-menu a:hover,
.hbb-menu__list .sub-menu a:focus-visible {
	color: var(--hbb-color-on-dark);
	background: var(--hbb-color-primary);
}

@media (min-width: 1025px) {
	.hbb-menu__list > li:hover > .sub-menu,
	.hbb-menu__list > li:focus-within > .sub-menu,
	.hbb-menu__list > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
}

/* Mobile toggle (hidden on desktop) */
.hbb-menu__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hbb-color-text);
	cursor: pointer;
}

.hbb-menu__bars,
.hbb-menu__bars::before,
.hbb-menu__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.hbb-menu__bars {
	position: relative;
}

.hbb-menu__bars::before,
.hbb-menu__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.hbb-menu__bars::before { top: -7px; }
.hbb-menu__bars::after { top: 7px; }

.hbb-menu__toggle[aria-expanded="true"] .hbb-menu__bars { background: transparent; }
.hbb-menu__toggle[aria-expanded="true"] .hbb-menu__bars::before { transform: translateY(7px) rotate(45deg); }
.hbb-menu__toggle[aria-expanded="true"] .hbb-menu__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.hbb-menu--toggle .hbb-menu__toggle {
		display: block;
	}

	.hbb-menu--toggle .hbb-menu__panel {
		position: fixed;
		top: var(--hbb-header-h, 80px);
		right: 0;
		left: 0;
		z-index: 100;
		max-height: calc(100vh - var(--hbb-header-h, 80px));
		overflow-y: auto;
		padding: var(--hbb-space-4) var(--hbb-gutter) var(--hbb-space-8);
		background: var(--hbb-color-bg-tint);
		box-shadow: var(--hbb-shadow-soft);
		display: none;
	}

	.hbb-menu--toggle.is-open .hbb-menu__panel {
		display: block;
	}

	.hbb-menu--toggle .hbb-menu__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.hbb-menu--toggle .hbb-menu__list > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid var(--hbb-color-border);
	}

	.hbb-menu--toggle .hbb-menu__list a {
		padding: var(--hbb-space-3) 0;
		font-size: 1rem;
	}

	.hbb-menu--toggle .hbb-menu__list > li > a {
		border-bottom: 0;
	}

	.hbb-menu--toggle .hbb-menu__sub-toggle {
		width: 44px;
		height: 44px;
	}

	.hbb-menu--toggle .hbb-menu__list .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 var(--hbb-space-2) var(--hbb-space-4);
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.hbb-menu--toggle .hbb-menu__list li.is-open > .sub-menu {
		display: block;
	}

	.hbb-menu--toggle .hbb-menu__list .sub-menu a {
		padding: var(--hbb-space-2) 0;
	}

	body.hbb-menu-open {
		overflow: hidden;
	}
}

/* Site header / footer wrappers */
.hbb-site-header,
.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 90;
}

.admin-bar .hbb-site-header,
.admin-bar .elementor-location-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .hbb-site-header,
	.admin-bar .elementor-location-header {
		top: 0;
	}
}

.hbb-site-footer a,
.elementor-location-footer a {
	text-decoration: none;
}

/* ==========================================================================
   Numbered pagination (news listing and archives)
   ========================================================================== */

.hbb-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hbb-space-4);
	margin: var(--hbb-space-12) 0;
	font-family: var(--hbb-font-family);
}

.hbb-pagination__status {
	margin: 0;
	font-size: var(--hbb-fs-small);
	font-weight: var(--hbb-fw-medium);
	color: var(--hbb-color-text-muted);
}

.hbb-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hbb-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbb-pagination li > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--hbb-space-3);
	font-size: var(--hbb-fs-small);
	font-weight: var(--hbb-fw-semibold);
	color: var(--hbb-color-text);
	text-decoration: none;
	background: var(--hbb-color-bg-tint-2);
	border-radius: var(--hbb-radius-pill);
}

.hbb-pagination li > a.page-numbers:hover,
.hbb-pagination li > a.page-numbers:focus-visible {
	color: var(--hbb-color-on-dark);
	background: var(--hbb-color-primary);
}

.hbb-pagination li > .page-numbers.current {
	color: var(--hbb-color-on-dark);
	background: var(--hbb-color-accent);
}

.hbb-pagination li > .page-numbers.dots {
	background: transparent;
}

@media (max-width: 767px) {
	.hbb-pagination {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Single news post
   ========================================================================== */

.hbb-single {
	padding-top: var(--hbb-space-8);
	padding-bottom: var(--hbb-space-16);
}

/* Post titles use the H2 scale; the 72px H1 is reserved for page heroes. */
.single-post .hbb-single h1,
.single-post .hbb-single .entry-title {
	font-size: var(--hbb-fs-h2);
	font-weight: var(--hbb-fw-bold);
	line-height: var(--hbb-lh-tight);
	color: var(--hbb-color-heading);
	margin-bottom: var(--hbb-space-6);
}

.single-post .hbb-single .page-content h2 { font-size: var(--hbb-fs-h3); }
.single-post .hbb-single .page-content h3 { font-size: var(--hbb-fs-h4); }

.hbb-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hbb-space-4);
	margin-bottom: var(--hbb-space-6);
	font-size: var(--hbb-fs-small);
	font-weight: var(--hbb-fw-medium);
	color: var(--hbb-color-text-muted);
}

.hbb-single__back {
	color: var(--hbb-color-primary-dark);
	text-decoration: none;
}

.hbb-single__featured {
	margin: 0 0 var(--hbb-space-8);
}

.hbb-single__featured img,
.single-post .hbb-single .page-content img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--hbb-radius-lg);
}

.hbb-single__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hbb-space-4);
	margin-top: var(--hbb-space-12);
	padding-top: var(--hbb-space-8);
	border-top: 1px solid var(--hbb-color-border);
}

.hbb-single__nav-link {
	display: flex;
	flex-direction: column;
	gap: var(--hbb-space-1);
	padding: var(--hbb-space-4) var(--hbb-space-6);
	text-decoration: none;
	background: var(--hbb-color-bg-tint-2);
	border-radius: var(--hbb-radius-md);
}

.hbb-single__nav-link--next {
	grid-column: 2;
	text-align: right;
}

.hbb-single__nav-label {
	font-size: var(--hbb-fs-small);
	font-weight: var(--hbb-fw-semibold);
	color: var(--hbb-color-accent);
}

.hbb-single__nav-title {
	font-weight: var(--hbb-fw-semibold);
	color: var(--hbb-color-heading);
}

@media (max-width: 767px) {
	.hbb-single__nav {
		grid-template-columns: 1fr;
	}

	.hbb-single__nav-link--next {
		grid-column: auto;
		text-align: left;
	}
}

/* ==========================================================================
   News listing: banner + cards
   ========================================================================== */

.hbb-archive {
	padding-top: var(--hbb-space-8);
}

/* Hello Elementor caps .site-main at 1140px; the listing manages its own width
   so the banner/grid can follow the XD and the shared sections run full width. */
body .site-main.hbb-archive {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.hbb-archive .hbb-banner {
	max-width: 1380px;
	margin-left: auto;
	margin-right: auto;
}

.hbb-banner {
	margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
	padding: clamp(2.5rem, 1.5rem + 3vw, 5rem) var(--hbb-space-6);
	text-align: center;
	background: var(--hbb-color-primary-dark);
	border-radius: clamp(16px, 1vw + 12px, 30px);
}

.hbb-banner__title {
	margin: 0;
	font-size: var(--hbb-fs-display);
	font-weight: var(--hbb-fw-bold);
	line-height: 1.05;
	color: var(--hbb-color-on-dark) !important;
}

.hbb-banner__text {
	margin: var(--hbb-space-4) 0 0;
	color: var(--hbb-color-on-dark);
}

.hbb-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 0.5rem + 1.2vw, 2rem);
	max-width: 1280px;
	margin: 0 auto;
}

.hbb-card {
	display: flex;
	flex-direction: column;
	padding: clamp(16px, 0.6vw + 12px, 24px);
	background: #eef6ec; /* XD card green */
	border-radius: 24px;
}

.hbb-card:nth-child(6n + 2),
.hbb-card:nth-child(6n + 6) {
	background: #ffece1; /* XD card peach */
}

.hbb-card__media {
	display: block;
	overflow: hidden;
	border-radius: 24px;
}

.hbb-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 352 / 250;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.hbb-card__img--placeholder {
	background: var(--hbb-color-bg-alt);
}

.hbb-card:hover .hbb-card__img {
	transform: scale(1.04);
}

.hbb-card__title {
	flex: 1;
	margin: var(--hbb-space-6) var(--hbb-space-2) var(--hbb-space-6);
	font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5625rem); /* 25px */
	font-weight: var(--hbb-fw-bold);
	line-height: 1.3;
	color: var(--hbb-color-text);
}

.hbb-card__excerpt {
	margin: calc(-1 * var(--hbb-space-3)) var(--hbb-space-2) var(--hbb-space-6);
	font-size: var(--hbb-fs-small);
	line-height: 1.6;
	color: var(--hbb-color-text);
}

/* Home "Our Latest News": all three cards on the white/tint palette */
.hbb-cards--latest .hbb-card:nth-child(n) {
	background: var(--hbb-color-bg);
}

.hbb-card__title a {
	color: inherit;
	text-decoration: none;
}

.hbb-card__title a:hover {
	color: var(--hbb-color-primary-dark);
}

body a.hbb-readmore,
body .hbb-card a.hbb-readmore {
	display: inline-flex;
	align-items: center;
	gap: var(--hbb-space-3);
	margin: 0 var(--hbb-space-2);
	font-size: var(--hbb-fs-btn);
	font-weight: var(--hbb-fw-semibold);
	color: var(--hbb-color-text);
	text-decoration: none;
}

.hbb-readmore__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff;
	background: var(--hbb-color-accent);
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.hbb-readmore:hover .hbb-readmore__icon {
	background: var(--hbb-color-accent-alt);
}

body a.hbb-readmore:hover,
body .hbb-card a.hbb-readmore:hover {
	color: var(--hbb-color-accent);
}

@media (max-width: 1024px) {
	.hbb-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbb-card:nth-child(n) {
		background: #eef6ec;
	}

	.hbb-card:nth-child(4n + 2),
	.hbb-card:nth-child(4n + 3) {
		background: #ffece1;
	}
}

@media (max-width: 767px) {
	.hbb-cards {
		grid-template-columns: 1fr;
	}

	.hbb-card:nth-child(n) {
		background: #eef6ec;
	}

	.hbb-card:nth-child(even) {
		background: #ffece1;
	}
}

/* Header on tablet/mobile: let the right-hand group shrink so the menu toggle
   stays on screen next to the "Give us a call" button. */
@media (max-width: 1024px) {
	.hbb-header .e-con-full {
		flex: 1 1 auto !important;
		min-width: 0;
		justify-content: flex-end;
	}
}

@media (max-width: 480px) {
	.hbb-header .elementor-widget-button .elementor-button {
		padding: 10px 14px !important;
		font-size: 14px !important;
	}
}

/* Home tiles: keep icon beside the title on small screens */
@media (max-width: 767px) {
	.hbb-tile {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
	}

	.hbb-tile > .e-con {
		flex: 1 1 0 !important;
		min-width: 0;
	}

	.hbb-tile .elementor-widget-icon {
		flex: none;
	}
}

/* ------------------------------------------------------------------
 * Page hero (product singles): featured image + dark overlay, title, button
 * ------------------------------------------------------------------ */
body .site-main.hbb-product,
body .site-main.hbb-hub {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.hbb-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(360px, 45vw, 760px);
	padding: var(--hbb-section-y) var(--hbb-gutter);
	background: var(--hbb-color-primary-deep) var(--hbb-hero-bg, none) center / cover no-repeat;
	color: var(--hbb-color-on-dark);
}
.hbb-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}
.hbb-page-hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--hbb-container);
	margin: 0 auto;
	padding: 0 clamp(0px, 4vw, 120px);
}
.hbb-page-hero__kicker {
	margin: 0 0 var(--hbb-space-2);
	font-size: var(--hbb-fs-h5);
	font-weight: var(--hbb-fw-semibold);
	max-width: 28ch;
}
.hbb-page-hero__title {
	margin: 0 0 var(--hbb-space-8);
	color: inherit;
	font-size: var(--hbb-fs-display);
	font-weight: var(--hbb-fw-bold);
	line-height: 1.1;
	max-width: 14ch;
}
.hbb-product__body > .elementor { overflow: hidden; }

/* Product / hub cards: buttons line up at the bottom of each card */
.hbb-pcard > .e-con { flex-grow: 1; }
.hbb-pcard .elementor-widget-button { margin-top: auto !important; }

/* FAQ accordion (About, product pages) */
.hbb-faq .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid var(--hbb-color-accent) !important; }
.hbb-faq .elementor-tab-title { font-size: 18px; line-height: 1.4; }
.hbb-faq .elementor-tab-content { border: 0 !important; }

/* Product spec table */
.hbb-spec { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: separate; border-spacing: 6px; font-size: 16px; text-align: center; }
.hbb-spec th { background: #d5e8cf; padding: 16px; font-weight: var(--hbb-fw-semibold); color: var(--hbb-color-heading); border: 0; }
.hbb-spec td { background: var(--hbb-color-bg-alt); padding: 14px; border: 0; }
.hbb-spec tbody tr:nth-child(even) td { background: var(--hbb-color-bg-alt-2); }
.elementor-widget-text-editor:has(.hbb-spec) { width: 100%; }

/* Product gallery: even tiles */
.hbb-gallery .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hbb-gallery .gallery { margin: 0; }
.hbb-faq .elementor-accordion-icon { font-size: 14px; }
body a.hbb-btn, body a.hbb-btn:visited { color: var(--hbb-color-on-dark); }

/* Header: nav column shrinks to fit beside the logo at every width (was 1600px wide and pushed "Give us a call" off-screen at 1280-1440px) */
.hbb-header > .e-con-inner > .e-con-full { flex: 1 1 0 !important; min-width: 0; width: auto !important; justify-content: flex-end; }

/* Header on laptop widths: keep "Give us a call" on one line and the social icons in a row */
.hbb-header .elementor-widget-button .elementor-button { white-space: nowrap; }
.hbb-header .elementor-social-icons-wrapper { grid-auto-flow: column; grid-template-columns: none !important; flex-wrap: nowrap; }
@media (min-width: 1025px) and (max-width: 1440px) {
	.hbb-header .elementor-widget-button .elementor-button { padding: 12px 24px !important; font-size: 17px !important; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
	.hbb-header .elementor-widget-button .elementor-button { padding: 10px 18px !important; font-size: 15px !important; }
}

/* Case studies: boxed green hero (listing + singles) */
.hbb-box-hero { padding: clamp(24px, 3vw, 48px) var(--hbb-gutter) 0; }
.hbb-box-hero__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 110px) clamp(20px, 4vw, 64px);
	border-radius: 24px;
	background: #28890C;
	color: #fff;
	text-align: center;
}
.hbb-box-hero__kicker { margin: 0 0 8px; font-size: clamp(18px, 1.6vw, 30px); font-weight: 500; text-transform: uppercase; }
.hbb-box-hero__title { margin: 0 auto 28px; max-width: 22ch; color: #fff; font-size: clamp(32px, 4.6vw, 80px); font-weight: 700; line-height: 1.1; }

/* Case study cards */
.hbb-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 6vw, 96px) var(--hbb-gutter);
}
.hbb-cases__grid:empty { display: none; }
.hbb-ccard { display: flex; flex-direction: column; padding: 20px 20px 28px; border-radius: 24px; background: #EDF5EB; }
.hbb-ccard:nth-child(3n+2) { background: #FFEADF; }
.hbb-ccard__img { display: block; margin-bottom: 22px; }
.hbb-ccard__img img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; }
.hbb-ccard__title { margin: 0 0 10px; font-size: 20px; font-weight: 500; line-height: 1.35; }
.hbb-ccard__title strong { font-weight: 600; }
.hbb-ccard__job { margin: 0; font-size: 16px; line-height: 1.5; }
.hbb-ccard__job::after { content: ""; display: block; width: 48px; height: 3px; margin: 16px 0 14px; background: #FF6101; border-radius: 2px; }
.hbb-ccard__date { margin: 0; font-size: 16px; }
.hbb-ccard__more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; color: #000; font-weight: 600; text-decoration: none; }
.hbb-ccard__more::before {
	content: "";
	width: 34px; height: 34px; flex: none;
	border-radius: 50%;
	background: #FF6101 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.hbb-ccard__more:hover { color: #FF6101; }
@media (max-width: 1024px) { .hbb-cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hbb-cases__grid { grid-template-columns: 1fr; gap: 20px; } }

/* Case study body pieces built in Elementor */
.hbb-case__body > .elementor { overflow: hidden; }
.hbb-jobcard .elementor-divider-separator { border-radius: 2px; }
.hbb-cs-mosaic img { aspect-ratio: auto; }
body .hbb-ccard a.hbb-ccard__more { color: #000; font-size: 16px; font-weight: 600; }
body .hbb-ccard a.hbb-ccard__more:hover { color: #FF6101; }

/* 404 */
.hbb-404__lead { margin: -12px auto 28px; max-width: 46ch; font-size: 18px; }
.hbb-404__body { max-width: 900px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--hbb-gutter); text-align: center; }
.hbb-404__body h2 { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 34px); }
.hbb-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
body .hbb-404__links a { display: inline-block; padding: 12px 22px; font-size: 16px; border-radius: 999px; background: #EDF5EB; color: #000; font-weight: 600; text-decoration: none; }
body .hbb-404__links a:hover { background: #28890C; color: #fff; }
.hbb-404 .search-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.hbb-404 .search-form label { flex: 1; }
.hbb-404 .search-form .search-field { width: 100%; padding: 12px 16px; border: 1px solid #ccc; border-radius: 999px; }
.hbb-404 .search-form .search-submit { padding: 12px 22px; border: 0; border-radius: 999px; background: #FF6101; color: #fff; font-weight: 600; cursor: pointer; }

/* Cookie consent banner */
.hbb-cookie {
	position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	max-width: 960px; margin: 0 auto; padding: 18px 22px;
	border-radius: 18px; background: #fff; color: #000;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	font-size: 15px; line-height: 1.5;
}
.hbb-cookie[hidden] { display: none; }
.hbb-cookie__text { flex: 1 1 420px; margin: 0; }
body .hbb-cookie__text a { color: #28890C; font-size: inherit; text-decoration: underline; }
.hbb-cookie__actions { display: flex; gap: 10px; }
.hbb-cookie__btn {
	padding: 10px 24px; border: 2px solid #FF6101; border-radius: 999px;
	background: #FF6101; color: #fff; font: 600 15px/1.2 inherit; cursor: pointer;
}
.hbb-cookie__btn--ghost { background: transparent; color: #FF6101; }
.hbb-cookie__btn:focus-visible { outline: 3px solid #28890C; outline-offset: 2px; }
@media (max-width: 600px) { .hbb-cookie__actions { width: 100%; } .hbb-cookie__btn { flex: 1; } }

/* Footer newsletter form */
.hbb-newsletter .elementor-field-group { margin-bottom: 0; }

/* <main> wrapper on Elementor full-width pages (skip-link target) */
.hbb-el-main { display: block; outline: none; }

/* Footer legal links: 24px+ tap targets (PageSpeed "Touch targets") */
.elementor-location-footer .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item a { display: inline-block; min-height: 24px; padding: 4px 2px; }
/* Logo keeps its CSS size now that the <img> carries width/height attributes */
.elementor-widget-image img[src$=".svg"] { height: auto; }
/* FAQ titles are rendered as <div> (see inc/images.php); keep heading look */
.elementor-accordion .elementor-tab-title { margin: 0; }
