/* BiO-G Hero Slider - all rules are scoped to .biog-hero. Colours, sizes and positions come from the Elementor controls. */
.biog-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.biog-hero__swiper {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.biog-hero__slide {
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	min-height: 660px;
	height: auto;
	overflow: hidden;
}
.biog-hero__media,
.biog-hero__bg,
.biog-hero__overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.biog-hero__media {
	z-index: 0;
}
.biog-hero__media picture {
	display: block;
	width: 100%;
	height: 100%;
}
.biog-hero .biog-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}
.biog-hero__slide--fit-contain .biog-hero__img { object-fit: contain; }
.biog-hero__slide--fit-auto .biog-hero__img { object-fit: none; }
.biog-hero__bg {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.biog-hero__slide--fit-contain .biog-hero__bg { background-size: contain; }
.biog-hero__slide--fit-auto .biog-hero__bg { background-size: auto; }
.biog-hero__layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.biog-hero__layer--ambient > picture {
	display: block;
	width: 100%;
	height: 100%;
}

/* Overlay types (colours/stops/opacity come from per-slide controls as CSS variables). */
.biog-hero__overlay {
	z-index: 1;
	pointer-events: none;
}
.biog-hero__overlay--default { background-color: #000; opacity: 0; }
.biog-hero__overlay--none { display: none; }
.biog-hero__overlay--solid { background-color: var(--ov-c1, #000); opacity: 0.4; }
.biog-hero__overlay--linear {
	background-image: linear-gradient(var(--ov-dir, 90deg), var(--ov-c1, #000) var(--ov-s1, 0%), var(--ov-c2, rgba(0, 0, 0, 0)) var(--ov-s2, 100%));
	opacity: 0.4;
}
.biog-hero__overlay--radial {
	background-image: radial-gradient(var(--ov-spread, 70%) var(--ov-spread, 70%) at var(--ov-pos, 50% 50%), var(--ov-c1, #000) 0%, var(--ov-c2, rgba(0, 0, 0, 0)) 100%);
	opacity: 0.4;
}

/* Readability gradient: dark near the text, fading to transparent across the image. */
.biog-hero__readability {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.7;
	background-image: linear-gradient(
		var(--rg-dir, var(--rg-auto, 90deg)),
		var(--rg-color, #000) 0%,
		var(--rg-color, #000) calc(var(--rg-cover, 60%) * (1 - var(--rg-feather, 0.65))),
		transparent var(--rg-cover, 60%)
	);
}
.biog-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	justify-content: flex-start;
	align-items: center;
	padding: 48px 64px;
}
.biog-hero__shell {
	box-sizing: border-box;
	width: 100%;
	max-width: 640px;
	min-width: 0;
}
.biog-hero__depth,
.biog-hero__content {
	box-sizing: border-box;
	width: 100%;
}
.biog-hero__content {
	text-align: left;
}
.biog-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.biog-hero__title {
	margin: 0 0 16px;
	font-size: clamp(30px, 5vw, 56px);
	line-height: 1.1;
	overflow-wrap: break-word;
}
.biog-hero__description {
	margin: 0 0 24px;
	font-size: 17px;
	line-height: 1.55;
}
/* Description is rich text: paragraph/list spacing comes from one variable (Elementor control), not from theme margins. */
.biog-hero__description > * { margin: 0; }
.biog-hero__description > * + * { margin-top: var(--hero-p-gap, 0.75em); }
.biog-hero__description ul,
.biog-hero__description ol { padding: 0 0 0 1.25em; }
.biog-hero__description ul { list-style: disc; }
.biog-hero__description ol { list-style: decimal; }
.biog-hero__description li { margin: 0; }
.biog-hero__description a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }

/* Benefits icon list (between description and button). Sizes, colours and spacing come from Elementor controls. */
.biog-hero__benefits {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.biog-hero__benefit-item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.biog-hero__benefit-item + .biog-hero__benefit-item { margin-top: var(--bn-row, 8px); }
.biog-hero__benefit {
	display: inline-flex;
	align-items: center;
	column-gap: 10px;
	font-size: 16px;
	line-height: 1.4;
}
.biog-hero__benefit-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}
.biog-hero__benefit-icon i { line-height: 1; }
.biog-hero__benefit-icon svg { width: 1em; height: 1em; fill: currentColor; }
.biog-hero__actions {
	display: block; /* the button follows the text alignment unless Button > Alignment is set */
}
.biog-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 14px 28px;
	border: 0 solid transparent;
	border-radius: 6px;
	background-color: #1f2937;
	color: #fff;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.biog-hero__button:hover,
.biog-hero__button:focus-visible {
	background-color: #111827;
	color: #fff;
	text-decoration: none;
}
.biog-hero__button:focus-visible,
.biog-hero__arrow:focus-visible,
.biog-hero__dots .swiper-pagination-bullet:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Arrows and dots (carousel only) */
.biog-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.35);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.biog-hero__arrow svg {
	width: 18px;
	height: 18px;
}
.biog-hero__arrow--prev { left: 16px; }
.biog-hero__arrow--next { right: 16px; }
.biog-hero__arrow--next svg { transform: rotate(180deg); }
.biog-hero__arrow.swiper-button-disabled { opacity: 0.4; cursor: default; }
.biog-hero__dots {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.biog-hero__dots .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.55);
	opacity: 1;
	cursor: pointer;
}
.biog-hero__dots .swiper-pagination-bullet-active { background-color: #fff; }

/* Content animation: only once the script has run, so content is never hidden without JS. */
.biog-hero--js.biog-hero--anim-fade-up .biog-hero__content,
.biog-hero--js.biog-hero--anim-fade .biog-hero__content,
.biog-hero--js.biog-hero--anim-slide-up .biog-hero__content {
	opacity: 0;
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.biog-hero--js.biog-hero--anim-fade-up .biog-hero__content { transform: translateY(24px); }
.biog-hero--js.biog-hero--anim-slide-up .biog-hero__content { transform: translateY(64px); }
.biog-hero--js .biog-hero__slide.is-active .biog-hero__content {
	opacity: 1;
	transform: none;
}

/* GSAP motion: hide entrance targets only until the script takes over (CSS failsafe reveals them after 2.5s). */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
	.biog-hero--motion-pending .biog-hero__content > * {
		opacity: 0;
		animation: biog-hero-reveal 0.01s linear 2.5s forwards;
	}
}
@keyframes biog-hero-reveal {
	to { opacity: 1; }
}
.biog-split-word { display: inline-block; }
.biog-split-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}
.biog-split-line__inner { display: block; }

@media (max-width: 767px) {
	.biog-hero__inner { padding: 32px 20px; }
	.biog-hero__arrow--prev { left: 8px; }
	.biog-hero__arrow--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.biog-hero .biog-hero__content {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.biog-hero__button,
	.biog-hero__arrow { transition: none; }
}
