/* Explain: Styles for a consistent vertical timeline component. */
/* Shared vertical timeline — the speaking journey and the record of past engagements read as one story. */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 1.5rem;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    position: absolute;
    top: 2.75rem;
    bottom: 0;
    left: 1.375rem;
    width: 2px;
    content: "";
    background-color: var(--border-color);
    transform: translateX(-1px);
}

.timeline-item:last-child::before {
    content: none;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    background-color: var(--orange-soft);
    border: 1px solid var(--accent-color);
    font-size: 0.95rem;
}

.timeline-body {
    min-width: 0;
    padding-top: 0.1rem;
}

.timeline-meta {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.timeline-title {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.28;
}

.timeline-context {
    position: relative;
    margin-top: 0.6rem;
    padding-left: 1.15rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.timeline-context::before {
    position: absolute;
    top: 0.52rem;
    left: 0.05rem;
    width: 0.42rem;
    height: 0.42rem;
    content: "";
    background-color: var(--primary-color);
    border-radius: 9999px;
}

.timeline-text {
    max-width: 60ch;
    margin-top: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .timeline-item {
        column-gap: 1.75rem;
    }

    .timeline-title {
        font-size: 1.55rem;
    }
}