<?php
if (!defined('ABSPATH')) {
    exit;
}

return [
    // Added 'relative w-full' for container stability.
    // Extended the gap scaling to include lg:gap-10 for breathing room on larger monitors.
    'grid' => 'grid grid-cols-1 lg:grid-cols-3 gap-6 sm:gap-8 lg:gap-10 px-4 sm:px-0 relative w-full',
    
    // Added 'min-w-0' to prevent CSS grid overflow from long text/URLs (critical for 
    // user-generated content) and 'flex flex-col' for inner alignment.
    'main' => 'lg:col-span-2 space-y-6 sm:space-y-8 flex flex-col min-w-0',
    
    // Synced the vertical rhythm to match the main column perfectly.
    'aside' => 'lg:col-span-1 space-y-6 sm:space-y-8',
    
    // Upgraded the sticky behavior with a responsive top offset (sm:top-28), 
    // smooth transitions, and bottom padding (pb-8) to avoid hard-stopping at the footer.
    'aside_inner' => 'sticky top-24 sm:top-28 space-y-6 sm:space-y-8 transition-transform duration-300 ease-in-out pb-8',
];