body{
    font-family: 'Noto Sans TC', sans-serif;
}
.page-header {
    min-height: calc(100vh - 76px);
    background-color: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 76px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header::before {
    display: none;
}

.page-header::after {
    display: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    margin-bottom: 4rem;
}

.stats-banner {
    position: relative;
    z-index: 2;
    background: none;
    backdrop-filter: none;
    color: white;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
}

.stats-banner::before {
    display: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.filter-toolbar {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.filter-row {
    display: flex;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-col {
    flex: 1;
    min-width: 200px;
}

.filter-col.search-col {
    flex: 2;
    min-width: 250px;
}

.filter-col.button-col {
    flex: 0 0 120px;
    min-width: 120px;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.case-overlay .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #2c3e50;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.case-meta {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.case-meta i {
    color: #667eea;
}

.case-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.case-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.case-tag:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination .page-link {
    border: none;
    padding: 12px 16px;
    margin: 0 3px;
    border-radius: 8px;
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.filter-section {
    margin-bottom: 0;
}

.filter-section label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-section .form-control,
.filter-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    background: var(--primary-color, #7C9D96);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 157, 150, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 157, 150, 0.4);
    background: #6b8b84;
}

.main-content {
    background: var(--background-color, #F4F2DE);
    min-height: 100vh;
    padding: 50px 0;
}

.no-results {
    padding: 80px 20px;
    text-align: center;
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-results h4 {
    color: #6c757d;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .filter-toolbar {
        padding: 20px;
    }

    .filter-row {
        flex-direction: column;
        gap: 15px;
    }

    .filter-col,
    .filter-col.search-col,
    .filter-col.button-col {
        flex: none;
        min-width: 100%;
    }

    .case-content {
        padding: 20px;
    }

    .case-content h3 {
        font-size: 1rem;
        height: auto;
    }

    .case-description {
        height: auto;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .page-header {
        min-height: calc(100vh - 76px);
    }

    .page-header-bg img {
        background-attachment: scroll;
    }

    .page-header-content {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .case-content {
        padding: 15px;
    }

    .case-content h3 {
        font-size: 0.95rem;
    }

    .case-image {
        height: 180px;
    }

    .stat-number {
        font-size: 2rem;
    }
}