/* ========================================
   文章中心页面专用样式
   ======================================== */

/* Banner区域（保留兼容） */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-section p {
    font-size: 20px;
    opacity: 0.9;
}

/* 页面标题和面包屑导航 */
.page-header-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-header-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-icon {
    display: flex;
    align-items: center;
}

.breadcrumb-icon svg {
    width: 20px;
    height: 20px;
}

.breadcrumb-text {
    color: #999;
}

.breadcrumb-link {
    color: #0052cc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: #0066ff;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* 文章列表区域 */
.articles-page-section {
    background: white;
    padding: 60px 20px;
}

.articles-page-container {
    max-width: 75vw;
    width: 75%;
    margin: 0 auto;
}

.articles-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.articles-page-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.articles-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.articles-page-content {
    padding: 25px;
}

.articles-page-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.articles-page-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.articles-page-title a:hover {
    color: #667eea;
}

.articles-page-summary {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.8em * 2);
}

.articles-page-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.articles-page-read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.articles-page-read-more:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #667eea;
    color: #667eea;
}

.pagination a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .page-header-section {
        padding: 30px 0;
    }

    .page-header-container {
        width: 95%;
        max-width: 95%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .breadcrumb-icon svg {
        width: 16px;
        height: 16px;
    }

    .articles-page-section {
        padding: 40px 20px;
    }

    .articles-page-container {
        max-width: none;
        width: 95%;
    }

    .articles-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .articles-page-title {
        font-size: 20px;
    }

    .articles-page-summary {
        font-size: 15px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination a {
        padding: 8px 14px;
        font-size: 14px;
    }
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .hero-section {
        padding: 50px 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }
}