/*
Theme Name: Bioteck.org
Theme URI: https://bioteck.org
Author: Bioteck.org
Description: Lightweight classic theme reproducing selected sections of bioteck.com (About us, Events and fairs, Technology, Orthopedics, Neurosurgery). All text lives in the block editor; templates handle layout only.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: bioteck-org
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/open-sans-var.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

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

:root {
	/* Colours */
	--c-black: #000;
	--c-white: #fff;
	--c-text: #000;
	--c-text-classic: #333;
	--c-text-product: #191a19;
	--c-text-muted: #646464;
	--c-text-soft: #282828;
	--c-crumb: #a2a2a2;
	--c-blue: #7eb4dd;          /* brand light blue: titles, menu links */
	--c-blue-pale: #a3cae7;     /* "Find out more" buttons */
	--c-blue-post: #89a7d7;     /* post card titles */
	--c-teal: #3f8fb6;          /* product buttons, newsletter */
	--c-navy: #3e558f;          /* post card category + READ MORE */
	--c-cat: #005795;           /* event / article categories */
	--c-link: #007bff;
	--c-link-download: #5582c1;
	--c-gold: #cfa620;          /* active product sub-menu link */
	--c-topbar: #404148;
	--c-menubar-dark: #333;
	--c-grey-50: #f9faf9;
	--c-grey-100: #f4f4f4;
	--c-grey-150: #f2f2f2;
	--c-grey-200: #eee;
	--c-grey-250: #ededed;
	--c-border: #dadada;

	/* Typography */
	--f-sans: "Open Sans", sans-serif;
	--f-classic: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	--f-product: "Montserrat", sans-serif;

	/* Layout (Bootstrap-like container: 15px gutters) */
	--gutter: 15px;
	--container: 100%;
	--container-classic: 100%;
	--container-product: 100%;

	/* Spacing scale used by the original (py-3 / py-5 / whiteSpace) */
	--space-1: 8px;
	--space-3: 16px;
	--space-5: 48px;
	--space-ws: 30px;
	--space-ws2: 60px;

	--header-dark-h: 58px;
}

@media (min-width: 576px) {
	:root { --container: 540px; }
}

@media (min-width: 768px) {
	:root { --container: 720px; }
}

@media (min-width: 992px) {
	:root { --container: 960px; }
}

@media (min-width: 1200px) {
	:root {
		--container: 1140px;
		--container-classic: 1130px;
		--container-product: 1180px;
	}
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

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

body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-white);
}

/* Product, events, technology and article pages use the original's "classic" typography. */
body.site-dark {
	font-family: var(--f-classic);
	font-size: 18px;
	font-weight: 300;
	line-height: 26px;
	color: var(--c-text-classic);
}

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

img {
	display: inline-block;
	vertical-align: middle;
}

a {
	color: var(--c-link);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 8px;
	font-weight: 500;
	line-height: 1.2;
}

p {
	margin: 0 0 16px;
}

sup {
	font-size: 0.6em;
	line-height: 0;
}

:focus-visible {
	outline: 2px solid var(--c-teal);
	outline-offset: 2px;
}

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

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

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

.text-center {
	text-align: center;
}

.section {
	padding-block: var(--space-5);
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.menubar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding-block: var(--space-1);
}

.site-logo {
	display: inline-flex;
	flex: 0 0 auto;
}

.site-logo img {
	width: 143px;
	height: auto;
}

.primary-nav {
	display: none;
}

.primary-nav .menu,
.mobile-menu .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 400;
	color: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Hover + active turn blue, like the design. */
.primary-nav a:hover,
.primary-nav a:focus {
	color: var(--c-blue);
	text-decoration: none;
}

/* Keep the white menu legible over bright hero areas. */
.site-light.has-hero .primary-nav a,
.site-light.has-hero .current-menu-item > a,
.site-light.has-hero .current_page_item > a,
body:has(.site-main--home) .primary-nav a,
body:has(.site-main--home) .current-menu-item > a,
body:has(.site-main--home) .current_page_item > a {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.menu-toggle {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-blue);
	cursor: pointer;
}

/* Full-screen mobile menu overlay */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	text-align: center;
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu__close {
	position: absolute;
	top: 10px;
	right: 20px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 50px;
	line-height: 1;
	color: var(--c-white);
	cursor: pointer;
}

.mobile-menu a {
	display: block;
	padding: 0 10px;
	font-size: 24px;
	line-height: 36px;
	font-weight: 300;
	color: var(--c-white);
}

body.menu-open {
	overflow: hidden;
}

@media (min-width: 992px) {
	.primary-nav {
		display: block;
	}

	.primary-nav .menu {
		display: flex;
		justify-content: flex-end;
		flex-wrap: wrap;
	}

	.menu-toggle {
		display: none;
	}
}

/* Current menu item (both variants): blue + underline, like the design. */
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
	color: var(--c-blue) !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-dark .primary-nav .current-menu-item > a {
	text-decoration: underline;
}

/* Light variant with a hero: the menu bar floats transparently over the hero image. */
.site-header {
	position: relative;
}

.site-light.has-hero .menubar,
body:has(.site-main--home) .menubar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.site-light.has-hero .menu-toggle,
body:has(.site-main--home) .menu-toggle {
	color: var(--c-white);
}

/* Light variant without a hero: keep the white logo readable. */
.site-light:not(.has-hero) .menubar {
	background: var(--c-menubar-dark);
}

.site-light:not(.has-hero) .primary-nav a,
.site-light:not(.has-hero) .menu-toggle {
	color: var(--c-white);
}

