/* CTLG Team Timeline 1.0 */

.team-timeline-section{
    margin:28px 0;
    padding:25px;
    border:1px solid #2b333d;
    border-radius:24px;
    background:
        radial-gradient(circle at 100% 0,rgba(231,177,51,.10),transparent 30%),
        linear-gradient(145deg,#151a20,#0a0d11);
    box-shadow:0 18px 54px rgba(0,0,0,.24);
}

.team-timeline-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.team-timeline-heading h2{
    margin:4px 0 7px;
}

.team-timeline-heading p:last-child{
    margin:0;
    color:#8e99a4;
}

.team-timeline-heading>i{
    color:#e7b133;
    font-size:27px;
}

.team-timeline-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:18px 0 22px;
}

.team-timeline-kpis article{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:88px;
    padding:14px;
    border:1px solid #29313a;
    border-radius:14px;
    background:#090d12;
}

.team-timeline-kpis i{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:rgba(231,177,51,.10);
    color:#e7b133;
}

.team-timeline-kpis strong{
    font-size:21px;
}

.team-timeline-kpis span{
    color:#7f8994;
    font-size:10px;
}

.team-timeline{
    position:relative;
    display:grid;
    gap:14px;
}

.team-timeline:before{
    content:"";
    position:absolute;
    top:18px;
    bottom:18px;
    left:24px;
    width:2px;
    background:linear-gradient(#e7b133,#3a424c);
}

.team-timeline>article{
    position:relative;
    display:grid;
    grid-template-columns:50px minmax(0,1fr);
    gap:15px;
}

.team-timeline-marker{
    position:relative;
    z-index:2;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border:1px solid #3a434d;
    border-radius:15px;
    background:#090d12;
    color:#e7b133;
    box-shadow:0 8px 22px rgba(0,0,0,.28);
}

.team-timeline>article.is-championship .team-timeline-marker{
    border-color:rgba(231,177,51,.55);
    background:rgba(231,177,51,.12);
}

.team-timeline>article.is-first_win .team-timeline-marker{
    color:#6fdfa0;
    border-color:rgba(66,207,131,.36);
}

.team-timeline>article.is-rating_milestone .team-timeline-marker{
    color:#c8a7ff;
    border-color:rgba(181,143,255,.38);
}

.team-timeline-card{
    padding:16px;
    border:1px solid #29313a;
    border-radius:16px;
    background:#090d12;
}

.team-timeline-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}

.team-timeline-card-head>div{
    display:grid;
    gap:4px;
}

.team-timeline-card-head span{
    color:#7f8994;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.team-timeline-card h3{
    margin:0;
    font-size:17px;
}

.team-timeline-card p{
    margin:9px 0 0;
    color:#98a3ad;
    line-height:1.55;
}

.team-timeline-card-head>a{
    flex:0 0 36px;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid #303944;
    border-radius:10px;
    color:#dce1e6;
    text-decoration:none;
}

.team-timeline-card-head>a:hover{
    color:#efc663;
    border-color:rgba(231,177,51,.5);
}

.team-timeline-highlight{
    display:inline-flex;
    margin-top:11px;
    padding:6px 9px;
    border:1px solid rgba(231,177,51,.32);
    border-radius:999px;
    background:rgba(231,177,51,.08);
    color:#efc663;
    font-size:10px;
}

@media(max-width:850px){
    .team-timeline-kpis{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .team-timeline-section{
        padding:18px;
    }

    .team-timeline-heading{
        flex-direction:column;
    }

    .team-timeline-kpis{
        grid-template-columns:1fr;
    }

    .team-timeline:before{
        left:18px;
    }

    .team-timeline>article{
        grid-template-columns:38px minmax(0,1fr);
        gap:11px;
    }

    .team-timeline-marker{
        width:38px;
        height:38px;
        border-radius:12px;
    }

    .team-timeline-card{
        padding:14px;
    }
}


/* CTLG Team Timeline 1.1 – Integration in das bestehende Teamprofil */
.team-profile-card-v2.team-timeline-section{
    margin:0;
    padding:24px;
    border-radius:22px;
}

.team-profile-card-v2.team-timeline-section .team-timeline-heading>div>span{
    display:block;
    margin-bottom:4px;
    color:#c99b35;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.team-profile-card-v2.team-timeline-section .team-timeline-heading h2{
    margin:0 0 7px;
}

.team-profile-card-v2.team-timeline-section .team-timeline-heading p{
    margin:0;
}

@media(max-width:560px){
    .team-profile-card-v2.team-timeline-section{
        padding:18px;
    }
}
