.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-header h1 {
    font-size: 2.5em;
    color: #C00000;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-header p {
    font-size: 1.2em;
    color: #666;
    font-weight: 300;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.blog-post {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #C00000;
}

.post-header {
    margin-bottom: 15px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 1.4em;
    line-height: 1.3;
}

.post-title a {
    color: #C00000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    display: block;
}

.post-title a:hover {
    color: #0054B9;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #F9B814;
    border-radius: 50%;
    display: inline-block;
}

.post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    font-size: 1em;
}

.post-footer {
    text-align: right;
    margin-top: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #C00000;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9em;
}

.read-more:hover {
    background: #0054B9;
    transform: translateY(-1px);
}

.read-more span::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more:hover span::after {
    transform: translateX(2px);
}

/* Стили для статьи */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'pt-sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.article-content h2 {
    color: #C00000;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid #F9B814;
    padding-bottom: 10px;
}

.article-content h3 {
    color: #0054B9;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h4 {
    color: #C00000;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}

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

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

.article-content strong {
    color: #C00000;
    font-weight: 600;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid #F9B814;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.highlight-box h4 {
    color: #C00000;
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-box p {
    margin-bottom: 0;
    color: #555;
}

/* Стили для отдельной статьи */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F9B814;
}

.article-header h1 {
    color: #C00000;
    font-size: 2.2em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
    color: #666;
}

.article-body {
    margin-bottom: 40px;
}

.article-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.back-to-blog {
    display: inline-block;
    color: #0054B9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: #C00000;
}

/* Адаптивность */
@media (max-width: 768px) {
    .blog-container {
        padding: 20px 15px;
    }
    
    .blog-header {
        margin-bottom: 30px;
        padding: 20px 15px;
    }
    
    .blog-header h1 {
        font-size: 2em;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    .blog-post {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1.2em;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.6em;
    }
    
    .blog-header p {
        font-size: 1em;
    }
    
    .blog-post {
        padding: 12px;
    }
    
    .read-more {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}