/* Dark header variant (products, events, technology, articles) */
.site-dark .menubar {
	background: var(--c-menubar-dark);
}

.site-dark .menubar__inner {
	min-height: var(--header-dark-h);
	padding-block: 5px;
}

/* Home: the header floats over the slideshow, so lift it above the slide overlay
   and give the whole header its own stacking context so the links stay clickable. */
.site-main--home {
	position: relative;
	z-index: 1;
}

body:has(.site-main--home) .site-header,
.site-dark .site-header {
	position: relative;
	z-index: 30;
}

.site-dark .primary-nav a,
.site-dark .mobile-menu a,
.site-dark .menu-toggle {
	color: var(--c-white);
}

.site-dark .mobile-menu a {
	line-height: 26px;
	padding-block: 5px;
}

/* ==========================================================================
   4. Footer
   ========================================================================== */

.footer-company {
	padding-block: var(--space-5);
	background: var(--c-grey-150);
	font-size: 14px;
	line-height: 21px;
	color: var(--c-text-muted);
	text-align: center;
}

.footer-company__inner {
	max-width: 790px;
}

.footer-company__logo {
	display: block;
	margin-block: var(--space-1);
}

.footer-company__name {
	margin: 0;
	font-weight: 700;
}

.footer-company__address {
	margin: 0 0 20px;
}

.footer-company__cta {
	display: inline-block;
	min-width: 180px;
	padding: 10px 20px;
	border: 1px solid var(--c-topbar);
	color: var(--c-text-muted);
	text-transform: uppercase;
	transition: background-color 0.2s;
}

.footer-company__cta:hover,
.footer-company__cta:focus {
	background: var(--c-white);
	text-decoration: none;
}

.footer-legal {
	padding-block: var(--space-3);
	background: var(--c-topbar);
	font-size: 12px;
	line-height: 18px;
	color: var(--c-white);
	text-align: center;
}

.footer-legal p {
	margin: 0;
}

/* ==========================================================================
   4b. Home hero slideshow
   Measured on bioteck.com/en/ at 1920px. Recreated here; not their stylesheet.
   ========================================================================== */

/* The header floats transparently over the first slide. */
.site-main--home {
	margin-top: 0;
}

/* 824 / 1920. Absolute slides do not give the group a height. */
.bt-hero-slider {
	position: relative;
	height: calc(100vw * 824 / 1920);
	overflow: hidden;
}

/*
 * Core cover blocks are display:flex and in normal flow, so every slide
 * stacked. Pin them to the same box. !important beats block-library.
 */
.bt-hero-slider .bt-slide {
	position: absolute !important;
	inset: 0;
	display: flex !important;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.6s;
}

.bt-hero-slider .bt-slide.is-active,
.bt-hero-slider:not(.is-ready) .bt-slide:first-of-type {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	pointer-events: auto;
}

.bt-hero-slider .wp-block-cover__image-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-hero-slider .wp-block-cover__background {
	background: none !important;
}

/* Overlay fills the photo. The panel is the right half, vertically centred. */
.bt-hero-slider .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.entry-content .alignfull.bt-hero-slider .wp-block-cover.alignfull .wp-block-cover__inner-container > .bt-slide__panel,
.bt-hero-slider .bt-slide__panel {
	position: relative;
	flex: 0 0 50%;
	width: 50%;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 40px;
	box-sizing: border-box;
	color: var(--c-white);
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
}

/* Orthopedics, neurosurgery — computed colours from the live slides. */
.bt-slide--orthopedics .bt-slide__panel { background: #bb002d; }
.bt-slide--neurosurgery .bt-slide__panel { background: #f4874c; }

/* Test-tube mark: 100px wide, 40px from the panel top, 54.6% from the left, 45% opacity. */
.bt-slide__panel::after {
	content: "";
	position: absolute;
	top: 40px;
	left: 54.6%;
	width: 100px;
	height: 209px;
	opacity: 0.45;
	background: url("assets/img/slide-tube.svg") center / contain no-repeat;
	pointer-events: none;
}

.site-light .entry-content .bt-hero-slider .bt-slide__panel h2,
.bt-hero-slider .bt-slide__panel h2 {
	margin: 0 0 40px;
	font-family: inherit;
	font-size: 48px;
	font-weight: 700;
	line-height: 52.8px;
	color: var(--c-white);
}

.bt-slide__mark {
	color: var(--c-blue);
	font-size: 36px;
	font-weight: 700;
	line-height: 39.6px;
}

.site-light .entry-content .bt-hero-slider .bt-slide__sub,
.bt-hero-slider .bt-slide__sub {
	margin: 0 0 40px;
	font-family: inherit;
	font-size: 30px;
	font-weight: 300;
	line-height: 26px;
	color: var(--c-white);
}

.bt-hero-slider .wp-block-buttons,
.bt-hero-slider .wp-block-button {
	margin: 0;
}

.bt-hero-slider .is-style-slide .wp-block-button__link {
	display: block;
	box-sizing: border-box;
	width: 220px;
	max-width: 220px;
	height: 46px;
	margin: 0;
	padding: 10px 20px;
	border: 0;
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-blue);
	font-family: inherit;
	font-size: 18px;
	font-weight: 300;
	line-height: 26px;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity 0.5s;
}

.bt-hero-slider .is-style-slide .wp-block-button__link:hover,
.bt-hero-slider .is-style-slide .wp-block-button__link:focus {
	background: var(--c-white);
	color: var(--c-blue);
	text-decoration: none;
}

/* Indicators: centred, 15% side inset, 30×3 bars, 3px apart. */
.bt-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 15;
	display: flex;
	justify-content: center;
	margin: 0 15% 10px;
	padding: 0 0 5px;
}

