/* ==========================================================
   Curveball 2027 — new look
   Black, orange and white, with a touch of sky blue.
   Loaded after the original theme's main.css.
   ========================================================== */

:root {
	--cb-ink: #141414;
	--cb-text: #3d3d3d;
	--cb-muted: #6b6b6b;
	--cb-orange: #F0A000;
	--cb-orange-dark: #D18B00;
	--cb-blue: #80B8D6;
	--cb-blue-deep: #2F6E92;
	--cb-blue-pale: #EAF3F8;
	--cb-line: #e8e8e8;
	--cb-soft: #f6f6f6;
	--cb-radius: 20px;
	--cb-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
	--cb-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
body {
	font-family: var(--cb-body) !important;
	color: var(--cb-ink);
	background: #fff !important;
	-webkit-font-smoothing: antialiased;
}
body p, body li, body .paragraph, body .paragraph--small {
	font-family: var(--cb-body);
}
body h1, body h2, body h3, body h4, body h5,
.hero__heading, .content-usps__heading, .title-content__heading, .content-image__heading, .page-header h1 {
	font-family: var(--cb-head) !important;
	letter-spacing: -0.02em;
	color: var(--cb-ink);
}
body a { color: var(--cb-ink); }
body a:hover { color: var(--cb-orange-dark); }
.cb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.breadcrumb.container:empty, .breadcrumb.container:not(:has(*)) { display: none !important; }
.cb-stars { color: var(--cb-orange); letter-spacing: 2px; }

/* ---------- Buttons (all the original button styles) ---------- */
[class*="btn--primary"], [class*="btn--clear"], .btn.btn-primary, .cb-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 13px 26px !important;
	border-radius: 999px !important;
	font-family: var(--cb-body) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	background-image: none !important;
	width: auto;
}
[class*="btn--primary"], .btn.btn-primary, .cb-btn--orange {
	background-color: var(--cb-orange) !important;
	border: 2px solid var(--cb-orange) !important;
	color: var(--cb-ink) !important;
}
[class*="btn--primary"]:hover, .btn.btn-primary:hover, .cb-btn--orange:hover {
	background-color: var(--cb-orange-dark) !important;
	border-color: var(--cb-orange-dark) !important;
	color: var(--cb-ink) !important;
}
[class*="btn--clear"] {
	background: transparent !important;
	border: 2px solid var(--cb-ink) !important;
	color: var(--cb-ink) !important;
}
[class*="btn--clear"]:hover { background: var(--cb-ink) !important; color: #fff !important; }
.cb-btn--dark { background: var(--cb-ink) !important; border: 2px solid var(--cb-ink) !important; color: #fff !important; }
.cb-btn--dark:hover { background: #000 !important; color: #fff !important; }
/* Remove the old squiggle decorations */
[class*="btn--"]::before, [class*="btn--"]::after { display: none !important; content: none !important; }
[class*="btn--"] img { display: none; }

/* ---------- Top bar ---------- */
.cb-topbar { background: var(--cb-ink); color: #e6e6e6; font-size: 13px; }
.cb-topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.cb-topbar__note { margin: 0 !important; color: #e6e6e6 !important; font-size: 13px !important; }
.cb-topbar__phones { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cb-topbar__phones a { color: #e6e6e6 !important; text-decoration: none; }
.cb-topbar__phones a span { color: #fff; font-weight: 600; margin-left: 4px; }
.cb-topbar__phones a:hover span { color: var(--cb-orange); }

/* ---------- Header ---------- */
.header {
	position: sticky !important;
	top: 0;
	z-index: 50;
	background: #fff !important;
	border-bottom: 1px solid var(--cb-line);
	box-shadow: none !important;
	height: auto !important;
}
body.admin-bar .header { top: 32px; }
.header__wrapper {
	max-width: 1240px;
	margin: 0 auto !important;
	padding: 14px 24px !important;
	display: flex !important;
	align-items: center;
	gap: 24px;
	height: auto !important;
	position: relative;
}
.header__logo img { height: 34px !important; width: auto !important; max-width: none !important; }
.header__navigation { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 0 auto !important; padding: 0 !important; list-style: none; }
.header__navigation > li { position: relative; margin: 0 !important; padding: 0 !important; }
.header__navigation > li > a {
	display: block;
	padding: 10px 12px !important;
	font-family: var(--cb-body) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--cb-ink) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border-radius: 8px;
}
.header__navigation > li > a:hover, .header__navigation > li.current-menu-item > a, .header__navigation > li.current-menu-ancestor > a { color: var(--cb-ink) !important; background: var(--cb-soft); }
.header__navigation .sub-menu {
	background: #fff !important;
	border: 1px solid var(--cb-line) !important;
	border-radius: 14px !important;
	box-shadow: 0 16px 40px rgba(20,20,20,.12) !important;
	padding: 8px !important;
	min-width: 240px;
}
.header__navigation .sub-menu a {
	display: block;
	padding: 9px 12px !important;
	border-radius: 8px;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--cb-ink) !important;
	text-transform: none !important;
	white-space: nowrap;
}
.header__navigation .sub-menu a:hover { background: var(--cb-blue-pale) !important; color: var(--cb-ink) !important; }
.header__right { margin: 0 !important; }
.header__right [class*="btn--primary"] { min-height: 44px; padding: 10px 20px !important; font-size: 15px !important; }
.header__toggle { display: none; }
.header__toggle button { background: none; border: 0; padding: 10px; cursor: pointer; }
.header__toggle .fa { display: none; }
.cb-burger { display: inline-flex; flex-direction: column; gap: 5px; }
.cb-burger span { display: block; width: 24px; height: 2px; background: var(--cb-ink); border-radius: 2px; }
@media (max-width: 1199px) {
	.header__navigation { display: none !important; }
	.header__toggle { display: block !important; margin-left: auto; order: 3; }
	.header__right { margin-left: auto !important; }
}
@media (max-width: 575px) {
	.header__right { display: none !important; }
	.cb-topbar__note { display: none; }
	.cb-topbar__inner { justify-content: center; }
}

/* ---------- Homepage hero ---------- */
.cb-hero { background: #fff; position: relative; }
.cb-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 64px; }
.cb-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.cb-hero__title, h1.cb-hero__title {
	font-size: clamp(38px, 5vw, 62px) !important;
	line-height: 1.04 !important;
	font-weight: 800 !important;
	color: var(--cb-ink) !important;
	margin: 0 !important;
	text-transform: none !important;
	max-width: 640px;
}
.cb-hero .hero__paragraph { margin: 0 !important; color: var(--cb-text) !important; }
.cb-hero .cb-hero-result__line { color: var(--cb-ink) !important; font-family: var(--cb-head); font-size: 22px; font-weight: 700; }
.cb-hero .cb-hero-result__link { color: var(--cb-blue-deep) !important; font-weight: 600; text-decoration: none; }
.cb-hero .cb-hero-result__link:hover { text-decoration: underline; }
.cb-hero .hero__paragraph > a { color: var(--cb-ink) !important; font-size: 20px; font-weight: 600; text-decoration: none; }
.cb-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cb-hero__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 !important; font-size: 14px; color: var(--cb-text); }
.cb-hero__rating a { color: var(--cb-text) !important; text-decoration: none; }
.cb-hero__rating strong { color: var(--cb-ink); }
.cb-hero__google { height: 20px; width: auto; }
.cb-hero__media { flex: 1 1 520px; min-width: 0; }
.cb-hero__video {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 4 / 3;
	box-shadow: 0 30px 60px rgba(47,110,146,.22);
}
.cb-hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18); }

/* Client logos strip */
.cb-logos { border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cb-logos__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; padding-top: 26px; padding-bottom: 26px; }
.cb-logos__label { margin: 0 !important; font-size: 14px; color: var(--cb-muted); }
.cb-logos__list { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; margin: 0 !important; padding: 0 !important; list-style: none; }
.cb-logos__list li { margin: 0 !important; }
.cb-logos__list img { height: 30px !important; width: auto !important; max-width: 160px; filter: brightness(0); opacity: .55; }

/* ---------- Intro + benefits (content-usps) ---------- */
.content-usps { background: #fff !important; padding: 88px 0 !important; }
.content-usps .row { align-items: center; }
.content-usps__heading { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.1 !important; font-weight: 800 !important; margin-bottom: 20px !important; }
.content-usps__paragraph, .content-usps__paragraph p { font-size: 18px !important; line-height: 1.65 !important; color: var(--cb-text) !important; }
.content-usps__paragraph strong { color: var(--cb-ink); }
.content-usps__usps ul {
	background: var(--cb-blue-pale);
	border-radius: var(--cb-radius);
	padding: 28px 28px 18px !important;
	margin: 0 !important;
	list-style: none !important;
}
.content-usps__usps-item {
	position: relative;
	padding: 0 0 12px 34px !important;
	margin: 0 0 12px !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	font-weight: 500;
	color: var(--cb-ink) !important;
	border-bottom: 1px solid rgba(47,110,146,.15);
	background: none !important;
}
.content-usps__usps-item:last-child { border-bottom: 0; }
.content-usps__usps-item::before {
	content: "" !important;
	position: absolute; left: 0; top: 1px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--cb-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
	display: block !important;
}

/* ---------- How to order in 3 steps ---------- */
body .cb-steps { background: var(--cb-blue-pale) !important; padding: 88px 0 !important; }
body .cb-steps h2 { font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 800 !important; margin: 0 0 10px !important; }
body .cb-steps__intro { font-size: 17px !important; color: var(--cb-text) !important; margin-bottom: 36px !important; }
body .cb-steps__grid { gap: 24px !important; }
body .cb-steps__grid > div { background: #fff; border-radius: var(--cb-radius); padding: 30px; }
body .cb-steps__num {
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--cb-orange);
	color: var(--cb-ink) !important;
	display: flex !important; align-items: center; justify-content: center;
	font-family: var(--cb-head); font-size: 20px !important; font-weight: 800 !important;
}
body .cb-steps h3 { font-size: 21px !important; margin: 18px 0 8px !important; }
body .cb-steps p { font-size: 16px !important; color: var(--cb-text) !important; }
body .cb-steps p a { color: var(--cb-blue-deep) !important; font-weight: 600; }
body .cb-steps__cta a { padding: 14px 26px !important; font-weight: 600 !important; }
body .cb-steps__cta a:hover { background: var(--cb-orange-dark) !important; }

/* ---------- Title + content blocks ---------- */
.title-content { background: #fff !important; padding: 88px 0 !important; }
.title-content__heading { font-size: clamp(30px, 3.2vw, 42px) !important; line-height: 1.1 !important; font-weight: 800 !important; }
.title-content__content .paragraph, .title-content__content .paragraph p { font-size: 17px !important; line-height: 1.7 !important; color: var(--cb-text) !important; }
.title-content__content h3 { font-size: 24px !important; font-weight: 700 !important; margin: 0 0 12px !important; }
.title-content__content a { color: var(--cb-blue-deep) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.title-content__content a:hover { color: var(--cb-ink) !important; }
.title-content__content iframe[src*="youtube"] {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	border-radius: var(--cb-radius);
	box-shadow: 0 20px 50px rgba(20,20,20,.15);
	margin: 12px 0;
}
.title-content + .title-content { border-top: 1px solid var(--cb-line); }

/* ---------- Products grid ---------- */
.products { background: var(--cb-soft) !important; padding: 88px 0 !important; }
.products__header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px !important; }
.products__header h3 { font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 800 !important; margin: 0 !important; }
.products__link { color: var(--cb-ink) !important; font-weight: 600 !important; text-decoration: none !important; border-bottom: 2px solid var(--cb-orange); padding-bottom: 2px; }
.products .row { row-gap: 24px; }
.products .product {
	margin-bottom: 0 !important;
	display: flex;
}
.products .product > a.product__link, .products .product > .product__content { position: relative; z-index: 1; }
.products .product {
	flex-direction: column;
}
.products .product .product__link {
	display: block;
	background: var(--cb-blue-pale);
	border-radius: var(--cb-radius) var(--cb-radius) 0 0;
	overflow: hidden;
}
.products .product .product__image { margin: 0 !important; aspect-ratio: 4 / 3; }
.products .product .product__image::before, .products .product .product__image::after { display: none !important; }
.products .product .product__image img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .3s ease; }
.products .product:hover .product__image img { transform: scale(1.03); }
.products .product .product__content {
	flex: 1;
	background: #fff;
	border-radius: 0 0 var(--cb-radius) var(--cb-radius);
	padding: 22px 24px 26px !important;
	margin: 0 !important;
	text-align: left !important;
}
/* Show only the title, the first paragraph and the price line on the cards */
.products .product__content > *:not(.product__featured-title):not(.cb-specs):not(.product__paragraph + p) { display: none !important; }
.products .product__content > .product__paragraph { display: none !important; }
.products .product__featured-title {
	display: block;
	font-family: var(--cb-head) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: var(--cb-ink) !important;
	text-decoration: none !important;
	margin-bottom: 10px;
}
.products .product__featured-title:hover { color: var(--cb-orange-dark) !important; }
.products .product__paragraph + p {
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: var(--cb-text) !important;
	margin: 0 0 14px !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.products .product__paragraph + p strong { font-weight: inherit; }
.products .cb-specs { max-width: none !important; }
.products .cb-specs > *:not(:first-child) { display: none !important; }
.products .cb-specs > p:first-child { margin: 0 !important; font-size: 14px !important; color: var(--cb-muted); }
.products .cb-specs > p:first-child strong { display: block; color: var(--cb-ink); font-size: 15px; margin-bottom: 2px; }
.products__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px !important; }
.products__buttons a { margin: 0 !important; max-width: none !important; }

/* ---------- Call to action band ---------- */
.cta { background: transparent !important; padding: 24px 0 88px !important; }
.cta > .container {
	background: var(--cb-orange);
	border-radius: 28px;
	padding: 56px 48px !important;
	text-align: left !important;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta h2 { flex: 1 1 100%; font-size: clamp(30px, 3.4vw, 44px) !important; font-weight: 800 !important; color: var(--cb-ink) !important; margin: 0 !important; }
.cta__paragraph { flex: 1 1 420px; margin: 0 !important; font-size: 18px !important; color: var(--cb-ink) !important; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.cta__buttons a { margin: 0 !important; }
.cta__buttons [class*="btn--primary"] { background: var(--cb-ink) !important; border-color: var(--cb-ink) !important; color: #fff !important; }
.cta__buttons [class*="btn--primary"]:hover { background: #000 !important; }
.cta__buttons [class*="btn--clear"] { border-color: var(--cb-ink) !important; color: var(--cb-ink) !important; }
.cta__buttons .newsletter-btn { background: #fff !important; border-color: #fff !important; color: var(--cb-ink) !important; }

/* ---------- Reviews ---------- */
.reviews { background: #fff !important; padding: 72px 0 88px !important; border-top: 1px solid var(--cb-line); }
.reviews__heading { font-size: clamp(28px, 3vw, 38px) !important; font-weight: 800 !important; text-align: left !important; margin-bottom: 28px !important; }
.review__card {
	background: var(--cb-soft) !important;
	border: 0 !important;
	border-radius: var(--cb-radius) !important;
	box-shadow: none !important;
	padding: 26px !important;
	min-height: 220px;
}
.review a { text-decoration: none !important; }
.review__heading { font-size: 16px !important; font-weight: 700 !important; margin: 10px 0 8px !important; }
.review__paragraph { font-size: 15px !important; line-height: 1.6 !important; color: var(--cb-text) !important; }
.review__date { color: var(--cb-muted) !important; font-size: 13px !important; }
.review__rating img { filter: none; }

/* Reviews bar used on other pages */
.reviews-bar { background: #fff !important; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.reviews-bar__wrapper span, .reviews-bar__wrapper a { color: var(--cb-text) !important; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0 !important; }
.faq h3 { font-size: clamp(28px, 3vw, 38px) !important; font-weight: 800 !important; }
.faq ul { border-top: 1px solid var(--cb-line); }
.faq li { border-bottom: 1px solid var(--cb-line); }
.faq__question { font-family: var(--cb-head) !important; font-weight: 700 !important; font-size: 18px !important; color: var(--cb-ink) !important; padding: 20px 0 !important; text-decoration: none !important; }
.faq__answer { color: var(--cb-text) !important; font-size: 16px !important; line-height: 1.7 !important; }

/* ---------- Inner page headings, content, forms ---------- */
.page-header h1 { font-size: clamp(34px, 4vw, 52px) !important; font-weight: 800 !important; }
.content-image__heading { font-size: clamp(28px, 3vw, 40px) !important; font-weight: 800 !important; }
.content-image__paragraph, .content-image__paragraph p { color: var(--cb-text) !important; font-size: 17px !important; line-height: 1.7 !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea {
	border-radius: 10px !important;
	border: 1px solid #cfcfcf !important;
	font-family: var(--cb-body) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--cb-blue-deep) !important; outline: 2px solid rgba(47,110,146,.2) !important; }
input[type="submit"], button[type="submit"], .wpforms-submit, .wpcf7-submit {
	background: var(--cb-orange) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: var(--cb-ink) !important;
	font-weight: 600 !important;
	padding: 14px 28px !important;
	cursor: pointer;
}
input[type="submit"]:hover, button[type="submit"]:hover, .wpforms-submit:hover, .wpcf7-submit:hover { background: var(--cb-orange-dark) !important; }

/* ---------- Footer ---------- */
.cb-footer { background: var(--cb-ink) !important; color: #cfcfcf !important; padding: 72px 0 32px !important; margin: 0 !important; }
.cb-footer a { color: #e6e6e6 !important; text-decoration: none; }
.cb-footer a:hover { color: var(--cb-orange) !important; }
.cb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.cb-footer__logo { height: 34px; width: auto; margin-bottom: 18px; }
.cb-footer__rating { font-size: 14px; color: #cfcfcf; margin: 0 0 18px !important; }
.cb-footer__socials { display: flex; gap: 12px; list-style: none; padding: 0 !important; margin: 0 !important; justify-content: flex-start !important; }
.cb-footer__socials li { margin: 0 !important; }
.cb-footer__socials a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: #262626; align-items: center; justify-content: center; }
.cb-footer__socials a:hover { background: #333; }
.cb-footer__socials img { width: 18px; height: 18px; }
.cb-footer h4, .cb-footer .footer__header { color: #fff !important; font-family: var(--cb-body) !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0; margin: 0 0 12px !important; text-transform: none !important; }
.cb-footer__col h4 + a { display: inline-block; }
.cb-footer__col ul + h4 { margin-top: 22px !important; }
.cb-footer ul { list-style: none; padding: 0; margin: 0; }
.cb-footer__col li { font-size: 15px; line-height: 1.75; color: #cfcfcf; }
.cb-footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 48px 0 0 !important; padding: 28px 0 0 !important; border-top: 1px solid #333; }
.cb-footer__nav li { margin: 0 !important; }
.cb-footer__nav a { font-size: 15px; font-weight: 500; }
.cb-footer__nav .sub-menu { display: none !important; }
.cb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #333; font-size: 13px; color: #9a9a9a; }
.cb-footer__bottom p { margin: 0 !important; color: #9a9a9a !important; font-size: 13px !important; }
.cb-footer__bottom ul { display: flex; gap: 20px; }
.cb-footer__bottom a { color: #9a9a9a !important; }

/* ---------- Mobile menu ---------- */
.offcanvas__nav a { font-family: var(--cb-body) !important; font-weight: 500 !important; text-transform: none !important; }
.offcanvas__cta .phone { display: block; margin-top: 10px; font-weight: 600; color: var(--cb-ink) !important; }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
	.cb-hero__inner { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.content-usps, .title-content, .products, body .cb-steps { padding: 56px 0 !important; }
	.content-usps__usps { margin-top: 28px; }
	.cta > .container { padding: 36px 24px !important; border-radius: 20px; }
	.cb-logos__list { gap: 18px 32px; }
	.cb-logos__list img { height: 24px !important; }
	.cb-footer { padding-top: 56px !important; }
}

/* ---------- Fixes after first look on the live draft ---------- */
body { padding-top: 0 !important; }
.cb-footer::before, .cb-footer::after { display: none !important; content: none !important; background: none !important; }
body .cb-steps__cta a, body .cb-steps__cta a:hover { color: var(--cb-ink) !important; text-decoration: none !important; }
[class*="btn--clear"], [class*="btn--clear"] span { color: var(--cb-ink) !important; }
[class*="btn--clear"]:hover, [class*="btn--clear"]:hover span { color: #fff !important; }
.products__buttons .newsletter-btn, .cta__buttons .newsletter-btn { margin: 0 !important; display: inline-flex !important; }
.products__buttons { align-items: center; }

body .products .product__content > .cb-specs { display: block !important; }
body .products .product__content > .cb-specs > p:first-child { display: block !important; }
body .products__buttons a[class*="btn--clear"], body .cta__buttons a[class*="btn--clear"] { color: var(--cb-ink) !important; }
body .products__buttons a[class*="btn--clear"]:hover, body .cta__buttons a[class*="btn--clear"]:hover { color: #fff !important; }
body .products__buttons .newsletter-btn { margin-bottom: 15px !important; }
.cb-footer__socials a { background: transparent; width: auto; height: auto; }
.cb-footer__socials img { width: 36px; height: 36px; }
body footer.footer { background: var(--cb-ink) !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; border: 0 !important; }
body footer.footer::before, body footer.footer::after { display: none !important; content: none !important; background: none !important; }
.cb-topbar__phones a span { white-space: nowrap; }
body .offcanvas__cta { display: block !important; }
body .offcanvas__cta .phone { display: block !important; width: 100%; white-space: nowrap; margin: 10px 0 0 !important; }

/* Small page banner (Recent Work, Prices etc.): plain white title, no blue box */
body .hero.hero--small { background: #fff !important; background-image: none !important; min-height: 0 !important; height: auto !important; padding: 56px 0 8px !important; border-bottom: 0 !important; }
body .hero.hero--small::before, body .hero.hero--small::after { display: none !important; content: none !important; }
body .hero.hero--small .fullscreen-video, body .hero.hero--small .hero__contact, body .hero.hero--small .hero__image { display: none !important; }
body .hero.hero--small .hero__content { position: static !important; transform: none !important; padding: 0 !important; margin: 0 !important; max-width: 820px; }
body .hero.hero--small .hero__heading { color: var(--cb-ink) !important; font-size: clamp(34px, 4.2vw, 54px) !important; font-weight: 800 !important; line-height: 1.05 !important; margin: 0 0 14px !important; text-shadow: none !important; }
body .hero.hero--small .hero__paragraph { color: var(--cb-text) !important; font-size: 18px !important; line-height: 1.6 !important; margin: 0 !important; text-shadow: none !important; }
body .hero.hero--small .hero__brands img { filter: brightness(0); opacity: .55; }
body .hero.hero--small .hero__buttons { margin-top: 22px !important; display: flex !important; flex-wrap: wrap; gap: 12px; }
body .hero.hero--small .hero__buttons a { margin: 0 !important; }
body .hero.hero--small + .title-content { padding-top: 40px !important; }

/* Prices page: get the price list on screen without scrolling */
body .title-content.calculator-hero-content-wrapper { padding: 28px 0 18px !important; }
body .calculator-hero-content-wrapper .title-content__heading { font-size: clamp(30px, 3.4vw, 42px) !important; margin: 0 0 10px !important; }
body .calculator-hero-content-wrapper p { font-size: 15px !important; line-height: 1.5 !important; margin: 0 0 6px !important; max-width: 980px; }
body .wrapper.pricing_page { padding-top: 20px !important; }
body .wrapper.pricing_page .pricing_nav { margin: 0 0 10px !important; }
body .wrapper.pricing_page .pricing_expand_text { margin: 0 !important; }
body .wrapper.pricing_page .pricing_expand_text p { margin: 0 0 8px !important; font-size: 14px !important; }
body .wrapper.pricing_page .tab-content { margin-top: 6px !important; }
body .wrapper.pricing_page .pricing_block_title { margin-bottom: 12px !important; }
body .wrapper.pricing_page .pricing_block .product-image-container { height: 96px !important; max-height: 96px; overflow: hidden; flex: 0 0 150px !important; max-width: 150px; border-radius: 12px; }
body .wrapper.pricing_page .pricing_block .product-image-container img { width: 100% !important; height: 96px !important; object-fit: cover; }
body .wrapper.pricing_page .pricing_block .product-image-container + .product-description-container { max-height: 96px; overflow: hidden; }
body .wrapper.pricing_page .pricing_block .product-description-container p { font-size: 14px !important; line-height: 1.45 !important; margin: 0 0 4px !important; }
body .wrapper.pricing_page .pricing_block .product-description-container p strong { font-size: 16px !important; color: var(--cb-ink); }


/* Mobile menu: align phone numbers (override legacy padding on second number) */
.offcanvas__cta .phone,
.offcanvas__cta .phone + .phone { padding-left: 0 !important; margin-left: 0 !important; }


/* Bespoke builds hub + case studies: tables, photo grid, video */
.cb-builds, .cb-prices, .cb-spec { width:100%; max-width:100%; border-collapse:collapse; margin:16px 0 28px; font-size:15px; line-height:1.5; }
.cb-builds { table-layout:fixed; }
.cb-builds td { width:50%; vertical-align:top; padding:0 10px 24px; border:0; }
.cb-builds td:first-child { padding-left:0; }
.cb-builds td:last-child { padding-right:0; }
.cb-builds img { display:block; width:100%; max-width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:12px; margin-bottom:10px; }
.cb-builds strong a { color:inherit; text-decoration:none; }
.cb-builds strong a:hover { color:#f29d00; }
.cb-prices th, .cb-prices td, .cb-spec th, .cb-spec td { padding:10px 12px; border-bottom:1px solid #e5e5e5; text-align:left; vertical-align:top; }
.cb-prices thead th { background:#111; color:#fff; font-weight:600; }
.cb-spec th { width:34%; font-weight:600; background:#fafafa; }
.cb-video { position:relative; width:100%; aspect-ratio:16/9; margin:16px 0 28px; }
.cb-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:12px; }
@media (max-width: 640px) {
  .cb-builds, .cb-builds tbody, .cb-builds tr, .cb-builds td { display:block; width:100%; padding-left:0; padding-right:0; }
  .cb-spec th, .cb-spec td { display:block; width:100%; }
  .cb-spec th { border-bottom:0; padding-bottom:2px; }
  .cb-prices { font-size:14px; }
  .cb-prices th, .cb-prices td { padding:8px 6px; }
}


/* Case study photo galleries */
.cb-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:20px 0 28px; }
.cb-gallery img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; background:#fff; border:1px solid #eee; border-radius:12px; margin:0; }
.cb-gallery img:first-child:nth-last-child(odd) { grid-column:1 / -1; aspect-ratio:16/9; }
@media (max-width: 640px) { .cb-gallery { grid-template-columns:1fr; } .cb-gallery img { aspect-ratio:auto; } }


/* Case study pages: keep the side photo at natural size and sticky */
body.single-work .content-image .col-md-5 img.attachment-content_image { height:auto !important; max-height:none; width:100%; object-fit:contain; position:sticky; top:110px; border-radius:12px; background:#fff; }
@media (max-width: 767px) { body.single-work .content-image .col-md-5 img.attachment-content_image { position:static; margin-top:20px; } }


/* Hub page (custom builds): full-width layout + portal tiles */
body.page-id-4426 .title-content .row { display:block; }
body.page-id-4426 .title-content .row > [class*="col-"] { width:100%; max-width:100%; flex:none; }
body.page-id-4426 .title-content__content > p,
body.page-id-4426 .title-content__content > ul,
body.page-id-4426 .title-content__content > ol,
body.page-id-4426 .title-content__content > h2,
body.page-id-4426 .title-content__content > h3,
body.page-id-4426 .title-content__content > .cb-prices,
body.page-id-4426 .title-content__content > .cb-gallery { max-width:820px; }
.cb-portals { display:grid; gap:24px; margin:24px 0 40px; }
.cb-portals--lg { grid-template-columns:repeat(2, 1fr); }
.cb-portals--sm { grid-template-columns:repeat(4, 1fr); gap:16px; margin-bottom:16px; }
a.cb-portal, .title-content__content a.cb-portal { display:flex; flex-direction:column; background:#111; color:#fff; border-radius:18px; overflow:hidden; text-decoration:none !important; box-shadow:0 2px 10px rgba(0,0,0,.08); transition:transform .25s ease, box-shadow .25s ease; }
a.cb-portal:hover { transform:translateY(-4px); box-shadow:0 16px 36px rgba(0,0,0,.20); }
.cb-portal__img { display:block; background:#fff; aspect-ratio:16/10; overflow:hidden; }
.cb-portal__img img { display:block; width:100%; height:100%; object-fit:cover; margin:0 !important; border-radius:0 !important; transition:transform .6s ease; }
a.cb-portal:hover .cb-portal__img img { transform:scale(1.05); }
.cb-portal__body { display:flex; flex-direction:column; gap:6px; padding:20px 22px 22px; }
.cb-portal__kicker { font-size:12px; letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:#f29d00; }
.cb-portal__title { font-size:24px; line-height:1.2; font-weight:700; color:#fff; }
.cb-portal__meta { font-size:14px; line-height:1.4; color:#bdbdbd; }
.cb-portal__cta { margin-top:8px; font-weight:600; color:#f29d00; }
a.cb-portal:hover .cb-portal__cta { text-decoration:underline; }
a.cb-portal--sm { border-radius:14px; }
.cb-portal--sm .cb-portal__img { aspect-ratio:4/3; }
.cb-portal--sm .cb-portal__body { padding:12px 14px 14px; gap:3px; }
.cb-portal--sm .cb-portal__title { font-size:16px; }
.cb-portal--sm .cb-portal__kicker { font-size:11px; }
.cb-portals__more { margin-top:8px; }
.cb-portals__all a { font-weight:600; color:#f29d00; }
@media (max-width: 900px) { .cb-portals--sm { grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 640px) { .cb-portals--lg { grid-template-columns:1fr; } .cb-portal__title { font-size:20px; } }


/* Hub: CTA buttons + see-all link inside content */
.cb-cta-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
.title-content__content a.cb-btn, .content-image__paragraph a.cb-btn { text-decoration:none !important; }
.title-content__content a.cb-btn--orange { color:#111 !important; }
.title-content__content a.cb-btn--dark { color:#fff !important; }
.title-content__content .cb-portals__all a { color:#f29d00 !important; text-decoration:none !important; font-weight:600; }
.title-content__content .cb-portals__all a:hover { text-decoration:underline !important; }


/* Desktop nav: bridge the gap between a menu item and its dropdown so it stays open */
.menu-item-has-children > .sub-menu::before { content:''; position:absolute; left:0; right:0; top:-70px; height:70px; background:transparent; }


/* Desktop nav: never wrap onto two rows (laptops 1200-1450px) */
@media (min-width: 1200px) {
  .header__navigation { flex-wrap:nowrap !important; flex-shrink:0; }
  .header__navigation > li { flex-shrink:0; }
  .header__navigation > li > a { white-space:nowrap; }
  .header__wrapper a[href*='request-a-sample'] { white-space:nowrap; }
}
@media (min-width: 1200px) and (max-width: 1459px) {
  .header__wrapper { gap:12px !important; padding-left:16px !important; padding-right:16px !important; }
  .header__navigation { gap:0 !important; }
  .header__navigation > li > a { padding:10px 9px !important; font-size:14px !important; }
  .header__wrapper > a:first-child img, .header__logo img { max-width:170px; height:auto; }
}


/* Desktop nav safety: any item with children behaves as a hover dropdown, class or not */
@media (min-width: 1200px) {
  .header .header__navigation > li.menu-item-has-children { position:relative; }
  .header .header__navigation > li.menu-item-has-children > .sub-menu { position:absolute; opacity:0; visibility:hidden; display:flex; flex-direction:column; z-index:100; }
  .header .header__navigation > li.menu-item-has-children:hover > .sub-menu,
  .header .header__navigation > li.menu-item-has-children:focus-within > .sub-menu { opacity:1; visibility:visible; }
}


/* Keep the header Free sample button visible on 1200-1300px laptops (menu is compact there) */
@media screen and (min-width: 1200px) and (max-width: 1300px) { .header__right { display:block !important; } .header__right [class*='btn--primary'] { padding:9px 14px !important; font-size:14px !important; } }


/* Stop sideways scroll: right-most dropdown opens leftwards, off-canvas menu clipped */
html, body { overflow-x: clip; }
.offcanvas { max-width: 100%; }
@media (min-width:1200px){ .header .header__navigation > li.menu-item-has-children:last-child > .sub-menu, .header .header__navigation > li.menu-item-has-children:nth-last-child(2) > .sub-menu { left:auto !important; right:0 !important; } }


/* Dropdowns: sit directly under the menu item (no gap) and stay open for 0.4s if the pointer strays */
@media (min-width:1200px){
.header .header__navigation > li.menu-item-has-children > .sub-menu { top: calc(100% + 6px) !important; margin-top:0 !important; transition: opacity .2s ease, visibility 0s linear .4s !important; }
.header .header__navigation > li.menu-item-has-children:hover > .sub-menu, .header .header__navigation > li.menu-item-has-children:focus-within > .sub-menu { transition-delay: 0s !important; }
.header .header__navigation > li.menu-item-has-children > .sub-menu::before { top:-20px !important; height:20px !important; }
.header .header__navigation > li.menu-item-has-children > a::after { content:''; position:absolute; left:0; right:0; bottom:-12px; height:12px; }
}
