.tivity-logo-hero {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 520px;
	overflow: hidden;
	border-radius: 34px;
	font-family: "Instrument Sans", sans-serif;
	color: #fff;
}

.tivity-logo-hero--navy {
	background: var(--dark-teal-gradient, linear-gradient(180deg, #00313e 0%, #1e87a1 100%));
}

.tivity-logo-hero--teal {
	background: #7adbd4;
	color: #00313e;
}

.tivity-logo-hero--purple {
	background: linear-gradient(90deg, var(--foreverfit-purple, #851f65) 7.74%, #ce99be 97.21%);
}

.elementor .tivity-logo-hero__photo {
	position: absolute;
	z-index: 2;
	display: block;
	width: auto;
	max-width: var(--tivity-logo-hero-image, 62%);
	height: auto;
	top: var(--tivity-logo-hero-top, auto);
	right: var(--tivity-logo-hero-right, auto);
	bottom: var(--tivity-logo-hero-bottom, auto);
	left: var(--tivity-logo-hero-left, auto);
	object-fit: contain;
}

.tivity-logo-hero__wash {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.tivity-logo-hero--navy .tivity-logo-hero__wash {
	background: linear-gradient(90deg, rgba(0, 49, 62, 0.92) 0%, rgba(0, 49, 62, 0.72) 38%, rgba(0, 49, 62, 0.28) 100%);
}

.tivity-logo-hero--teal .tivity-logo-hero__wash {
	background: linear-gradient(90deg, rgba(184, 244, 238, 0.92) 0%, rgba(122, 219, 212, 0.72) 42%, rgba(122, 219, 212, 0.28) 100%);
}

.tivity-logo-hero--purple .tivity-logo-hero__wash {
	background: none;
}

.tivity-logo-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	width: min(
		100%,
		max(var(--tivity-logo-hero-heading, 520px), var(--tivity-logo-hero-copy, 460px))
	);
	max-width: max(var(--tivity-logo-hero-heading, 520px), var(--tivity-logo-hero-copy, 460px));
	padding: 64px 40px 64px 64px;
}

.tivity-logo-hero--photo-left .tivity-logo-hero__copy {
	margin-left: auto;
	padding: 64px 64px 64px 40px;
}

.tivity-logo-hero__eyebrow,
.tivity-logo-hero__heading,
.tivity-logo-hero__text {
	margin: 0;
}

.elementor .tivity-logo-hero__eyebrow {
	width: min(100%, var(--tivity-logo-hero-heading, 520px));
	max-width: var(--tivity-logo-hero-heading, 520px);
	margin-bottom: 14px;
	font-family: "Instrument Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.elementor .tivity-logo-hero__heading {
	width: min(100%, var(--tivity-logo-hero-heading, 520px));
	max-width: var(--tivity-logo-hero-heading, 520px);
	font-family: "Instrument Sans", sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
}

.elementor .tivity-logo-hero__text {
	width: min(100%, var(--tivity-logo-hero-copy, 460px));
	max-width: var(--tivity-logo-hero-copy, 460px);
	margin-top: 18px;
	font-family: "Instrument Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.elementor .tivity-logo-hero__eyebrow sup,
.elementor .tivity-logo-hero__heading sup,
.elementor .tivity-logo-hero__eyebrow sub,
.elementor .tivity-logo-hero__heading sub {
	font-size: 0.6em;
	line-height: 0;
}

.tivity-logo-hero__logos {
	position: absolute;
	inset: 0;
	z-index: 3;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.tivity-logo-hero__logo {
	position: absolute;
	top: var(--logo-top, auto);
	right: var(--logo-right, auto);
	bottom: var(--logo-bottom, auto);
	left: var(--logo-left, auto);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 20px;
	filter: drop-shadow(0 6px 18px rgba(0, 49, 62, 0.14));
	pointer-events: auto;
}

.tivity-logo-hero__logo-shape {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}

.tivity-logo-hero__logo-shape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.tivity-logo-hero__logo.is-auto:nth-child(1) {
	--logo-top: 34%;
	--logo-right: 18%;
}

.tivity-logo-hero__logo.is-auto:nth-child(2) {
	--logo-top: 50%;
	--logo-right: 5%;
}

.tivity-logo-hero__logo.is-auto:nth-child(3) {
	--logo-top: 66%;
	--logo-right: 16%;
}

.tivity-logo-hero__logo.is-auto:nth-child(n + 4) {
	--logo-top: 80%;
	--logo-right: 8%;
}

.tivity-logo-hero__mark {
	position: relative;
	z-index: 1;
	display: block;
	width: 120px;
	height: auto;
}

@media (max-width: 1024px) {
	.tivity-logo-hero {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.elementor .tivity-logo-hero .tivity-logo-hero__photo {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		order: 2;
		width: 100%;
		max-width: 100%;
		height: auto;
		object-fit: contain;
		object-position: center;
	}

	.tivity-logo-hero__copy,
	.tivity-logo-hero--photo-left .tivity-logo-hero__copy {
		order: 0;
		width: 100%;
		margin-left: 0;
		padding: 40px 28px 28px;
	}

	.tivity-logo-hero__logos {
		order: 1;
	}

	.elementor .tivity-logo-hero__heading {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.tivity-logo-hero {
		border-radius: 20px;
	}

	.elementor .tivity-logo-hero__heading {
		font-size: 30px;
	}

	.tivity-logo-hero__logos {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		padding: 0 24px 24px;
	}

	.tivity-logo-hero__logos .tivity-logo-hero__logo {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
	}
}
