/* assets/css/article.css */
/* СТИЛИ СТРАНИЦЫ ЧТЕНИЯ СТАТЬИ И БЛОКА АВТОРА */

.article-section {
    background-color: #ffffff; /* Страница чтения всегда белая и чистая */
    padding: 60px 0;
}

.article-wrap {
    max-width: 800px; /* Ограничиваем ширину чтения, чтобы глаза не уставали бегать по строкам */
    margin: 0 auto;
}

/* Оформление типографики статьи */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 50px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 35px;
    margin-bottom: 15px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 25px;
    margin-bottom: 10px;
}

.article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Блок автора E-E-A-T внизу статьи */
.author-bio-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    border-top: 3px solid var(--blue-primary); /* Синий маркер сверху */
}

.author-bio-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-bio-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f1f4f8;
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.author-bio-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.author-bio-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
    .author-bio-info {
        flex-direction: column;
        text-align: center;
    }
    .author-bio-card .btn {
        width: 100%;
    }
}