.nslider {
	--nslider-height: clamp(480px, 68vh, 760px);
	background: #141414;
	color: #fff;
	height: var(--nslider-height);
	left: 50%;
	margin: 0 0 32px -50vw;
	max-width: 100vw;
	overflow: hidden;
	position: relative;
	touch-action: pan-y;
	user-select: none;
	width: 100vw;
}

.nslider *,
.nslider *::before,
.nslider *::after {
	box-sizing: border-box;
}

.nslider__track,
.nslider__slide {
	height: 100%;
	width: 100%;
}

.nslider__slide {
	align-items: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 520ms ease;
	visibility: hidden;
}

.nslider__slide.is-active {
	opacity: 1;
	position: relative;
	visibility: visible;
	z-index: 1;
}

.nslider__overlay {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.nslider__content {
	margin: 0 auto;
	max-width: 940px;
	padding: 72px 88px;
	position: relative;
	text-align: center;
	width: 100%;
	z-index: 2;
}

.nslider__title {
	color: inherit;
	font-family: inherit;
	font-size: clamp(42px, 5vw, 78px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 18px;
	max-width: 900px;
	text-align: center;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.nslider__description {
	font-size: clamp(18px, 1.7vw, 24px);
	line-height: 1.45;
	margin: 0 auto 30px;
	max-width: 760px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.nslider__description p {
	margin: 0;
}

.nslider__description p + p {
	margin-top: 10px;
}

.nslider__button {
	align-items: center;
	background: #bb3e3e;
	border: 2px solid #bb3e3e;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 18px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	min-width: 176px;
	padding: 14px 26px;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nslider__button:hover,
.nslider__button:focus {
	background: #9f3535;
	border-color: #9f3535;
	color: #fff;
	outline: 2px solid rgba(255, 255, 255, 0.52);
	outline-offset: 3px;
	text-decoration: none;
	transform: translateY(-1px);
}

.nslider__arrow {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 64px;
	justify-content: center;
	line-height: 1;
	opacity: 0.92;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity 160ms ease, transform 160ms ease;
	width: 64px;
	z-index: 3;
}

.nslider__arrow i {
	display: block;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
}

.nslider__arrow:hover,
.nslider__arrow:focus {
	opacity: 1;
	outline: none;
}

.nslider__arrow:hover {
	transform: translateY(-50%) scale(1.05);
}

.nslider__arrow--prev {
	left: 24px;
}

.nslider__arrow--next {
	right: 24px;
}

.nslider__arrow.is-hidden,
.nslider__dots.is-hidden {
	display: none;
}

.nslider__dots {
	align-items: center;
	bottom: 26px;
	display: flex;
	gap: 10px;
	justify-content: center;
	left: 24px;
	position: absolute;
	right: 24px;
	z-index: 3;
}

.nslider__dot {
	appearance: none;
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 10px;
	padding: 0;
	transition: background 160ms ease, width 160ms ease;
	width: 10px;
}

.nslider__dot.is-active,
.nslider__dot:hover,
.nslider__dot:focus {
	background: #fff;
	outline: none;
	width: 28px;
}

@media (max-width: 1180px) {
	.nslider {
		--nslider-height: clamp(430px, 64vh, 620px);
	}

	.nslider__content {
		padding: 64px 76px;
	}
}

@media (max-width: 760px) {
	.nslider {
		--nslider-height: min(680px, 78vh);
		margin-bottom: 24px;
	}

	.nslider__slide {
		align-items: center;
	}

	.nslider__content {
		padding: 70px 22px 76px;
	}

	.nslider__title {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.08;
		margin-bottom: 14px;
	}

	.nslider__description {
		font-size: 17px;
		line-height: 1.5;
		margin-bottom: 22px;
	}

	.nslider__button {
		font-size: 16px;
		min-height: 48px;
		min-width: 150px;
		padding: 12px 20px;
	}

	.nslider__arrow {
		height: 48px;
		width: 48px;
	}

	.nslider__arrow:hover {
		transform: translateY(-50%) scale(1.05);
	}

	.nslider__arrow i {
		font-size: 26px;
	}

	.nslider__arrow--prev {
		left: 16px;
	}

	.nslider__arrow--next {
		right: 16px;
	}

	.nslider__dots {
		bottom: 20px;
	}
}

@media (max-width: 420px) {
	.nslider {
		--nslider-height: 620px;
	}

	.nslider__content {
		padding-left: 18px;
		padding-right: 18px;
	}
}
