/*
 * The Unit - Quiz WordPress / Impreza integration
 *
 * Loaded AFTER tuc_quiz.css.
 * Purpose:
 * - protect quiz layout from global theme styling
 * - keep tuc_quiz.css theme-independent
 */


/* ============================================================
 * QUESTION HEADER
 * ============================================================ */

.tuc-quiz .tuc-question-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 18px 22px;

    font: inherit;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;

    appearance: none;
    -webkit-appearance: none;
}


/* Prevent Impreza heading margins / typography from changing layout */

.tuc-quiz .tuc-question-header h3 {
    margin: 0;
    padding: 0;

    font-family: inherit;
    font-size: inherit;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: none;
}


/* ============================================================
 * CHEVRON
 * ============================================================ */

.tuc-quiz .tuc-question-toggle {
    display: block;
    flex: 0 0 auto;

    margin: 0 0 0 20px;
    padding: 0;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}


/* ============================================================
 * QUESTION BODY / LAYOUT
 * ============================================================ */

.tuc-quiz .tuc-question-body {
    margin: 0;
    padding: 0;
}

.tuc-quiz .tuc-question-layout {
    display: block;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 20px 22px;
}

.tuc-quiz .tuc-question-content {
    display: block;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;
}


/* ============================================================
 * ANSWERS
 * ============================================================ */

.tuc-quiz .tuc-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;
}

.tuc-quiz .tuc-answer {
    display: flex;
    align-items: flex-start;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 12px 14px;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;

    appearance: none;
    -webkit-appearance: none;
}

.tuc-quiz .tuc-answer-label {
    flex: 0 0 auto;

    margin: 0 14px 0 0;
    padding: 0;

    line-height: inherit;
}


/* ============================================================
 * FEEDBACK
 * ============================================================ */

.tuc-quiz .tuc-feedback {
    height: auto;
    min-height: 0;

    margin: 12px 0 0;
    padding: 0;

    line-height: 1.4;
}


/* ============================================================
 * ACTION BUTTONS
 * ============================================================ */

.tuc-quiz .tuc-actions {
    margin: 10px 0 0;
    padding: 0;
}

.tuc-quiz .tuc-action {
    display: inline-block;

    width: auto;
    height: auto;
    min-height: 0;

    margin: 0 6px 6px 0;
    padding: 8px 12px;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;

    appearance: none;
    -webkit-appearance: none;
}


/* ============================================================
 * EXPLANATION
 * ============================================================ */

.tuc-quiz .tuc-explanation {
    height: auto;
    min-height: 0;

    margin: 12px 0 0;
}


/* ============================================================
 * STATUS
 * ============================================================ */

.tuc-quiz .tuc-quiz-status {
    height: auto;
    min-height: 0;

    line-height: 1.4;
}
