/**
 * Hero slider — Design.html hero-carousel
 */

.noureldeing-hero-slider {
	position: relative;
	width: 100%;
	background: var(--nd-dark-bg);
	overflow: hidden;
}

.noureldeing-hero-slider__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.noureldeing-hero-slider__track {
	display: flex;
	direction: ltr;
	width: 100%;
	transition: transform 0.5s ease;
	will-change: transform;
}

.noureldeing-hero-slider__slide {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	flex-shrink: 0;
	overflow: hidden;
}

.noureldeing-hero-slider__link {
	display: block;
	line-height: 0;
}

.noureldeing-hero-slider__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.noureldeing-hero-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	backdrop-filter: blur(2px);
	transition: background 0.2s;
}

.noureldeing-hero-slider__arrow:hover,
.noureldeing-hero-slider__arrow:focus {
	background: rgba(0, 0, 0, 0.6);
	outline: none;
}

.noureldeing-hero-slider__arrow--prev {
	right: 18px;
}

.noureldeing-hero-slider__arrow--next {
	left: 18px;
}

.noureldeing-hero-slider__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	z-index: 5;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.noureldeing-hero-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: width 0.2s, background 0.2s, border-radius 0.2s;
}

.noureldeing-hero-slider__dot.is-active {
	width: 22px;
	border-radius: 5px;
	background: var(--nd-gold);
}

@media (max-width: 640px) {
	.noureldeing-hero-slider__arrow {
		width: 34px;
		height: 34px;
		font-size: 18px;
	}

	.noureldeing-hero-slider__arrow--prev {
		right: 10px;
	}

	.noureldeing-hero-slider__arrow--next {
		left: 10px;
	}
}
