/**
 * Building blocks for inner pages (Bioengineering, Rehabilitation, …).
 * Everything is class-based: add the class as "Extra class name" in WPBakery.
 *
 * Row classes:
 *   b3d-benefits      intro whose bulleted list becomes a grid of benefit cards
 *   b3d-steps         workflow: each inner column becomes a step card
 *   b3d-materials     band with a centered illustration card
 *   b3d-cases         container of application blocks
 *   b3d-cta-row       row holding a .b3d-cta block (text block HTML)
 *   b3d-services      section head + inner row "b3d-services__grid" of
 *                     columns "b3d-service" (image + text block with
 *                     h3.b3d-service__title > a, p, span.b3d-service__more)
 *   b3d-about         2/3 text (ul.b3d-facts) + 1/3 column "b3d-awards"
 *   b3d-values        inner row "b3d-values__grid" of columns "b3d-value"
 *   b3d-features      inner rows "b3d-feature [b3d-feature--reverse]" with
 *                     columns "b3d-feature__body" and "b3d-feature__media"
 *   b3d-dark          dark band (brand strip on top, "b" watermark), combine
 *                     with another row class
 *   b3d-process       ol.b3d-process__steps + column "b3d-process__media"
 *   b3d-applications  text block with ul.b3d-apps > li.b3d-app (h3 + p)
 *   b3d-video-row     (with b3d-dark) [b3d_video] shortcode (figure.b3d-video)
 *   b3d-materials-list (with b3d-features) .b3d-modulus bars, ul.b3d-specs
 *   b3d-specs-row     (with b3d-dark) ul.b3d-spec-tiles > li.b3d-spec (svg + h3 + p)
 *   b3d-lab           feature row with ul.b3d-chips, p.b3d-stat and div.b3d-note
 *   b3d-devices       (with b3d-rehab) [imagelinks] in text block "b3d-imagelinks"
 *                     + ul.b3d-apps.b3d-apps--links (cards with h3 > a)
 *   b3d-keys-row      ul.b3d-spec-tiles.b3d-spec-tiles--light + b3d-awards__badges
 *   b3d-product-specs (with b3d-about) ul.b3d-specs.b3d-specs--stacked
 *   b3d-guides-why    (with b3d-benefits) long text with benefit cards and
 *                     p.b3d-signoff
 * Inner-row class:
 *   b3d-case          one application: h4.b3d-subhead + text + carousel
 * Carousel (The7 "Media gallery carousel") Extra class:
 *   b3d-carousel [b3d-carousel--square] [b3d-carousel--contain]
 *   (4:3 frames or 1:1; --contain shows the whole picture on white)
 */

/* ---------- Section rhythm ---------- */

#main .vc_row:is(.b3d-benefits, .b3d-steps, .b3d-applications, .b3d-materials, .b3d-cases, .b3d-cta-row,
	.b3d-services, .b3d-about, .b3d-values, .b3d-features, .b3d-process, .b3d-video-row, .b3d-cases-row,
	.b3d-specs-row, .b3d-keys-row) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: var(--b3d-section-y) !important;
	padding-bottom: var(--b3d-section-y) !important;
}

/* ---------- Benefits grid ---------- */

#main .b3d-benefits .wpb_text_column ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
	margin: 22px 0 0 !important;
	padding: 0 !important;
}

#main .b3d-benefits .wpb_text_column ul > li {
	position: relative;
	margin: 0 !important;
	padding: 18px 20px 18px 56px !important;
	border: 1px solid var(--b3d-line);
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface);
	font-size: 15px;
	line-height: 1.6;
	transition: transform var(--b3d-dur) var(--b3d-ease), box-shadow var(--b3d-dur) var(--b3d-ease), border-color var(--b3d-dur) var(--b3d-ease);
}

#main .b3d-benefits .wpb_text_column ul > li:hover {
	transform: translateY(-3px);
	border-color: var(--b3d-logo-cyan);
	box-shadow: var(--b3d-shadow-accent);
}

/* check badge instead of the list marker */
#main .b3d-benefits .wpb_text_column ul > li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 18px;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3L15 6.5' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
		var(--b3d-logo-cyan);
	clip-path: none;
	transform: none;
}

#main .b3d-benefits .wpb_text_column ul > li > :is(b, strong):first-child {
	display: block;
	margin-bottom: 2px;
	color: var(--b3d-ink);
	font-size: 16px;
}

/* ---------- Workflow steps ---------- */

#main .vc_row.b3d-steps {
	position: relative;
	background: linear-gradient(180deg, var(--b3d-surface) 0%, var(--b3d-logo-cyan-50) 100%) !important;
}

#main .b3d-steps .vc_row.vc_inner {
	position: relative;
	margin-top: 24px;
}

/* dashed connector running behind the cards */
#main .b3d-steps .vc_row.vc_inner::before {
	content: "";
	display: block;
	position: absolute;
	left: 12%;
	right: 12%;
	top: 50%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--b3d-logo-cyan) 0 10px, transparent 10px 18px);
	opacity: .45;
}

#main .b3d-steps .vc_row.vc_inner > .wpb_column > .vc_column-inner {
	height: 100%;
	margin: 0 8px;
	padding: 22px 18px !important;
}

#main .b3d-steps .wpb_single_image {
	margin-bottom: 0 !important;
}

#main .b3d-steps .wpb_single_image img {
	max-height: 230px;
	width: auto;
}

/* ---------- Materials band ---------- */

#main .vc_row.b3d-materials {
	background: var(--b3d-logo-cyan-50) !important;
}

#main .b3d-materials .wpb_single_image .vc_single_image-wrapper {
	padding: 28px 40px;
	border-radius: var(--b3d-radius-lg);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-sm);
}

#main .b3d-materials .wpb_single_image:hover .vc_single_image-wrapper {
	transform: none;
	filter: none;
}

/* ---------- Application blocks ---------- */

#main .b3d-cases .vc_row.vc_inner.b3d-case {
	margin-top: 0 !important;
	margin-bottom: clamp(40px, 5vw, 64px) !important;
	padding: 0 !important;
}

