/* Страница "О себе" */
.about-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.teacher-photo {
    flex: 0 0 300px;
}

.teacher-photo img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.teacher-info {
    flex: 1;
    min-width: 300px;
}

.teacher-info ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.teacher-info li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Адаптивность для страницы "О себе" */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .teacher-photo {
        flex: 0 0 auto;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .teacher-info {
        min-width: auto;
    }
    
    .teacher-info ul {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        gap: 1rem;
    }
    
    .teacher-photo {
        max-width: 100%;
    }
    
    .teacher-info ul {
        margin-left: 0.8rem;
    }
    
    .teacher-info li {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
    }
}