/* =============================================
 * Timeline Addon — Widget Styles
 * Prefix: wa-2b4527c4
 * ============================================= */

.wa-2b4527c4-wrapper {
	position: relative;
	width: 100%;
	padding: 20px 0 50px;
	overflow: visible;
}

/* Swiper container */
.wa-2b4527c4-swiper {
	position: relative;
	overflow: hidden;
	padding-bottom: 10px;
}

/* =============================================
 * Slide Structure
 * ============================================= */
.wa-2b4527c4-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding-bottom: 0;
}

/* Card wrapper — holds card + connector */
.wa-2b4527c4-card-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	position: relative;
}

/* Card */
.wa-2b4527c4-card {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	z-index: 2;
}

.wa-2b4527c4-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Connector line from card to dot */
.wa-2b4527c4-connector {
	width: 2px;
	height: 30px;
	background: #E0E0E0;
	position: relative;
	z-index: 1;
}

/* Dot */
.wa-2b4527c4-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #CCCCCC;
	border: 3px solid #CCCCCC;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 3;
	transition: all 0.3s ease;
	box-shadow: 0 0 0 4px rgba(108, 60, 225, 0);
	flex-shrink: 0;
}

.swiper-slide-active .wa-2b4527c4-dot {
	background-color: #6C3CE1;
	border-color: #6C3CE1;
	box-shadow: 0 0 0 5px rgba(108, 60, 225, 0.2);
}

.wa-2b4527c4-dot-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 10px;
	line-height: 1;
}

.wa-2b4527c4-dot-icon svg {
	width: 10px;
	height: 10px;
	fill: #fff;
}

/* Active icon — keep icon visible, just change colors */
.swiper-slide-active .wa-2b4527c4-dot-icon {
	color: #fff;
}

.swiper-slide-active .wa-2b4527c4-dot-icon svg {
	fill: #fff;
}

/* =============================================
 * Timeline Horizontal Line — centered on dots
 * ============================================= */
.wa-2b4527c4-line-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 0;
	height: 0;
	display: flex;
	align-items: center;
	pointer-events: none;
}

.wa-2b4527c4-line {
	width: 100%;
	height: 3px;
	background-color: #E0E0E0;
	border-radius: 2px;
}

/* =============================================
 * Content Position Variants
 * ============================================= */

/* Above (default) — card on top, dot at bottom */
.wa-2b4527c4-pos-above .wa-2b4527c4-slide {
	flex-direction: column;
	justify-content: flex-end;
}

/* Line centered on dot for above position */
.wa-2b4527c4-pos-above .wa-2b4527c4-line-wrapper {
	bottom: 0;
	top: auto;
	height: 0;
	transform: translateY(-50%);
}

/* Below — dot on top, card at bottom */
.wa-2b4527c4-pos-below .wa-2b4527c4-slide {
	flex-direction: column-reverse;
	justify-content: flex-start;
}

.wa-2b4527c4-pos-below .wa-2b4527c4-card-wrapper {
	flex-direction: column-reverse;
}

.wa-2b4527c4-pos-below .wa-2b4527c4-line-wrapper {
	bottom: auto;
	top: 0;
	height: 0;
	transform: translateY(50%);
}

/* Alternating */
.wa-2b4527c4-pos-alternating .wa-2b4527c4-swiper {
	padding-top: 0;
	padding-bottom: 0;
}

.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide {
	min-height: 380px;
	justify-content: center;
}

.wa-2b4527c4-pos-alternating .wa-2b4527c4-line-wrapper {
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
}

.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-above {
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 50%;
}

.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-below {
	flex-direction: column-reverse;
	justify-content: flex-start;
	align-items: center;
	padding-top: 50%;
}

.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-below .wa-2b4527c4-card-wrapper {
	flex-direction: column-reverse;
}

/* =============================================
 * Typography & Content
 * ============================================= */
.wa-2b4527c4-date {
	font-size: 14px;
	font-weight: 700;
	color: #6C3CE1;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.wa-2b4527c4-title {
	font-size: 18px;
	font-weight: 600;
	color: #1A1A2E;
	margin: 0 0 8px;
	line-height: 1.3;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.wa-2b4527c4-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 16px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* =============================================
 * Button
 * ============================================= */
.wa-2b4527c4-btn {
	display: inline-block;
	padding: 8px 20px;
	background-color: #6C3CE1;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	line-height: 1.4;
}

.wa-2b4527c4-btn:hover {
	background-color: #5528C8;
	color: #fff;
	transform: translateY(-1px);
}

/* =============================================
 * Navigation Arrows
 * ============================================= */
.wa-2b4527c4-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #6C3CE1;
	border: 2px solid #6C3CE1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: all 0.3s ease;
	padding: 0;
	line-height: 1;
	outline: none;
}

.wa-2b4527c4-arrow:hover {
	background: #6C3CE1;
	color: #fff;
}

.wa-2b4527c4-arrow:focus-visible {
	box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.4);
}

.wa-2b4527c4-arrow-prev {
	left: -20px;
}

.wa-2b4527c4-arrow-next {
	right: -20px;
}

.wa-2b4527c4-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* =============================================
 * Pagination Dots
 * ============================================= */
.wa-2b4527c4-pagination {
	text-align: center;
	margin-top: 24px;
	position: relative;
	z-index: 5;
}

.wa-2b4527c4-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #CCCCCC;
	opacity: 1;
	margin: 0 5px;
	transition: all 0.3s ease;
	border-radius: 50%;
}

.wa-2b4527c4-pagination .swiper-pagination-bullet-active {
	background: #6C3CE1;
	transform: scale(1.3);
}

/* =============================================
 * Responsive
 * ============================================= */
@media (max-width: 767px) {
	.wa-2b4527c4-arrow-prev {
		left: -5px;
	}
	.wa-2b4527c4-arrow-next {
		right: -5px;
	}
	.wa-2b4527c4-arrow {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}
	.wa-2b4527c4-card {
		padding: 16px;
	}
	.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide {
		min-height: auto;
	}
	.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-above,
	.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-below {
		padding-top: 0;
		padding-bottom: 0;
		flex-direction: column;
		justify-content: flex-end;
	}
	.wa-2b4527c4-pos-alternating .wa-2b4527c4-slide.wa-2b4527c4-below .wa-2b4527c4-card-wrapper {
		flex-direction: column;
	}
	.wa-2b4527c4-pos-alternating .wa-2b4527c4-line-wrapper {
		top: auto;
		bottom: 0;
		transform: translateY(-50%);
	}
}

/* =============================================
 * Focus & Accessibility
 * ============================================= */
.wa-2b4527c4-btn:focus-visible {
	outline: 2px solid #6C3CE1;
	outline-offset: 2px;
}

.wa-2b4527c4-dot:focus-visible {
	box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.4);
}

/* Active slide card highlight */
.swiper-slide-active .wa-2b4527c4-card {
	box-shadow: 0 6px 24px rgba(108, 60, 225, 0.15);
}