#main .b3d-cases .vc_row.vc_inner.b3d-case:last-child {
	margin-bottom: 0 !important;
}

/* Sub-heading with a mini logo "b" (replaces the old inline-styled cyan bar) */
#main h4.b3d-subhead {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px !important;
	padding: 0 !important;
	background: none !important;
	color: var(--b3d-ink) !important;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.3;
}

#main h4.b3d-subhead::before {
	content: "";
	flex: 0 0 13px;
	height: 25px;
	background: var(--b3d-mark) center / contain no-repeat;
}

/* ---------- Carousels (The7 media gallery carousel) ---------- */

#main .b3d-carousel {
	margin-top: 22px;
}

#main .b3d-carousel .post {
	overflow: hidden;
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface-alt);
	box-shadow: var(--b3d-shadow-sm);
	transition: box-shadow var(--b3d-dur) var(--b3d-ease), transform var(--b3d-dur) var(--b3d-ease);
}

#main .b3d-carousel .post:hover {
	transform: translateY(-4px);
	box-shadow: var(--b3d-shadow-accent);
}

#main .b3d-carousel .owl-nav a {
	box-shadow: var(--b3d-shadow-sm);
}

/* Every slide gets the same frame, whatever the source image's shape
 * (slides stretch to the tallest one otherwise). */
#main .b3d-carousel .owl-stage {
	align-items: flex-start;
}

#main .b3d-carousel .post,
#main .b3d-carousel .dt-owl-item > div {
	width: 100%;
	height: auto !important;
}

#main .b3d-carousel .post > a.rollover {
	display: block;
	aspect-ratio: var(--b3d-carousel-ratio, 4 / 3);
	overflow: hidden;
}

#main .b3d-carousel .post > a.rollover img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

#main .b3d-carousel--square {
	--b3d-carousel-ratio: 1 / 1;
}

/* ---------- Call to action block ---------- */

#main .vc_row.b3d-cta-row {
	background: var(--b3d-surface) !important;
}

.b3d-cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	padding: clamp(32px, 4vw, 56px);
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--b3d-radius-2xl);
	background:
		var(--b3d-strip) top / 100% 4px no-repeat,
		var(--b3d-dark-gradient);
	color: #fff;
}

/* white logo "b" watermark */
.b3d-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -30px;
	bottom: -90px;
	width: 220px;
	aspect-ratio: 249 / 482;
	background: #fff;
	-webkit-mask: var(--b3d-mark) center / contain no-repeat;
	mask: var(--b3d-mark) center / contain no-repeat;
	opacity: .06;
}

.b3d-cta__text {
	flex: 1 1 420px;
	max-width: 640px;
}

.b3d-cta__text p {
	margin: 0 !important;
}

.b3d-cta__eyebrow {
	margin-bottom: 14px !important;
}

#main .b3d-cta h2.b3d-cta__title {
	margin: 0 0 10px;
	color: #fff !important;
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

#main .b3d-cta .b3d-cta__lead {
	color: rgba(255, 255, 255, .78) !important;
	font-size: 17px;
	line-height: 1.7;
}

.b3d-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 767px) {
	#main .b3d-steps .vc_row.vc_inner::before {
		display: none;
	}

	#main .b3d-steps .vc_row.vc_inner > .wpb_column {
		margin-bottom: 14px;
	}

	.b3d-cta__actions .b3d-btn {
		flex: 1 1 100%;
	}
}

/* Application block texts (plain text blocks, no Ultimate wrappers) */
#main .b3d-case .b3d-case__head {
	margin-bottom: 0 !important;
}

#main .b3d-case .b3d-case__text {
	max-width: 860px;
	margin-bottom: 0 !important;
}

#main .b3d-case .b3d-case__text p:last-child {
	margin-bottom: 0;
}

/* ---------- Shared: inner rows as flex grids ----------
 * Columns become equal-height cards; the clearfix pseudo elements of
 * .vc_row would otherwise turn into flex items. */

#main .vc_row.vc_inner:is(.b3d-services__grid, .b3d-values__grid, .b3d-feature) {
	display: flex;
	flex-wrap: wrap;
}

#main .vc_row.vc_inner:is(.b3d-services__grid, .b3d-values__grid, .b3d-feature)::before,
#main .vc_row.vc_inner:is(.b3d-services__grid, .b3d-values__grid, .b3d-feature)::after {
	display: none;
}

/* 24px gutter; the outer card edges line up with the text of the page */
#main .vc_row.vc_inner:is(.b3d-services__grid, .b3d-values__grid) {
	margin-left: -12px !important;
	margin-right: -12px !important;
}

#main :is(.b3d-services__grid, .b3d-values__grid) > .wpb_column {
	display: flex;
	margin-bottom: 24px;
	padding-inline: 12px;
}

#main :is(.b3d-service, .b3d-value) > .vc_column-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 !important;
}

#main :is(.b3d-service, .b3d-value) > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
}

/* ---------- Services ---------- */

#main .b3d-service .b3d-service__img {
	margin: 0 !important;
}

#main .b3d-service .b3d-service__img .vc_figure,
#main .b3d-service .b3d-service__img .vc_single_image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#main .b3d-service .b3d-service__img .vc_figure {
	box-sizing: border-box;
	height: 240px;
	padding: 20px;
	background: radial-gradient(circle at 50% 60%, #fff 0, var(--b3d-logo-cyan-50) 70%);
}

#main .b3d-service .b3d-service__img img {
	width: auto;
	max-height: 200px;
	object-fit: contain;
	transition: transform .6s var(--b3d-ease-out);
}

#main .b3d-service > .vc_column-inner:hover .b3d-service__img img {
	transform: scale(1.07) rotate(-2deg);
}

#main .b3d-service .b3d-service__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 0 !important;
	padding: 22px 22px 24px;
	font-size: 15px;
	line-height: 1.6;
}

#main .b3d-service .b3d-service__body > .wpb_wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
}

#main .b3d-service .b3d-service__body p {
	margin: 0 0 16px;
}

#main h3.b3d-service__title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}

#main .b3d-service__title a {
	color: var(--b3d-ink);
	background: none;
}

