: relative;
        }

        /* Add a fade-out effect for overflowing tags */
        .card-tags::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1.5rem;
            background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.9));
            pointer-events: none; /* Allow clicks to pass through */
        }

        .dark .card-tags::after {
            background: linear-gradient(