.course-teachers-section {
    margin: 0;
    padding: 2rem 1.5rem;
    background: rgba(20, 22, 40, 0.92);
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(30,30,60,0.10);
    /* max-width: 1000px; */
    margin-left: auto;
    margin-right: auto;
    border: 1.5px solid rgba(120,130,200,0.13);
}

.course-teachers-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.course-teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.course-teacher-card {
    background: rgba(30, 34, 60, 0.93);
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px rgba(30,30,60,0.10);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    border: 1.5px solid rgba(120,130,200,0.10);
    color: #fff;
}

.course-teacher-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #22244a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.course-teacher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-teacher-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.course-teacher-roles {
    font-size: 1rem;
    color: #bfcaff;
    margin-bottom: 0.3rem;
}

.course-teacher-description {
    font-size: 0.98rem;
    color: #e6eaff;
    opacity: 0.95;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .course-teachers-list {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .course-teacher-card {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
        gap: 1rem;
    }
    .course-teacher-photo {
        width: 70px;
        height: 70px;
    }
    .course-teacher-info {
        align-items: center;
        text-align: center;
    }
}

.teachers-white-section {
    background: #fff;
    padding: 3.5rem 0 3rem 0;
    margin: 0 0 3rem 0;
}
.teachers-white-container {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}
.teachers-white-title {
    font-size: 2rem;
    font-weight: 700;
    color: #23244a;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 0.01em;
}
.teachers-white-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
}
.teachers-white-card {
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(30,30,60,0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    border: 1.5px solid #e3e7f7;
    color: #23244a;
    transition: all 0.2s ease;
    height: 100%;
}
.teachers-white-card:hover {
    box-shadow: 0 4px 12px rgba(30,30,60,0.1);
    transform: translateY(-2px);
}
.teachers-white-photo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #e3e7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.teachers-white-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.teachers-white-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}
.teachers-white-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #23244a;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.teachers-white-roles {
    font-size: 0.875rem;
    color: #6c7bbd;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 700px) {
    .teachers-white-list {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .teachers-white-card {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
        gap: 1rem;
    }
    .teachers-white-photo {
        width: 70px;
        height: 70px;
    }
    .teachers-white-info {
        align-items: center;
        text-align: center;
    }
} 