/* ============================================================
   EXPERIENCE.CSS — Timeline de experiencia (Línea de tiempo limpia)
   ============================================================ */

.timeline {
    position: relative;
    padding-left: 32px;
}

/* Línea vertical: Sólida, sin degradados */
.timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 5px;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 56px;
}

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

/* Nodos: Limpios, sin resplandor azul */
.timeline-node {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--text-secondary); /* Gris, no azul */
    box-shadow: none; /* Quitamos el glow */
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Efecto hover: El nodo se rellena */
.timeline-item:hover .timeline-node {
    border-color: var(--primary-light);
    background: var(--primary-light);
}

/* Fechas: Tipografía Mono, sutil */
.timeline-date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Tarjeta: Sin fondo, dejamos que el texto respire */
.timeline-card {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* Rol: Serif, grande y elegante */
.timeline-role {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.timeline-org {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 640px;
}

/* Tags: Cuadrados, Mono, minimalistas */
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}