:root {
    --timeline-accent: #327ffa;
    --timeline-bg: #343a40;
    --timeline-line: rgba(255,255,255,.08);
    --timeline-divider: rgba(255,255,255,.08);
    --timeline-text: #c4cfde;
    --timeline-muted: #9fb3cb;
}

.rd-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 56px;
    padding-bottom: 20px;
}

.rd-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(50,127,250,.18),
        var(--timeline-line),
        rgba(50,127,250,.18)
    );
}

.rd-timeline.active-border::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--timeline-divider);
}

.rd-timeline.active-border::before {
    bottom: -1px;
}

.rd-timeline-item {
    position: relative;
    padding: 40px 0 46px;
    transition: transform .25s ease;
}

.rd-timeline-item:last-child {
    padding-bottom: 15px;
    border-bottom: none;
}

.rd-timeline-item::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 46px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--timeline-accent);
    border: 4px solid var(--timeline-bg);
    box-shadow:
        0 0 0 5px rgba(50,127,250,.12),
        0 0 18px rgba(50,127,250,.3);
    transition: all .25s ease;
    z-index: 2;
}

.rd-timeline-item.has-divider::after,
.rd-timeline-item .has-divider::after{
    content:"";
    position:absolute;
    left:-36px;
    right:0;
    bottom:0;
    height:1px;
    background:var(--timeline-divider);
}

.timeline-header-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px !important;
}

.timeline-date {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(50,127,250,.12);
    border: 1px solid rgba(50,127,250,.45);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 8px 20px rgba(50,127,250,.12);
    transition: all .25s ease;
    margin: 0 !important;
}

.timeline-meta {
    display: inline-flex !important;
    align-items: center;
    color: var(--timeline-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 !important;
}

.timeline-title {
    margin: 0 0 18px !important;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    transition: color .25s ease;
}

.timeline-content {
    color: var(--timeline-text);
    font-size: 16px;
    line-height: 1.85;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content ul {
    margin: 0;
    padding-left: 1.35rem;
}

.timeline-content li {
    margin-bottom: 12px;
}

.timeline-content li:last-child {
    margin-bottom: 0;
}

.timeline-content li::marker {
    color: var(--timeline-accent);
}

@media (hover: hover) {

    .rd-timeline-item:hover {
        transform: translateX(4px);
    }

    .rd-timeline-item:hover::before {
        transform: scale(1.15);
        box-shadow:
            0 0 0 6px rgba(50,127,250,.16),
            0 0 24px rgba(50,127,250,.45);
    }

    .rd-timeline-item:hover .timeline-title {
        color: var(--timeline-accent);
    }

    .rd-timeline-item:hover .timeline-date {
        background: rgba(50,127,250,.18);
        border-color: var(--timeline-accent);
    }
}

@media (max-width:768px) {

    .rd-timeline {
        padding-left: 38px;
    }

    .rd-timeline::before {
        left: 14px;
    }

    .rd-timeline-item {
        padding: 30px 0 36px;
    }

    .rd-timeline-item::before {
        left: -29px;
        top: 34px;
        width: 12px;
        height: 12px;
        border-width: 3px;
    }

    .timeline-header-group {
        gap: 10px;
        margin-bottom: 16px !important;
    }

    .timeline-date {
        min-height: 36px;
        padding: 0 14px;
        font-size: 12px;
    }

    .timeline-meta {
        font-size: 14px;
    }

    .timeline-title {
        font-size: 18px;
        margin-bottom: 14px !important;
    }

    .timeline-content {
        font-size: 15px;
        line-height: 1.75;
    }
}