.slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 700px; /* Ограничение по высоте */
}

.slider-wrapper {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 100%;
}

.slide {
	flex: 0 0 100%; /* Один слайд на всю ширину */
	height: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Сохраняет пропорции, заполняет контейнер */
	display: block;
}

.label {
	position: absolute;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 100%;
	text-align: center;
	padding: 10px 0;
	font-weight: bold;
	font-size: 1rem;
}

.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	font-size: 1rem;
	width: 48px;
	height: 48px;
	cursor: pointer;
	border-radius: 50%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider-btn.prev {
	left: 10px;
}

.slider-btn.next {
	right: 10px;
}

@media (max-width: 768px) {
	.slider-btn {
		font-size: 1.5rem;
		padding: 0 8px;
	}
}
