.la_patum-timeline {
	--la_patum-timeline-line-color: #333333;
	--la_patum-timeline-line-active-color: #ff003c;
	--la_patum-timeline-line-width: 2px;
	--la_patum-timeline-progress: 0%;

	position: relative;
	width: 100%;
}

/* Línea central */
.la_patum-timeline__line {
	position: absolute;
	top: 0;
	left: 50%;
	width: var(--la_patum-timeline-line-width);
	height: var(--la_patum-timeline-line-height, 100%);
	transform: translateX(-50%);
	background-color: var(--la_patum-timeline-line-color);
	border-radius: 999px;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.la_patum-timeline__line-progress {
	display: block;
	width: 100%;
	height: var(--la_patum-timeline-progress, 0px);
	background-color: var(--la_patum-timeline-line-active-color);
	transition: height 1500ms ease;
}

/* Contenedor de items */
.la_patum-timeline__items {
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

/* Item */
.la_patum-timeline__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 24px;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 240ms ease, transform 240ms ease;
}

.la_patum-timeline__item.is-hidden {
	display: none;
}

.la_patum-timeline__item.is-new {
	opacity: 0;
	transform: translateY(12px);
}

/* Laterales */
.la_patum-timeline__side {
	display: flex;
	align-items: center;
}

.la_patum-timeline__side--left {
	justify-content: flex-end;
	text-align: right;
}

.la_patum-timeline__side--right {
	justify-content: flex-start;
	text-align: left;
}

/* Punto central */
.la_patum-timeline__middle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.la_patum-timeline__point {
	display: block;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	border-width: 2px;
	border-style: solid;
	border-color: #333333;
	border-radius: 50%;
	background-color: #ffffff;
	transition:
		background-color 1500ms ease,
		border-color 1500ms ease,
		border-width 1500ms ease,
		transform 1500ms ease;
}

.la_patum-timeline__item.is-visible .la_patum-timeline__point {
	transform: scale(1.15);
}

/* Tarjeta */
.la_patum-timeline__card {
	width: 100%;
	box-sizing: border-box;
}

.la_patum-timeline__card-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.la_patum-timeline__item--left .la_patum-timeline__card-inner {
	flex-direction: row;
}

.la_patum-timeline__item--right .la_patum-timeline__card-inner {
	flex-direction: row-reverse;
}

.la_patum-timeline__text {
	flex: 1 1 auto;
	min-width: 0;
}

/* Imagen */
.la_patum-timeline__image {
	flex: 0 0 auto;
	max-width: 70px;
	height: auto;
	max-width: 100%;
	display: block;
	object-fit: cover;
}

/* Date tag */
.la_patum-timeline__date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* Botón load more */
.la_patum-timeline__load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.la_patum-timeline__load-more {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.la_patum-timeline__load-more.is-hidden {
	display: none;
}

.la_patum-timeline__load-more-icon,
.la_patum-timeline__load-more-icon svg {
	display: inline-flex;
	width: 1em;
	height: 1em;
}

/* Sentinel para infinite scroll */
.la_patum-timeline__sentinel {
	display: block;
	width: 100%;
	height: 1px;
}

/* Mobile */
@media (max-width: 767px) {

	.la_patum-timeline__card-inner,
	.la_patum-timeline__item--left .la_patum-timeline__card-inner,
	.la_patum-timeline__item--right .la_patum-timeline__card-inner {
		flex-direction: column-reverse;
        align-items: center;
	}
	.la_patum-timeline__side--right,
	.la_patum-timeline__side--left{
		text-align: center;
	}
}