/* the whole card is the link */
#main .b3d-service__title a::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
}

#main .b3d-service__title a:focus-visible {
	outline: none;
}

#main .b3d-service__title a:focus-visible::after {
	border-radius: var(--b3d-radius-lg);
	outline: 2px solid var(--b3d-logo-cyan);
	outline-offset: 2px;
}

.b3d-service__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--b3d-cyan-600);
	font-size: 14px;
	font-weight: 700;
}

.b3d-service__more .b3d-btn__arrow {
	width: 18px;
	height: 18px;
	transition: transform var(--b3d-dur) var(--b3d-ease);
}

#main .b3d-service > .vc_column-inner:hover .b3d-service__more .b3d-btn__arrow {
	transform: translateX(4px);
}

/* ---------- About ---------- */

#main .vc_row.b3d-about {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#main .vc_row.b3d-about::before,
#main .vc_row.b3d-about::after {
	display: none;
}

#main .b3d-about__text p:first-child {
	margin-bottom: 16px;
}

#main .b3d-about__text h2.b3d-title {
	margin-top: 0;
}

.b3d-accent {
	color: var(--b3d-cyan-600);
	font-weight: 700;
}

#main ul.b3d-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 28px 0 0 !important;
}

#main ul.b3d-facts li {
	margin: 0;
	padding: 14px 16px 14px 20px;
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface-alt);
	line-height: 1.35;
}

/* stem blade on the left; the last one is the pink bowl */
#main ul.b3d-facts li::before {
	left: 0;
	top: 14px;
	width: 5px;
	height: calc(100% - 28px);
	clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
}

#main ul.b3d-facts li:last-child::before {
	background: var(--b3d-pink);
}

#main ul.b3d-facts b {
	display: block;
	color: var(--b3d-ink);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.01em;
}

#main ul.b3d-facts span {
	color: var(--b3d-muted);
	font-size: 14px;
}

/* Card columns: the card is drawn on the column's .wpb_wrapper, inside The7's
 * column padding, so its edges line up with the page text at every width. */
#main .b3d-awards > .vc_column-inner > .wpb_wrapper {
	padding: 28px 20px 18px;
	border-radius: var(--b3d-radius-2xl);
	background: radial-gradient(circle at 50% 0, #fff 0, var(--b3d-logo-cyan-50) 75%);
	text-align: center;
}

#main .b3d-awards .b3d-awards__head {
	margin-bottom: 8px !important;
}

#main .b3d-awards__title {
	margin: 0;
	color: var(--b3d-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#main .vc_row.vc_inner.b3d-awards__badges {
	display: flex;
	margin: 0 !important;
}

#main .b3d-awards__badges::before,
#main .b3d-awards__badges::after {
	display: none;
}

#main .b3d-awards__badges > .wpb_column {
	width: 50%;
}

#main .b3d-awards__badges .wpb_single_image {
	margin-bottom: 0 !important;
}

#main .b3d-awards__badges img {
	max-width: 150px;
	transition: transform .6s var(--b3d-ease-out);
}

#main .b3d-awards__badges .wpb_single_image:hover img {
	transform: rotate(-8deg) scale(1.05);
}

/* ---------- Values ---------- */

#main .vc_row.b3d-values {
	background: var(--b3d-surface-alt) !important;
}

#main .b3d-value > .vc_column-inner {
	padding: 30px 22px 26px !important;
	text-align: center;
}

#main .b3d-value .b3d-value__icon {
	margin: 0 0 18px !important;
}

#main .b3d-value .b3d-value__icon .vc_figure {
	display: inline-grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--b3d-logo-cyan-50);
	transition: transform .6s var(--b3d-ease-out);
}

#main .b3d-value .b3d-value__icon img {
	max-width: 56px;
	max-height: 50px;
	object-fit: contain;
}

#main .b3d-value > .vc_column-inner:hover .b3d-value__icon .vc_figure {
	transform: rotate(-8deg) scale(1.06);
}

#main .b3d-value .b3d-value__body {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.6;
}

#main h3.b3d-value__title {
	margin: 0 0 8px;
	color: var(--b3d-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

#main .b3d-value__body p {
	margin: 0;
}

/* ---------- Veterinary frontiers ---------- */

#main .vc_row.vc_inner.b3d-feature {
	align-items: center;
	margin-top: 0 !important;
	margin-bottom: clamp(40px, 5vw, 72px) !important;
}

#main .vc_row.vc_inner.b3d-feature:last-child {
	margin-bottom: 0 !important;
}

#main .b3d-feature__body > .vc_column-inner {
	padding-inline: clamp(15px, 3vw, 48px) !important;
}

#main .b3d-feature__media > .vc_column-inner {
	padding-top: 0 !important;
}

#main .b3d-feature__media .wpb_single_image {
	margin: 0 !important;
}

#main .b3d-feature__media .vc_figure,
#main .b3d-feature__media .vc_single_image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#main .b3d-feature__media .vc_figure {
	box-sizing: border-box;
	min-height: clamp(240px, 22vw, 320px);
	padding: clamp(24px, 3vw, 44px);
	border-radius: var(--b3d-radius-2xl);
	background: radial-gradient(circle at 50% 50%, #fff 0, var(--b3d-logo-cyan-50) 72%);
}

#main .b3d-feature__media img {
	width: auto;
	max-height: 260px;
	object-fit: contain;
	/* photos on white blend into the tinted panel */
	mix-blend-mode: multiply;
	transition: transform .8s var(--b3d-ease-out);
}

#main .b3d-feature__media .wpb_single_image:hover img {
	transform: scale(1.05);
}

#main .b3d-feature__body .wpb_text_column {
	margin-bottom: 0 !important;
}

#main .b3d-feature__body p:last-child {
	margin-bottom: 0;
}

/* quote with the pink bowl blade as marker */
#main .b3d-quote {
	position: relative;
	padding-left: 20px;
	color: var(--b3d-ink);
	font-size: 17px;
	font-weight: 600;
	font-style: italic;
}

