/* Source-accurate homepage hero geometry, isolated to the EMS hero. */
body.ems-store-home .ems-hp-hero.ems-hp-hero-slider {
	position: relative;
	width: 100%;
	min-height: 640px;
	height: 640px;
	margin: 0;
	overflow: hidden;
	background: #111;
}

body.ems-store-home .ems-hp-hero.ems-hp-hero-slider::after {
	display: none;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__track {
	display: flex;
	width: 100%;
	min-height: 640px;
	height: 640px;
	transform: translate3d(0, 0, 0);
	transition: transform .55s ease;
	will-change: transform;
	animation: ems-hero-auto-rotation 35s infinite;
}

body.ems-store-home .ems-hp-hero-slider.is-interacted .ems-hp-hero__track {
	animation: none;
}

@keyframes ems-hero-auto-rotation {
	0%, 16% { transform: translate3d(0, 0, 0); }
	20%, 36% { transform: translate3d(-100%, 0, 0); }
	40%, 56% { transform: translate3d(-200%, 0, 0); }
	60%, 76% { transform: translate3d(-300%, 0, 0); }
	80%, 96% { transform: translate3d(-400%, 0, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__slide {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 680px;
	height: 680px;
	overflow: hidden;
	background-color: #111;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__slide .bd-el-hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__shade {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .38) 38%, rgba(0, 0, 0, .72));
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 260px 24px 115px;
	text-align: center;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content.bd-el-wrap {
	min-height: 100%;
	padding-top: 120px;
	padding-bottom: 120px;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h1,
body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h2 {
	max-width: 1120px;
	margin: 0 auto 18px;
	color: #fff;
	font-size: clamp(36px, 3.35vw, 54px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content p {
	max-width: 900px;
	margin: 0 auto 28px;
	color: #fff;
	font-size: clamp(17px, 1.28vw, 22px);
	line-height: 1.45;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 20px;
	border: 0;
	border-radius: 9px;
	background: var(--bd-orange, var(--ems-accent, #F6A51C));
	box-shadow: none;
	color: #fff;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, transform .2s ease;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-button:hover,
body.ems-store-home .ems-hp-hero-slider .ems-hp-button:focus-visible {
	background: #e84d22;
	color: #fff;
	transform: translateY(-1px);
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0 0 4px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(0, 0, 0, .42);
	color: #fff;
	font: inherit;
	font-size: 34px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow:hover,
body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow:focus-visible {
	background: rgba(0, 0, 0, .68);
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow--prev {
	left: 18px;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow--next {
	right: 18px;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__dots {
	position: absolute;
	z-index: 4;
	right: auto;
	bottom: 22px;
	left: 50%;
	display: flex;
	gap: 9px;
	transform: translateX(-50%);
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__dots button {
	display: block;
	width: 9px !important;
	height: 9px !important;
	min-width: 9px !important;
	min-height: 9px !important;
	max-width: 9px !important;
	max-height: 9px !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .48);
	box-shadow: none;
	cursor: pointer;
}

body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__dots button.is-active {
	background: #fff;
}

body.ems-store-home .ems-hp-hero-slider:not(.is-interacted) .ems-hp-hero__dots button:nth-child(1) {
	animation: ems-hero-dot-one 35s infinite;
}

body.ems-store-home .ems-hp-hero-slider:not(.is-interacted) .ems-hp-hero__dots button:nth-child(2) {
	animation: ems-hero-dot-two 35s infinite;
}

body.ems-store-home .ems-hp-hero-slider:not(.is-interacted) .ems-hp-hero__dots button:nth-child(3) {
	animation: ems-hero-dot-three 35s infinite;
}

body.ems-store-home .ems-hp-hero-slider:not(.is-interacted) .ems-hp-hero__dots button:nth-child(4) {
	animation: ems-hero-dot-four 35s infinite;
}

body.ems-store-home .ems-hp-hero-slider:not(.is-interacted) .ems-hp-hero__dots button:nth-child(5) {
	animation: ems-hero-dot-five 35s infinite;
}

@keyframes ems-hero-dot-one {
	0%, 16% { background: #fff; }
	20%, 96% { background: rgba(255, 255, 255, .48); }
	100% { background: #fff; }
}

@keyframes ems-hero-dot-two {
	0%, 16% { background: rgba(255, 255, 255, .48); }
	20%, 36% { background: #fff; }
	40%, 100% { background: rgba(255, 255, 255, .48); }
}

@keyframes ems-hero-dot-three {
	0%, 36% { background: rgba(255, 255, 255, .48); }
	40%, 56% { background: #fff; }
	60%, 100% { background: rgba(255, 255, 255, .48); }
}

@keyframes ems-hero-dot-four {
	0%, 56% { background: rgba(255, 255, 255, .48); }
	60%, 76% { background: #fff; }
	80%, 100% { background: rgba(255, 255, 255, .48); }
}

@keyframes ems-hero-dot-five {
	0%, 76% { background: rgba(255, 255, 255, .48); }
	80%, 96% { background: #fff; }
	100% { background: rgba(255, 255, 255, .48); }
}

@media (max-width: 1024px) {
	body.ems-store-home .ems-hp-hero.ems-hp-hero-slider,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__track,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__slide {
		min-height: 700px;
		height: 700px;
	}
}

@media (max-width: 900px) {
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h1,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h2,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content p {
		max-width: calc(100% - 120px) !important;
	}
}

@media (max-width: 560px) {
	body.ems-store-home .ems-hp-hero.ems-hp-hero-slider,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__track,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__slide {
		min-height: 620px;
		height: 620px;
	}

	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h1,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content h2,
	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__content p {
		max-width: calc(100% - 96px) !important;
	}

	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow {
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
		max-width: 38px;
		max-height: 38px;
		font-size: 28px;
	}

	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow--prev {
		left: 10px;
	}

	body.ems-store-home .ems-hp-hero-slider .ems-hp-hero__arrow--next {
		right: 10px;
	}
}
