/**
 * IPS hero slider — замена Nivo (без jQuery)
 * Автопрокрутка + навигация точками
 */
.ips-hero-slider {
	position: relative;
	width: 100%;
	height: 313px;
	overflow: hidden;
	background: #f5f5f5;
}

.ips-hero-slider__slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.ips-hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.ips-hero-slider__slide.is-active {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
}

.ips-hero-slider__slide picture,
.ips-hero-slider__slide img {
	display: block;
	width: 100%;
	height: 313px;
	object-fit: cover;
}

.ips-hero-slider__slide--link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* как .nivo-controlNav в nivo.css */
.ips-hero-slider__nav {
	position: absolute;
	right: 55px;
	bottom: 0;
	z-index: 3;
	display: flex;
	gap: 4px;
}

.ips-hero-slider__dot {
	float: left;
	display: block;
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
	padding: 0;
	border: 0;
	font-size: 0;
	cursor: pointer;
	background: url(/img/icon/slider-bull-24.png) 3px 3px no-repeat;
}

.ips-hero-slider__dot.is-active,
.ips-hero-slider__dot:hover {
	background-position: -21px 3px;
}

@media (prefers-reduced-motion: reduce) {
	.ips-hero-slider__slide {
		transition: none;
	}
}
