/* =================================================================
   HANDOUT DESIGN SYSTEM V2 - Te Kete Ako
   "Engaging, Modern, Teen-Focused, A4-Ready"
   ================================================================= */

:root {
    --handout-bg: #FDFDFD;
    --handout-primary: #1a1a1a;
    --handout-secondary: #007BFF; /* A vibrant blue for engagement */
    --handout-accent: #FFC107; /* A friendly yellow for highlights */
    --handout-text: #333;
    --handout-text-light: #666;
    --handout-border: #EAEAEA;
    --handout-font-main: 'Lato', sans-serif;
    --handout-font-header: 'Montserrat', sans-serif;
}

@media print {
    @page {
        size: A4;
        margin: 15mm;
    }
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .no-print { display: none !important; }
    .page {
        box-shadow: none !important;
        margin: 0 !important;
        border: none !important;
    }
}

body {
    background-color: #F0F2F5;
    font-family: var(--handout-font-main);
    color: var(--handout-text);
    line-height: 1.6;
    padding: 2rem;
}

.page {
    background: var(--handout-bg);
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 15mm;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--handout-border);
    border-radius: 5px;
}

.handout-header {
    text-align: center;
    border-bottom: 3px solid var(--handout-secondary);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.handout-header h1 {
    font-family: var(--handout-font-header);
    font-size: 2.5rem;
    color: var(--handout-primary);
    margin: 0;
}

.handout-header p {
    font-size: 1.1rem;
    color: var(--handout-text-light);
    margin-top: 0.5rem;
}

.handout-section {
    margin-bottom: 2rem;
}

.handout-section h2 {
    font-family: var(--handout-font-header);
    font-size: 1.8rem;
    color: var(--handout-secondary);
    border-bottom: 2px solid var(--handout-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.task-box {
    background: #F9F9F9;
    border: 1px solid var(--handout-border);
    border-left: 5px solid var(--handout-accent);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.task-box h3 {
    font-family: var(--handout-font-header);
    color: var(--handout-primary);
    font-size: 1.2rem;
    margin-top: 0;
}

.answer-space {
    background: #FFF;
    border: 1px dashed #CCC;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1rem;
    min-height: 100px;
}
