/*======================================================================

MANSURGE COMPONENT
MC-14

TIMELINE

Version : 1.0

======================================================================*/

.ms-timeline{

    position:relative;

    overflow:hidden;

    background:var(--ms-bg);

    padding:140px 0;

}

.ms-timeline::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

    radial-gradient(

        circle at top left,

        rgba(197,165,114,.05),

        transparent 60%

    ),

    radial-gradient(

        circle at bottom right,

        rgba(197,165,114,.04),

        transparent 55%

    );

}

.ms-timeline-layout{

    position:relative;

    z-index:2;

}

.ms-timeline-header{

    max-width:760px;

    margin:0 auto 96px;

    text-align:center;

}

.ms-timeline-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    margin-bottom:30px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:14px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ms-timeline-title{

    color:var(--ms-white);

    font-size:clamp(36px,5vw,56px);

    font-weight:700;

    line-height:1.08;

    letter-spacing:-.02em;

    margin-bottom:28px;

}

.ms-timeline-description{

    max-width:720px;

    margin:0 auto;

    color:var(--ms-text-soft);

    font-size:clamp(16px,2vw,19px);

    line-height:1.9;

}

.ms-timeline-list{

    position:relative;

    display:flex;

    flex-direction:column;

    gap:44px;

    max-width:980px;

    margin:0 auto;

}

.ms-timeline-list::before{

    content:"";

    position:absolute;

    top:0;

    bottom:0;

    left:32px;

    width:2px;

    background:rgba(197,165,114,.18);

}

.ms-timeline-item{

    position:relative;

    display:grid;

    grid-template-columns:64px 1fr;

    gap:34px;

    align-items:start;

}

.ms-timeline-marker{

    position:relative;

    z-index:2;

    width:64px;

    height:64px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--ms-surface);

    border:1px solid rgba(197,165,114,.22);

    color:var(--ms-gold);

    font-size:15px;

    font-weight:700;

}

.ms-timeline-card{

    display:flex;

    flex-direction:column;

    background:var(--ms-surface);

    border:1px solid var(--ms-border);

    border-radius:28px;

    padding:34px;

    transition:

        transform .40s ease,

        border-color .40s ease,

        box-shadow .40s ease;

}

.ms-timeline-card:hover{

    transform:translateY(-6px);

    border-color:rgba(197,165,114,.30);

    box-shadow:0 22px 48px rgba(0,0,0,.28);

}


.ms-timeline-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    margin-bottom:22px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:13px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

    align-self:flex-start;

}

.ms-timeline-card-title{

    color:var(--ms-white);

    font-size:clamp(24px,2vw,30px);

    font-weight:700;

    line-height:1.22;

    margin-bottom:18px;

}

.ms-timeline-card-description{

    color:var(--ms-text-soft);

    font-size:clamp(16px,1.7vw,18px);

    line-height:1.85;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:4;

    overflow:hidden;

    min-height:calc(1.85em * 4);

    margin-bottom:28px;

}

.ms-timeline-meta{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    padding-top:18px;

    margin-bottom:24px;

    border-top:1px solid rgba(197,165,114,.10);

}

.ms-timeline-date{

    color:var(--ms-text-soft);

    font-size:14px;

    font-weight:500;

}

.ms-timeline-status{

    color:var(--ms-gold);

    font-size:14px;

    font-weight:600;

    letter-spacing:.06em;

    text-transform:uppercase;

}

.ms-timeline-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    align-self:flex-start;

    margin-top:auto;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        color .30s ease,

        transform .30s ease;

}

.ms-timeline-link svg{

    width:16px;

    height:16px;

    transition:transform .30s ease;

}

.ms-timeline-link:hover{

    color:var(--ms-white);

}

.ms-timeline-link:hover svg{

    transform:translateX(5px);

}

.ms-timeline-number{

    position:absolute;

    top:18px;

    right:18px;

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(13,17,17,.78);

    border:1px solid rgba(197,165,114,.18);

    backdrop-filter:blur(8px);

    color:var(--ms-gold);

    font-size:14px;

    font-weight:700;

}

.ms-timeline-footer{

    display:flex;

    justify-content:center;

    margin-top:80px;

}

.ms-timeline-all{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 36px;

    border-radius:999px;

    border:1px solid rgba(197,165,114,.20);

    background:transparent;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        background .35s ease,

        border-color .35s ease,

        color .35s ease,

        transform .35s ease;

}

.ms-timeline-all:hover{

    background:rgba(197,165,114,.08);

    border-color:rgba(197,165,114,.35);

    color:var(--ms-white);

    transform:translateY(-2px);

}
