/* Кастомные стили для образовательного блога */

/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f5fb;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

.btn-link {
    color: black;
}

/* Навигация */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Герой секция */
header.bg-light {
    background-color: #f8f9fa !important;
}

/* Карточки статей */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Содержимое статьи */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content h2 {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.article-content h3 {
    margin-top: 1.5rem;
}

/* Формы */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Страница авторизации */
#authTabs .nav-link {
    padding: 1rem 2rem;
    font-weight: 500;
}

/* Личный кабинет */
.progress {
    height: 1.5rem;
    border-radius: 0.75rem;
}

.progress-bar {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .card .row {
        flex-direction: column;
    }
    
    .card .col-md-4 {
        width: 100%;
    }
    
    .card .col-md-8 {
        width: 100%;
    }
    
}