/**
 * Стили для страницы статьи
 */

.article-section {
    background: var(--white);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

/* Article */
.article {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-color);
}

.article-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* теперь не будет обрезать, т.к. пропорции совпадают */
    transition: transform 0.3s;
}

/*
.article-image {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-footer {
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .article-header h1 {
        font-size: 28px;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-content h2 {
        font-size: 22px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
}

.blog-article-content .comparison-table thead,
.blog-article-content .article-table thead {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}
.blog-article-content .comparison-table thead th,
.blog-article-content .article-table th {
    background: none !important;
}