.ewe-hero-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.ewe-hero-slider__slides {
	position: relative;
	width: 100%;
	min-height: calc(100svh - 76px);
}

.ewe-hero-slider__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.ewe-hero-slider__slide--active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.ewe-hero-slider__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(10, 10, 10, 0.45);
}

.ewe-hero-slider__container {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 60px;
}

.ewe-hero-slider__content {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 720px;
	color: #fff;
}

.ewe-hero-slider__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #e63946;
	margin: 0 0 20px;
}

.ewe-hero-slider__label-dash {
	display: inline-block;
	width: 28px;
	height: 2px;
	background-color: #e63946;
}

.ewe-hero-slider__title {
	font-size: 56px;
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 24px;
	color: #fff;
}

.ewe-hero-slider__description {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 36px;
	max-width: 560px;
}

.ewe-hero-slider__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ewe-hero-slider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	white-space: nowrap;
}

.ewe-hero-slider__btn--primary {
	background-color: #e63946;
	border-color: #e63946;
	color: #fff;
}

.ewe-hero-slider__btn--primary:hover {
	background-color: #c92c38;
	border-color: #c92c38;
	color: #fff;
}

.ewe-hero-slider__btn--secondary {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.ewe-hero-slider__btn--secondary:hover {
	background-color: #fff;
	border-color: #fff;
	color: #111;
}

.ewe-hero-slider__btn-icon {
	flex-shrink: 0;
}

.ewe-hero-slider__nav {
	position: absolute;
	right: 40px;
	bottom: 30px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 20px;
}

.ewe-hero-slider__counter {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
}

.ewe-hero-slider__counter-current {
	color: #fff;
}

.ewe-hero-slider__counter-sep,
.ewe-hero-slider__counter-total {
	color: rgba(255, 255, 255, 0.6);
}

.ewe-hero-slider__arrows {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ewe-hero-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 0;
	background-color: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ewe-hero-slider__arrow:hover {
	background-color: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

.ewe-hero-slider__arrow--next {
	background-color: #111;
	border-color: #111;
}

.ewe-hero-slider__arrow--next:hover {
	background-color: #000;
	border-color: #000;
}

.ewe-hero-slider__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	gap: 4px;
	padding: 0 40px;
}

.ewe-hero-slider__progress-item {
	position: relative;
	flex: 1;
	height: 3px;
	background-color: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.ewe-hero-slider__progress-item::before {
	content: '';
	position: absolute;
	inset: 0;
	width: 0;
	background-color: #e63946;
}

.ewe-hero-slider__progress-item.is-done::before {
	width: 100%;
}

.ewe-hero-slider__progress-item.is-active::before {
	width: 100%;
}

.ewe-hero-slider--autoplay .ewe-hero-slider__progress-item.is-active::before {
	width: 0;
	animation: ewe-hero-progress-fill var(--ewe-progress-duration, 5000ms) linear forwards;
}

.ewe-hero-slider--autoplay.ewe-hero-slider--paused .ewe-hero-slider__progress-item.is-active::before {
	animation-play-state: paused;
}

@keyframes ewe-hero-progress-fill {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

@media (max-width: 1024px) {
	.ewe-hero-slider__title {
		font-size: 42px;
	}
}

@media (max-width: 767px) {
	.ewe-hero-slider__slides {
		min-height: calc(100svh - 60px);
	}

	.ewe-hero-slider__container {
		padding: 0 24px;
	}

	.ewe-hero-slider__progress {
		padding: 0 24px;
	}

	.ewe-hero-slider__title {
		font-size: 30px;
	}

	.ewe-hero-slider__description {
		font-size: 15px;
	}

	.ewe-hero-slider__nav {
		right: 20px;
		bottom: 20px;
	}

	.ewe-hero-slider__arrow {
		width: 38px;
		height: 38px;
	}
}
