/* ==== Stories Blog Post - Carrossel (peek/blur estilo Instagram) ==== */

.sbp-fullpage-wrap {
	background: #0b0b0d;
	padding: 24px 0 60px;
	min-height: 70vh;
}

.sbp-fullpage-back {
	display: inline-block;
	color: #fff;
	opacity: .8;
	text-decoration: none;
	font-size: 14px;
	margin: 0 0 18px 24px;
}

.sbp-fullpage-back:hover {
	opacity: 1;
	color: #fff;
}

.sbp-carousel-viewport {
	position: relative;
	width: 100%;
	height: min(88vh, 780px);
	overflow: hidden;
	display: flex;
	align-items: center;
}

.sbp-carousel-track {
	display: flex;
	align-items: center;
	height: 100%;
	will-change: transform;
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.sbp-carousel-slide {
	position: relative;
	flex: 0 0 auto;
	width: min(360px, 78vw);
	height: 92%;
	margin: 0 16px;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
	transform: scale(.78);
	filter: blur(4px) brightness(.5);
	transition: transform .45s cubic-bezier(.4, 0, .2, 1), filter .45s ease;
	cursor: pointer;
}

.sbp-carousel-slide.sbp-active {
	transform: scale(1);
	filter: none;
	z-index: 5;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
	cursor: default;
}

.sbp-carousel-slide.sbp-active .sbp-story-content {
	max-height: 78%;
}

.sbp-carousel-readlink {
	display: inline-block;
	margin-top: 10px;
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
}

.sbp-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sbp-carousel-arrow:hover {
	background: rgba(255, 255, 255, .25);
}

.sbp-carousel-prev {
	left: 18px;
}

.sbp-carousel-next {
	right: 18px;
}

.sbp-carousel-dots {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 20;
}

.sbp-carousel-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	transition: background .2s ease, transform .2s ease;
}

.sbp-carousel-dot.sbp-active {
	background: #fff;
	transform: scale(1.3);
}

/* ---- Responsivo ---- */
@media (max-width: 900px) {
	.sbp-carousel-slide {
		width: min(320px, 82vw);
		margin: 0 10px;
	}
}

@media (max-width: 680px) {
	.sbp-carousel-viewport {
		height: 90vh;
	}
	.sbp-carousel-slide {
		width: 92vw;
		margin: 0 4px;
		border-radius: 0;
	}
	.sbp-carousel-arrow {
		display: none;
	}
	.sbp-fullpage-back {
		margin-left: 14px;
	}
}