#main .b3d-quote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 6px;
	background: var(--b3d-pink);
	clip-path: polygon(0 0, 100% 18%, 100% 82%, 0 100%);
}

/* ---------- Dark band (row Extra class "b3d-dark") ---------- */

#main .vc_row.b3d-dark {
	position: relative;
	display: flow-root;
	overflow: hidden;
	isolation: isolate;
	background:
		var(--b3d-strip) top / 100% 4px no-repeat,
		var(--b3d-dark-gradient) !important;
}

#main .vc_row.b3d-dark::before {
	display: none;
}

/* white logo "b" watermark */
#main .vc_row.b3d-dark::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: -40px;
	bottom: -120px;
	width: 280px;
	aspect-ratio: 249 / 482;
	background: #fff;
	-webkit-mask: var(--b3d-mark) center / contain no-repeat;
	mask: var(--b3d-mark) center / contain no-repeat;
	opacity: .05;
}

#main .b3d-dark .wpb_text_column {
	color: rgba(255, 255, 255, .72) !important;
}

#main .b3d-dark h2.b3d-title,
#main .b3d-dark .b3d-section-head h2 {
	color: #fff;
}

#main .b3d-dark .b3d-section-lead {
	color: rgba(255, 255, 255, .72) !important;
}

/* ---------- Process (inside a dark band) ---------- */

#main .vc_row.b3d-process {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#main .b3d-process h2.b3d-title {
	margin-bottom: 28px;
}

#main ol.b3d-process__steps {
	counter-reset: b3dstep;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

#main ol.b3d-process__steps li {
	position: relative;
	counter-increment: b3dstep;
	margin: 0;
	padding: 0 0 18px 58px;
	font-size: 15px;
	line-height: 1.55;
}

#main ol.b3d-process__steps li:last-child {
	padding-bottom: 0;
}

/* numbered badge */
#main ol.b3d-process__steps li::before {
	content: counter(b3dstep, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--b3d-logo-cyan);
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 800;
	transition: transform var(--b3d-dur) var(--b3d-ease);
}

#main ol.b3d-process__steps li:last-child::before {
	background: var(--b3d-pink);
}

/* dashed line between the badges */
#main ol.b3d-process__steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 40px;
	bottom: 2px;
	width: 2px;
	background: repeating-linear-gradient(180deg, rgba(0, 171, 214, .6) 0 5px, transparent 5px 9px);
}

#main ol.b3d-process__steps li:hover::before {
	transform: scale(1.1) rotate(-6deg);
}

#main ol.b3d-process__steps b {
	display: block;
	color: #fff;
	font-size: 16px;
}

#main .b3d-process__media .wpb_single_image {
	margin: 0 !important;
}

#main .b3d-process__media img {
	border-radius: var(--b3d-radius-xl);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

/* ---------- "How useful are surgical guides" ---------- */

#main .b3d-guides-why .wpb_text_column {
	max-width: 960px;
}

#main .b3d-guides-why__intro h2.b3d-title {
	font-size: clamp(26px, 2.4vw, 36px);
}

#main .b3d-guides-why .b3d-guides-why__intro ul {
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	margin-bottom: 32px !important;
}

#main .b3d-guides-why__intro {
	max-width: none !important;
}

#main .b3d-guides-why__note p:not(.b3d-signoff) {
	color: var(--b3d-muted);
}

/* "bio3Dtech… best care for your best friend!" with stair-step tags */
#main .b3d-signoff {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin: 30px 0 0 !important;
}

.b3d-signoff__brand {
	color: var(--b3d-ink);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 800;
	letter-spacing: -.02em;
}

.b3d-signoff__tags {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	transform: rotate(-3deg);
}

.b3d-signoff__tags .b3d-tag {
	font-size: 15px;
	padding: 6px 12px 7px;
}

.b3d-signoff__tags .b3d-tag + .b3d-tag {
	margin-left: 22px;
}

@media (max-width: 991px) {
	#main .b3d-awards > .vc_column-inner {
		margin-top: 24px;
	}

	#main .b3d-process__media {
		margin-top: 36px;
	}
}

@media (max-width: 767px) {
	/* image above the text in every feature row */
	#main .b3d-feature .b3d-feature__media {
		order: -1;
		margin-bottom: 20px;
	}

	#main .b3d-service .b3d-service__img .vc_figure {
		height: 220px;
	}
}

/* white sections that follow each other share one gap */
#main .vc_row.b3d-about {
	padding-top: clamp(24px, 3vw, 40px) !important;
}

/* ---------- List title above a benefits grid ---------- */

#main h3.b3d-list-title {
	margin: clamp(32px, 4vw, 56px) 0 0;
	color: var(--b3d-ink);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Applications: numbered cards ---------- */

#main .vc_row.b3d-applications {
	background: var(--b3d-surface-alt) !important;
}

#main ul.b3d-apps {
	counter-reset: b3dapp;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 0 !important;
}

#main ul.b3d-apps > li.b3d-app {
	counter-increment: b3dapp;
	margin: 0;
	padding: 24px 22px 26px;
	font-size: 15px;
	line-height: 1.6;
}

/* number badge instead of the list blade */
#main ul.b3d-apps > li.b3d-app::before {
	content: counter(b3dapp, decimal-leading-zero);
	position: static;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	clip-path: none;
	border-radius: 12px;
	background: var(--b3d-logo-cyan);
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 800;
	transition: transform var(--b3d-dur) var(--b3d-ease), background-color var(--b3d-dur) var(--b3d-ease);
}

#main ul.b3d-apps > li.b3d-app:hover::before {
	background: var(--b3d-pink);
	transform: rotate(-6deg);
}

#main h3.b3d-app__title {
	margin: 0 0 8px;
	color: var(--b3d-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

#main .b3d-app p {
	margin: 0;
	color: var(--b3d-muted);
}

/* ---------- Video in a dark band ---------- */

#main .b3d-video-wrap {
	margin: 0 !important;
}

.b3d-video {
	max-width: 1000px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--b3d-radius-xl);
	background: #000;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .08);
}

.b3d-video__player {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* ---------- Materials: modulus comparison and ISO specs ---------- */

.b3d-modulus {
	margin-top: 22px;
	padding: 18px 20px;
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface-alt);
}

