/* Стили для статей в результатах поиска */
.blog_search_results {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #e0e0e0;
}

.blog_search_results .h2 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

.blog_posts_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.blog_post_item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog_post_item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog_post_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog_post_image {
    width: 100%;
    overflow: hidden;
}

.blog_post_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog_post_item:hover .blog_post_image img {
    transform: scale(1.05);
}

.blog_post_info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog_post_title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.blog_post_title a {
    color: #333;
    text-decoration: none;
}

.blog_post_title a:hover {
    color: #007bff;
}

.blog_post_annotation {
    flex: 1;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.blog_post_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
}

.blog_post_date {
    color: #999;
}

.blog_post_link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.blog_post_link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog_posts_list {
        grid-template-columns: 1fr;
    }
}