@import url('common.css');

/* 文章页面样式 */
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.7;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid #e9ecef;
}

.article-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #6c757d;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    color: #11cb5f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f5;
    font-weight: 600;
}

.article-text {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-text:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: linear-gradient(135deg, #11cb5f, #11cb84);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #11cb5f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #6c757d;
    font-size: 0.95rem;
}

.article-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.action-btn {
    background: #11cb5f;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: #0fa84c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 203, 95, 0.3);
}

.action-btn.secondary {
    background: #6c757d;
}

.action-btn.secondary:hover {
    background: #5a6268;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 200px;
        justify-content: center;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .article-text {
        font-size: 1rem;
    }
}
/* 页脚通用样式 */
footer {
    background-color: #000000;
    color: #ffffff;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-top: auto;
    flex-shrink: 0;
}