/* =========================================================
   TEACHER PAGE — Studaria Atelier
   Warm, editorial, premium, cohesive
   ========================================================= */

/* ---------------------------------------------
   MINI HERO (Teacher Atelier)
----------------------------------------------*/

.teacher-hero {
    padding-top: calc(var(--space-xxl) + 80px); /* space under floating nav */
    padding-bottom: var(--space-xxl);

    text-align: center;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--sand);

    max-width: 100%;
    margin: 0 auto;
}

.teacher-hero h1 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--espresso);
    margin-bottom: var(--space-sm);
    line-height: 1.2;

    /* soft depth shadow */
    text-shadow: 0 2px 6px rgba(59, 48, 40, 0.08);
}

.teacher-hero p {
    font-family: var(--sans);
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------------------------------------------
   TEACHER TOOLS SECTION
----------------------------------------------*/

.teacher-tools {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.teacher-tools h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--espresso);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.5px;
}

/* Grid refined for teacher page */
.teacher-tools .tool-grid {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
}

/* ---------------------------------------------
   TOOL CARDS — Teacher Page Version
----------------------------------------------*/

.teacher-tools .tool-card {
    background: var(--bg-soft);
    border: 1px solid var(--sand);
    border-radius: 14px;

    padding: var(--space-xl) var(--space-lg);
    font-size: 1.2rem;
    color: var(--espresso);
    font-family: var(--sans);

    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

/* Elevated hover for teacher workspace */
.teacher-tools .tool-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* ---------------------------------------------
   OPTIONAL: ICON SUPPORT (future-proof)
----------------------------------------------*/

.teacher-tools .tool-card img {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

/* ---------------------------------------------
   SPACING BETWEEN SECTIONS
----------------------------------------------*/

.teacher-hero + .teacher-tools {
    margin-top: var(--space-xxl);
}
