
            programDiv.style.left = left;
            programDiv.style.width = width;
            
            // Add current program class if it's currently airing
            if (blockStart <= currentTime && blockEnd > currentTime) {
                programDiv.classList.add('current-program');
            }
            
            const title = block.title || 'Untitled';
            const startTime = blockStart.toLocaleTimeString('en-US', { 
                hour: '2-digit', 
                minute: '2-d