.bt-slider__dot {
	width: 30px;
	height: 3px;
	margin: 3px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
}

.bt-slider__dot[aria-current="true"] {
	background: var(--c-white);
}

/* Home intro */
.bt-home-intro {
	padding-block: var(--space-5);
	text-align: center;
}

.bt-home-intro h1 {
	font-size: 36px;
	font-weight: 300;
	color: var(--c-text);
}

.bt-home-solutions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 40px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.bt-home-solutions {
	display: none;
}

.bt-home-intro h1 {
	font-size: 40px;
	font-weight: 400;
	line-height: 48px;
}

.bt-home-intro p {
	max-width: 760px;
	margin-inline: auto;
}

.bt-solutions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px 72px;
	margin: 40px auto;
	padding: 0 16px 16px;
}

.bt-solutions a {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 140px;
	color: #676767;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
}

.bt-solutions img {
	display: block;
	width: 84px;
	height: 84px;
	margin-bottom: 12px;
	padding: 18px;
	box-sizing: border-box;
	object-fit: contain;
}

.bt-solutions--ortho img { background: #bb002d; }
.bt-solutions--neuro img { background: #f4874c; }

.bt-solutions strong {
	display: block;
	color: var(--c-blue);
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

.bt-unique {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	min-height: 412px;
	padding: 48px 8vw;
	background: #0c3f73 center / cover no-repeat;
	color: var(--c-white);
}

.bt-unique__mark {
	width: min(280px, 36vw);
	height: auto;
}

.bt-unique__copy {
	max-width: 460px;
}

.bt-unique__kicker {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.bt-unique h2 {
	margin: 0 0 16px;
	color: var(--c-white);
	font-size: 72px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 2px;
}

.bt-unique p {
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 26px;
}

.bt-unique a {
	display: inline-block;
	margin-top: 16px;
	color: var(--c-white);
	font-weight: 700;
	text-decoration: none;
}

.bt-unique a span {
	display: block;
	margin-bottom: 4px;
	font-size: 22px;
	font-weight: 300;
}

.bt-h42 {
	padding: 48px 16px 64px;
	background: #f3f3f3;
	text-align: center;
}

.bt-h42 h2 {
	margin: 0 0 8px;
	color: var(--c-blue);
	font-size: 30px;
	font-weight: 400;
	line-height: 36px;
}

.bt-h42 > p {
	margin: 0 0 28px;
}

.bt-h42 video {
	width: min(730px, 100%);
	background: #000;
}

.bt-brochure {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 48px 24px 64px;
	background: #fff;
	text-align: left;
}

.bt-brochure img {
	width: 220px;
	height: auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.bt-brochure__copy {
	max-width: 420px;
}

.bt-brochure h2 {
	margin: 0 0 12px;
	color: var(--c-text);
	font-size: 28px;
	font-weight: 400;
}

.bt-brochure p {
	margin: 0 0 16px;
}

.bt-brochure a {
	color: var(--c-blue);
	font-weight: 700;
	text-decoration: none;
}

.bt-brochure a span {
	display: block;
	margin-bottom: 4px;
	font-weight: 300;
}

.bt-contacts {
	padding: 48px 0 80px;
}

.bt-contacts__offices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	margin: 40px 0 0;
	text-align: left;
}

.bt-contacts h2 {
	margin: 0 0 12px;
	color: var(--c-black);
	font-size: 30px;
	font-weight: 400;
}

.bt-contacts__role {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 400;
	color: var(--c-black);
}

.bt-contacts p {
	color: var(--c-black);
	line-height: 24px;
}

.bt-contacts a.bt-contacts__map {
	display: inline-block;
	margin-top: 32px;
	padding: 12px 28px;
	background: var(--c-blue);
	color: var(--c-white);
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
}

.bt-contacts a.bt-contacts__map:hover,
.bt-contacts a.bt-contacts__map:focus {
	background: var(--c-blue-post);
	color: var(--c-white);
}

@media (max-width: 700px) {
	.bt-contacts__offices {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.bt-unique {
		flex-direction: column;
		padding: 32px 20px;
		text-align: center;
	}

	.bt-unique h2 {
		font-size: 48px;
	}
}

@media (max-width: 991px) {
	.bt-hero-slider {
		height: auto;
		min-height: 560px;
	}

	.bt-hero-slider .bt-slide {
		min-height: 560px;
	}

	.bt-hero-slider .wp-block-cover__inner-container {
		align-items: flex-end;
		justify-content: stretch;
	}

	.entry-content .alignfull.bt-hero-slider .wp-block-cover.alignfull .wp-block-cover__inner-container > .bt-slide__panel,
	.bt-hero-slider .bt-slide__panel {
		flex-basis: 100%;
		width: 100%;
		padding: 24px var(--gutter) 48px;
	}

	.bt-slide__panel::after {
		display: none;
	}

	.site-light .entry-content .bt-hero-slider .bt-slide__panel h2,
	.bt-hero-slider .bt-slide__panel h2 {
		font-size: 32px;
		line-height: 36px;
		margin-bottom: 16px;
	}

	.site-light .entry-content .bt-hero-slider .bt-slide__sub,
	.bt-hero-slider .bt-slide__sub {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bt-hero-slider .bt-slide {
		transition: none;
	}
}

/* ==========================================================================
   5. Section pages (light header): hero, breadcrumb, title
   ========================================================================== */

.page-hero img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 450px;
	object-fit: cover;
}

.breadcrumbs {
	padding-block: var(--space-3);
	font-size: 14px;
	line-height: 21px;
	color: var(--c-crumb);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	white-space: nowrap;
}

.breadcrumbs li + li::before {
	content: "|";
	margin: 0 9px 0 10px;
}

.breadcrumbs a {
	color: var(--c-crumb);
}

.page-title {
	margin: 0;
	padding-block: var(--space-3) 24px;
	font-size: 40px;
	font-weight: 700;
	line-height: 44px;
	color: var(--c-blue);
}

.page-title--center {
	text-align: center;
}

.page-title--left {
	text-align: left;
}

/* ==========================================================================
   6. Block content: shared container rules
   ========================================================================== */

.entry-content > *:not(.alignfull),
.entry-content .alignfull.wp-block-group > *:not(.alignfull),
.entry-content .alignfull.wp-block-cover .wp-block-cover__inner-container > * {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.entry-content > .alignfull {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.entry-content .wp-block-columns {
	margin-bottom: 0;
}

.entry-content .wp-block-image {
	margin: 0;
}

.entry-content .wp-block-image img {
	height: auto;
}

/* Core inserts block-gap margins; the original uses its own section spacing. */
.entry-content > * {
	margin-block: 0;
}

.entry-content .has-background {
	padding-block: var(--space-5);
}

/* Section page typography (Open Sans) */
.site-light .entry-content h2 {
	font-size: 36px;
	font-weight: 300;
	line-height: 40px;
	margin-bottom: 30px;
}

/* Section page body copy: Open Sans, dark, airy line-height — matches the design. */
.site-light .entry-content p {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--c-text-classic);
}

.site-light .entry-content h2 strong {
	color: var(--c-blue);
}

.bt-section {
	padding-block: var(--space-3);
}

.bt-section-lg {
	padding-block: var(--space-5);
}

/* Three text columns (Mission / Vision / Values) */
.bt-columns-3 h2 {
	line-height: 54px !important;
	margin-bottom: 16px !important;
}

/* Full-bleed split: coloured text box left (vertically centred), image right */
.bt-split.wp-block-columns {
	gap: 0;
	align-items: center;
	padding-block: var(--space-5);
}

.bt-split .bt-split__text {
	padding: 40px var(--gutter);
	background: var(--c-blue);
	color: var(--c-white);
}

.bt-split .bt-split__text h2 {
	color: var(--c-white);
	margin-bottom: 8px;
}

.bt-split .bt-split__media img {
	display: block;
	width: 100%;
}

@media (min-width: 782px) {
	.bt-split .bt-split__text {
		padding: 100px 0 100px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
		padding-right: 0;
	}

	.bt-split .bt-split__text > * {
		max-width: 560px;
	}
}

/* Download / "> Find more" links */
.bt-more-link a::before {
	content: "> ";
}

/* Timeline (About us history) */
.is-style-timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-style-timeline li {
	margin-bottom: 20px;
}

.is-style-timeline li strong:first-child {
	display: block;
	position: relative;
	margin-bottom: 4px;
	padding-left: 0;
	font-size: 36px;
	font-weight: 600;
	line-height: 49px;
	color: var(--c-blue);
}

.is-style-timeline li strong:first-child::before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 52px;
	margin-right: 4px;
	vertical-align: middle;
	background: url("assets/img/timeline-tube.png") center / contain no-repeat;
}

/* Title punctuation in brand blue: "About us." */
.bt-dot {
	color: var(--c-blue);
	font-weight: 700;
}

/* Post carousel (Bioteck Social Responsability) built with a Query Loop block */
.bt-carousel {
	position: relative;
}

.bt-carousel > h2 {
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 35px !important;
	color: var(--c-blue-post);
}

.bt-carousel .wp-block-post-template {
	/* Positioned so absolutely-positioned screen-reader text stays inside the scroller. */
	position: relative;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	gap: 30px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	list-style: none;
}

.bt-carousel .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

.bt-carousel .wp-block-post-template > li {
	scroll-snap-align: start;
	margin: 0;
}

@media (min-width: 768px) {
	.bt-carousel .wp-block-post-template {
		grid-auto-columns: calc((100% - 30px) / 2);
	}
}

@media (min-width: 992px) {
	.bt-carousel .wp-block-post-template {
		grid-auto-columns: calc((100% - 60px) / 3);
	}
}

.bt-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.bt-carousel__dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.bt-carousel__dot[aria-current="true"] {
	background: rgba(0, 0, 0, 0.9);
}

.bt-carousel__arrow {
	position: absolute;
	top: 45%;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 34px;
	line-height: 40px;
	color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.bt-carousel__arrow[disabled] {
	opacity: 0;
	pointer-events: none;
}

.bt-carousel__arrow--prev { left: -50px; }
.bt-carousel__arrow--next { right: -50px; }

@media (max-width: 1299px) {
	.bt-carousel__arrow { display: none; }
}

/* Post cards: shared by the carousel (query blocks) and single "Other Posts" */
.post-card__image img,
.bt-carousel .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	aspect-ratio: 350 / 211;
	object-fit: cover;
}

.bt-carousel .wp-block-post-featured-image {
	margin: 0 0 10px;
}

.post-card__cat,
.bt-carousel .wp-block-post-terms {
	margin: 10px 0 15px;
	font-family: var(--f-sans);
	font-size: 14px;
	font-weight: 300;
	line-height: 17px;
	color: var(--c-navy);
	text-transform: uppercase;
}

.bt-carousel .wp-block-post-terms a {
	color: inherit;
	pointer-events: none;
}

.post-card__title,
.bt-carousel .wp-block-post-title {
	margin: 0 0 18px;
	font-family: var(--f-sans);
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
}

.post-card__title a,
.bt-carousel .wp-block-post-title a {
	color: var(--c-blue-post);
}

.post-card__more,
.bt-carousel .wp-block-read-more {
	display: inline-block;
	padding: 0 6px;
	background: var(--c-navy);
	font-family: var(--f-sans);
	font-size: 13px;
	line-height: 20px;
	color: var(--c-white);
	text-transform: uppercase;
}

.post-card__more:hover,
.bt-carousel .wp-block-read-more:hover {
	color: var(--c-white);
	text-decoration: none;
	background: var(--c-blue-post);
}

/* Product list (Orthopedics / Neurosurgery): white rows on grey */
.bt-product-list {
	background: var(--c-grey-150);
}

.bt-product-list > .bt-product-row + .bt-product-row {
	margin-top: 20px;
}

.bt-product-row.wp-block-columns {
	gap: 0;
	/* Core forces align-items:normal on columns; the original centres each row. */
	align-items: center !important;
	padding: 20px;
	background: var(--c-white);
	text-align: center;
}

.bt-product-row .wp-block-column {
	padding-inline: var(--gutter);
}

.bt-product-row img {
	width: auto;
	max-width: 100%;
	max-height: 160px;
	height: auto;
}

/* Rows keep their three columns from tablet up (core would stack them below 782px). */
@media (min-width: 576px) {
	.bt-product-row.wp-block-columns {
		flex-wrap: nowrap !important;
		text-align: left;
	}

	.bt-product-row.wp-block-columns > .wp-block-column {
		flex-grow: 0 !important;
	}

	.bt-product-row .wp-block-column:first-child {
		text-align: center;
	}
}

.bt-product-row p {
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 27px;
	color: var(--c-text-soft);
}

@media (min-width: 782px) {
	.bt-product-row.wp-block-columns { text-align: left; }
	.bt-product-row .wp-block-column:first-child { text-align: center; }
}

/* ==========================================================================
   7. Buttons (core/button block styles)
   ========================================================================== */

.wp-block-button__link {
	border-radius: 0;
	transition: background-color 0.2s, color 0.2s;
}

.is-style-outline-blue .wp-block-button__link,
.is-style-light-blue .wp-block-button__link {
	display: block;
	width: 100%;
	padding: 10px 20px;
	border: 2px solid var(--c-blue);
	background: transparent;
	font-size: 16px;
	line-height: 22px;
	color: var(--c-blue);
	text-transform: uppercase;
	text-align: center;
}

.is-style-light-blue .wp-block-button__link {
	border-color: var(--c-blue-pale);
	background: var(--c-blue-pale);
	color: var(--c-white);
}

.is-style-outline-blue .wp-block-button__link:hover,
.is-style-light-blue .wp-block-button__link:hover {
	border-color: var(--c-blue);
	background: var(--c-blue);
	color: var(--c-white);
	text-decoration: none;
}

.bt-product-row .wp-block-buttons,
.bt-product-row .wp-block-button {
	width: 100%;
}

.is-style-product .wp-block-button__link {
	padding: 10px 20px;
	background: var(--c-teal);
	font-family: var(--f-product);
	font-size: 23px;
	line-height: 26px;
	letter-spacing: 1px;
	color: var(--c-white);
	text-transform: uppercase;
}

.is-style-product .wp-block-button__link:hover {
	background: var(--c-black);
	color: var(--c-white);
	text-decoration: none;
}

/* ==========================================================================
   8. Product list responsive tweaks
   ========================================================================== */

@media (max-width: 575px) {
	.bt-product-list.wp-block-group {
		padding-inline: 15px;
	}

	.bt-product-row.wp-block-columns {
		gap: 26px;
		padding: 34px 20px;
	}

	.bt-product-row .wp-block-buttons {
		justify-content: center;
	}

	.bt-product-row .wp-block-button {
		width: auto;
		min-width: 200px;
	}
}

/* ==========================================================================
   9. Landing pages (dark header): Events and fairs, Technology
   ========================================================================== */

.container--classic {
	max-width: var(--container-classic);
	padding-inline: calc(var(--gutter) + 20px);
}

.page-title--classic {
	padding-block: 42px 42px;
	font-family: var(--f-classic);
	text-align: center;
}

.entry-content--classic h2 {
	font-family: var(--f-classic);
}

/* Landing content uses the narrower classic content box (1060px at desktop). */
@media (min-width: 1200px) {
	.entry-content--classic > *:not(.alignfull),
	.entry-content--classic .alignfull.wp-block-group > *:not(.alignfull) {
		max-width: var(--container-classic);
		padding-inline: calc(var(--gutter) + 20px);
	}
}

.bt-events-archive.wp-block-group {
	margin-top: 60px;
	padding-top: 75px;
}

/* Event archive */
.bt-events-archive > h2 {
	margin-bottom: 15px;
	font-size: 40px;
	font-weight: 700;
	line-height: 44px;
	color: var(--c-blue);
	text-align: center;
}

.bt-events.wp-block-group {
	display: grid;
	gap: 30px;
	padding-block: 15px var(--space-ws);
}

@media (min-width: 791px) {
	.bt-events.wp-block-group {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.bt-event-card.wp-block-group {
	position: relative;
	margin: 0;
	padding: 21px;
	background: var(--c-white);
}

.bt-event-card p.bt-event-meta {
	margin: 0 0 15px;
	font-size: 18px;
	line-height: 26px;
	color: var(--c-text-classic);
}

.bt-event-meta strong {
	font-weight: 700;
	color: var(--c-topbar);
	text-transform: uppercase;
}

.bt-event-meta em {
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	color: var(--c-cat);
	text-transform: uppercase;
}

.bt-event-card h2,
.bt-event-card h3 {
	margin: 0 0 15px;
	font-family: var(--f-classic);
	font-size: 21px;
	font-weight: 700;
	line-height: 26px;
	color: var(--c-blue);
}

.bt-event-card h2 a,
.bt-event-card h3 a {
	color: inherit;
}

/* The whole card is clickable when its title links somewhere. */
.bt-event-card h2 a::after,
.bt-event-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bt-event-card p:last-child {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}

/* Technology: two brochure columns on grey */
.bt-tech.wp-block-group {
	padding-block: var(--space-ws);
	text-align: center;
}

.bt-tech .wp-block-column {
	position: relative;
}

.bt-tech h2 {
	margin-bottom: 4px;
	font-size: 28px;
	font-weight: 300;
	line-height: 31px;
	color: var(--c-white);
	text-transform: uppercase;
}

.bt-tech p {
	margin-bottom: 10px;
}

.bt-tech .wp-block-image img {
	max-width: 310px;
}

.bt-tech-link a {
	display: inline-block;
	color: var(--c-white);
	line-height: 21px;
}

.bt-tech-link a::before {
	content: "";
	display: block;
	width: 30px;
	height: 33px;
	margin: 0 auto 2px;
	background: url("assets/img/arrow-right.svg") center / 24px auto no-repeat;
}

.bt-tech-link a strong {
	font-weight: 300;
	color: var(--c-black);
}

.bt-tech-link a:hover,
.bt-tech-link a:hover strong {
	color: var(--c-black);
	text-decoration: none;
}

/* Keep the arrow beside the mark. Absolute offsets overlapped the seal. */
@media (min-width: 791px) {
	.bt-tech .wp-block-column {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(12px, 1fr);
		align-items: center;
		column-gap: 16px;
		justify-items: center;
	}

	.bt-tech .wp-block-column > :not(.wp-block-image):not(.bt-tech-link) {
		grid-column: 1 / -1;
	}

	.bt-tech .wp-block-image {
		grid-column: 2;
		margin: 12px 0 0;
	}

	.bt-tech-link {
		position: static;
		grid-column: 3;
		justify-self: start;
		align-self: center;
		margin: 12px 0 0;
		text-align: left;
	}
}

.bt-product-row p.bt-product-title {
	margin: 0;
	color: #f07f1a;
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	text-align: center;
}

.bt-product-row p.bt-product-code {
	margin: 0;
	color: var(--c-text-soft);
	font-size: 18px;
	font-weight: 300;
	line-height: 27px;
}

/* ==========================================================================
   10. Product pages (Montserrat)
   ========================================================================== */

.entry-content--product {
	font-family: var(--f-product);
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	color: var(--c-text-product);
}

.entry-content--product > *:not(.alignfull),
.entry-content--product .alignfull.wp-block-group > *:not(.alignfull) {
	max-width: calc(var(--container-product) - 40px);
	padding-inline: var(--gutter);
}

@media (min-width: 1200px) {
	.entry-content--product > *:not(.alignfull),
	.entry-content--product .alignfull.wp-block-group > *:not(.alignfull) {
		max-width: 1140px;
	}
}

.entry-content--product .has-background {
	padding-block: var(--space-ws2);
}

.entry-content--product h1,
.entry-content--product h2 {
	font-size: 40px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--c-text-product);
	margin: 10px 0 10px;
}

.entry-content--product h3 {
	margin: 10px 0 10px;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--c-blue);
	text-transform: uppercase;
}

.entry-content--product h4 {
	margin: 0 0 8px;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--c-black);
}

.entry-content--product p {
	margin: 0 0 10px;
}

.entry-content--product .wp-block-columns {
	gap: 30px;
}

.entry-content--product > .wp-block-group:not(.has-background):not(.bt-subnav):not(.bt-product-cover) {
	padding-block: var(--space-ws) var(--space-ws2);
}

/* Sticky product sub-navigation */
.bt-subnav.wp-block-group {
	position: sticky;
	top: 0;
	z-index: 50;
	padding-block: 15px;
	background: var(--c-grey-200);
}

.admin-bar .bt-subnav.wp-block-group {
	top: 32px;
}

.bt-subnav > .wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.bt-subnav p.bt-subnav__title {
	display: none;
	margin: 0;
	font-size: 23px;
	line-height: 31px;
	color: var(--c-text-product);
}

.bt-subnav ul.bt-subnav__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 20px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 26px;
	text-transform: uppercase;
}

.bt-subnav__links a {
	color: var(--c-text-product);
}

.bt-subnav__links a:hover,
.bt-subnav__links a.is-active {
	color: var(--c-gold);
	text-decoration: none;
}

@media (min-width: 791px) {
	.bt-subnav p.bt-subnav__title {
		display: block;
	}

	.bt-subnav ul.bt-subnav__links {
		justify-content: flex-end;
		gap: 4px 40px;
		width: auto;
	}
}

/* Product cover: background image with title on the right; on mobile the
   background is dropped and the separate mobile image block is shown. */
.bt-product-cover.wp-block-group {
	display: flex;
	align-items: center;
	padding-block: 40px 10px;
}

@media (max-width: 790px) {
	.bt-product-cover.wp-block-group {
		background-image: none !important;
		background-color: var(--c-white) !important;
	}
}

.bt-product-cover .bt-product-cover__title {
	width: 90%;
	margin-inline: auto;
}

.bt-product-cover .wp-block-image img {
	width: 300px;
	max-width: 100%;
}

.bt-product-cover h1,
.bt-product-cover h2 {
	font-size: 32px;
	font-weight: 300;
	line-height: 1.1;
	color: #4c4d4c;
}

.bt-mobile-only {
	display: block;
}

.bt-mobile-only img {
	display: block;
	width: 100%;
}

@media (min-width: 791px) {
	.bt-product-cover.wp-block-group {
		min-height: 520px;
		padding-block: 0;
		background-size: cover !important;
		background-position: center !important;
	}

	.bt-product-cover .bt-product-cover__title {
		width: 40%;
		margin: 0 0 0 auto;
		padding: 0;
	}

	.bt-product-cover h1,
	.bt-product-cover h2 {
		font-size: 45px;
	}

	.bt-mobile-only {
		display: none !important;
	}
}

/* Icon feature row (listaAttProd) */
.bt-icons.wp-block-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px 30px;
	margin-top: 20px;
}

.bt-icon-item.wp-block-group {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	max-width: 260px !important;
	width: auto !important;
}

.bt-icon-item .wp-block-image img {
	width: 80px;
	max-width: none;
}

.bt-icons--small .bt-icon-item .wp-block-image img {
	width: 60px;
}

.bt-icon-item p {
	width: 150px;
	margin: 0;
	font-size: 15px;
	line-height: 18px;
	letter-spacing: -1px;
	text-transform: uppercase;
}

@media (min-width: 791px) {
	.bt-icons.wp-block-group {
		gap: 30px 90px;
		flex-wrap: nowrap;
	}
}

.bt-list-title {
	text-align: center;
}

.bt-list-title strong {
	font-weight: 700;
}

/* Figure pair (listaAttProd3): image, blue bold title, small text */
.bt-figures.wp-block-columns {
	justify-content: center;
	gap: 3px !important;
	margin-top: 20px;
}

.bt-figures .wp-block-column {
	flex: 0 1 400px !important;
	max-width: 400px;
}

.bt-figures img {
	display: block;
	width: 100%;
	margin-bottom: 15px;
}

.bt-figures p.bt-figure-title {
	margin: 0;
	padding-right: 15px;
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	color: var(--c-blue);
	text-transform: uppercase;
}

.bt-figures p {
	margin: 0;
	padding-right: 15px;
	font-size: 13px;
	font-weight: 300;
	line-height: 18px;
}

/* Download cards (listaMateriali) */
.bt-downloads.wp-block-columns {
	text-align: center;
}

.bt-downloads img {
	width: 100%;
	max-width: 330px;
	margin: 0 auto;
}

.bt-downloads a {
	color: var(--c-link-download);
}

/* Arrow links on grey bands (listaCasiCli): "Go to dynamic literature", "Download PDF" */
.bt-arrow-links {
	text-align: center;
	letter-spacing: 1px;
}

.bt-arrow-links a {
	font-size: 20px;
	color: var(--c-white);
}

.bt-arrow-links a::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 24px;
	margin-right: 5px;
	vertical-align: middle;
	background: url("assets/img/arrow-download.png") center / contain no-repeat;
}

.bt-arrow-links a:hover {
	color: var(--c-black);
	text-decoration: none;
}

/* Centred heading with a black word (Insights, Product range) */
.bt-heading-dark {
	text-align: center;
	color: var(--c-black) !important;
}

/* Key numbers (UNIQUE) */
.bt-numbers.wp-block-columns {
	padding-block: 50px;
	text-align: center;
}

.bt-numbers p {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 26px;
}

.bt-numbers p.bt-number {
	font-size: 40px;
	line-height: 40px;
	color: var(--c-teal);
}

/* Numbered steps (OsteoPlant "How to use") */
.bt-steps h4 {
	font-size: 18px;
	font-weight: 600;
	line-height: 23px;
	color: var(--c-white);
	text-transform: uppercase;
}

.bt-steps p {
	margin-bottom: 60px;
	font-size: 16px;
	line-height: 24px;
	color: var(--c-white);
}

.bt-steps .wp-block-columns {
	gap: 50px;
}

/* Big centred product intro heading (OsteoPlant, UNIQUE) */
.bt-intro h2 {
	font-size: 44px;
	text-align: center;
}

/* UNIQUE hero */
.bt-unique-hero.wp-block-cover {
	min-height: 600px;
}

.bt-unique-hero .wp-block-cover__inner-container p {
	margin: 0;
	font-size: 27px;
	line-height: 26px;
	color: var(--c-white);
}

.bt-unique-hero .wp-block-cover__inner-container h1,
.bt-unique-hero .wp-block-cover__inner-container h2 {
	margin: 0;
	font-size: clamp(60px, 10vw, 120px);
	font-weight: 500;
	line-height: 1.1;
	color: var(--c-white);
}

/* Coloured headings used on product pages */
.entry-content--product .bt-heading-light-blue {
	color: var(--c-blue);
	text-transform: uppercase;
}

.entry-content--product h4.bt-heading-light-blue {
	line-height: 25px;
}

.entry-content--product .bt-heading-dark-blue {
	font-weight: 700;
	color: #005794;
}

/* Small inline marks: CE logo, 60px icons */
.bt-ce-mark img {
	width: auto;
	max-width: 84px;
	max-height: 34px;
}

.bt-inline-icon img {
	width: 60px;
}

.bt-quality img {
	max-width: 102px;
}

/* Desktop/mobile-only images (complements .bt-mobile-only) */
@media (max-width: 790px) {
	.bt-desktop-only {
		display: none !important;
	}
}

/* Blue "Why Zymo-Teck Bone is unique" band: icon cards with white text */
.bt-unique-band h3,
.bt-unique-band p {
	color: #f2f2f2;
}

.bt-figures.bt-figures--icons {
	gap: 30px 60px !important;
	margin-top: 40px;
}

.bt-figures--icons .wp-block-column {
	display: grid;
	grid-template-columns: 60px 1fr;
	column-gap: 20px;
	align-content: start;
	flex-basis: 467px !important;
	max-width: 467px;
	margin-bottom: 40px;
}

.bt-figures--icons img {
	width: 60px;
	margin: 0;
}

.bt-figures--icons .wp-block-image {
	grid-row: span 2;
}

.bt-figures--icons p.bt-figure-title {
	color: var(--c-white);
}

.bt-figures--icons p {
	font-size: 15px;
	line-height: 18px;
	color: var(--c-white);
}

/* Product range cards (Zymo-Teck Bone) */
.bt-product-range__row.wp-block-columns {
	margin-bottom: 30px;
}

.bt-product-card.wp-block-columns {
	align-items: center;
	gap: 30px !important;
}

.bt-product-card h4 {
	margin: 10px 0 0;
}

p.bt-tag {
	margin: 0 0 6px;
}

.bt-tag mark {
	display: inline-block;
	padding: 0 8px;
	font-size: 15px;
	line-height: 23px;
}

/* OsteoPlant: benefits band with white title */
.bt-benefits .bt-list-title {
	font-size: 24px;
	font-weight: 300;
	color: var(--c-white);
}

.bt-benefits .bt-list-title strong {
	font-weight: 300;
}

/* OsteoPlant: "When to use" full-bleed text | image */
.entry-content--product .bt-when.has-background {
	padding-block: 0;
}

.bt-when .bt-when__columns.wp-block-columns {
	gap: 0 !important;
	max-width: none !important;
	padding: 0 !important;
}

.bt-when__text {
	padding: 40px var(--gutter);
}

.bt-when__text h2 {
	font-size: 28px !important;
	color: var(--c-teal) !important;
	text-transform: uppercase;
}

.bt-when__text p {
	font-size: 17px;
}

.bt-when__text li {
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 23px;
	text-transform: uppercase;
}

.bt-when__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 791px) {
	.bt-when__text {
		padding: 65px 55px 65px max(var(--gutter), calc((100vw - 1140px) / 2));
	}

	.bt-when__text > * {
		max-width: 518px;
	}

	.bt-when__media,
	.bt-when__media .wp-block-image {
		align-self: stretch;
		height: 100%;
	}
}

