/* free-quiz.css - Extracted from template-free-quiz.php inline styles */

/* ============================================================
   Block 1: Guide title styles
   ============================================================ */

        /* Title Styling from types-questions page */
        .mqa-guide-title {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 15px;
            letter-spacing: -0.03em;
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .mqa-guide-title span {
            position: relative;
            display: inline-block;
        }

        .mqa-guide-title .highlight {
            color: var(--mqa-color-accent-purple, #9333EA);
            text-shadow: 2px 2px 0 #000;
            -webkit-text-stroke: 1px #000;
        }

        .mqa-guide-hero {
            text-align: center;
            margin-bottom: 15px;
            padding-top: 15px;
        }

        @media (max-width: 768px) {
            .mqa-guide-title {
                font-size: 1.8rem;
            }

            .mqa-guide-hero {
                padding-top: 10px;
                margin-bottom: 10px;
            }
        }

/* ============================================================
   Block 2: Reset container / sketch card styles
   ============================================================ */

                :root {
                    --brand-color: #000000;
                    --stabilo-yellow: #ffff00;
                    --error-color: #dc2626;
                    --bg-color: #f9f9f9;
                    --card-bg: #ffffff;
                }

                /* Container principal centré */
                .mqa-reset-container {
                    width: 100%;
                    max-width: 600px;
                    margin: 0 auto;
                    padding: 20px;
                    box-sizing: border-box;
                    font-family: 'Inter', sans-serif;
                }

                /* Card "Esquisse" */
                .mqa-sketch-card {
                    background: var(--card-bg);
                    padding: 40px 40px 80px 40px;
                    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
                    border: 3px solid var(--brand-color);
                    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.15);
                    text-align: center;
                    position: relative;
                }

                /* Titre "Stabilo" */
                h1.highlight-stabilo {
                    font-size: 2.2rem;
                    font-weight: 900;
                    color: var(--brand-color);
                    display: inline-block;
                    margin-bottom: 20px;
                    background: linear-gradient(transparent 50%, var(--stabilo-yellow) 50%);
                    padding: 0 10px;
                    transform: rotate(-1deg);
                }

                /* Buttons */
                .sketch-button {
                    display: inline-block;
                    width: auto;
                    min-width: 200px;
                    padding: 15px 30px;
                    background: var(--brand-color);
                    color: #fff !important;
                    font-weight: 800;
                    font-size: 1.1rem;
                    text-transform: uppercase;
                    text-decoration: none;
                    border: 3px solid var(--brand-color);
                    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
                    cursor: pointer;
                    transition: all 0.2s ease;
                    margin-top: 20px;
                }

                .sketch-button:hover {
                    background: #fff;
                    color: var(--brand-color) !important;
                    transform: translate(-2px, -2px) rotate(0.5deg);
                    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.15);
                }

/* ============================================================
   Block 3: Accordion toggle fix
   ============================================================ */

            /* Accordion Toggle Fix */
            .mqa-chapter-content.open {
                display: block !important;
            }

/* ============================================================
   Block 4: Article H2 stabilo, highlighters, hover effects
   ============================================================ */

                /* Article H2 avec soulignement stabilo jaune */
                .mqa-article-h2::after {
                    content: '';
                    display: block;
                    width: 100%;
                    height: 8px;
                    background: #fde047;
                    opacity: 0.6;
                    position: absolute;
                    bottom: 3px;
                    left: 0;
                    z-index: -1;
                    transform: skewX(-10deg);
                }

                /* Stabilo highlighters */
                .mqa-stabilo-yellow {
                    background: linear-gradient(100deg, rgba(253, 224, 71, 0) 0%, rgba(253, 224, 71, 0.8) 5%, rgba(253, 224, 71, 0.8) 95%, rgba(253, 224, 71, 0) 100%);
                    box-decoration-break: clone;
                    -webkit-box-decoration-break: clone;
                    padding: 0 5px;
                    display: inline;
                }

                .mqa-stabilo-green {
                    background: linear-gradient(100deg, rgba(134, 239, 172, 0) 0%, rgba(134, 239, 172, 0.8) 5%, rgba(134, 239, 172, 0.8) 95%, rgba(134, 239, 172, 0) 100%);
                    padding: 0 5px;
                    display: inline;
                }

                .mqa-stabilo-pink {
                    background: linear-gradient(100deg, rgba(253, 164, 175, 0) 0%, rgba(253, 164, 175, 0.8) 5%, rgba(253, 164, 175, 0.8) 95%, rgba(253, 164, 175, 0) 100%);
                    padding: 0 5px;
                    display: inline;
                }

                /* Hover effect sur les cartes - plus subtil */
                .mqa-question-card:hover {
                    transform: translate(-1px, -1px);
                    box-shadow: 8px 8px 0px #000 !important;
                }

                /* Alert box style */
                .mqa-alert-box {
                    position: relative;
                }

                /* Responsive adjustments */
                @media (max-width: 768px) {
                    .mqa-question-card {
                        padding: 20px !important;
                        margin-bottom: 20px !important;
                    }

                    .mqa-article-h2 {
                        font-size: 1.5rem !important;
                    }
                }
