
/* ----------------------------------------------------
   Horizontal Timeline Widget CSS (Aikaizen Team)
------------------------------------------------------- */
.akz-timeline-wrapper {
	overflow: hidden;
	width: 100%;
	height: 100vh;
	position: relative;
	background: #F7F3E3;
	z-index: 10;
}
.akz-timeline-container {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	height: 100%;
	width: max-content;
	/* Start the first item with a padding so it's not glued to the left edge */
	padding-left: clamp(2rem, 5vw, 5rem);
	position: relative;
}

/* The long continuous horizontal line */
.akz-timeline-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(28, 42, 34, 0.1); /* Ink / 10% */
	z-index: 0;
	transform: translateY(-50%);
}

.akz-timeline-item {
	width: clamp(300px, 85vw, 420px);
	flex-shrink: 0;
	position: relative;
	height: 75vh;
	display: flex;
	align-items: center;
	margin-right: 2rem;
}

/* The dot on the line */
.akz-timeline-dot {
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	background: #C5A253; /* Gold */
	border-radius: 50%;
	transform: translateY(-50%);
	z-index: 20;
	box-shadow: 0 0 15px rgba(197, 162, 83, 0.6);
}

/* Container for Image, Title, Desc */
.akz-timeline-content {
	position: absolute;
	left: 0;
	right: 0;
	padding: 0 1.5rem;
}

/* Position Top (Above the line) */
.akz-tl-top {
	bottom: 50%;
	padding-bottom: 2rem;
}
.akz-tl-top .akz-tl-header {
	align-items: flex-end;
}

/* Position Bottom (Below the line) */
.akz-tl-bottom {
	top: 50%;
	padding-top: 2rem;
}
.akz-tl-bottom .akz-tl-header {
	align-items: flex-start;
}

.akz-tl-header {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

/* Portrait Image Wrapper */
.akz-tl-img-wrap {
	height: 120px;
	width: auto;
	flex-shrink: 0;
	display: flex;
	border-radius: 12px 12px 12px 2px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.akz-tl-img-wrap img {
	height: 100%;
	width: auto;
	object-fit: cover;
	display: block;
}

/* Year & Title */
.akz-tl-titles {
	display: flex;
	flex-direction: column;
}
.akz-tl-year {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	color: #C5A253; /* Gold */
	line-height: 1;
	font-weight: 400;
	letter-spacing: -1px;
}
.akz-tl-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: #174D36; /* Green */
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-weight: 500;
	line-height: 1.2;
}
.akz-tl-desc {
	font-size: 0.95rem;
	color: rgba(28, 42, 34, 0.7);
	margin: 0;
	line-height: 1.6;
}

/* Final Video Slide */
.akz-timeline-final {
	width: 100vw;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2rem;
}
.akz-tl-final-in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4rem;
	width: 100%;
	max-width: 1100px;
}
.akz-tl-final-text {
	flex: 1;
}
.akz-tl-badge {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #C5A253;
	font-weight: 700;
	display: block;
	margin-bottom: 1.5rem;
}
.akz-tl-final-h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: #174D36;
}
.akz-tl-final-p {
	font-size: 1.1rem;
	opacity: 0.8;
	color: #1c2a22;
}
.akz-tl-video-wrap {
	flex: 1;
	max-width: 500px;
	aspect-ratio: 16/9;
	background: #1c2a22;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.akz-tl-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.akz-timeline-spacer {
    width: 2rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
	.akz-tl-final-in { flex-direction: column-reverse; text-align: center; gap: 2rem; }
	.akz-timeline-item { width: clamp(280px, 85vw, 320px); }
}