/* OsteoPlant brochure placeholder (no link on the original) */
.bt-resource-pending {
	font-size: 16px;
	color: var(--c-teal);
	text-align: center;
}

/* Product data table (OsteoPlant / MeRG) */
.entry-content--product .wp-block-table {
	margin: 10px 0;
}

.entry-content--product .wp-block-table table {
	width: auto;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content--product .wp-block-table td,
.entry-content--product .wp-block-table th {
	padding: 1px 15px 1px 0;
	border: 0;
	text-align: left;
	vertical-align: top;
}

/* UNIQUE: video band and number arrows */
.bt-video > * {
	max-width: 760px !important;
}

.entry-content--product .bt-video__title {
	font-size: 26px;
	font-weight: 300;
	color: #0084c8;
}

.bt-video video {
	display: block;
	width: 100%;
}

.bt-number-link img {
	width: 32px;
}

/* ==========================================================================
   11. Articles (single post)
   ========================================================================== */

.article-kicker {
	margin: 0;
	padding-block: 27px 27px;
	font-size: 40px;
	font-weight: 700;
	line-height: 55px;
	color: var(--c-blue);
	text-align: center;
}

.article-thumb img {
	display: block;
	width: 100%;
}

.article-meta {
	margin-top: 30px;
	font-size: 15px;
	line-height: 20px;
}

.article-meta p {
	margin: 0;
}

.article-meta__cats {
	font-weight: 300;
	color: var(--c-cat);
	text-transform: uppercase;
}

.article-meta__author,
.article-meta__date {
	font-weight: 400;
}

.article-title {
	margin: 30px 0;
	font-size: 45px;
	font-weight: 500;
	line-height: 55px;
	color: var(--c-blue);
}

.entry-content--article > * {
	max-width: none !important;
	padding-inline: 0 !important;
}

.entry-content--article p {
	margin: 0 0 10px;
}

.entry-content--article strong {
	font-weight: 700;
}

.entry-content--article .wp-block-image,
.entry-content--article .wp-block-embed {
	margin-block: 20px;
}

.article-back {
	padding-block: 35px;
}

.article-back a {
	font-size: 14px;
	font-weight: 200;
	color: var(--c-cat);
	text-transform: uppercase;
}

.related-posts {
	padding-block: 15px 45px;
}

.related-posts__title {
	margin-bottom: 30px;
	text-align: center;
	font-size: 35px;
	font-weight: 700;
	line-height: 45px;
	color: var(--c-text-classic);
}

.post-cards {
	display: grid;
	gap: 30px;
}

@media (min-width: 791px) {
	.post-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.post-card__image {
	display: block;
	margin-bottom: 10px;
}

/* ==========================================================================
   12. Small screens
   ========================================================================== */

@media (max-width: 790px) {
	.page-title--classic,
	.article-kicker {
		padding-block: 20px;
	}

	.article-title {
		font-size: 32px;
		line-height: 40px;
	}

	.entry-content--product h1,
	.entry-content--product h2,
	.bt-intro h2 {
		font-size: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
