 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            color: #e2e8f0;
            background: radial-gradient(circle, rgba(21, 53, 158, 1) 1%, rgba(0, 0, 0, 1) 55%);
            background-attachment: fixed;
            line-height: 1.5;
            padding: 40px 20px;
        }

        .dashboard-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ==========================================================================
           2. Header & Premium Tag Cloud
           ========================================================================== */
        .blog-header {
            font-style: normal;
            background: linear-gradient(110deg, #f97316 10%, #fbbf24 90%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
            font-size: 2.8rem;
            letter-spacing: -0.03em;
            margin-bottom: 25px;
        }

        .filter-tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 35px;
        }

        .tag-pill {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #94a3b8;
            padding: 6px 14px;
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: 6px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .tag-pill:hover, .tag-pill.active {
            background: rgba(249, 115, 22, 0.15);
            border-color: #f97316;
            color: #fff;
        }

        .results-counter {
            font-size: 0.95rem;
            color: #38bdf8;
            font-weight: 600;
            margin-bottom: 25px;
            letter-spacing: 0.5px;
        }

        /* ==========================================================================
           3. Modern 4-Column Card Grid (Overlay Text Style)
           ========================================================================== */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .blog-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 4 / 5; /* Replicates the proportional height in the layout */
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            border-color: rgba(251, 191, 36, 0.4);
        }

        .card-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Premium Shadow Dark Vignette Layer */
        .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 20px;
        }

        .card-title {
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 700;
            line-height: 1.35;
            letter-spacing: -0.01em;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* Custom Premium Badge Component */
        .premium-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #ec4899, #f43f5e);
            color: white;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 4px 10px;
            border-radius: 4px;
            letter-spacing: 1px;
            box-shadow: 0 4px 10px rgba(236, 72, 153, 0.4);
        }

        /* ==========================================================================
           4. Responsive Breakdown Queries
           ========================================================================== */
        @media (max-width: 1024px) {
            .blog-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .blog-header { font-size: 2.3rem; }
        }

        @media (max-width: 768px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }

        @media (max-width: 480px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
        }

        .blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Makes the wrapper fully expand to contain the card bounds */
    outline: none;
}