/* BAFT Conference Hero */

.baft-hero {
	--baft-hero-min-h: 900px;
	--baft-hero-headline: 44px;
	--baft-hero-navy: #0b1e3a;
	--baft-hero-muted: #475569;
	/* Matches the header logo's left edge: header section padding (150px) + header box padding (10px). */
	--baft-hero-gutter: 160px;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: var(--baft-hero-min-h);
	overflow: hidden;
	background: #fff;
	font-family: "Montserrat", "Poppins", sans-serif;
	color: var(--baft-hero-navy);
	isolation: isolate;
}

/* Background: image on the right, white fade behind the text on the left. */
.baft-hero .baft-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	z-index: -2;
}
.baft-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to right, #fff 0%, #fff 34%, rgba(255, 255, 255, 0) 50%);
}

.baft-hero__inner {
	flex: 1;
	display: flex;
	align-items: center;
	width: 100%;
	/* Top padding clears the site's floating header. */
	padding: var(--baft-hero-top, 150px) var(--baft-hero-gutter) 40px;
	box-sizing: border-box;
}
.baft-hero__content {
	max-width: 620px;
}
:where(.baft-hero__content) :where(p, h1) {
	margin: 0;
}

/* Logos row with thin dividers. */
.baft-hero__logos {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 28px;
	margin-bottom: 36px;
}
.baft-hero .baft-hero__logo {
	display: block;
	width: auto;
	max-width: 160px;
	height: 86px;
	object-fit: contain;
}
.baft-hero .baft-hero__logo + .baft-hero__logo {
	padding-left: 28px;
	border-left: 1px solid #cbd5e1;
}

.baft-hero__theme {
	display: flex;
	align-items: flex-end;
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.28px;
	text-transform: uppercase;
}
.baft-hero__accent {
	font-size: 1.5em;
	line-height: .8;
}
.baft-hero__accent--a {
	color: #df1dff;
}
.baft-hero__accent--b {
	color: #8a2be2;
}

.baft-hero .baft-hero__headline {
	margin-top: 18px;
	font-family: inherit;
	font-size: var(--baft-hero-headline);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
	background: linear-gradient(90deg, #0b6fe8 0%, #00def5 45%, #7b3bee 78%, #dc2ae8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.baft-hero__subtitle {
	margin-top: 18px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--baft-hero-muted);
	text-transform: uppercase;
}