#main .b3d-modulus__title {
	margin: 0 0 12px;
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.b3d-modulus__row {
	display: grid;
	grid-template-columns: 110px 1fr 40px;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.9;
}

.b3d-modulus__row b {
	color: var(--b3d-ink);
	text-align: right;
}

.b3d-modulus__bar {
	position: relative;
	height: 10px;
	border-radius: 5px;
	background: var(--b3d-line);
}

/* value bar: width = modulus / 116 GPa (titanium) */
.b3d-modulus__bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--b3d-modulus, 0%);
	border-radius: 5px;
	background: var(--b3d-logo-cyan);
	transition: width 1.2s var(--b3d-ease-out) .2s;
}

.b3d-modulus__row--bone { --b3d-modulus: 15.3%; }
.b3d-modulus__row--peek { --b3d-modulus: 7.2%; }
.b3d-modulus__row--ti { --b3d-modulus: 100%; }

.b3d-modulus__row--peek .b3d-modulus__bar::after {
	background: var(--b3d-pink);
}

.b3d-modulus__row--ti .b3d-modulus__bar::after {
	background: #9aa6b0;
}

/* bars grow when the block scrolls in */
html.b3d-js #main [class*="b3d-reveal"]:not(.is-revealed) .b3d-modulus__bar::after {
	width: 0;
}

#main ul.b3d-specs {
	display: grid;
	gap: 8px;
	margin: 18px 0 0 !important;
}

#main ul.b3d-specs li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0;
	padding: 10px 16px 10px 26px;
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface-alt);
	font-size: 15px;
}

#main ul.b3d-specs li::before {
	left: 12px;
	top: 50%;
	margin-top: -6px;
}

#main ul.b3d-specs b {
	color: var(--b3d-ink);
	font-variant-numeric: tabular-nums;
}

/* short benefit items: 3 × 3 grid */
#main .b3d-intro .b3d-benefits__list ul {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Photo instead of a cut-out render: fills the rounded panel */
#main .b3d-feature__media--photo .vc_figure {
	padding: 0;
	overflow: hidden;
}

#main .b3d-feature__media--photo .vc_single_image-wrapper {
	height: 100%;
}

#main .b3d-feature__media--photo:not(.b3d-types-row--single *, .b3d-feature__media--natural) img {
	width: 100%;
	height: 100%;
	max-height: none;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	mix-blend-mode: normal;
}

/* ---------- Carousel: whole picture on white (renders of different shapes) ---------- */

#main .b3d-carousel--contain .post {
	background: #fff;
}

#main .b3d-carousel--contain .post > a.rollover img {
	padding: 10px;
	object-fit: contain;
	box-sizing: border-box;
}

/* ---------- Centered buttons under a block ---------- */

#main .b3d-center-actions {
	margin: 32px 0 0 !important;
	text-align: center;
}

#main .b3d-center-actions p {
	margin: 0;
}

/* ---------- Technical spec tiles (dark band) ---------- */

#main ul.b3d-spec-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
	margin: 0 !important;
}

#main ul.b3d-spec-tiles > li.b3d-spec {
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 16px;
	margin: 0;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--b3d-radius-lg);
	background: rgba(255, 255, 255, .04);
	font-size: 15px;
	line-height: 1.55;
	transition: transform var(--b3d-dur) var(--b3d-ease), border-color var(--b3d-dur) var(--b3d-ease), background-color var(--b3d-dur) var(--b3d-ease);
}

#main ul.b3d-spec-tiles > li.b3d-spec::before {
	content: none;
}

#main ul.b3d-spec-tiles > li.b3d-spec:hover {
	transform: translateY(-4px);
	border-color: var(--b3d-logo-cyan);
	background: rgba(0, 171, 214, .08);
}

.b3d-spec__ico {
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 48px;
	height: 48px;
	padding: 11px;
	border-radius: 14px;
	background: rgba(0, 171, 214, .16);
	color: var(--b3d-logo-cyan);
	box-sizing: border-box;
	transition: transform var(--b3d-dur) var(--b3d-ease), color var(--b3d-dur) var(--b3d-ease);
}

#main li.b3d-spec:hover .b3d-spec__ico {
	color: var(--b3d-pink);
	transform: rotate(-6deg);
}

#main .b3d-spec > :not(.b3d-spec__ico) {
	grid-column: 2;
}

#main .b3d-spec > br {
	display: none;
}

#main h3.b3d-spec__title {
	align-self: end;
	margin: 2px 0 4px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

#main .b3d-spec p {
	margin: 0;
}

/* ---------- Lab: chips, stat, note ---------- */

#main ul.b3d-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px !important;
}

#main ul.b3d-chips li {
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--b3d-logo-cyan);
	border-radius: 999px;
	background: var(--b3d-logo-cyan-50);
	color: var(--b3d-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color var(--b3d-dur) var(--b3d-ease), border-color var(--b3d-dur) var(--b3d-ease);
}

#main ul.b3d-chips li::before {
	content: none;
}

#main ul.b3d-chips li:hover {
	border-color: var(--b3d-pink);
	background: var(--b3d-pink-50);
}

#main .b3d-stat {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 6px 0 18px;
}

.b3d-stat b {
	font-size: clamp(40px, 4vw, 56px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
}

.b3d-stat span {
	color: var(--b3d-muted);
	font-size: 15px;
	font-weight: 600;
}

.b3d-note {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 24px;
	padding: 20px 22px;
	border-radius: var(--b3d-radius-lg);
	background: var(--b3d-surface-alt);
	box-shadow: inset 4px 0 0 var(--b3d-pink);
}

#main .b3d-note p {
	margin: 0;
	color: var(--b3d-ink);
	font-weight: 600;
}

/* ---------- O&P: skeleton (ImageLinks) + device cards ---------- */

#main .b3d-imagelinks {
	margin-bottom: 0 !important;
	text-align: center;
}

#main .b3d-devices .b3d-apps-wrap {
	margin: clamp(28px, 4vw, 48px) 0 0 !important;
}

