/* ========== 教研团队页面样式 ========== */

.teachers-page {
    background: #f8f8f8;
    min-height: 100vh;
}

/* ========== 页面标题区域 ========== */
.teachers-hero {
    background: #fff;
    padding: 50px 0 30px;
    text-align: center;
}

.teachers-hero-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.teachers-hero-subtitle {
    font-size: 16px;
    color: #999;
    line-height: 1.6;
}

/* ========== 讲师列表区域 ========== */
.teachers-section {
    padding: 40px 0 80px;
}

.teachers-section .container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ========== 讲师卡片 ========== */
.teacher-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ========== 头像 ========== */
.teacher-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FE720A;
    box-shadow: 0 4px 12px rgba(254, 114, 10, 0.2);
}
.teacher-avatar img{
	width: 100px;
    height: 100px;
    border-radius: 50%;
}

.avatar-placeholder span {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
}

/* ========== 姓名与职位 ========== */
.teacher-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.teacher-role {
    font-size: 14px;
    color: #FE720A;
    margin-bottom: 16px;
    font-weight: 500;
}

/* ========== 简介 ========== */
.teacher-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
    min-height: 125px;
}

/* ========== 技能标签 ========== */
.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.teacher-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.teacher-tags .tag:hover {
    color: #FE720A;
    border-color: #FE720A;
    background: #fff5ed;
}

/* ========== 移动端适配 ========== */
@media screen and (max-width: 1024px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .teachers-hero {
        padding: 30px 0 20px;
    }

    .teachers-hero-title {
        font-size: 24px;
    }

    .teachers-hero-subtitle {
        font-size: 14px;
    }

    .teachers-section {
        padding: 20px 0 40px;
    }

    .teachers-section .container {
        width: 100%;
        padding: 0 15px;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .teacher-card {
        padding: 30px 20px 24px;
    }

    .avatar-placeholder {
        width: 80px;
        height: 80px;
    }

    .avatar-placeholder span {
        font-size: 28px;
    }

    .teacher-name {
        font-size: 18px;
    }

    .teacher-bio {
        font-size: 13px;
        min-height: auto;
    }

    .teacher-tags .tag {
        padding: 3px 10px;
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .teachers-grid {
        gap: 12px;
    }

    .teacher-card {
        padding: 24px 16px 20px;
    }
}
