@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800;900&display=swap');

/* The question list owns the vertical spacing between cards. Keep this
   scoped to trivia category pages so CTA spacing changes cannot affect the
   rest of the site. */
.questions-list .fq-card-list--comfortable {
    row-gap: 2.5rem;
}

/* Curated artist quizzes: more prominent than ordinary topic filters. */
.music-quiz-packs,
.curated-quiz-packs {
    max-width: 900px;
    margin: 2rem auto 2.5rem;
    /* Keep ?quiz-packs=all#... aligned below the sticky site header. */
    scroll-margin-top: 5.5rem;
    padding: 1.5rem;
    border: 1px solid #eadcff;
    border-radius: 24px;
    background: #faf5ff;
}
.music-quiz-packs__header,
.curated-quiz-packs__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.music-quiz-packs__header h2,
.curated-quiz-packs__header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.35rem;
    font-weight: 800;
}
.music-quiz-packs__header a,
.curated-quiz-packs__header a {
    color: #6d28d9;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.music-quiz-packs__header a:hover,
.curated-quiz-packs__header a:hover { text-decoration: underline; }
.curated-quiz-packs__footer {
    margin-top: 1rem;
    text-align: right;
}
.curated-quiz-packs__footer a {
    color: #6d28d9;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}
.curated-quiz-packs__footer a:hover { text-decoration: underline; }
.music-quiz-packs__grid,
.curated-quiz-packs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.music-quiz-pack-card,
.curated-quiz-pack-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-width: 0;
    padding: .85rem 1rem;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    background: #fff;
    color: #312e81;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.music-quiz-pack-card:hover,
.curated-quiz-pack-card:hover {
    border-color: #c4b5fd;
    box-shadow: 0 8px 18px rgba(124, 58, 237, .12);
    transform: translateY(-2px);
}
.music-quiz-pack-card__icon,
.curated-quiz-pack-card__icon { flex: 0 0 auto; font-size: 1.25rem; }
.music-quiz-pack-card__body,
.curated-quiz-pack-card__body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; align-items: center; gap: .2rem; }
.music-quiz-pack-card__body strong,
.curated-quiz-pack-card__body strong { display: -webkit-box; overflow: hidden; color: #1e293b; line-height: 1.2; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.music-quiz-pack-card__body span,
.curated-quiz-pack-card__body span { color: #64748b; font-size: .82rem; font-weight: 700; }
@media (max-width: 760px) {
    .music-quiz-packs,
    .curated-quiz-packs { margin-inline: 1rem; padding: 1.15rem; }
    .music-quiz-packs__header,
    .curated-quiz-packs__header { align-items: flex-start; flex-direction: column; }
    .music-quiz-packs__grid,
    .curated-quiz-packs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .music-quiz-packs__grid,
    .curated-quiz-packs__grid { grid-template-columns: 1fr; }
}
                        
                        * {
                            box-sizing: border-box;
                            margin: 0;
                            padding: 0;
}
    .cta-buttons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
        width: 100%;
        justify-content: center;
    }
    @media (min-width: 768px) {
        .cta-buttons-container {
            flex-direction: row;
        }
    }
    nav[aria-label="Sidnavigering"] a:hover,
    nav[aria-label="Page navigation"] a:hover { background: #f0fdf4 !important; border-color: #10b981 !important; color: #065f46 !important; }
    .sub-card {
        background: white;
        border: 2px solid #f1f5f9;
        border-radius: 25px;
        padding: 2.5rem;
        text-align: center;
        text-decoration: none;
        transition: all 0.2s ease;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01), 0 2px 4px -1px rgba(0,0,0,0.005);
        display: block;
    }
    .sub-card:hover {
        transform: translateY(-5px);
        border-color: #e2e8f0;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    }
    
    /* SEO Content Styles */
    .seo-section {
        margin-top: 5rem;
        padding-top: 4rem;
        border-top: 1px solid #e2e8f0;
        line-height: 1.8;
        color: #334155;
    }
    .seo-section p { margin-bottom: 1.5rem; }
    .seo-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; color: #1e293b; }
    .seo-section h3 { 
        font-size: 1.25rem; 
        font-weight: 800; 
        margin: 0; 
        padding: 1.5rem; 
        color: #1e293b; 
        background: #f8fafc; 
        border: 1px solid #e2e8f0; 
        border-radius: 12px; 
        cursor: pointer; 
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        transition: all 0.2s;
        margin-top: 1rem;
    }
    .seo-section h3:hover { background: #f1f5f9; border-color: #cbd5e1; }
    .seo-section h3::after { content: '+'; font-size: 1.5rem; color: #94a3b8; font-weight: 400; }
    .seo-section h3.active { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: var(--secondary); background: white; }
    .seo-section h3.active::after { content: '-'; color: var(--secondary); }
    
    .seo-html-content h3 {
        font-size: 1.6rem;
        font-weight: 850;
        color: #1e293b;
        margin: 3rem 0 1.2rem;
        padding: 0;
        background: none;
        border: none;
        display: block;
    }
    .seo-html-content h3::after {
        display: none !important;
    }
    .seo-html-content p {
        margin-bottom: 1.5rem;
    }
    
    @media (max-width: 600px) {
        #conversion-cta { padding: 2rem 1rem !important; border-radius: 24px !important; }
        #conversion-cta h3 { font-size: 1.5rem !important; }
        #conversion-cta a { padding: 1.1rem 2rem !important; font-size: 1.1rem !important; width: 100%; box-sizing: border-box; }
    }
            .cta-buttons-container-test {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 1.25rem;
                margin-bottom: 2rem;
                max-width: 900px;
                margin-left: auto;
                margin-right: auto;
                padding: 0 1rem;
            }

            .funquizo-cta-test {
                display: inline-flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                width: 345px;
                max-width: 100%;
                min-height: 84px;
                height: 84px;
                padding: 0.5rem 1.5rem;
                border-radius: 24px;
                font-family: 'Outfit', sans-serif;
                text-decoration: none;
                text-align: center;
                transition: all 0.2s ease-in-out;
                border: none;
                cursor: pointer;
            }

            .funquizo-cta-test .cta-title {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 0.4rem;
                font-size: 1.35rem;
                font-weight: 950;
                text-transform: uppercase;
                letter-spacing: 0.05em;
                line-height: 1.2;
            }

            .funquizo-cta-test .cta-subtitle {
                font-size: 0.82rem;
                font-weight: 500;
                opacity: 0.85;
                text-transform: none;
                letter-spacing: 0.02em;
                line-height: 1.1;
                margin-top: 0.15rem;
            }

            .funquizo-cta-test.solo {
                background: #ec4899;
                color: white;
                box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
            }

            .funquizo-cta-test.solo:hover {
                transform: translateY(-3px);
                box-shadow: 0 14px 28px rgba(236, 72, 153, 0.4);
            }

            .funquizo-cta-test.multi {
                background: #7c3aed;
                color: white;
                box-shadow: 0 10px 20px rgba(124, 58, 237, 0.25);
            }

            .funquizo-cta-test.multi:hover {
                transform: translateY(-3px);
                box-shadow: 0 14px 28px rgba(124, 58, 237, 0.35);
            }

            .cta-mobile-label {
                display: none;
            }

            .trivia-category-flow--has-curated-packs {
                display: flex;
                flex-direction: column;
            }
            .trivia-category-flow--has-curated-packs .trivia-category-flow__actions {
                order: 1;
            }
            .trivia-category-flow--has-curated-packs .music-taxonomy-hub {
                order: 2;
            }
            .trivia-category-flow--has-curated-packs .tags-section {
                order: 4;
            }
            .trivia-category-flow--has-curated-packs .trivia-category-flow__packs {
                order: 3;
            }

            /* Curated-pack categories use a compact multiplayer link on mobile. */
            @media (max-width: 768px) {
                .trivia-category-flow--has-curated-packs .cta-buttons-container-test {
                    margin-bottom: 1rem;
                }
                .trivia-category-flow--has-curated-packs .curated-quiz-packs {
                    margin-top: 1rem;
                }
                .trivia-category-flow--has-curated-packs .trivia-category-flow__packs {
                    order: 3;
                }
                .trivia-category-flow--has-curated-packs .tags-section {
                    order: 4;
                }
                .trivia-category-flow--has-curated-packs .funquizo-cta-test.multi {
                    width: auto;
                    min-height: 44px;
                    height: auto;
                    padding: .35rem .75rem;
                    border-radius: 999px;
                    background: transparent;
                    color: #6d28d9;
                    box-shadow: none;
                }
                .trivia-category-flow--has-curated-packs .funquizo-cta-test.multi:hover {
                    transform: none;
                    box-shadow: none;
                }
                .trivia-category-flow--has-curated-packs .funquizo-cta-test.multi .cta-title,
                .trivia-category-flow--has-curated-packs .funquizo-cta-test.multi .cta-subtitle {
                    display: none;
                }
                .trivia-category-flow--has-curated-packs .funquizo-cta-test.multi .cta-mobile-label {
                    display: inline-flex;
                    align-items: center;
                    gap: .35rem;
                    min-height: 44px;
                    font-size: .95rem;
                    font-weight: 800;
                    line-height: 1.25;
                }
                .cta-mobile-icon,
                .cta-mobile-arrow {
                    display: none !important;
                }
            }

            @media (max-width: 768px) {
                .cta-buttons-container-test {
                    flex-direction: column;
                    align-items: center;
                    gap: 1rem;
                }
                .funquizo-cta-test {
                    width: 100%;
                    max-width: 345px;
                }
            }
            
                        
                        body {
                            font-family: 'Outfit', 'Inter', sans-serif;
                            color: #0f172a;
                            background: #ffffff;
                            line-height: 1.4;
                        }
                        
                        .print-page {
                            width: 210mm;
                            height: 297mm;
                            padding: 15mm 20mm 25mm 20mm;
                            position: relative;
                            display: flex;
                            flex-direction: column;
                            justify-content: flex-start;
                            page-break-after: always;
                            page-break-inside: avoid;
                        }
                        
                        .print-page:last-child {
                            page-break-after: avoid;
                        }
                        
                        .print-header {
                            display: flex;
                            flex-direction: column;
                            align-items: flex-start;
                            border-bottom: 2px solid #e2e8f0;
                            padding-bottom: 10px;
                            margin-bottom: 20px;
                            gap: 4px;
                        }
                        
                        .print-logo {
                            font-weight: 900;
                            font-size: 1.4rem;
                            color: #0284c7;
                            letter-spacing: -0.02em;
                            line-height: 1.2;
                        }
                        
                        .print-tagline {
                            font-size: 0.85rem;
                            color: #64748b;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 0.05em;
                        }
                        
                        .question-number-badge {
                            font-size: 3.8rem;
                            font-weight: 900;
                            color: #0284c7;
                            line-height: 1;
                            margin-top: 10px;
                            margin-bottom: 20px;
                            letter-spacing: -0.05em;
                        }
                        
                        .question-text-container {
                            margin-bottom: 35px;
                        }
                        
                        .question-text {
                            font-size: 2.3rem;
                            font-weight: 800;
                            color: #0f172a;
                            line-height: 1.35;
                            letter-spacing: -0.02em;
                        }
                        
                        .options-container {
                            display: flex;
                            flex-direction: column;
                            gap: 15px;
                            margin-bottom: 20px;
                        }
                        
                        .option-row {
                            display: flex;
                            align-items: stretch;
                            border: 2.5px solid #cbd5e1;
                            border-radius: 16px;
                            overflow: hidden;
                        }
                        
                        .option-badge {
                            background: #0284c7;
                            color: #ffffff;
                            font-weight: 900;
                            font-size: 2.2rem;
                            width: 70px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                        
                        .option-text {
                            padding: 20px 25px;
                            font-size: 1.55rem;
                            font-weight: 600;
                            color: #334155;
                            flex-grow: 1;
                            display: flex;
                            align-items: center;
                        }
                        
                        .print-footer {
                            position: absolute;
                            bottom: 25mm;
                            left: 20mm;
                            right: 20mm;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            border-top: 1px solid #e2e8f0;
                            padding-top: 10px;
                            font-size: 0.85rem;
                            color: #94a3b8;
                            font-weight: 600;
                        }
                        
                        .blankett-title {
                            font-size: 2.1rem;
                            font-weight: 900;
                            color: #0f172a;
                            text-align: center;
                            margin-bottom: 3px;
                            letter-spacing: -0.04em;
                        }
                        
                        .blankett-subtitle {
                            font-size: 1.05rem;
                            color: #64748b;
                            text-align: center;
                            margin-bottom: 12px;
                            font-weight: 600;
                        }
                        
                        .participant-info {
                            display: grid;
                            grid-template-columns: 1fr 1fr;
                            gap: 25px;
                            margin-bottom: 35px;
                        }
                        
                        .info-field {
                            border-bottom: 2px solid #cbd5e1;
                            padding: 10px 0;
                        }
                        
                        .info-label {
                            font-size: 0.85rem;
                            font-weight: 800;
                            color: #0284c7;
                            text-transform: uppercase;
                            letter-spacing: 0.05em;
                            margin-bottom: 5px;
                        }
                        
                        .info-placeholder {
                            height: 25px;
                        }
                        
                        .grid-table {
                            width: 100%;
                            border-collapse: collapse;
                            margin-bottom: 20px;
                        }
                        
                        .grid-table th {
                            background: #f8fafc;
                            border: 2px solid #cbd5e1;
                            padding: 8px 10px;
                            font-size: 1.05rem;
                            font-weight: 800;
                            color: #334155;
                            text-align: center;
                        }
                        
                        .grid-table td {
                            border: 2px solid #cbd5e1;
                            padding: 6px 10px;
                            text-align: center;
                            font-size: 1.1rem;
                            font-weight: 700;
                        }
                        
                        .grid-q-num {
                            background: #f8fafc;
                            font-weight: 800;
                            color: #0284c7;
                            width: 12%;
                        }
                        
                        .grid-checkbox-col {
                            width: 18%;
                        }
                        
                        .grid-checkbox-box {
                            border: 2.5px solid #94a3b8;
                            width: 25px;
                            height: 25px;
                            margin: 0 auto;
                            border-radius: 6px;
                        }
                        
                        .facit-grid {
                            display: grid;
                            grid-template-columns: repeat(2, 1fr);
                            gap: 12px;
                            margin-top: 15px;
                        }
                        
                        .facit-card {
                            border: 1.5px solid #e2e8f0;
                            border-radius: 12px;
                            padding: 10px 14px;
                            background: #f8fafc;
                            page-break-inside: avoid;
                        }
                        
                        .facit-header {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            margin-bottom: 5px;
                        }
                        
                        .facit-num {
                            font-weight: 900;
                            font-size: 0.95rem;
                            color: #0284c7;
                        }
                        
                        .facit-badge {
                            background: #0284c7;
                            color: #ffffff;
                            font-weight: 950;
                            font-size: 0.9rem;
                            padding: 2px 7px;
                            border-radius: 6px;
                        }
                        
                        .facit-q-text {
                            font-size: 0.9rem;
                            font-weight: 700;
                            color: #334155;
                            margin-bottom: 4px;
                            line-height: 1.3;
                        }
                        
                        .facit-ans-text {
                            font-size: 0.9rem;
                            font-weight: 750;
                            color: #059669;
                            margin-bottom: 4px;
                        }
                        
                        .facit-expl {
                            font-size: 0.8rem;
                            color: #64748b;
                            line-height: 1.35;
                        }
                        
                        @media print {
                            @page {
                                size: A4 portrait;
                                margin: 0;
                            }
                            
                            body {
                                -webkit-print-color-adjust: exact;
                                print-color-adjust: exact;
                            }
                            
                            .print-page {
                                border: none;
                                box-shadow: none;
                                margin: 0;
                                page-break-after: always;
                            }
                        }
                    