#main ul.b3d-apps--links {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#main ul.b3d-apps--links > li.b3d-app {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#main ul.b3d-apps--links p {
	margin-bottom: 16px;
}

#main .b3d-app__title a {
	color: var(--b3d-ink);
	background: none;
}

/* the whole card is the link */
#main .b3d-app__title a::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
}

#main .b3d-app__title a:focus-visible {
	outline: none;
}

#main .b3d-app__title a:focus-visible::after {
	border-radius: var(--b3d-radius-lg);
	outline: 2px solid var(--b3d-logo-cyan);
	outline-offset: 2px;
}

#main li.b3d-app:hover .b3d-service__more .b3d-btn__arrow {
	transform: translateX(4px);
}

/* ---------- Keys to success: light spec tiles ---------- */

#main ul.b3d-spec-tiles--light {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

#main ul.b3d-spec-tiles--light > li.b3d-spec {
	display: block;
	padding: 26px 22px;
	border-color: var(--b3d-line);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-sm);
	color: var(--b3d-muted);
}

#main ul.b3d-spec-tiles--light > li.b3d-spec:hover {
	border-color: var(--b3d-logo-cyan);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-accent);
}

#main .b3d-spec-tiles--light .b3d-spec__ico {
	display: block;
	margin-bottom: 16px;
	background: var(--b3d-logo-cyan-50);
	color: var(--b3d-cyan-600);
}

#main .b3d-spec-tiles--light h3.b3d-spec__title {
	margin: 0 0 6px;
	color: var(--b3d-ink);
}

#main .vc_row.vc_inner.b3d-keys__awards {
	justify-content: center;
	max-width: 340px;
	margin: 32px auto 0 !important;
}

#main .b3d-keys__awards img {
	max-width: 120px;
}

/* ---------- Product specifications (stacked label / value) ---------- */

#main .vc_row.b3d-product-specs {
	padding-top: var(--b3d-section-y) !important;
}

#main ul.b3d-specs--stacked li {
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px 14px 28px;
}

#main ul.b3d-specs--stacked li::before {
	top: 20px;
	margin-top: 0;
}

#main ul.b3d-specs--stacked span {
	color: var(--b3d-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

#main ul.b3d-specs--stacked b {
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: normal;
}

#main .b3d-benefits__after {
	margin: 24px 0 0;
	color: var(--b3d-muted);
}

/* many very short items: 5 per row on desktop */
#main .b3d-intro .b3d-benefits__list--compact ul {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* wpautop wraps the "Learn more" span in a <p>: pin that paragraph to the card bottom */
#main ul.b3d-apps--links > li > p:has(> .b3d-service__more) {
	margin: auto 0 0;
}

/* ---------- Joint pages (Carpus & Paw, Tarsus, Knee, Elbow, Back paw) ----------
 * Rows: b3d-joint-intro (with b3d-about) + column "b3d-conditions" (chips card),
 *       b3d-joint-benefits (with b3d-benefits), b3d-types-row (with b3d-services,
 *       inner row "b3d-services__grid b3d-types", columns "b3d-service b3d-type"). */

#main .vc_row.b3d-joint-intro {
	padding-top: var(--b3d-section-y) !important;
}

#main .b3d-conditions > .vc_column-inner > .wpb_wrapper {
	padding: 28px 26px 22px;
	border-radius: var(--b3d-radius-2xl);
	background: radial-gradient(circle at 100% 0, #fff 0, var(--b3d-logo-cyan-50) 70%);
	box-shadow: inset 0 4px 0 var(--b3d-pink);
}

#main .b3d-conditions__title {
	margin: 0 0 16px !important;
	color: var(--b3d-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#main .b3d-conditions ul.b3d-chips {
	margin-bottom: 0 !important;
}

#main .b3d-conditions ul.b3d-chips li {
	background: #fff;
}

#main .vc_row.b3d-joint-benefits {
	background: var(--b3d-surface-alt) !important;
}

#main .b3d-joint-benefits .b3d-benefits__list ul {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	margin-top: 0 !important;
}

#main .b3d-type .b3d-service__img .vc_figure {
	height: clamp(280px, 26vw, 360px);
	background: radial-gradient(circle at 50% 55%, #fff 0, var(--b3d-logo-cyan-50) 75%);
}

#main .b3d-type .b3d-service__img img {
	max-height: 100%;
}

#main .b3d-type > .vc_column-inner:hover .b3d-service__img img {
	transform: scale(1.03);
}

@media (max-width: 991px) {
	#main .b3d-conditions > .vc_column-inner {
		margin-top: 28px;
	}
}

/* Orthotic type shown as a photo (JPG with its own background): fills the card top */
#main .b3d-type--photo .b3d-service__img .vc_figure {
	height: auto;
	padding: 0;
	background: none;
}

#main .b3d-type--photo .b3d-service__img .vc_single_image-wrapper {
	display: block;
}

#main .b3d-type--photo .b3d-service__img img {
	width: 100%;
	max-height: none;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* One wide orthotic scheme: fills the panel at its own proportions */
#main .b3d-feature__media--natural .vc_figure,
#main .b3d-types-row--single .b3d-feature__media--photo .vc_figure {
	min-height: 0;
}

/* no aspect-ratio here: WordPress lazy images get sizes="auto", which makes
 * Chrome ignore the file's own proportions, so the width/height attributes
 * must keep providing the ratio */
#main .b3d-feature__media--natural img,
#main .b3d-types-row--single .b3d-feature__media--photo img {
	width: 100%;
	height: auto;
	max-height: none;
}

/* exactly four benefits: one row of four */
#main .b3d-joint-benefits--4 .b3d-benefits__list ul {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Illustration on top of the conditions card */
#main .b3d-conditions .b3d-conditions__img {
	margin: 0 0 20px !important;
}

#main .b3d-conditions .b3d-conditions__img img {
	border-radius: var(--b3d-radius);
}

#main .b3d-conditions .b3d-conditions__img:hover .vc_single_image-wrapper {
	transform: none;
	filter: none;
}

