/* 知识库页面样式 */

.page-header {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.knowledge-content {
    padding: 60px 0;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category h3 {
    color: #0056b3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f5ff;
}

.category ul {
    list-style: none;
}

.category ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.category ul li:last-child {
    border-bottom: none;
}

.category ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.category ul li a:hover {
    color: #0056b3;
    padding-left: 5px;
}

.featured-articles h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 40px;
    font-size: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
}

.article-image {
    height: 180px;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: #0056b3;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .featured-articles h2 {
        font-size: 1.5rem;
    }
}