/* ============================================
   文章列表页样式 - flowertocn.com
   ============================================ */

   .articles-list-page {
    padding: 30px 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    padding: 10px 0 20px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #DD302D;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* ========== 页面头部 ========== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 两列布局 ========== */
.articles-layout {
    display: flex;
    gap: 40px;
}

.articles-main {
    flex: 1;
}

.articles-sidebar {
    flex: 0 0 280px;
}

/* ========== 文章卡片 ========== */
.article-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.article-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #DD302D;
    margin-bottom: 12px;
}

.article-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.article-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card h2 a:hover {
    color: #DD302D;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #DD302D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.read-more-btn:hover {
    gap: 10px;
    color: #c62828;
}

/* ========== 分页样式 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #DD302D;
    color: #DD302D;
}

.page-link.current {
    background: #DD302D;
    border-color: #DD302D;
    color: white;
    cursor: default;
}

.page-link.current:hover {
    background: #DD302D;
    color: white;
}

.page-dots {
    color: #999;
    padding: 0 4px;
}

/* ========== 侧边栏 ========== */
.sidebar-widget {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #DD302D;
}

/* 热门文章列表 */
.popular-list-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-list-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-list-widget a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s;
}

.popular-list-widget a:hover {
    color: #DD302D;
}

.popular-list-widget .views {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    display: block;
}

/* 分类列表 */
.category-list-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-widget li {
    margin-bottom: 10px;
}

.category-list-widget a {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.category-list-widget a:hover {
    color: #DD302D;
}

.category-list-widget span {
    color: #999;
    font-size: 12px;
}

/* 联系信息 */
.contact-info-widget p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.contact-info-widget div {
    margin-bottom: 8px;
    font-size: 13px;
}

.contact-info-widget a {
    color: #DD302D;
    text-decoration: none;
}

.contact-info-widget a:hover {
    text-decoration: underline;
}

/* ========== 无结果 ========== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .articles-layout {
        flex-direction: column;
    }
    
    .articles-sidebar {
        flex: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .articles-list-page {
        padding: 20px 0 40px;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .article-card {
        padding: 18px;
    }
    
    .article-card h2 {
        font-size: 18px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }
    
    .article-summary {
        font-size: 13px;
    }
    
    .articles-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }
    
    .article-card {
        padding: 14px;
    }
    
    .article-card h2 {
        font-size: 16px;
    }
    
    .article-summary {
        font-size: 12px;
    }
    
    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 6px;
    }
    
    .sidebar-widget {
        padding: 16px;
    }
}