@media (min-width: 992px) {
	/* four per row (4 or 8 benefits) */
	#main .b3d-joint-benefits--4 .b3d-benefits__list ul {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Lead paragraph under a text-block title */
#main .wpb_text_column p.b3d-lead {
	color: var(--b3d-ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
}

@media (max-width: 991px) {
	/* image column below the text in a split row */
	#main .vc_row.b3d-about > .b3d-feature__media {
		margin-top: 28px;
	}
}

/* ---------- Team (The7 "Team" element inside row "b3d-team-row") ---------- */

#main .vc_row.b3d-team-row {
	padding-top: var(--b3d-section-y) !important;
	padding-bottom: var(--b3d-section-y) !important;
}

#main .b3d-team-row .team-media {
	padding: 28px 28px 8px;
	background: radial-gradient(circle at 50% 45%, #fff 0, var(--b3d-logo-cyan-50) 75%);
}

#main .b3d-team-row .team-media img {
	/* photos with a white background blend into the tinted panel */
	mix-blend-mode: multiply;
	transition: transform .6s var(--b3d-ease-out);
}

#main .b3d-team-row .team-container:hover .team-media img {
	transform: scale(1.04);
}

#main .b3d-team-row .team-desc {
	padding: 18px 20px 22px !important;
}

#main .b3d-team-row .team-author-name,
#main .b3d-team-row .team-author-name a {
	color: var(--b3d-ink) !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	background: none;
}

#main .b3d-team-row .team-author p {
	margin: 4px 0 0;
	color: var(--b3d-muted) !important;
	font-size: 14px;
}

/* ---------- Hero with the logo "b" as the visual (Extra class "b3d-hero--mark") ---------- */

.b3d-hero--mark .b3d-hero__image {
	width: auto;
	max-height: min(360px, 60vh);
	filter: drop-shadow(0 20px 40px rgba(0, 171, 214, .25));
}

@media (max-width: 991px) {
	.b3d-hero--mark .b3d-hero__image {
		max-height: 240px !important;
	}
}

/* ---------- Network: map card + phone buttons ---------- */

#main .b3d-note__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 !important;
}

#main .b3d-note__actions .b3d-btn {
	padding: 12px 18px;
	font-size: 15px;
}

#main .b3d-map > .vc_column-inner {
	width: auto;
}

#main .b3d-map .wpb_gmaps_widget {
	margin: 0 !important;
	padding: 10px;
	overflow: hidden;
	border: 1px solid var(--b3d-line);
	border-radius: var(--b3d-radius-2xl);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-accent);
}

#main .b3d-map .wpb_gmaps_widget .wpb_wrapper {
	padding: 0;
	background: none;
}

#main .b3d-map iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 16px;
}

@media (max-width: 991px) {
	#main .b3d-map > .vc_column-inner {
		margin: 28px 0 0;
	}
}

@media (max-width: 767px) {
	#main .b3d-map iframe {
		height: 420px;
	}
}

/* ---------- Contact page: office cards + CF7 form card ---------- */

#main .vc_row.b3d-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding-bottom: var(--b3d-section-y) !important;
}

#main .vc_row.b3d-contact::before,
#main .vc_row.b3d-contact::after {
	display: none;
}

.b3d-office {
	margin-top: 14px;
	padding: 18px 20px;
	border: 1px solid var(--b3d-line);
	border-radius: var(--b3d-radius-lg);
	background: var(--b3d-surface);
	transition: border-color var(--b3d-dur) var(--b3d-ease), box-shadow var(--b3d-dur) var(--b3d-ease);
}

.b3d-office:hover {
	border-color: var(--b3d-logo-cyan);
	box-shadow: var(--b3d-shadow-accent);
}

#main .b3d-office__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	color: var(--b3d-ink);
	font-size: 17px;
	font-weight: 700;
}

#main .b3d-office__title .b3d-tag {
	text-transform: uppercase;
}

#main ul.b3d-office__list {
	display: grid;
	gap: 8px;
	margin: 0 !important;
}

#main ul.b3d-office__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
}

#main ul.b3d-office__list li::before {
	content: none;
}

#main .b3d-office__list a,
.b3d-office__row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

#main .b3d-office__list small {
	color: var(--b3d-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.b3d-office__ico {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--b3d-cyan-600);
}

#main .b3d-office__msg {
	margin: 12px 0 0;
	padding-top: 10px;
	border-top: 1px dashed var(--b3d-line);
	color: var(--b3d-muted);
	font-size: 14px;
}

#main .b3d-office--hours {
	background: var(--b3d-logo-cyan-50);
	border-color: transparent;
	font-size: 15px;
}

#main .b3d-office--hours b {
	color: var(--b3d-ink);
}

/* form card */
#main .b3d-contact__form > .vc_column-inner > .wpb_wrapper {
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--b3d-radius-2xl);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-card), inset 0 4px 0 var(--b3d-logo-cyan);
}

#main .b3d-contact__form-title {
	margin: 0 0 4px;
	color: var(--b3d-ink);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
}

#main .b3d-contact__form-lead {
	margin: 0 0 18px;
	color: var(--b3d-muted);
}

@media (max-width: 991px) {
	#main .b3d-contact__form > .vc_column-inner {
		margin-top: 28px;
	}
}


/* ---------- Upload DICOM: form card + sticky aside ---------- */

#main .vc_row.b3d-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding-bottom: var(--b3d-section-y) !important;
}

#main .vc_row.b3d-upload::before,
#main .vc_row.b3d-upload::after {
	display: none;
}

#main .b3d-upload__form > .vc_column-inner > .wpb_wrapper {
	padding: clamp(24px, 3vw, 44px);
	border-radius: var(--b3d-radius-2xl);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-card), inset 0 4px 0 var(--b3d-logo-cyan);
}

/* the section title replaces the form's own title */
#main .b3d-upload .nf-form-title {
	display: none;
}

#main .b3d-upload__aside {
	position: sticky;
	top: 90px;
}

/* The7 sets overflow: hidden on #page, which disables position: sticky inside it;
 * clip still hides horizontal overflow without creating a scroll container. */
