.teachers-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;}

.teacher-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);}

.teacher-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;}

.teacher-link:hover {
    text-decoration: none;}

.teacher-img-container {
    width: 100%;
    height: 400px;
    /* 增加高度以适应竖版照片 */
    overflow: hidden;}

.teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;}

.teacher-card:hover .teacher-img {
    transform: scale(1.05);}

.teacher-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;}

.teacher-name {
    font-size: 0.22rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    /* border-bottom: 2px solid #f1f1f1; */
    padding-bottom: 10px;}

.teacher-title {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 5px;}

.teacher-desc {
    color: #7f8c8d;
    font-size: 0.16rem;
    line-height: 1.6;}

@media (max-width: 768px) {
    .teachers-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;}

    .teacher-img-container {
        height: 300px;}
}

@media (max-width: 480px) {
    .teachers-list {
        grid-template-columns: 1fr;}

    .teacher-link {
        flex-direction: row;}

    .teacher-img-container {
        width: 50%;
        height: auto;}
}
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
/**组件样式*/
