/* ---------------------------------------------
   GLOBAL WRAPPER
--------------------------------------------- */
.timeline-wrapper {
    position: relative;
	width:100%;
    max-width: none;
    padding: 40px 0;
    background-color: #fff;
	overflow:hidden;

}

/* ---------------------------------------------
   ZENTRALE LINIE
--------------------------------------------- */
.timeline-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 40%;
    width: 1px;
    background: #D9D9D9;
    height: 100%;
    transform: translateX(-50%);
}

/* ---------------------------------------------
   TIMELINE ITEM
--------------------------------------------- */
.tl-item {
    width: 100%;
    padding: 40px 0;
    position: relative;
}

/* ---------------------------------------------
   LINKS / RECHTS (wie Vorlage)
--------------------------------------------- */
.tl-content {
    width: calc(60% - 40px);
}


/* Standard rechts  */
.timeline-wrapper > .tl-item .tl-content {
    margin-left: 40%;
	padding-left:40px;
    text-align: left;
}
.timeline-wrapper > .tl-item:nth-of-type(5n) .tl-content {
	width: calc(40%);
	margin-left: 0;
    text-align: right;
	padding-right:40px!important;
	display: flex;
    flex-direction: column;
    align-items: end;}



/* ---------------------------------------------
   ICON POSITION
--------------------------------------------- */
.tl-icon-wrap {
    position: absolute;
    left: 40%;
    top: 40px;
    transform: translateX(-50%);
}



/* Wrapper für Kreis + Portrait */
.tl-icon-wrap-internal {
    position: relative;
    width: 35px;
    height: 35px;
    display: inline-block;
}

/* Portrait positionieren */
.tl-icon-extra {
    position: absolute;
    bottom: -45px;  
	left:2px;
    width: 30px;
    height: 30px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
	background-image:url(/wp-content/uploads/2022/12/Portrait_Tim_bw.jpg);

}


/* ---------------------------------------------
   TYPOGRAPHY
--------------------------------------------- */
.tl-date {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: #000;
}

.tl-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.tl-desc {
    line-height: 1.45;
    color: #444;
    max-width: 500px;
}

/* ---------------------------------------------
   IMAGES
--------------------------------------------- */
.tl-image-16x9 {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin: 12px 0 20px 0;
}
.tl-image-wrap {
    position: relative;
    width: 100%;
}


.tl-image-wrap .tl-discover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* --- 3 IMAGES LAYOUT --------------------------------------- */
.tl-type-3images .tl-img-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    position: relative;
}

.tl-type-3images .tl-img-wrap {
    flex: 1;

}

.tl-type-3images .tl-img-sm {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.tl-type-3images .tl-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* Discover button bottom-right */

.tl-btn-overlay {
    background: var(--e-global-color-primary);
    padding: 6px 12px;
    font-size: 18px;
    display: inline-block;
}
a.tl-btn.tl-btn-overlay{
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;


}
.tl-type-3images .tl-discover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* highlight*/
.tl-detail-preview{
		height: 70vh;
		overflow:hidden;
		margin-top:40px;
	}
	.timeline-detail-wrapper{
		background-color: #f8fbff!important;
	}

.timeline-detail-wrapper .detail-two-images, 
.timeline-detail-wrapper .detail-text, 
.timeline-detail-wrapper .detail-quote{
	padding:20px;
}


/* ---------------------------------------------
   RESPONSIVE
--------------------------------------------- */
@media (max-width: 860px) {

    .timeline-wrapper:before {
        left: 20px;
    }

    .tl-item {
        padding-left: 50px;
    }

    .tl-content,
    .tl-item:nth-child(odd) .tl-content,
    .tl-item:nth-child(even) .tl-content {
        width: auto;
        margin: 0;
        text-align: left;
    }

    .tl-icon-wrap {
        left: 20px;
    }
	
}
