pub fn title_from_slug(slug: &str) -> String
Convert a slug back to a title (best-effort reverse of slugify).
Replaces hyphens with spaces and capitalizes each word. Handles folder prefixes by using only the last segment.