body:has(.b3d-upload__aside) #page {
	overflow: visible;
	overflow-x: clip;
}

#main .b3d-upload__aside > .vc_column-inner {
	width: auto;
}

.b3d-aside-card {
	padding: 24px 22px;
	border-radius: var(--b3d-radius-2xl);
	background: radial-gradient(circle at 100% 0, #fff 0, var(--b3d-logo-cyan-50) 70%);
	box-shadow: inset 0 4px 0 var(--b3d-pink);
	font-size: 15px;
}

#main .b3d-aside-card p {
	margin: 0 0 12px;
}

#main .b3d-aside-card__title {
	margin: 12px 0 10px;
	color: var(--b3d-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

#main .b3d-aside-card__actions {
	margin: 16px 0 0 !important;
}

#main .b3d-aside-card__actions .b3d-btn {
	width: 100%;
}

.b3d-copybox {
	margin: 16px 0 0;
	overflow: hidden;
	border: 1px solid var(--b3d-line);
	border-radius: var(--b3d-radius);
	background: var(--b3d-surface);
}

.b3d-copybox__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 8px 14px;
	border-bottom: 1px solid var(--b3d-line);
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.b3d-copybox__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--b3d-logo-cyan);
	border-radius: 8px;
	background: var(--b3d-surface);
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--b3d-dur) var(--b3d-ease), border-color var(--b3d-dur) var(--b3d-ease);
}

.b3d-copybox__btn svg {
	width: 16px;
	height: 16px;
}

.b3d-copybox__btn:hover {
	background: var(--b3d-logo-cyan-50);
}

.b3d-copybox__btn.is-copied {
	border-color: var(--b3d-pink);
	background: var(--b3d-pink-50);
}

#main pre.b3d-copybox__text {
	max-height: 280px;
	margin: 0;
	padding: 12px 14px;
	overflow: auto;
	border: 0;
	background: none;
	color: var(--b3d-ink);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	white-space: pre-wrap;
}

@media (max-width: 991px) {
	#main .b3d-upload__aside {
		position: static;
	}

	#main .b3d-upload__aside > .vc_column-inner {
		margin: 28px 0 0;
	}
}

/* ---------- Course registration (reuses the Upload DICOM layout) ---------- */

#main .b3d-aside-card--plain {
	margin-top: 16px;
	background: var(--b3d-surface-alt);
	box-shadow: none;
}

#main .b3d-aside-card__label {
	color: var(--b3d-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#main .vc_row.vc_inner.b3d-course-images {
	margin-top: 16px;
}

#main .b3d-course-images .wpb_single_image {
	margin-bottom: 0 !important;
}

#main .b3d-course-images img {
	border-radius: var(--b3d-radius);
	box-shadow: var(--b3d-shadow-sm);
}

/* price + "includes" block inside the Ninja Form (HTML field) */
#main .b3d-course-intro {
	margin-bottom: 8px;
	padding: 20px 22px;
	border-radius: var(--b3d-radius-lg);
	background: var(--b3d-logo-cyan-50);
}

#main .b3d-course-intro p {
	margin: 0 0 8px;
	color: var(--b3d-body);
	font-size: 15px;
	font-weight: 400;
}

#main .b3d-course-intro .b3d-course-intro__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: var(--b3d-ink);
	font-size: 16px;
}

#main .b3d-course-intro__price b {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
}

#main .b3d-course-intro .b3d-course-intro__label {
	margin-top: 14px;
	color: var(--b3d-ink);
	font-weight: 700;
}

#main ul.b3d-course-intro__list {
	margin: 0 0 12px !important;
	font-size: 15px;
}

#main .b3d-course-intro .b3d-course-intro__note {
	margin: 0;
	color: var(--b3d-muted);
	font-size: 14px;
}

/* the generic "heading" style of HTML fields does not apply to this block */
#main .nf-form-cont .html-container .nf-field-element > .b3d-course-intro {
	display: block;
}

/* "Includes" list: the site's cyan blade instead of default bullets */
#main ul.b3d-course-intro__list {
	padding: 0 !important;
	list-style: none !important;
}

#main ul.b3d-course-intro__list li {
	margin: 0 0 6px;
}

/* ---------- Newsletter page (Newsletter plugin [newsletter] shortcode) ----------
 * The plugin also prints its confirmation / unsubscribe messages here. */

#main .vc_row.b3d-newsletter {
	padding-bottom: var(--b3d-section-y) !important;
}

#main .b3d-newsletter__card {
	max-width: 620px;
	margin: 0 auto !important;
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--b3d-radius-2xl);
	background: var(--b3d-surface);
	box-shadow: var(--b3d-shadow-card), inset 0 4px 0 var(--b3d-pink);
}

#main .b3d-newsletter__card .tnp-subscription form {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 14px 12px;
	margin: 0;
}

#main .b3d-newsletter__card .tnp-field {
	margin: 0;
}

#main .b3d-newsletter__card .tnp-field-email label {
	display: block;
	margin-bottom: 6px;
	color: var(--b3d-ink);
	font-size: 14px;
	font-weight: 600;
}

#main .b3d-newsletter__card .tnp-email {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	font-size: 16px;
}

#main .b3d-newsletter__card .tnp-privacy-field {
	grid-column: 1 / -1;
	grid-row: 2;
	color: var(--b3d-muted);
	font-size: 14px;
}

#main .b3d-newsletter__card .tnp-privacy {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: -3px;
	accent-color: var(--b3d-logo-cyan);
}

#main .b3d-newsletter__card .tnp-field-button {
	grid-column: 2;
	grid-row: 1;
}

/* primary look from buttons.css; same height as the email field */
#main .b3d-newsletter__card .tnp-submit {
	height: 50px;
	padding-block: 0 !important;
}

@media (max-width: 575px) {
	#main .b3d-newsletter__card .tnp-subscription form {
		grid-template-columns: 1fr;
	}

	#main .b3d-newsletter__card :is(.tnp-field-button, .tnp-privacy-field) {
		grid-column: 1;
		grid-row: auto;
	}

	#main .b3d-newsletter__card .tnp-submit {
		width: 100%;
	}
}
