
/*
 * Review Slider Widget — Stylesheet
 * File: review-slider-widget/style.css
 * ═══════════════════════════════════════════════════
 * All colours & sizes are also controllable from
 * the Elementor Style tab. Edit the defaults here
 * only if you want a sitewide baseline.
 * ═══════════════════════════════════════════════════
 */
.timeline-slider {
	position: relative;
	height: 650px;
}

.timeline-line {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #fff;
	transform: translateY(-50%);
	z-index: 1;
}

.timeline-slider .swiper {
	overflow: visible;
}

.timeline-slider .swiper-slide {
	position: relative;
	height: 650px;
}

/* CARD */
.timeline-slider .card {
	width: 300px;
	background: #f6f3eb;
	border: 2px solid #d89df8;
	border-radius: 16px;
	padding: 10px 20px;
	text-align: center;
	z-index: 10;
	position: relative;
	min-height: auto !important;
}

.timeline-slider .card h3 {
	font-size: 36px;
	font-weight: 900;
	color: #000;
	margin-bottom: 12px;
}

.timeline-slider .card p {
	font-size: 16px;
	line-height: 1.25;
	text-transform: uppercase;
	color: #111;
}

/* TIMELINE ITEM */
.timeline-item {
	position: relative;
	height: 100%;
}

/* DOT */
.timeline-slider .dot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #d89df8;
	transform: translate(-50%, -50%);
	z-index: 5;
}

/* TOP ITEMS */
.timeline-item.top .card {
	position: absolute;
	top: 150px;
	left: 50%;
	transform: translateX(-50%);
}

.timeline-item.top .connector {
	position: absolute;
	left: 50%;
	top: 245px;
	width: 2px;
	height: calc(50% - 245px);
	background: #d89df8;
	transform: translateX(-50%);
	z-index: 2;
}

/* BOTTOM ITEMS */
.timeline-item.bottom .card {
	position: absolute;
	bottom: 130px;
	left: 50%;
	transform: translateX(-50%);
}

.timeline-item.bottom .connector {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 95px;
	background: #d89df8;
	transform: translateX(-50%);
	z-index: 2;
}

/* RESPONSIVE */
@media (max-width:991px) {
	.timeline-slider, .swiper-slide {
		height: 560px;
	}
	
	.timeline-slider .card {
		width: 300px;
	}
	
	.timeline-slider .card h3 {
		font-size: 25px;
	}
	
	.timeline-slider .card p {
		font-size: 16px;
	}
	
	.timeline-item.top .connector {
		top: 220px;
		height: calc(50% - 220px);
	}
}

@media (max-width:767px) {
	.timeline-slider, .swiper-slide {
		height: 500px;
	}
	
	.timeline-slider .card {
		width: 260px;
		padding: 20px;
	}
	
	.timeline-slider .card h3 {
		font-size: 20px;
	}
	
	.timeline-slider .card p {
		font-size: 14px;
	}
	
	.timeline-slider .timeline-slider .timeline-item.top .card {
		top: 40px;
	}
	
	.timeline-slider .timeline-item.bottom .card {
		bottom: 40px;
	}
	
	.timeline-item.top .connector {
		top: 190px;
		height: calc(50% - 190px);
	}
	
	.dot {
		width: 24px;
		height: 24px;
	}
}
