/* 知识文章列表样式 */
.knowledge-section {
    padding: 50px 0;
    background: #fff;
}

.section-header {
    background: #FF0000;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.knowledge-item {
    display: flex;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.item-image {
    flex: 0 0 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.knowledge-item:hover .item-image img {
    transform: scale(1.1);
}

.item-content {
    flex: 1;
    padding: 20px;
}

.item-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-title a:hover {
    color: #FF0000;
}

.item-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-date {
    color: #999;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .knowledge-list {
        grid-template-columns: 1fr;
    }
    
    .item-image {
        flex: 0 0 150px;
    }
}

@media (max-width: 576px) {
    .knowledge-item {
        flex-direction: column;
    }
    
    .item-image {
        flex: none;
        height: 200px;
    }
    
    .item-content {
        padding: 15px;
    }
    
    .item-title {
        font-size: 16px;
    }
} 