    .listing-section {
        background-color: #f8f9fa;
        min-height: 70vh;
    }
    .listing-filter-bar .form-control,
    .listing-filter-bar .form-select,
    .listing-filter-bar .input-group-text {
        min-height: 44px;
        border-color: #dee2e6;
    }
    .listing-filter-bar .form-control:focus,
    .listing-filter-bar .form-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
        border-color: #86b7fe;
    }
    .quiz-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        overflow: hidden;
        background: #ffffff;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .quiz-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }
    .quiz-thumb {
        width: 100%;
        height: 180px;
        object-fit: cover;
        flex-shrink: 0;
        background-color: #e9ecef;
        display: block;
    }
    .quiz-card .card-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        padding: 1.25rem;
    }
    .quiz-title {
        font-size: 1.08rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
        color: #111827;
    }
    .quiz-summary {
        flex: 1 1 auto;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .quiz-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        margin-bottom: 1rem;
        border-top: 1px solid #eef0f2;
        font-size: 0.85rem;
    }
    .quiz-cta {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        border-radius: 8px;
    }
    .badge-soft-primary {
        background-color: #e7f1ff;
        color: #0d6efd;
        font-weight: 600;
    }
    #quizCategory {
        background-color: #fff;
        color: #1e293b; /* dark slate/charcoal for strong contrast on #fff */
        padding-left: 12px;
        color:#6c757d;
    }


