.apollo-hero {
	position: relative;
	overflow: hidden;
	font-family: 'barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@keyframes apollo-hero-fade-rise {
	from {
		opacity: 0;
		transform: translateY(var(--apollo-hero-rise, 18px));
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes apollo-hero-always-color {
	from {
		color: #da291c;
	}
	to {
		color: #111827;
	}
}

.apollo-hero a {
	border-bottom: none;
	text-decoration: none;
}

.apollo-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.apollo-hero__video,
.apollo-hero__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + 120px);
	will-change: transform;
	object-fit: cover;
	object-position: center top;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.apollo-hero__video.is-active,
.apollo-hero__image.is-active {
	opacity: 1;
}

.apollo-hero__media-toggle {
	position: absolute;
	top: 16px;
	right: 24px;
	z-index: 10;
	display: flex;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	border-radius: 99px;
	padding: 3px;
	gap: 2px;
}

.apollo-hero__media-toggle-btn {
	width: 32px;
	height: 32px;
	border-radius: 99px;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: transparent;
	color: rgba(255, 255, 255, 0.8);
	transition: background 0.2s, color 0.2s;
}

.apollo-hero__media-toggle-btn.is-active {
	background-color: #fff;
	color: #111;
}

.apollo-hero__media-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.96) 0%,
		rgba(255, 255, 255, 0.88) 32%,
		rgba(255, 255, 255, 0.55) 52%,
		rgba(255, 255, 255, 0.1) 70%,
		transparent 100%
	);
	pointer-events: none;
}

.apollo-hero__intro {
	position: relative;
	z-index: 1;
	max-width: 1440px;
	margin: 0 auto;
	padding: 48px 24px 40px;
	pointer-events: none;
}

.apollo-hero__heading {
	font-weight: 700;
	font-size: 42px;
	line-height: 1.05;
	margin: 0 0 20px;
	max-width: 540px;
	color: #111827;
	text-transform: none;
}

.apollo-hero__heading span {
	display: block;
	opacity: 0;
}

.apollo-hero__heading span:not(:last-child) {
	animation: apollo-hero-fade-rise 0.8s ease 0.1s forwards;
}

.apollo-hero__heading span:last-child {
	color: #da291c;
	animation:
		apollo-hero-fade-rise 0.8s ease 1s forwards,
		apollo-hero-always-color 1.1s ease 1.8s forwards;
}

.apollo-hero__caption {
	font-weight: 400;
	color: #374151;
	font-size: 18px;
	line-height: 1.5;
	margin: 0;
	max-width: 752px;
	opacity: 0;
	animation: apollo-hero-fade-rise 0.8s ease 1.6s forwards;
}

.apollo-hero__bullets {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	opacity: 0;
	animation: apollo-hero-fade-rise 0.8s ease 1.8s forwards;
}

.apollo-hero__bullets li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #111827;
}

.apollo-hero__bullets svg {
	flex-shrink: 0;
	color: #da291c;
}

.apollo-hero__panel {
	position: relative;
	z-index: 1;
	max-width: 1228px;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(8px);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.12);
	padding: 28px 24px 32px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	opacity: 0;
	--apollo-hero-rise: 60px;
	animation: apollo-hero-fade-rise 0.9s ease 2s forwards;
}

.apollo-hero__finder-heading {
	font-weight: 700;
	color: #111;
	font-size: 22px;
	margin: 0 0 16px;
	line-height: 1.2;
}

.apollo-hero__categories {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.apollo-hero__categories li a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 400;
	color: #1f2937;
	text-decoration: none;
	transition: color 0.15s;
}

.apollo-hero__categories li a:hover {
	color: #0365ff;
}

.apollo-hero__categories li a img,
.apollo-hero__categories li a svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: 0.45;
	transition: opacity 0.15s;
}

.apollo-hero__categories li a:hover img,
.apollo-hero__categories li a:hover svg {
	opacity: 1;
}

.apollo-hero__categories-viewall {
	margin-top: 4px;
}

.apollo-hero__categories-viewall a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 15px;
	font-weight: 400;
	color: #0365ff;
	text-decoration: none;
}

.apollo-hero__categories-viewall a span {
	font-size: 18px;
	line-height: 1;
}

@media (min-width: 37.5em) and (max-width: 63.99em) {
	.apollo-hero__categories {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 24px;
	}

	.apollo-hero__categories-viewall {
		grid-column: 1 / -1;
	}
}

