.ris-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: 8px;
	line-height: 0;
}

.ris-slider-track {
	position: relative;
	width: 100%;
}

.ris-slide {
	display: none;
	position: relative;
	width: 100%;
}

.ris-slide.ris-active {
	display: block;
	animation: ris-fade .6s ease;
}

@keyframes ris-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.ris-slide picture,
.ris-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.ris-slide a {
	display: block;
	line-height: 0;
}

.ris-slide-caption {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	padding: 12px 20px;
	font-size: 16px;
	line-height: 1.4;
}

.ris-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, .4);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: background .3s;
	padding: 0;
}

.ris-arrow:hover {
	background: rgba(0, 0, 0, .7);
}

.ris-prev {
	left: 15px;
}

.ris-next {
	right: 15px;
}

.ris-dots {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 5;
}

.ris-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	cursor: pointer;
	transition: background .3s;
}

.ris-dot.ris-active {
	background: #fff;
}

@media (max-width: 767px) {
	.ris-arrow {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
	.ris-slide-caption {
		font-size: 13px;
		padding: 8px 12px;
	}
}