.baft-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	margin-top: 28px;
}
.baft-hero .baft-hero__fact {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--baft-hero-muted);
	text-transform: uppercase;
}
.baft-hero__fact--date .baft-hero__fact-text {
	font-size: 18px;
	font-weight: 700;
	color: var(--baft-hero-navy);
}
.baft-hero__fact strong {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--baft-hero-navy);
}
.baft-hero__icon {
	flex: none;
	width: 36px;
	height: 36px;
	fill: none;
	stroke: #8a2be2;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.baft-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}
.baft-hero .baft-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 230px;
	height: 51px;
	padding: 0 32px;
	box-sizing: border-box;
	border-radius: 6px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.baft-hero .baft-hero__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(11, 59, 232, .18);
}
.baft-hero .baft-hero__btn--primary {
	background: linear-gradient(90deg, #0b6fe8 0%, #00def5 45%, #7b3bee 78%, #dc2ae8 100%);
	color: #fff;
}
.baft-hero .baft-hero__btn--secondary {
	background: #f9f9fb;
	border: 1px solid #c1b4e2;
	color: #6243b6;
}

/* Speaker line-up along the bottom edge. */
.baft-hero__speakers {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 48px var(--baft-hero-gutter) 22px;
	background: linear-gradient(to bottom, rgba(6, 18, 58, 0) 0%, rgba(13, 32, 92, .9) 45%, #06123a 100%);
}
.baft-hero .baft-hero__track {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: safe center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}
.baft-hero .baft-hero__track::-webkit-scrollbar {
	display: none;
}

/* Arrows: only shown while the row is wider than the screen (hero.js adds .is-scrollable). */
.baft-hero .baft-hero__nav {
	flex: none;
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 0 40px;
	padding: 0;
	border: 1px solid rgba(185, 212, 255, .45);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.baft-hero .baft-hero__nav:hover,
.baft-hero .baft-hero__nav:focus-visible {
	background: rgba(255, 255, 255, .2);
	border-color: #fff;
}
.baft-hero .baft-hero__nav svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.baft-hero__speakers.is-scrollable .baft-hero__nav {
	display: inline-flex;
}
.baft-hero .baft-hero__speaker {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 128px;
	margin: 0;
	text-align: center;
	scroll-snap-align: start;
}
.baft-hero .baft-hero__photo {
	display: block;
	width: 102px;
	height: 136px;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
	-webkit-mask-image: linear-gradient(#000 82%, transparent);
	mask-image: linear-gradient(#000 82%, transparent);
}
.baft-hero__name {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}
.baft-hero__role {
	display: -webkit-box;
	margin-top: 3px;
	overflow: hidden;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.375;
	color: #b9d4ff;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.baft-hero__empty {
	position: relative;
	margin: 0;
	padding: 12px 24px;
	background: #fff8e5;
	font-size: 14px;
}

/* Tablet: the image sits behind the text, so the white fade covers more of it. */
@media (max-width: 1024px) {
	.baft-hero {
		--baft-hero-min-h: 0px;
		--baft-hero-headline: 36px;
		/* Header column gains 32px side padding on tablet. */
		--baft-hero-gutter: 192px;
	}
	.baft-hero::before {
		background: linear-gradient(to right, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 55%, rgba(255, 255, 255, .25) 100%);
	}
	.baft-hero__theme {
		font-size: 32px;
	}
}

/* Mobile: image as a band on top fading into white, then the text, then a swipeable speaker row. */
@media (max-width: 767px) {
	.baft-hero {
		--baft-hero-headline: 28px;
		/* Header section padding drops to 0 and the column uses 20px on phones. */
		--baft-hero-gutter: 30px;
	}
	/* The section sits under the site header on phones (Elementor mobile margin), so the band starts behind it. */
	.baft-hero .baft-hero__bg {
		height: 420px;
		object-position: 75% center;
	}
	.baft-hero::before {
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 250px, rgba(255, 255, 255, .7) 330px, #fff 420px);
	}
	.baft-hero__inner {
		padding: 340px var(--baft-hero-gutter) 32px;
	}
	.baft-hero__logos {
		gap: 12px 16px;
		margin-bottom: 24px;
	}
	.baft-hero .baft-hero__logo {
		max-width: 110px;
		height: 60px;
	}
	.baft-hero .baft-hero__logo + .baft-hero__logo {
		padding-left: 16px;
	}
	.baft-hero__theme {
		font-size: 26px;
	}
	.baft-hero__subtitle {
		font-size: 15px;
	}
	.baft-hero__facts {
		flex-direction: column;
		gap: 14px;
		margin-top: 22px;
	}
	.baft-hero__fact--date .baft-hero__fact-text,
	.baft-hero__fact strong {
		font-size: 16px;
	}
	.baft-hero .baft-hero__fact {
		font-size: 14px;
	}
	.baft-hero__icon {
		width: 30px;
		height: 30px;
	}
	.baft-hero__actions {
		flex-direction: column;
	}
	.baft-hero .baft-hero__btn {
		width: 100%;
		min-width: 0;
	}
	.baft-hero__speakers {
		gap: 6px;
		padding: 28px 8px 18px;
	}
	.baft-hero .baft-hero__track {
		justify-content: flex-start;
	}
	.baft-hero .baft-hero__nav {
		width: 32px;
		height: 32px;
	}
	.baft-hero .baft-hero__nav svg {
		width: 16px;
		height: 16px;
	}
	.baft-hero .baft-hero__speaker {
		width: 116px;
	}
}