.apollo-hero__search {
	position: relative;
	border-radius: 10px;
	transition: box-shadow 0.25s ease;
}

.apollo-hero__search:hover,
.apollo-hero__search:focus-within {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.apollo-hero__search::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	background-color: #aaa;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%23000'%3E%3Cpath d='M6.068 12.136c1.31 0 2.533-.426 3.527-1.136l3.74 3.74c.174.173.402.26.64.26.512 0 .883-.395.883-.9a.87.87 0 0 0-.253-.63L10.89 9.744a6.04 6.04 0 0 0 1.247-3.677C12.136 2.73 9.406 0 6.068 0 2.722 0 0 2.73 0 6.068s2.722 6.068 6.068 6.068m0-1.31c-2.612 0-4.758-2.154-4.758-4.758S3.456 1.31 6.068 1.31c2.604 0 4.758 2.154 4.758 4.758s-2.154 4.758-4.758 4.758'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%23000'%3E%3Cpath d='M6.068 12.136c1.31 0 2.533-.426 3.527-1.136l3.74 3.74c.174.173.402.26.64.26.512 0 .883-.395.883-.9a.87.87 0 0 0-.253-.63L10.89 9.744a6.04 6.04 0 0 0 1.247-3.677C12.136 2.73 9.406 0 6.068 0 2.722 0 0 2.73 0 6.068s2.722 6.068 6.068 6.068m0-1.31c-2.612 0-4.758-2.154-4.758-4.758S3.456 1.31 6.068 1.31c2.604 0 4.758 2.154 4.758 4.758s-2.154 4.758-4.758 4.758'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
	z-index: 1;
	transition: background-color 0.25s ease;
}

.apollo-hero__search:hover::before,
.apollo-hero__search:focus-within::before {
	background-color: #da291c;
}

.apollo-hero__search input {
	width: 100%;
	height: 61px;
	box-sizing: border-box;
	padding: 0 20px 0 44px !important;
	border: none;
	border-radius: 8px;
	font-size: 22px;
	font-weight: 400;
	outline: none;
	font-family: inherit;
	color: #374151;
	background-color: rgba(255, 255, 255, 0.9);
	background-image: none !important;
}

.apollo-hero__search input::placeholder {
	color: #a6a6a6;
	font-weight: 400;
}

.apollo-hero__search input[type="search"]::-webkit-search-cancel-button {
	position: relative;
	right: 20px;
}

.apollo-hero__search .searchwp-form,
.apollo-hero__search .swp-flex--col,
.apollo-hero__search .swp-flex--row,
.apollo-hero__search .searchwp-form-input-container {
	display: block;
	width: 100%;
	margin: 0;
	gap: 0;
}

.apollo-hero__search .search-submit {
	display: none;
}

body.searchFocus.apollo-hero-search-active {
	position: static !important;
	width: auto !important;
	height: auto !important;
	top: auto !important;
	left: auto !important;
	overflow: visible !important;
}

.apollo-hero__ranges-label {
	font-size: 19px;
	font-weight: 600;
	color: #111;
	margin: 40px 0 12px;
}

.apollo-hero__ranges {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 12px;
}

.apollo-hero__range {
	background-color: #fff;
	border: 1.4px solid #f1f1f1;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 16px;
	height: 85px;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}

.apollo-hero .apollo-hero__range {
	box-shadow: 5px 5px 21px 0 rgba(0, 0, 0, 0.05);
}

.apollo-hero .apollo-hero__range:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.apollo-hero .apollo-hero__range img {
	height: 55px;
	width: auto;
	max-width: 85%;
	object-fit: contain;
}

.apollo-hero__range-label {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-align: center;
}

@media (min-width: 64em) {
	.apollo-hero__intro {
		padding: 88px 106px 60px;
	}

	.apollo-hero__heading {
		font-size: 60px;
		line-height: 1;
		max-width: 860px;
	}

	.apollo-hero__caption {
		font-size: 32px;
	}

	.apollo-hero__panel {
		flex-direction: row;
		align-items: flex-start;
		gap: 80px;
		padding: 57px 82px 56px 78px;
	}

	.apollo-hero__finder {
		width: 300px;
		flex-shrink: 0;
	}

	.apollo-hero__finder-heading {
		font-size: 34px;
		line-height: 1.12;
	}

	.apollo-hero__search-ranges {
		flex: 1;
		margin-top: auto;
	}

	.apollo-hero__ranges {
		grid-template-columns: repeat(4, 1fr);
	}
}
