.cases-page .hero {
    background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 20px;
}

.cases-page .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.cases-page .hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #4b5563;
}

.cases-page .cases-content {
    padding: 6rem 0 4rem;
    background-color: #fff;
}

.cases-page .cases-content .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cases-page .cases-filters {
    margin-bottom: 3rem;
    text-align: center;
}

.cases-page .filter-btn {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cases-page .filter-btn:hover,
.cases-page .filter-btn.active {
    background-color: #3b82f6;
    color: #fff;
}

.cases-page .cases-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cases-page .case-item {
    display: flex;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 2rem;
    gap: 0;
    align-items: stretch;
}

.cases-page .case-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cases-page .case-thumbnail {
    flex-shrink: 0;
    width: 375px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.cases-page .case-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cases-page .case-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 60px;
}

.cases-page .case-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cases-page .case-category {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 500;
}

.cases-page .case-date {
    color: #6b7280;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cases-page .case-item h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
}

.cases-page .case-excerpt {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.cases-page .read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cases-page .read-more:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cases-page .read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cases-page .read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .cases-page .case-thumbnail {
        width: 280px;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }
    
    .cases-page .case-thumbnail img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .cases-page .case-item {
        flex-direction: column;
        padding: 1.5rem;
    }

    .cases-page .case-thumbnail {
        width: 100%;
        height: 250px;
        margin-right: 0;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }
    
    .cases-page .case-thumbnail img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .cases-page .case-info {
        padding-bottom: 0;
    }

    .cases-page .read-more {
        position: static;
        margin-top: 1.5rem;
    }

    .cases-page .cases-filters {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .cases-page .filter-btn {
        margin: 0;
        width: 200px;
        text-align: center;
    }
} 