
.timeline-article-content {
    max-width: 900px;
    margin: 60px auto;
}

.timeline-badge {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-right: 15px;
}


.live-indicator {
    color: #ff0000;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    animation: pulse 2s infinite;
}

.live-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff0000;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.timeline-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 900px) {
    .timeline-container { grid-template-columns: 1fr; }
}

.timeline-sidebar {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

/* ==========================================================================
   Timeline listing page (template-timeline.php)
   ========================================================================== */

.timeline-page-header {
    margin-bottom: var(--s-12);
    padding-bottom: var(--s-8);
    border-bottom: 2px solid var(--grey-medium);
}

.timeline-page-title {
    font-family: var(--font-headings);
    font-size: var(--fs-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: var(--s-3);
}

.timeline-page-subtitle {
    font-size: var(--fs-md);
    color: #888;
    font-weight: 600;
}

/* Feed: vertical line */
.timeline-feed {
    position: relative;
    padding-left: var(--s-10);
}

.timeline-feed::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--grey-medium);
}

/* Each card */
.timeline-feed-card {
    position: relative;
    display: flex;
    gap: var(--s-8);
    margin-bottom: var(--s-10);
    padding-bottom: var(--s-10);
    border-bottom: 1px solid var(--grey-medium);
}

.timeline-feed-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Dot on the line */
.timeline-feed-marker {
    position: absolute;
    left: calc(-1 * var(--s-10));
    top: 4px;
    width: 24px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-feed-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--bg-color);
    outline: 2px solid var(--primary-color);
}

/* Body */
.timeline-feed-body {
    flex: 1;
    min-width: 0;
}

.timeline-feed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
}

.timeline-feed-dates {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: #888;
}

.timeline-feed-title {
    font-family: var(--font-headings);
    font-size: var(--fs-2xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: var(--s-4);
}

.timeline-feed-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.timeline-feed-title a:hover {
    color: var(--primary-color);
}

.timeline-feed-excerpt {
    font-size: var(--fs-md);
    color: #555;
    line-height: 1.65;
    margin-bottom: var(--s-5);
}

.timeline-feed-excerpt p { margin: 0; }

.timeline-feed-cta {
    font-family: var(--font-headings);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.timeline-feed-cta:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .timeline-feed {
        padding-left: var(--s-8);
    }

    .timeline-feed-title {
        font-size: var(--fs-xl);
    }

    .timeline-feed-meta {
        gap: var(--s-2);
    }

    .timeline-feed-dates {
        flex-wrap: wrap;
    }
}
