/* 案例列表页面专用样式 */

.case-list-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.case-list-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-list-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.case-list-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

.case-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.case-item {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.case-item:hover {
    transform: translateY(-8px);
    border-color: #000;
}

.case-item-header {
    padding: 2rem;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.case-logo-large {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
}

.case-item-body {
    padding: 2rem;
}

.case-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.case-item-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.meta-icon {
    width: 16px;
    height: 16px;
}

.case-item-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.case-tag {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 0;
    font-size: 0.875rem;
}

.case-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.case-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.case-read-more {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.case-read-more:hover {
    gap: 0.75rem;
}

.featured-case {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.featured-case .case-item-header {
    min-height: 400px;
}

.load-more-section {
    text-align: center;
    margin-top: 4rem;
}

.btn-load-more {
    padding: 1rem 3rem;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 1024px) {
    .featured-case {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-list-header h1 {
        font-size: 2rem;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-case {
        grid-column: 1;
    }
}

/* ========================================
   分页样式
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination .page-link:hover:not(.active):not(.disabled):not(.page-ellipsis) {
    background: #f1f5f9;
    border-color: #000;
    color: #000;
}

.pagination .page-link.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.pagination .page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-link.page-ellipsis {
    border: none;
    background: transparent;
    min-width: 30px;
    cursor: default;
}

.pagination-info {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #6b7280;
}
